Package io.nem.sdk.openapi.jersey2.model
Class MosaicExpiryReceiptDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.MosaicExpiryReceiptDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-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.StringJSON_PROPERTY_ARTIFACT_IDstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_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
-
JSON_PROPERTY_VERSION
public static final java.lang.String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ARTIFACT_ID
public static final java.lang.String JSON_PROPERTY_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
-
-