Class ApplicationDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.ApplicationDTO
-
public class ApplicationDTO extends Object
ApplicationDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationDTO.TokenTypeEnumType of the access token generated for this application.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_APPLICATION_IDstatic StringSERIALIZED_NAME_ATTRIBUTESstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_GROUPSstatic StringSERIALIZED_NAME_HASH_ENABLEDstatic StringSERIALIZED_NAME_KEYSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_OWNERstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_SUBSCRIPTION_COUNTstatic StringSERIALIZED_NAME_SUBSCRIPTION_SCOPESstatic StringSERIALIZED_NAME_THROTTLING_POLICYstatic StringSERIALIZED_NAME_TOKEN_TYPE
-
Constructor Summary
Constructors Constructor Description ApplicationDTO()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLICATION_ID
public static final String SERIALIZED_NAME_APPLICATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THROTTLING_POLICY
public static final String SERIALIZED_NAME_THROTTLING_POLICY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN_TYPE
public static final String SERIALIZED_NAME_TOKEN_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUPS
public static final String SERIALIZED_NAME_GROUPS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBSCRIPTION_COUNT
public static final String SERIALIZED_NAME_SUBSCRIPTION_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KEYS
public static final String SERIALIZED_NAME_KEYS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ATTRIBUTES
public static final String SERIALIZED_NAME_ATTRIBUTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBSCRIPTION_SCOPES
public static final String SERIALIZED_NAME_SUBSCRIPTION_SCOPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNER
public static final String SERIALIZED_NAME_OWNER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HASH_ENABLED
public static final String SERIALIZED_NAME_HASH_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
applicationId
public ApplicationDTO applicationId(String applicationId)
-
getApplicationId
@Nullable public String getApplicationId()
Get applicationId- Returns:
- applicationId
-
setApplicationId
public void setApplicationId(String applicationId)
-
name
public ApplicationDTO name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
throttlingPolicy
public ApplicationDTO throttlingPolicy(String throttlingPolicy)
-
getThrottlingPolicy
public String getThrottlingPolicy()
Get throttlingPolicy- Returns:
- throttlingPolicy
-
setThrottlingPolicy
public void setThrottlingPolicy(String throttlingPolicy)
-
description
public ApplicationDTO description(String description)
-
setDescription
public void setDescription(String description)
-
tokenType
public ApplicationDTO tokenType(ApplicationDTO.TokenTypeEnum tokenType)
-
getTokenType
@Nullable public ApplicationDTO.TokenTypeEnum getTokenType()
Type of the access token generated for this application. **OAUTH:** A UUID based access token **JWT:** A self-contained, signed JWT based access token which is issued by default.- Returns:
- tokenType
-
setTokenType
public void setTokenType(ApplicationDTO.TokenTypeEnum tokenType)
-
status
public ApplicationDTO status(String status)
-
setStatus
public void setStatus(String status)
-
groups
public ApplicationDTO groups(List<String> groups)
-
subscriptionCount
public ApplicationDTO subscriptionCount(Integer subscriptionCount)
-
getSubscriptionCount
@Nullable public Integer getSubscriptionCount()
Get subscriptionCount- Returns:
- subscriptionCount
-
setSubscriptionCount
public void setSubscriptionCount(Integer subscriptionCount)
-
keys
public ApplicationDTO keys(List<ApplicationKeyDTO> keys)
-
getKeys
@Nullable public List<ApplicationKeyDTO> getKeys()
Get keys- Returns:
- keys
-
setKeys
public void setKeys(List<ApplicationKeyDTO> keys)
-
attributes
public ApplicationDTO attributes(Map<String,String> attributes)
-
getAttributes
@Nullable public Map<String,String> getAttributes()
Get attributes- Returns:
- attributes
-
subscriptionScopes
public ApplicationDTO subscriptionScopes(List<ScopeInfoDTO> subscriptionScopes)
-
getSubscriptionScopes
@Nullable public List<ScopeInfoDTO> getSubscriptionScopes()
Get subscriptionScopes- Returns:
- subscriptionScopes
-
setSubscriptionScopes
public void setSubscriptionScopes(List<ScopeInfoDTO> subscriptionScopes)
-
owner
public ApplicationDTO owner(String owner)
-
setOwner
public void setOwner(String owner)
-
hashEnabled
public ApplicationDTO hashEnabled(Boolean hashEnabled)
-
setHashEnabled
public void setHashEnabled(Boolean hashEnabled)
-
-