Package dev.vality.bouncer.rstn
Class RestrictionsCommonAPI
java.lang.Object
dev.vality.bouncer.rstn.RestrictionsCommonAPI
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RestrictionsCommonAPI>,org.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-08-25")
public class RestrictionsCommonAPI
extends Object
implements org.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>, Serializable, Cloneable, Comparable<RestrictionsCommonAPI>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestrictionsCommonAPI._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description booleanip_replacement_forbiddenstatic Map<RestrictionsCommonAPI._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description RestrictionsCommonAPI()RestrictionsCommonAPI(RestrictionsCommonAPI other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(RestrictionsCommonAPI other)RestrictionsCommonAPIdeepCopy()booleanequals(RestrictionsCommonAPI that)booleanequals(Object that)RestrictionsCommonAPI._FieldsfieldForId(int fieldId)Map<RestrictionsCommonAPI._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()RestrictionsCommonAPI._Fields[]getFields()ObjectgetFieldValue(RestrictionsCommonAPI._Fields field)inthashCode()booleanisIpReplacementForbidden()booleanisSet(RestrictionsCommonAPI._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetIpReplacementForbidden()Returns true if field ip_replacement_forbidden is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(RestrictionsCommonAPI._Fields field, Object value)RestrictionsCommonAPIsetIpReplacementForbidden(boolean ip_replacement_forbidden)voidsetIpReplacementForbiddenIsSet(boolean value)StringtoString()voidunsetIpReplacementForbidden()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
ip_replacement_forbidden
public boolean ip_replacement_forbidden -
metaDataMap
public static final Map<RestrictionsCommonAPI._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RestrictionsCommonAPI
public RestrictionsCommonAPI() -
RestrictionsCommonAPI
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
isIpReplacementForbidden
public boolean isIpReplacementForbidden() -
setIpReplacementForbidden
-
unsetIpReplacementForbidden
public void unsetIpReplacementForbidden() -
isSetIpReplacementForbidden
public boolean isSetIpReplacementForbidden()Returns true if field ip_replacement_forbidden is set (has been assigned a value) and false otherwise -
setIpReplacementForbiddenIsSet
public void setIpReplacementForbiddenIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RestrictionsCommonAPI>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
getFieldMetaData
public Map<RestrictionsCommonAPI._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RestrictionsCommonAPI,RestrictionsCommonAPI._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-