Class APIDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.APIDTO
-
public class APIDTO extends Object
APIDTO
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description APIDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIDTOadditionalProperties(List<APIAdditionalPropertiesDTO> additionalProperties)APIDTOadvertiseInfo(AdvertiseInfoDTO advertiseInfo)APIDTOapiDefinition(String apiDefinition)APIDTOasyncTransportProtocols(List<String> asyncTransportProtocols)APIDTOauthorizationHeader(String authorizationHeader)APIDTOavgRating(String avgRating)APIDTObusinessInformation(APIBusinessInformationDTO businessInformation)APIDTOcategories(List<String> categories)APIDTOcontext(String context)APIDTOcreatedTime(String createdTime)APIDTOdescription(String description)APIDTOendpointURLs(List<APIEndpointURLsDTO> endpointURLs)APIDTOenvironmentList(List<String> environmentList)booleanequals(Object o)APIDTOgatewayVendor(String gatewayVendor)List<APIAdditionalPropertiesDTO>getAdditionalProperties()Custom(user defined) properties of APIAdvertiseInfoDTOgetAdvertiseInfo()Get advertiseInfoStringgetApiDefinition()Swagger definition of the API which contains details about URI templates and scopesList<String>getAsyncTransportProtocols()Supported transports for the aync API.StringgetAuthorizationHeader()Name of the Authorization header used for invoking the API.StringgetAvgRating()The average rating of the APIAPIBusinessInformationDTOgetBusinessInformation()Get businessInformationList<String>getCategories()API categoriesStringgetContext()A string that represents thecontext of the user's requestStringgetCreatedTime()Get createdTimeStringgetDescription()A brief description about the APIList<APIEndpointURLsDTO>getEndpointURLs()Get endpointURLsList<String>getEnvironmentList()The environment list configured with non empty endpoint URLs for the particular API.StringgetGatewayVendor()Get gatewayVendorStringgetId()UUID of the apiObjectgetKeyManagers()API Key ManagersStringgetLastUpdatedTime()Get lastUpdatedTimeStringgetLifeCycleStatus()This describes in which status of the lifecycle the API is.APIMonetizationInfoDTOgetMonetization()Get monetizationStringgetName()Name of the APIList<APIOperationsDTO>getOperations()Get operationsStringgetProvider()If the provider value is not given user invoking the api will be used as the provider.List<ScopeInfoDTO>getScopes()Get scopesList<String>getSecurityScheme()Types of API security, the current API secured with.List<String>getTags()Search keywords related to the APIList<APITiersDTO>getTiers()The subscription tiers selected for the particular APIList<String>getTransport()Get transportStringgetType()This describes the transport type of the APIStringgetVersion()The version of the APIStringgetWsdlUri()WSDL URL if the API is based on a WSDL endpointinthashCode()APIDTOhasThumbnail(Boolean hasThumbnail)APIDTOid(String id)APIDTOisDefaultVersion(Boolean isDefaultVersion)BooleanisHasThumbnail()Get hasThumbnailBooleanisIsDefaultVersion()Get isDefaultVersionBooleanisIsSubscriptionAvailable()Get isSubscriptionAvailableAPIDTOisSubscriptionAvailable(Boolean isSubscriptionAvailable)APIDTOkeyManagers(Object keyManagers)APIDTOlastUpdatedTime(String lastUpdatedTime)APIDTOlifeCycleStatus(String lifeCycleStatus)APIDTOmonetization(APIMonetizationInfoDTO monetization)APIDTOname(String name)APIDTOoperations(List<APIOperationsDTO> operations)APIDTOprovider(String provider)APIDTOscopes(List<ScopeInfoDTO> scopes)APIDTOsecurityScheme(List<String> securityScheme)voidsetAdditionalProperties(List<APIAdditionalPropertiesDTO> additionalProperties)voidsetAdvertiseInfo(AdvertiseInfoDTO advertiseInfo)voidsetApiDefinition(String apiDefinition)voidsetAsyncTransportProtocols(List<String> asyncTransportProtocols)voidsetAuthorizationHeader(String authorizationHeader)voidsetAvgRating(String avgRating)voidsetBusinessInformation(APIBusinessInformationDTO businessInformation)voidsetCategories(List<String> categories)voidsetContext(String context)voidsetCreatedTime(String createdTime)voidsetDescription(String description)voidsetEndpointURLs(List<APIEndpointURLsDTO> endpointURLs)voidsetEnvironmentList(List<String> environmentList)voidsetGatewayVendor(String gatewayVendor)voidsetHasThumbnail(Boolean hasThumbnail)voidsetId(String id)voidsetIsDefaultVersion(Boolean isDefaultVersion)voidsetIsSubscriptionAvailable(Boolean isSubscriptionAvailable)voidsetKeyManagers(Object keyManagers)voidsetLastUpdatedTime(String lastUpdatedTime)voidsetLifeCycleStatus(String lifeCycleStatus)voidsetMonetization(APIMonetizationInfoDTO monetization)voidsetName(String name)voidsetOperations(List<APIOperationsDTO> operations)voidsetProvider(String provider)voidsetScopes(List<ScopeInfoDTO> scopes)voidsetSecurityScheme(List<String> securityScheme)voidsetTags(List<String> tags)voidsetTiers(List<APITiersDTO> tiers)voidsetTransport(List<String> transport)voidsetType(String type)voidsetVersion(String version)voidsetWsdlUri(String wsdlUri)APIDTOtags(List<String> tags)APIDTOtiers(List<APITiersDTO> tiers)StringtoString()APIDTOtransport(List<String> transport)APIDTOtype(String type)APIDTOversion(String version)APIDTOwsdlUri(String wsdlUri)
-
-
-
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_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTEXT
public static final String SERIALIZED_NAME_CONTEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
public static final String SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_API_DEFINITION
public static final String SERIALIZED_NAME_API_DEFINITION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WSDL_URI
public static final String SERIALIZED_NAME_WSDL_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LIFE_CYCLE_STATUS
public static final String SERIALIZED_NAME_LIFE_CYCLE_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_DEFAULT_VERSION
public static final String SERIALIZED_NAME_IS_DEFAULT_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSPORT
public static final String SERIALIZED_NAME_TRANSPORT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPERATIONS
public static final String SERIALIZED_NAME_OPERATIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUTHORIZATION_HEADER
public static final String SERIALIZED_NAME_AUTHORIZATION_HEADER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECURITY_SCHEME
public static final String SERIALIZED_NAME_SECURITY_SCHEME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIERS
public static final String SERIALIZED_NAME_TIERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HAS_THUMBNAIL
public static final String SERIALIZED_NAME_HAS_THUMBNAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDITIONAL_PROPERTIES
public static final String SERIALIZED_NAME_ADDITIONAL_PROPERTIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MONETIZATION
public static final String SERIALIZED_NAME_MONETIZATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENDPOINT_U_R_LS
public static final String SERIALIZED_NAME_ENDPOINT_U_R_LS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_INFORMATION
public static final String SERIALIZED_NAME_BUSINESS_INFORMATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT_LIST
public static final String SERIALIZED_NAME_ENVIRONMENT_LIST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCOPES
public static final String SERIALIZED_NAME_SCOPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AVG_RATING
public static final String SERIALIZED_NAME_AVG_RATING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADVERTISE_INFO
public static final String SERIALIZED_NAME_ADVERTISE_INFO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_SUBSCRIPTION_AVAILABLE
public static final String SERIALIZED_NAME_IS_SUBSCRIPTION_AVAILABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CATEGORIES
public static final String SERIALIZED_NAME_CATEGORIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KEY_MANAGERS
public static final String SERIALIZED_NAME_KEY_MANAGERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_TIME
public static final String SERIALIZED_NAME_CREATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_UPDATED_TIME
public static final String SERIALIZED_NAME_LAST_UPDATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GATEWAY_VENDOR
public static final String SERIALIZED_NAME_GATEWAY_VENDOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASYNC_TRANSPORT_PROTOCOLS
public static final String SERIALIZED_NAME_ASYNC_TRANSPORT_PROTOCOLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
getName
public String getName()
Name of the API- Returns:
- name
-
setName
public void setName(String name)
-
getDescription
@Nullable public String getDescription()
A brief description about the API- Returns:
- description
-
setDescription
public void setDescription(String description)
-
getContext
public String getContext()
A string that represents thecontext of the user's request- Returns:
- context
-
setContext
public void setContext(String context)
-
getVersion
public String getVersion()
The version of the API- Returns:
- version
-
setVersion
public void setVersion(String version)
-
getProvider
public String getProvider()
If the provider value is not given user invoking the api will be used as the provider.- Returns:
- provider
-
setProvider
public void setProvider(String provider)
-
getApiDefinition
@Nullable public String getApiDefinition()
Swagger definition of the API which contains details about URI templates and scopes- Returns:
- apiDefinition
-
setApiDefinition
public void setApiDefinition(String apiDefinition)
-
getWsdlUri
@Nullable public String getWsdlUri()
WSDL URL if the API is based on a WSDL endpoint- Returns:
- wsdlUri
-
setWsdlUri
public void setWsdlUri(String wsdlUri)
-
getLifeCycleStatus
public String getLifeCycleStatus()
This describes in which status of the lifecycle the API is.- Returns:
- lifeCycleStatus
-
setLifeCycleStatus
public void setLifeCycleStatus(String lifeCycleStatus)
-
isIsDefaultVersion
@Nullable public Boolean isIsDefaultVersion()
Get isDefaultVersion- Returns:
- isDefaultVersion
-
setIsDefaultVersion
public void setIsDefaultVersion(Boolean isDefaultVersion)
-
getType
@Nullable public String getType()
This describes the transport type of the API- Returns:
- type
-
setType
public void setType(String type)
-
operations
public APIDTO operations(List<APIOperationsDTO> operations)
-
getOperations
@Nullable public List<APIOperationsDTO> getOperations()
Get operations- Returns:
- operations
-
setOperations
public void setOperations(List<APIOperationsDTO> operations)
-
getAuthorizationHeader
@Nullable public String getAuthorizationHeader()
Name of the Authorization header used for invoking the API. If it is not set, Authorization header name specified in tenant or system level will be used.- Returns:
- authorizationHeader
-
setAuthorizationHeader
public void setAuthorizationHeader(String authorizationHeader)
-
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
-
tiers
public APIDTO tiers(List<APITiersDTO> tiers)
-
getTiers
@Nullable public List<APITiersDTO> getTiers()
The subscription tiers selected for the particular API- Returns:
- tiers
-
setTiers
public void setTiers(List<APITiersDTO> tiers)
-
setHasThumbnail
public void setHasThumbnail(Boolean hasThumbnail)
-
additionalProperties
public APIDTO additionalProperties(List<APIAdditionalPropertiesDTO> additionalProperties)
-
getAdditionalProperties
@Nullable public List<APIAdditionalPropertiesDTO> getAdditionalProperties()
Custom(user defined) properties of API- Returns:
- additionalProperties
-
setAdditionalProperties
public void setAdditionalProperties(List<APIAdditionalPropertiesDTO> additionalProperties)
-
monetization
public APIDTO monetization(APIMonetizationInfoDTO monetization)
-
getMonetization
@Nullable public APIMonetizationInfoDTO getMonetization()
Get monetization- Returns:
- monetization
-
setMonetization
public void setMonetization(APIMonetizationInfoDTO monetization)
-
endpointURLs
public APIDTO endpointURLs(List<APIEndpointURLsDTO> endpointURLs)
-
getEndpointURLs
@Nullable public List<APIEndpointURLsDTO> getEndpointURLs()
Get endpointURLs- Returns:
- endpointURLs
-
setEndpointURLs
public void setEndpointURLs(List<APIEndpointURLsDTO> endpointURLs)
-
businessInformation
public APIDTO businessInformation(APIBusinessInformationDTO businessInformation)
-
getBusinessInformation
@Nullable public APIBusinessInformationDTO getBusinessInformation()
Get businessInformation- Returns:
- businessInformation
-
setBusinessInformation
public void setBusinessInformation(APIBusinessInformationDTO businessInformation)
-
getEnvironmentList
@Nullable public List<String> getEnvironmentList()
The environment list configured with non empty endpoint URLs for the particular API.- Returns:
- environmentList
-
scopes
public APIDTO scopes(List<ScopeInfoDTO> scopes)
-
getScopes
@Nullable public List<ScopeInfoDTO> getScopes()
Get scopes- Returns:
- scopes
-
setScopes
public void setScopes(List<ScopeInfoDTO> scopes)
-
getAvgRating
@Nullable public String getAvgRating()
The average rating of the API- Returns:
- avgRating
-
setAvgRating
public void setAvgRating(String avgRating)
-
advertiseInfo
public APIDTO advertiseInfo(AdvertiseInfoDTO advertiseInfo)
-
getAdvertiseInfo
@Nullable public AdvertiseInfoDTO getAdvertiseInfo()
Get advertiseInfo- Returns:
- advertiseInfo
-
setAdvertiseInfo
public void setAdvertiseInfo(AdvertiseInfoDTO advertiseInfo)
-
isIsSubscriptionAvailable
@Nullable public Boolean isIsSubscriptionAvailable()
Get isSubscriptionAvailable- Returns:
- isSubscriptionAvailable
-
setIsSubscriptionAvailable
public void setIsSubscriptionAvailable(Boolean isSubscriptionAvailable)
-
setKeyManagers
public void setKeyManagers(Object keyManagers)
-
setCreatedTime
public void setCreatedTime(String createdTime)
-
getLastUpdatedTime
@Nullable public String getLastUpdatedTime()
Get lastUpdatedTime- Returns:
- lastUpdatedTime
-
setLastUpdatedTime
public void setLastUpdatedTime(String lastUpdatedTime)
-
getGatewayVendor
@Nullable public String getGatewayVendor()
Get gatewayVendor- Returns:
- gatewayVendor
-
setGatewayVendor
public void setGatewayVendor(String gatewayVendor)
-
asyncTransportProtocols
public APIDTO asyncTransportProtocols(List<String> asyncTransportProtocols)
-
getAsyncTransportProtocols
@Nullable public List<String> getAsyncTransportProtocols()
Supported transports for the aync API.- Returns:
- asyncTransportProtocols
-
setAsyncTransportProtocols
public void setAsyncTransportProtocols(List<String> asyncTransportProtocols)
-
-