Class APIProductInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIProductInfoDTO
-
public class APIProductInfoDTO extends Object
APIProductInfoDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CONTEXTstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_GATEWAY_VENDORstatic StringSERIALIZED_NAME_HAS_THUMBNAILstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_SECURITY_SCHEMEstatic StringSERIALIZED_NAME_STATE
-
Constructor Summary
Constructors Constructor Description APIProductInfoDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIProductInfoDTOcontext(String context)APIProductInfoDTOdescription(String description)booleanequals(Object o)APIProductInfoDTOgatewayVendor(String gatewayVendor)StringgetContext()Get contextStringgetDescription()A brief description about the APIStringgetGatewayVendor()Get gatewayVendorStringgetId()UUID of the api productStringgetName()Name of the API ProductStringgetProvider()If the provider value is not given, the user invoking the API will be used as the provider.List<String>getSecurityScheme()Types of API security, the current API secured with.StringgetState()State of the API product.inthashCode()APIProductInfoDTOhasThumbnail(Boolean hasThumbnail)APIProductInfoDTOid(String id)BooleanisHasThumbnail()Get hasThumbnailAPIProductInfoDTOname(String name)APIProductInfoDTOprovider(String provider)APIProductInfoDTOsecurityScheme(List<String> securityScheme)voidsetContext(String context)voidsetDescription(String description)voidsetGatewayVendor(String gatewayVendor)voidsetHasThumbnail(Boolean hasThumbnail)voidsetId(String id)voidsetName(String name)voidsetProvider(String provider)voidsetSecurityScheme(List<String> securityScheme)voidsetState(String state)APIProductInfoDTOstate(String state)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTEXT
public static final String SERIALIZED_NAME_CONTEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
public static final String SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HAS_THUMBNAIL
public static final String SERIALIZED_NAME_HAS_THUMBNAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECURITY_SCHEME
public static final String SERIALIZED_NAME_SECURITY_SCHEME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GATEWAY_VENDOR
public static final String SERIALIZED_NAME_GATEWAY_VENDOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public APIProductInfoDTO id(String id)
-
setId
public void setId(String id)
-
name
public APIProductInfoDTO name(String name)
-
setName
public void setName(String name)
-
context
public APIProductInfoDTO context(String context)
-
setContext
public void setContext(String context)
-
description
public APIProductInfoDTO description(String description)
-
getDescription
@Nullable public String getDescription()
A brief description about the API- Returns:
- description
-
setDescription
public void setDescription(String description)
-
provider
public APIProductInfoDTO provider(String provider)
-
getProvider
@Nullable public String getProvider()
If the provider value is not given, the user invoking the API will be used as the provider.- Returns:
- provider
-
setProvider
public void setProvider(String provider)
-
hasThumbnail
public APIProductInfoDTO hasThumbnail(Boolean hasThumbnail)
-
setHasThumbnail
public void setHasThumbnail(Boolean hasThumbnail)
-
state
public APIProductInfoDTO state(String state)
-
getState
@Nullable public String getState()
State of the API product. Only published api products are visible on the Developer Portal- Returns:
- state
-
setState
public void setState(String state)
-
securityScheme
public APIProductInfoDTO securityScheme(List<String> securityScheme)
-
getSecurityScheme
@Nullable public List<String> getSecurityScheme()
Types of API security, the current API secured with. It can be either OAuth2 or mutual SSL or both. If it is not set OAuth2 will be set as the security for the current API.- Returns:
- securityScheme
-
gatewayVendor
public APIProductInfoDTO gatewayVendor(String gatewayVendor)
-
getGatewayVendor
@Nullable public String getGatewayVendor()
Get gatewayVendor- Returns:
- gatewayVendor
-
setGatewayVendor
public void setGatewayVendor(String gatewayVendor)
-
-