Class APIProductSearchResultDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.SearchResultDTO
org.wso2.am.integration.clients.publisher.api.v1.dto.APIProductSearchResultDTO
APIProductSearchResultDTO
-
Nested Class Summary
Nested classes/interfaces inherited from class org.wso2.am.integration.clients.publisher.api.v1.dto.SearchResultDTO
SearchResultDTO.TypeEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.wso2.am.integration.clients.publisher.api.v1.dto.SearchResultDTO
name, SERIALIZED_NAME_ID, SERIALIZED_NAME_NAME, SERIALIZED_NAME_TRANSPORT_TYPE, SERIALIZED_NAME_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanA string that represents the context of the user's requestA brief description about the APIIf the provider value is not given, the user invoking the API will be used as the provider.This describes in which status of the lifecycle the APIPRODUCT isGet thumbnailUriThe version of the API ProductinthashCode()voidsetContext(String context) voidsetDescription(String description) voidsetProvider(String provider) voidvoidsetThumbnailUri(String thumbnailUri) voidsetVersion(String version) thumbnailUri(String thumbnailUri) toString()Methods inherited from class org.wso2.am.integration.clients.publisher.api.v1.dto.SearchResultDTO
getId, getName, getTransportType, getType, id, name, setId, setName, setTransportType, setType, transportType, type
-
Field Details
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_CONTEXT
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_PROVIDER
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_THUMBNAIL_URI
- See Also:
-
-
Constructor Details
-
APIProductSearchResultDTO
public APIProductSearchResultDTO()
-
-
Method Details
-
description
-
getDescription
A brief description about the API- Returns:
- description
-
setDescription
-
context
-
getContext
A string that represents the context of the user's request- Returns:
- context
-
setContext
-
version
-
getVersion
The version of the API Product- Returns:
- version
-
setVersion
-
provider
-
getProvider
If the provider value is not given, the user invoking the API will be used as the provider.- Returns:
- provider
-
setProvider
-
status
-
getStatus
This describes in which status of the lifecycle the APIPRODUCT is- Returns:
- status
-
setStatus
-
thumbnailUri
-
getThumbnailUri
Get thumbnailUri- Returns:
- thumbnailUri
-
setThumbnailUri
-
equals
- Overrides:
equalsin classSearchResultDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classSearchResultDTO
-
toString
- Overrides:
toStringin classSearchResultDTO
-