Class AccountRestrictionsDTO
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.model.AccountRestrictionsDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]") public class AccountRestrictionsDTO extends java.lang.ObjectAccountRestrictionsDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ADDRESSstatic java.lang.StringJSON_PROPERTY_RESTRICTIONS
-
Constructor Summary
Constructors Constructor Description AccountRestrictionsDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountRestrictionsDTOaddress(java.lang.String address)AccountRestrictionsDTOaddRestrictionsItem(AccountRestrictionDTO restrictionsItem)booleanequals(java.lang.Object o)java.lang.StringgetAddress()Address expressed in hexadecimal base.java.util.List<AccountRestrictionDTO>getRestrictions()Get restrictionsinthashCode()AccountRestrictionsDTOrestrictions(java.util.List<AccountRestrictionDTO> restrictions)voidsetAddress(java.lang.String address)voidsetRestrictions(java.util.List<AccountRestrictionDTO> restrictions)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final java.lang.String JSON_PROPERTY_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
-
address
public AccountRestrictionsDTO address(java.lang.String address)
-
getAddress
public java.lang.String getAddress()
Address expressed in hexadecimal base.- Returns:
- address
-
setAddress
public void setAddress(java.lang.String address)
-
restrictions
public AccountRestrictionsDTO restrictions(java.util.List<AccountRestrictionDTO> restrictions)
-
addRestrictionsItem
public AccountRestrictionsDTO addRestrictionsItem(AccountRestrictionDTO restrictionsItem)
-
getRestrictions
public java.util.List<AccountRestrictionDTO> getRestrictions()
Get restrictions- Returns:
- restrictions
-
setRestrictions
public void setRestrictions(java.util.List<AccountRestrictionDTO> 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
-
-