Package io.nem.sdk.openapi.jersey2.model
Class MosaicAddressRestrictionEntryWrapperDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.MosaicAddressRestrictionEntryWrapperDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class MosaicAddressRestrictionEntryWrapperDTO extends java.lang.ObjectMosaicAddressRestrictionEntryWrapperDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_COMPOSITE_HASHstatic java.lang.StringJSON_PROPERTY_ENTRY_TYPEstatic java.lang.StringJSON_PROPERTY_MOSAIC_IDstatic java.lang.StringJSON_PROPERTY_RESTRICTIONSstatic java.lang.StringJSON_PROPERTY_TARGET_ADDRESS
-
Constructor Summary
Constructors Constructor Description MosaicAddressRestrictionEntryWrapperDTO()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_COMPOSITE_HASH
public static final java.lang.String JSON_PROPERTY_COMPOSITE_HASH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTRY_TYPE
public static final java.lang.String JSON_PROPERTY_ENTRY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOSAIC_ID
public static final java.lang.String JSON_PROPERTY_MOSAIC_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_ADDRESS
public static final java.lang.String JSON_PROPERTY_TARGET_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTRICTIONS
public static final java.lang.String JSON_PROPERTY_RESTRICTIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
compositeHash
public MosaicAddressRestrictionEntryWrapperDTO compositeHash(java.lang.String compositeHash)
-
getCompositeHash
public java.lang.String getCompositeHash()
Get compositeHash- Returns:
- compositeHash
-
setCompositeHash
public void setCompositeHash(java.lang.String compositeHash)
-
entryType
public MosaicAddressRestrictionEntryWrapperDTO entryType(MosaicRestrictionEntryTypeEnum entryType)
-
getEntryType
public MosaicRestrictionEntryTypeEnum getEntryType()
Get entryType- Returns:
- entryType
-
setEntryType
public void setEntryType(MosaicRestrictionEntryTypeEnum entryType)
-
mosaicId
public MosaicAddressRestrictionEntryWrapperDTO mosaicId(java.lang.String mosaicId)
-
getMosaicId
public java.lang.String getMosaicId()
Mosaic identifier.- Returns:
- mosaicId
-
setMosaicId
public void setMosaicId(java.lang.String mosaicId)
-
targetAddress
public MosaicAddressRestrictionEntryWrapperDTO targetAddress(java.lang.String targetAddress)
-
getTargetAddress
public java.lang.String getTargetAddress()
Decoded address.- Returns:
- targetAddress
-
setTargetAddress
public void setTargetAddress(java.lang.String targetAddress)
-
restrictions
public MosaicAddressRestrictionEntryWrapperDTO restrictions(java.util.List<MosaicAddressRestrictionEntryDTO> restrictions)
-
addRestrictionsItem
public MosaicAddressRestrictionEntryWrapperDTO addRestrictionsItem(MosaicAddressRestrictionEntryDTO restrictionsItem)
-
getRestrictions
public java.util.List<MosaicAddressRestrictionEntryDTO> getRestrictions()
Get restrictions- Returns:
- restrictions
-
setRestrictions
public void setRestrictions(java.util.List<MosaicAddressRestrictionEntryDTO> restrictions)
-
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
-
-