Class MosaicAddressRestrictionTransactionBodyDTO


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]")
    public class MosaicAddressRestrictionTransactionBodyDTO
    extends java.lang.Object
    MosaicAddressRestrictionTransactionBodyDTO
    • Field Detail

      • JSON_PROPERTY_MOSAIC_ID

        public static final java.lang.String JSON_PROPERTY_MOSAIC_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_RESTRICTION_KEY

        public static final java.lang.String JSON_PROPERTY_RESTRICTION_KEY
        See Also:
        Constant Field Values
      • JSON_PROPERTY_PREVIOUS_RESTRICTION_VALUE

        public static final java.lang.String JSON_PROPERTY_PREVIOUS_RESTRICTION_VALUE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_NEW_RESTRICTION_VALUE

        public static final java.lang.String JSON_PROPERTY_NEW_RESTRICTION_VALUE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_TARGET_ADDRESS

        public static final java.lang.String JSON_PROPERTY_TARGET_ADDRESS
        See Also:
        Constant Field Values
    • Constructor Detail

      • MosaicAddressRestrictionTransactionBodyDTO

        public MosaicAddressRestrictionTransactionBodyDTO()
    • Method Detail

      • getMosaicId

        public java.lang.String getMosaicId()
        Mosaic identifier. If the most significant bit of byte 0 is set, a namespaceId (alias) is used instead of the real mosaic identifier.
        Returns:
        mosaicId
      • setMosaicId

        public void setMosaicId​(java.lang.String mosaicId)
      • getRestrictionKey

        public java.lang.String getRestrictionKey()
        Restriction key.
        Returns:
        restrictionKey
      • setRestrictionKey

        public void setRestrictionKey​(java.lang.String restrictionKey)
      • getPreviousRestrictionValue

        public java.math.BigInteger getPreviousRestrictionValue()
        A value in a restriction transaction.
        Returns:
        previousRestrictionValue
      • setPreviousRestrictionValue

        public void setPreviousRestrictionValue​(java.math.BigInteger previousRestrictionValue)
      • getNewRestrictionValue

        public java.math.BigInteger getNewRestrictionValue()
        A value in a restriction transaction.
        Returns:
        newRestrictionValue
      • setNewRestrictionValue

        public void setNewRestrictionValue​(java.math.BigInteger newRestrictionValue)
      • getTargetAddress

        public java.lang.String getTargetAddress()
        Address decoded. If the bit 0 of byte 0 is not set (like in 0x90), then it is a regular address. Else (e.g. 0x91) it represents a namespace id which starts at byte 1.
        Returns:
        targetAddress
      • setTargetAddress

        public void setTargetAddress​(java.lang.String targetAddress)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object