Class MosaicExpiryReceiptDTO
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.model.MosaicExpiryReceiptDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:54:17.331184576-03:00[America/Argentina/Buenos_Aires]") public class MosaicExpiryReceiptDTO extends java.lang.ObjectA mosaic expired in this block.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERIALIZED_NAME_ARTIFACT_IDstatic java.lang.StringSERIALIZED_NAME_TYPEstatic java.lang.StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description MosaicExpiryReceiptDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MosaicExpiryReceiptDTOartifactId(java.lang.String artifactId)booleanequals(java.lang.Object o)java.lang.StringgetArtifactId()Mosaic identifier.ReceiptTypeEnumgetType()Get typejava.lang.IntegergetVersion()Version of the receipt.inthashCode()voidsetArtifactId(java.lang.String artifactId)voidsetType(ReceiptTypeEnum type)voidsetVersion(java.lang.Integer version)java.lang.StringtoString()MosaicExpiryReceiptDTOtype(ReceiptTypeEnum type)MosaicExpiryReceiptDTOversion(java.lang.Integer version)
-
-
-
Field Detail
-
SERIALIZED_NAME_VERSION
public static final java.lang.String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ARTIFACT_ID
public static final java.lang.String SERIALIZED_NAME_ARTIFACT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
version
public MosaicExpiryReceiptDTO version(java.lang.Integer version)
-
getVersion
public java.lang.Integer getVersion()
Version of the receipt.- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
type
public MosaicExpiryReceiptDTO type(ReceiptTypeEnum type)
-
getType
public ReceiptTypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(ReceiptTypeEnum type)
-
artifactId
public MosaicExpiryReceiptDTO artifactId(java.lang.String artifactId)
-
getArtifactId
public java.lang.String getArtifactId()
Mosaic identifier.- Returns:
- artifactId
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-