Class APIProductInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIProductInfoDTO
-
public class APIProductInfoDTO extends Object
APIProductInfoDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPIProductInfoDTO.StateEnumState of the API product.
-
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
-
-
-
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(APIProductInfoDTO.StateEnum state)
-
getState
@Nullable public APIProductInfoDTO.StateEnum getState()
State of the API product. Only published api products are visible on the Developer Portal- Returns:
- state
-
setState
public void setState(APIProductInfoDTO.StateEnum 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)
-
-