Package dev.vality.damsel.webhooker
Class WebhookMessageServiceSrv.Send_args
java.lang.Object
dev.vality.damsel.webhooker.WebhookMessageServiceSrv.Send_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WebhookMessageServiceSrv.Send_args>,org.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- WebhookMessageServiceSrv
public static class WebhookMessageServiceSrv.Send_args extends Object implements org.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>, Serializable, Cloneable, Comparable<WebhookMessageServiceSrv.Send_args>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookMessageServiceSrv.Send_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longhook_idstatic Map<WebhookMessageServiceSrv.Send_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringsource_id -
Constructor Summary
Constructors Constructor Description Send_args()Send_args(long hook_id, String source_id)Send_args(WebhookMessageServiceSrv.Send_args other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(WebhookMessageServiceSrv.Send_args other)WebhookMessageServiceSrv.Send_argsdeepCopy()booleanequals(WebhookMessageServiceSrv.Send_args that)booleanequals(Object that)WebhookMessageServiceSrv.Send_args._FieldsfieldForId(int fieldId)Map<WebhookMessageServiceSrv.Send_args._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()WebhookMessageServiceSrv.Send_args._Fields[]getFields()ObjectgetFieldValue(WebhookMessageServiceSrv.Send_args._Fields field)longgetHookId()StringgetSourceId()inthashCode()booleanisSet(WebhookMessageServiceSrv.Send_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetHookId()Returns true if field hook_id is set (has been assigned a value) and false otherwisebooleanisSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(WebhookMessageServiceSrv.Send_args._Fields field, Object value)WebhookMessageServiceSrv.Send_argssetHookId(long hook_id)voidsetHookIdIsSet(boolean value)WebhookMessageServiceSrv.Send_argssetSourceId(String source_id)voidsetSourceIdIsSet(boolean value)StringtoString()voidunsetHookId()voidunsetSourceId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
hook_id
public long hook_id -
source_id
-
metaDataMap
public static final Map<WebhookMessageServiceSrv.Send_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Send_args
public Send_args() -
Send_args
-
Send_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
getHookId
public long getHookId() -
setHookId
-
unsetHookId
public void unsetHookId() -
isSetHookId
public boolean isSetHookId()Returns true if field hook_id is set (has been assigned a value) and false otherwise -
setHookIdIsSet
public void setHookIdIsSet(boolean value) -
getSourceId
-
setSourceId
-
unsetSourceId
public void unsetSourceId() -
isSetSourceId
public boolean isSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwise -
setSourceIdIsSet
public void setSourceIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._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<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WebhookMessageServiceSrv.Send_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._Fields>
-
getFieldMetaData
public Map<WebhookMessageServiceSrv.Send_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<WebhookMessageServiceSrv.Send_args,WebhookMessageServiceSrv.Send_args._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
-