public class APISearchResultDTO extends SearchResultDTO
SearchResultDTO.TypeEnum| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ADVERTISE_ONLY |
static String |
SERIALIZED_NAME_CONTEXT |
static String |
SERIALIZED_NAME_CONTEXT_TEMPLATE |
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 |
advertiseOnly(Boolean advertiseOnly) |
APISearchResultDTO |
context(String context) |
APISearchResultDTO |
contextTemplate(String contextTemplate) |
APISearchResultDTO |
description(String description) |
boolean |
equals(Object o) |
String |
getContext()
A string that represents the context of the user's request
|
String |
getContextTemplate()
The templated context of the API
|
String |
getDescription()
A brief description about the API
|
String |
getProvider()
If the provider value is not given, 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() |
Boolean |
isAdvertiseOnly()
Get advertiseOnly
|
APISearchResultDTO |
provider(String provider) |
void |
setAdvertiseOnly(Boolean advertiseOnly) |
void |
setContext(String context) |
void |
setContextTemplate(String contextTemplate) |
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_CONTEXT_TEMPLATE
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_ADVERTISE_ONLY
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 contextTemplate(String contextTemplate)
@Nullable public String getContextTemplate()
public void setContextTemplate(String contextTemplate)
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 advertiseOnly(Boolean advertiseOnly)
public void setAdvertiseOnly(Boolean advertiseOnly)
public boolean equals(Object o)
equals in class SearchResultDTOpublic int hashCode()
hashCode in class SearchResultDTOpublic String toString()
toString in class SearchResultDTOCopyright © 2022 WSO2 Inc. All rights reserved.