Package io.nem.sdk.openapi.jersey2.model
Class AccountMosaicRestrictionTransactionDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.AccountMosaicRestrictionTransactionDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class AccountMosaicRestrictionTransactionDTO extends java.lang.ObjectTransaction to prevent incoming transactions containing a given set of mosaics.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DEADLINEstatic java.lang.StringJSON_PROPERTY_MAX_FEEstatic java.lang.StringJSON_PROPERTY_NETWORKstatic java.lang.StringJSON_PROPERTY_RESTRICTION_ADDITIONSstatic java.lang.StringJSON_PROPERTY_RESTRICTION_DELETIONSstatic java.lang.StringJSON_PROPERTY_RESTRICTION_FLAGSstatic java.lang.StringJSON_PROPERTY_SIGNATUREstatic java.lang.StringJSON_PROPERTY_SIGNER_PUBLIC_KEYstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description AccountMosaicRestrictionTransactionDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountMosaicRestrictionTransactionDTOaddRestrictionAdditionsItem(java.lang.String restrictionAdditionsItem)AccountMosaicRestrictionTransactionDTOaddRestrictionDeletionsItem(java.lang.String restrictionDeletionsItem)AccountMosaicRestrictionTransactionDTOdeadline(java.math.BigInteger deadline)booleanequals(java.lang.Object o)java.math.BigIntegergetDeadline()Duration expressed in number of blocks.java.math.BigIntegergetMaxFee()Absolute amount.NetworkTypeEnumgetNetwork()Get networkjava.util.List<java.lang.String>getRestrictionAdditions()Account restriction additions.java.util.List<java.lang.String>getRestrictionDeletions()Account restriction deletions.AccountRestrictionFlagsEnumgetRestrictionFlags()Get restrictionFlagsjava.lang.StringgetSignature()Entity's signature generated by the signer.java.lang.StringgetSignerPublicKey()Get signerPublicKeyjava.lang.IntegergetType()Get typejava.lang.IntegergetVersion()Entity version.inthashCode()AccountMosaicRestrictionTransactionDTOmaxFee(java.math.BigInteger maxFee)AccountMosaicRestrictionTransactionDTOnetwork(NetworkTypeEnum network)AccountMosaicRestrictionTransactionDTOrestrictionAdditions(java.util.List<java.lang.String> restrictionAdditions)AccountMosaicRestrictionTransactionDTOrestrictionDeletions(java.util.List<java.lang.String> restrictionDeletions)AccountMosaicRestrictionTransactionDTOrestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)voidsetDeadline(java.math.BigInteger deadline)voidsetMaxFee(java.math.BigInteger maxFee)voidsetNetwork(NetworkTypeEnum network)voidsetRestrictionAdditions(java.util.List<java.lang.String> restrictionAdditions)voidsetRestrictionDeletions(java.util.List<java.lang.String> restrictionDeletions)voidsetRestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)voidsetSignature(java.lang.String signature)voidsetSignerPublicKey(java.lang.String signerPublicKey)voidsetType(java.lang.Integer type)voidsetVersion(java.lang.Integer version)AccountMosaicRestrictionTransactionDTOsignature(java.lang.String signature)AccountMosaicRestrictionTransactionDTOsignerPublicKey(java.lang.String signerPublicKey)java.lang.StringtoString()AccountMosaicRestrictionTransactionDTOtype(java.lang.Integer type)AccountMosaicRestrictionTransactionDTOversion(java.lang.Integer version)
-
-
-
Field Detail
-
JSON_PROPERTY_SIGNATURE
public static final java.lang.String JSON_PROPERTY_SIGNATURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIGNER_PUBLIC_KEY
public static final java.lang.String JSON_PROPERTY_SIGNER_PUBLIC_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final java.lang.String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK
public static final java.lang.String JSON_PROPERTY_NETWORK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_FEE
public static final java.lang.String JSON_PROPERTY_MAX_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEADLINE
public static final java.lang.String JSON_PROPERTY_DEADLINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTRICTION_FLAGS
public static final java.lang.String JSON_PROPERTY_RESTRICTION_FLAGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTRICTION_ADDITIONS
public static final java.lang.String JSON_PROPERTY_RESTRICTION_ADDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTRICTION_DELETIONS
public static final java.lang.String JSON_PROPERTY_RESTRICTION_DELETIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
signature
public AccountMosaicRestrictionTransactionDTO signature(java.lang.String signature)
-
getSignature
public java.lang.String getSignature()
Entity's signature generated by the signer.- Returns:
- signature
-
setSignature
public void setSignature(java.lang.String signature)
-
signerPublicKey
public AccountMosaicRestrictionTransactionDTO signerPublicKey(java.lang.String signerPublicKey)
-
getSignerPublicKey
public java.lang.String getSignerPublicKey()
Get signerPublicKey- Returns:
- signerPublicKey
-
setSignerPublicKey
public void setSignerPublicKey(java.lang.String signerPublicKey)
-
version
public AccountMosaicRestrictionTransactionDTO version(java.lang.Integer version)
-
getVersion
public java.lang.Integer getVersion()
Entity version.- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
network
public AccountMosaicRestrictionTransactionDTO network(NetworkTypeEnum network)
-
getNetwork
public NetworkTypeEnum getNetwork()
Get network- Returns:
- network
-
setNetwork
public void setNetwork(NetworkTypeEnum network)
-
type
public AccountMosaicRestrictionTransactionDTO type(java.lang.Integer type)
-
getType
public java.lang.Integer getType()
Get type- Returns:
- type
-
setType
public void setType(java.lang.Integer type)
-
maxFee
public AccountMosaicRestrictionTransactionDTO maxFee(java.math.BigInteger maxFee)
-
getMaxFee
public java.math.BigInteger getMaxFee()
Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).- Returns:
- maxFee
-
setMaxFee
public void setMaxFee(java.math.BigInteger maxFee)
-
deadline
public AccountMosaicRestrictionTransactionDTO deadline(java.math.BigInteger deadline)
-
getDeadline
public java.math.BigInteger getDeadline()
Duration expressed in number of blocks.- Returns:
- deadline
-
setDeadline
public void setDeadline(java.math.BigInteger deadline)
-
restrictionFlags
public AccountMosaicRestrictionTransactionDTO restrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)
-
getRestrictionFlags
public AccountRestrictionFlagsEnum getRestrictionFlags()
Get restrictionFlags- Returns:
- restrictionFlags
-
setRestrictionFlags
public void setRestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)
-
restrictionAdditions
public AccountMosaicRestrictionTransactionDTO restrictionAdditions(java.util.List<java.lang.String> restrictionAdditions)
-
addRestrictionAdditionsItem
public AccountMosaicRestrictionTransactionDTO addRestrictionAdditionsItem(java.lang.String restrictionAdditionsItem)
-
getRestrictionAdditions
public java.util.List<java.lang.String> getRestrictionAdditions()
Account restriction additions.- Returns:
- restrictionAdditions
-
setRestrictionAdditions
public void setRestrictionAdditions(java.util.List<java.lang.String> restrictionAdditions)
-
restrictionDeletions
public AccountMosaicRestrictionTransactionDTO restrictionDeletions(java.util.List<java.lang.String> restrictionDeletions)
-
addRestrictionDeletionsItem
public AccountMosaicRestrictionTransactionDTO addRestrictionDeletionsItem(java.lang.String restrictionDeletionsItem)
-
getRestrictionDeletions
public java.util.List<java.lang.String> getRestrictionDeletions()
Account restriction deletions.- Returns:
- restrictionDeletions
-
setRestrictionDeletions
public void setRestrictionDeletions(java.util.List<java.lang.String> restrictionDeletions)
-
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
-
-