Class APISearchResultDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.SearchResultDTO
-
- org.wso2.am.integration.clients.store.api.v1.dto.APISearchResultDTO
-
public class APISearchResultDTO extends SearchResultDTO
APISearchResultDTO
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wso2.am.integration.clients.store.api.v1.dto.SearchResultDTO
SearchResultDTO.TypeEnum
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_AVG_RATINGstatic StringSERIALIZED_NAME_BUSINESS_INFORMATIONstatic StringSERIALIZED_NAME_CONTEXTstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_THUMBNAIL_URIstatic StringSERIALIZED_NAME_VERSION-
Fields inherited from class org.wso2.am.integration.clients.store.api.v1.dto.SearchResultDTO
name, SERIALIZED_NAME_ID, SERIALIZED_NAME_NAME, SERIALIZED_NAME_TRANSPORT_TYPE, SERIALIZED_NAME_TYPE
-
-
Constructor Summary
Constructors Constructor Description APISearchResultDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APISearchResultDTOavgRating(String avgRating)APISearchResultDTObusinessInformation(APIBusinessInformationDTO businessInformation)APISearchResultDTOcontext(String context)APISearchResultDTOdescription(String description)booleanequals(Object o)StringgetAvgRating()Average rating of the APIAPIBusinessInformationDTOgetBusinessInformation()Get businessInformationStringgetContext()A string that represents the context of the user's requestStringgetDescription()A brief description about the APIStringgetProvider()If the provider value is notgiven, the user invoking the API will be used as the provider.StringgetStatus()This describes in which status of the lifecycle the API isStringgetThumbnailUri()Get thumbnailUriStringgetVersion()The version of the APIinthashCode()APISearchResultDTOprovider(String provider)voidsetAvgRating(String avgRating)voidsetBusinessInformation(APIBusinessInformationDTO businessInformation)voidsetContext(String context)voidsetDescription(String description)voidsetProvider(String provider)voidsetStatus(String status)voidsetThumbnailUri(String thumbnailUri)voidsetVersion(String version)APISearchResultDTOstatus(String status)APISearchResultDTOthumbnailUri(String thumbnailUri)StringtoString()APISearchResultDTOversion(String version)-
Methods inherited from class org.wso2.am.integration.clients.store.api.v1.dto.SearchResultDTO
getId, getName, getTransportType, getType, id, name, setId, setName, setTransportType, setType, transportType, type
-
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTEXT
public static final String SERIALIZED_NAME_CONTEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
public static final String SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THUMBNAIL_URI
public static final String SERIALIZED_NAME_THUMBNAIL_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_INFORMATION
public static final String SERIALIZED_NAME_BUSINESS_INFORMATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AVG_RATING
public static final String SERIALIZED_NAME_AVG_RATING
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public APISearchResultDTO description(String description)
-
getDescription
@Nullable public String getDescription()
A brief description about the API- Returns:
- description
-
setDescription
public void setDescription(String description)
-
context
public APISearchResultDTO context(String context)
-
getContext
@Nullable public String getContext()
A string that represents the context of the user's request- Returns:
- context
-
setContext
public void setContext(String context)
-
version
public APISearchResultDTO version(String version)
-
setVersion
public void setVersion(String version)
-
provider
public APISearchResultDTO provider(String provider)
-
getProvider
@Nullable public String getProvider()
If the provider value is notgiven, the user invoking the API will be used as the provider.- Returns:
- provider
-
setProvider
public void setProvider(String provider)
-
status
public APISearchResultDTO status(String status)
-
getStatus
@Nullable public String getStatus()
This describes in which status of the lifecycle the API is- Returns:
- status
-
setStatus
public void setStatus(String status)
-
thumbnailUri
public APISearchResultDTO thumbnailUri(String thumbnailUri)
-
setThumbnailUri
public void setThumbnailUri(String thumbnailUri)
-
businessInformation
public APISearchResultDTO businessInformation(APIBusinessInformationDTO businessInformation)
-
getBusinessInformation
@Nullable public APIBusinessInformationDTO getBusinessInformation()
Get businessInformation- Returns:
- businessInformation
-
setBusinessInformation
public void setBusinessInformation(APIBusinessInformationDTO businessInformation)
-
avgRating
public APISearchResultDTO avgRating(String avgRating)
-
setAvgRating
public void setAvgRating(String avgRating)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSearchResultDTO
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSearchResultDTO
-
toString
public String toString()
- Overrides:
toStringin classSearchResultDTO
-
-