Class ArtifactInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.governance.api.dto.ArtifactInfoDTO
-
public class ArtifactInfoDTO extends Object
Detailed information about an artifact.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArtifactInfoDTO.TypeEnumType of the artifact.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_OWNERstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description ArtifactInfoDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Name of the artifact.StringgetOwner()Owner of the artifact.ArtifactInfoDTO.TypeEnumgetType()Type of the artifact.StringgetVersion()Version of the artifact.inthashCode()ArtifactInfoDTOname(String name)ArtifactInfoDTOowner(String owner)voidsetName(String name)voidsetOwner(String owner)voidsetType(ArtifactInfoDTO.TypeEnum type)voidsetVersion(String version)StringtoString()ArtifactInfoDTOtype(ArtifactInfoDTO.TypeEnum type)ArtifactInfoDTOversion(String version)
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNER
public static final String SERIALIZED_NAME_OWNER
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public ArtifactInfoDTO name(String name)
-
setName
public void setName(String name)
-
type
public ArtifactInfoDTO type(ArtifactInfoDTO.TypeEnum type)
-
getType
@Nullable public ArtifactInfoDTO.TypeEnum getType()
Type of the artifact.- Returns:
- type
-
setType
public void setType(ArtifactInfoDTO.TypeEnum type)
-
version
public ArtifactInfoDTO version(String version)
-
setVersion
public void setVersion(String version)
-
owner
public ArtifactInfoDTO owner(String owner)
-
setOwner
public void setOwner(String owner)
-
-