Package io.nem.sdk.openapi.jersey2.model
Class AccountRestrictionDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.AccountRestrictionDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class AccountRestrictionDTO extends java.lang.ObjectAccountRestrictionDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_RESTRICTION_FLAGSstatic java.lang.StringJSON_PROPERTY_VALUES
-
Constructor Summary
Constructors Constructor Description AccountRestrictionDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountRestrictionDTOaddValuesItem(java.lang.Object valuesItem)booleanequals(java.lang.Object o)AccountRestrictionFlagsEnumgetRestrictionFlags()Get restrictionFlagsjava.util.List<java.lang.Object>getValues()Address, mosaic id, or transaction type to restrict.inthashCode()AccountRestrictionDTOrestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)voidsetRestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)voidsetValues(java.util.List<java.lang.Object> values)java.lang.StringtoString()AccountRestrictionDTOvalues(java.util.List<java.lang.Object> values)
-
-
-
Field Detail
-
JSON_PROPERTY_RESTRICTION_FLAGS
public static final java.lang.String JSON_PROPERTY_RESTRICTION_FLAGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUES
public static final java.lang.String JSON_PROPERTY_VALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
restrictionFlags
public AccountRestrictionDTO restrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)
-
getRestrictionFlags
public AccountRestrictionFlagsEnum getRestrictionFlags()
Get restrictionFlags- Returns:
- restrictionFlags
-
setRestrictionFlags
public void setRestrictionFlags(AccountRestrictionFlagsEnum restrictionFlags)
-
values
public AccountRestrictionDTO values(java.util.List<java.lang.Object> values)
-
addValuesItem
public AccountRestrictionDTO addValuesItem(java.lang.Object valuesItem)
-
getValues
public java.util.List<java.lang.Object> getValues()
Address, mosaic id, or transaction type to restrict.- Returns:
- values
-
setValues
public void setValues(java.util.List<java.lang.Object> values)
-
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
-
-