Class ArtifactComplianceSummaryDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.governance.api.dto.ArtifactComplianceSummaryDTO
-
public class ArtifactComplianceSummaryDTO extends Object
Summary of compliance of certain artifact in the organization.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_COMPLIANTstatic StringSERIALIZED_NAME_NON_COMPLIANTstatic StringSERIALIZED_NAME_NOT_APPLICABLEstatic StringSERIALIZED_NAME_PENDINGstatic StringSERIALIZED_NAME_TOTAL
-
Constructor Summary
Constructors Constructor Description ArtifactComplianceSummaryDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactComplianceSummaryDTOcompliant(Integer compliant)booleanequals(Object o)IntegergetCompliant()Number of compliant artifacts.IntegergetNonCompliant()Number of non-compliant artifacts.IntegergetNotApplicable()Number of artifacts not applicable for compliance yet.IntegergetPending()Number of artifacts pending for compliance.IntegergetTotal()Total number of artifacts.inthashCode()ArtifactComplianceSummaryDTOnonCompliant(Integer nonCompliant)ArtifactComplianceSummaryDTOnotApplicable(Integer notApplicable)ArtifactComplianceSummaryDTOpending(Integer pending)voidsetCompliant(Integer compliant)voidsetNonCompliant(Integer nonCompliant)voidsetNotApplicable(Integer notApplicable)voidsetPending(Integer pending)voidsetTotal(Integer total)StringtoString()ArtifactComplianceSummaryDTOtotal(Integer total)
-
-
-
Field Detail
-
SERIALIZED_NAME_TOTAL
public static final String SERIALIZED_NAME_TOTAL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLIANT
public static final String SERIALIZED_NAME_COMPLIANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NON_COMPLIANT
public static final String SERIALIZED_NAME_NON_COMPLIANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PENDING
public static final String SERIALIZED_NAME_PENDING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NOT_APPLICABLE
public static final String SERIALIZED_NAME_NOT_APPLICABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
total
public ArtifactComplianceSummaryDTO total(Integer total)
-
setTotal
public void setTotal(Integer total)
-
compliant
public ArtifactComplianceSummaryDTO compliant(Integer compliant)
-
getCompliant
@Nullable public Integer getCompliant()
Number of compliant artifacts.- Returns:
- compliant
-
setCompliant
public void setCompliant(Integer compliant)
-
nonCompliant
public ArtifactComplianceSummaryDTO nonCompliant(Integer nonCompliant)
-
getNonCompliant
@Nullable public Integer getNonCompliant()
Number of non-compliant artifacts.- Returns:
- nonCompliant
-
setNonCompliant
public void setNonCompliant(Integer nonCompliant)
-
pending
public ArtifactComplianceSummaryDTO pending(Integer pending)
-
getPending
@Nullable public Integer getPending()
Number of artifacts pending for compliance.- Returns:
- pending
-
setPending
public void setPending(Integer pending)
-
notApplicable
public ArtifactComplianceSummaryDTO notApplicable(Integer notApplicable)
-
getNotApplicable
@Nullable public Integer getNotApplicable()
Number of artifacts not applicable for compliance yet.- Returns:
- notApplicable
-
setNotApplicable
public void setNotApplicable(Integer notApplicable)
-
-