Class APISearchResultDTO
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.dto.SearchResultDTO
org.wso2.am.integration.clients.publisher.api.v1.dto.APISearchResultDTO
APISearchResultDTO
-
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 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 TypeMethodDescriptionadvertiseOnly(Boolean advertiseOnly) contextTemplate(String contextTemplate) description(String description) booleanA string that represents the context of the user's requestThe templated context of the APIA 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 API isGet thumbnailUriThe version of the APIinthashCode()Get advertiseOnlyvoidsetAdvertiseOnly(Boolean advertiseOnly) voidsetContext(String context) voidsetContextTemplate(String contextTemplate) 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_CONTEXT_TEMPLATE
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_PROVIDER
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_THUMBNAIL_URI
- See Also:
-
SERIALIZED_NAME_ADVERTISE_ONLY
- See Also:
-
-
Constructor Details
-
APISearchResultDTO
public APISearchResultDTO()
-
-
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
-
contextTemplate
-
getContextTemplate
The templated context of the API- Returns:
- contextTemplate
-
setContextTemplate
-
version
-
getVersion
The version of the API- 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 API is- Returns:
- status
-
setStatus
-
thumbnailUri
-
getThumbnailUri
Get thumbnailUri- Returns:
- thumbnailUri
-
setThumbnailUri
-
advertiseOnly
-
isAdvertiseOnly
Get advertiseOnly- Returns:
- advertiseOnly
-
setAdvertiseOnly
-
equals
- Overrides:
equalsin classSearchResultDTO
-
hashCode
public int hashCode()- Overrides:
hashCodein classSearchResultDTO
-
toString
- Overrides:
toStringin classSearchResultDTO
-