Package dev.vality.damsel.domain
Class ProxyDefinition
java.lang.Object
dev.vality.damsel.domain.ProxyDefinition
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ProxyDefinition>,org.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ProxyDefinition
extends Object
implements org.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>, Serializable, Cloneable, Comparable<ProxyDefinition>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProxyDefinition._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringdescriptionstatic Map<ProxyDefinition._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameMap<String,String>optionsStringurl -
Constructor Summary
Constructors Constructor Description ProxyDefinition()ProxyDefinition(ProxyDefinition other)Performs a deep copy on other.ProxyDefinition(String name, String description, String url, Map<String,String> options) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ProxyDefinition other)ProxyDefinitiondeepCopy()booleanequals(ProxyDefinition that)booleanequals(Object that)ProxyDefinition._FieldsfieldForId(int fieldId)StringgetDescription()Map<ProxyDefinition._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ProxyDefinition._Fields[]getFields()ObjectgetFieldValue(ProxyDefinition._Fields field)StringgetName()Map<String,String>getOptions()intgetOptionsSize()StringgetUrl()inthashCode()booleanisSet(ProxyDefinition._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDescription()Returns true if field description is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetOptions()Returns true if field options is set (has been assigned a value) and false otherwisebooleanisSetUrl()Returns true if field url is set (has been assigned a value) and false otherwisevoidputToOptions(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)ProxyDefinitionsetDescription(String description)voidsetDescriptionIsSet(boolean value)voidsetFieldValue(ProxyDefinition._Fields field, Object value)ProxyDefinitionsetName(String name)voidsetNameIsSet(boolean value)ProxyDefinitionsetOptions(Map<String,String> options)voidsetOptionsIsSet(boolean value)ProxyDefinitionsetUrl(String url)voidsetUrlIsSet(boolean value)StringtoString()voidunsetDescription()voidunsetName()voidunsetOptions()voidunsetUrl()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
name
-
description
-
url
-
options
-
metaDataMap
public static final Map<ProxyDefinition._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ProxyDefinition
public ProxyDefinition() -
ProxyDefinition
-
ProxyDefinition
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>
-
getName
-
setName
-
unsetName
public void unsetName() -
isSetName
public boolean isSetName()Returns true if field name is set (has been assigned a value) and false otherwise -
setNameIsSet
public void setNameIsSet(boolean value) -
getDescription
-
setDescription
-
unsetDescription
public void unsetDescription() -
isSetDescription
public boolean isSetDescription()Returns true if field description is set (has been assigned a value) and false otherwise -
setDescriptionIsSet
public void setDescriptionIsSet(boolean value) -
getUrl
-
setUrl
-
unsetUrl
public void unsetUrl() -
isSetUrl
public boolean isSetUrl()Returns true if field url is set (has been assigned a value) and false otherwise -
setUrlIsSet
public void setUrlIsSet(boolean value) -
getOptionsSize
public int getOptionsSize() -
putToOptions
-
getOptions
-
setOptions
-
unsetOptions
public void unsetOptions() -
isSetOptions
public boolean isSetOptions()Returns true if field options is set (has been assigned a value) and false otherwise -
setOptionsIsSet
public void setOptionsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._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<ProxyDefinition,ProxyDefinition._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ProxyDefinition>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ProxyDefinition,ProxyDefinition._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
-