Package dev.vality.damsel.walker
Class Action
java.lang.Object
dev.vality.damsel.walker.Action
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Action>,org.apache.thrift.TBase<Action,Action._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Action
extends Object
implements org.apache.thrift.TBase<Action,Action._Fields>, Serializable, Cloneable, Comparable<Action>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAction._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description StringafterStringbeforeStringcreated_atstatic Map<Action._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapActionTypetypeUserInformationuser -
Constructor Summary
Constructors Constructor Description Action()Action(Action other)Performs a deep copy on other.Action(String created_at, UserInformation user, ActionType type, String after) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Action other)ActiondeepCopy()booleanequals(Action that)booleanequals(Object that)Action._FieldsfieldForId(int fieldId)StringgetAfter()StringgetBefore()StringgetCreatedAt()Map<Action._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Action._Fields[]getFields()ObjectgetFieldValue(Action._Fields field)ActionTypegetType()UserInformationgetUser()inthashCode()booleanisSet(Action._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAfter()Returns true if field after is set (has been assigned a value) and false otherwisebooleanisSetBefore()Returns true if field before is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisebooleanisSetUser()Returns true if field user is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ActionsetAfter(String after)voidsetAfterIsSet(boolean value)ActionsetBefore(String before)voidsetBeforeIsSet(boolean value)ActionsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(Action._Fields field, Object value)ActionsetType(ActionType type)voidsetTypeIsSet(boolean value)ActionsetUser(UserInformation user)voidsetUserIsSet(boolean value)StringtoString()voidunsetAfter()voidunsetBefore()voidunsetCreatedAt()voidunsetType()voidunsetUser()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
created_at
-
user
-
type
- See Also:
ActionType
-
before
-
after
-
metaDataMap
-
-
Constructor Details
-
Action
public Action() -
Action
-
Action
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Action,Action._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Action,Action._Fields>
-
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getUser
-
setUser
-
unsetUser
public void unsetUser() -
isSetUser
public boolean isSetUser()Returns true if field user is set (has been assigned a value) and false otherwise -
setUserIsSet
public void setUserIsSet(boolean value) -
getType
- See Also:
ActionType
-
setType
- See Also:
ActionType
-
unsetType
public void unsetType() -
isSetType
public boolean isSetType()Returns true if field type is set (has been assigned a value) and false otherwise -
setTypeIsSet
public void setTypeIsSet(boolean value) -
getBefore
-
setBefore
-
unsetBefore
public void unsetBefore() -
isSetBefore
public boolean isSetBefore()Returns true if field before is set (has been assigned a value) and false otherwise -
setBeforeIsSet
public void setBeforeIsSet(boolean value) -
getAfter
-
setAfter
-
unsetAfter
public void unsetAfter() -
isSetAfter
public boolean isSetAfter()Returns true if field after is set (has been assigned a value) and false otherwise -
setAfterIsSet
public void setAfterIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Action,Action._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Action,Action._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<Action,Action._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Action>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Action,Action._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Action,Action._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Action,Action._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
-