public class APISearchResultDTO extends SearchResultDTO
SearchResultDTO.TypeEnum| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_AVG_RATING |
static String |
SERIALIZED_NAME_BUSINESS_INFORMATION |
static String |
SERIALIZED_NAME_CONTEXT |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_PROVIDER |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_THUMBNAIL_URI |
static String |
SERIALIZED_NAME_VERSION |
name, SERIALIZED_NAME_ID, SERIALIZED_NAME_NAME, SERIALIZED_NAME_TRANSPORT_TYPE, SERIALIZED_NAME_TYPE| Constructor and Description |
|---|
APISearchResultDTO() |
| Modifier and Type | Method and Description |
|---|---|
APISearchResultDTO |
avgRating(String avgRating) |
APISearchResultDTO |
businessInformation(APIBusinessInformationDTO businessInformation) |
APISearchResultDTO |
context(String context) |
APISearchResultDTO |
description(String description) |
boolean |
equals(Object o) |
String |
getAvgRating()
Average rating of the API
|
APIBusinessInformationDTO |
getBusinessInformation()
Get businessInformation
|
String |
getContext()
A string that represents the context of the user's request
|
String |
getDescription()
A brief description about the API
|
String |
getProvider()
If the provider value is notgiven, the user invoking the API will be used as the provider.
|
String |
getStatus()
This describes in which status of the lifecycle the API is
|
String |
getThumbnailUri()
Get thumbnailUri
|
String |
getVersion()
The version of the API
|
int |
hashCode() |
APISearchResultDTO |
provider(String provider) |
void |
setAvgRating(String avgRating) |
void |
setBusinessInformation(APIBusinessInformationDTO businessInformation) |
void |
setContext(String context) |
void |
setDescription(String description) |
void |
setProvider(String provider) |
void |
setStatus(String status) |
void |
setThumbnailUri(String thumbnailUri) |
void |
setVersion(String version) |
APISearchResultDTO |
status(String status) |
APISearchResultDTO |
thumbnailUri(String thumbnailUri) |
String |
toString() |
APISearchResultDTO |
version(String version) |
getId, getName, getTransportType, getType, id, name, setId, setName, setTransportType, setType, transportType, typepublic static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_CONTEXT
public static final String SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_PROVIDER
public static final String SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_THUMBNAIL_URI
public static final String SERIALIZED_NAME_BUSINESS_INFORMATION
public static final String SERIALIZED_NAME_AVG_RATING
public APISearchResultDTO description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public APISearchResultDTO context(String context)
@Nullable public String getContext()
public void setContext(String context)
public APISearchResultDTO version(String version)
public void setVersion(String version)
public APISearchResultDTO provider(String provider)
@Nullable public String getProvider()
public void setProvider(String provider)
public APISearchResultDTO status(String status)
@Nullable public String getStatus()
public void setStatus(String status)
public APISearchResultDTO thumbnailUri(String thumbnailUri)
public void setThumbnailUri(String thumbnailUri)
public APISearchResultDTO businessInformation(APIBusinessInformationDTO businessInformation)
@Nullable public APIBusinessInformationDTO getBusinessInformation()
public void setBusinessInformation(APIBusinessInformationDTO businessInformation)
public APISearchResultDTO avgRating(String avgRating)
public void setAvgRating(String avgRating)
public boolean equals(Object o)
equals in class SearchResultDTOpublic int hashCode()
hashCode in class SearchResultDTOpublic String toString()
toString in class SearchResultDTOCopyright © 2021 WSO2 Inc. All rights reserved.