Class RulesetInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.governance.api.dto.RulesetInfoDTO
-
public class RulesetInfoDTO extends Object
Detailed information about a ruleset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRulesetInfoDTO.ArtifactTypeEnumThe type of artifact that the ruleset validates.static classRulesetInfoDTO.RuleCategoryEnumCategory the rules included in ruleset.static classRulesetInfoDTO.RuleTypeEnumContext or area to which the ruleset applies.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ARTIFACT_TYPEstatic StringSERIALIZED_NAME_CREATED_BYstatic StringSERIALIZED_NAME_CREATED_TIMEstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_DOCUMENTATION_LINKstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_RULE_CATEGORYstatic StringSERIALIZED_NAME_RULE_TYPEstatic StringSERIALIZED_NAME_UPDATED_BYstatic StringSERIALIZED_NAME_UPDATED_TIME
-
Constructor Summary
Constructors Constructor Description RulesetInfoDTO()
-
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_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RULE_CATEGORY
public static final String SERIALIZED_NAME_RULE_CATEGORY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RULE_TYPE
public static final String SERIALIZED_NAME_RULE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ARTIFACT_TYPE
public static final String SERIALIZED_NAME_ARTIFACT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENTATION_LINK
public static final String SERIALIZED_NAME_DOCUMENTATION_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
public static final String SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_BY
public static final String SERIALIZED_NAME_CREATED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_TIME
public static final String SERIALIZED_NAME_CREATED_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_BY
public static final String SERIALIZED_NAME_UPDATED_BY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_TIME
public static final String SERIALIZED_NAME_UPDATED_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public RulesetInfoDTO id(String id)
-
setId
public void setId(String id)
-
name
public RulesetInfoDTO name(String name)
-
getName
public String getName()
Name of the ruleset.- Returns:
- name
-
setName
public void setName(String name)
-
description
public RulesetInfoDTO description(String description)
-
getDescription
@Nullable public String getDescription()
A brief description of the ruleset.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
ruleCategory
public RulesetInfoDTO ruleCategory(RulesetInfoDTO.RuleCategoryEnum ruleCategory)
-
getRuleCategory
@Nullable public RulesetInfoDTO.RuleCategoryEnum getRuleCategory()
Category the rules included in ruleset.- Returns:
- ruleCategory
-
setRuleCategory
public void setRuleCategory(RulesetInfoDTO.RuleCategoryEnum ruleCategory)
-
ruleType
public RulesetInfoDTO ruleType(RulesetInfoDTO.RuleTypeEnum ruleType)
-
getRuleType
public RulesetInfoDTO.RuleTypeEnum getRuleType()
Context or area to which the ruleset applies.- Returns:
- ruleType
-
setRuleType
public void setRuleType(RulesetInfoDTO.RuleTypeEnum ruleType)
-
artifactType
public RulesetInfoDTO artifactType(RulesetInfoDTO.ArtifactTypeEnum artifactType)
-
getArtifactType
public RulesetInfoDTO.ArtifactTypeEnum getArtifactType()
The type of artifact that the ruleset validates.- Returns:
- artifactType
-
setArtifactType
public void setArtifactType(RulesetInfoDTO.ArtifactTypeEnum artifactType)
-
documentationLink
public RulesetInfoDTO documentationLink(String documentationLink)
-
getDocumentationLink
@Nullable public String getDocumentationLink()
URL to the documentation related to the ruleset.- Returns:
- documentationLink
-
setDocumentationLink
public void setDocumentationLink(String documentationLink)
-
provider
public RulesetInfoDTO provider(String provider)
-
getProvider
public String getProvider()
Entity or individual providing the ruleset.- Returns:
- provider
-
setProvider
public void setProvider(String provider)
-
createdBy
public RulesetInfoDTO createdBy(String createdBy)
-
getCreatedBy
@Nullable public String getCreatedBy()
Identifier of the user who created the ruleset.- Returns:
- createdBy
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
createdTime
public RulesetInfoDTO createdTime(String createdTime)
-
getCreatedTime
@Nullable public String getCreatedTime()
Timestamp when the ruleset was created.- Returns:
- createdTime
-
setCreatedTime
public void setCreatedTime(String createdTime)
-
updatedBy
public RulesetInfoDTO updatedBy(String updatedBy)
-
getUpdatedBy
@Nullable public String getUpdatedBy()
Identifier of the user who last updated the ruleset.- Returns:
- updatedBy
-
setUpdatedBy
public void setUpdatedBy(String updatedBy)
-
updatedTime
public RulesetInfoDTO updatedTime(String updatedTime)
-
getUpdatedTime
@Nullable public String getUpdatedTime()
Timestamp when the ruleset was last updated.- Returns:
- updatedTime
-
setUpdatedTime
public void setUpdatedTime(String updatedTime)
-
-