Class NotificationListResponse
java.lang.Object
dev.vality.damsel.fraudbusters_notificator.NotificationListResponse
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NotificationListResponse>,org.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class NotificationListResponse
extends Object
implements org.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>, Serializable, Cloneable, Comparable<NotificationListResponse>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationListResponse._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longcontinuationIdstatic Map<NotificationListResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<Notification>notifications -
Constructor Summary
Constructors Constructor Description NotificationListResponse()NotificationListResponse(NotificationListResponse other)Performs a deep copy on other.NotificationListResponse(List<Notification> notifications) -
Method Summary
Modifier and Type Method Description voidaddToNotifications(Notification elem)voidclear()intcompareTo(NotificationListResponse other)NotificationListResponsedeepCopy()booleanequals(NotificationListResponse that)booleanequals(Object that)NotificationListResponse._FieldsfieldForId(int fieldId)longgetContinuationId()Map<NotificationListResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()NotificationListResponse._Fields[]getFields()ObjectgetFieldValue(NotificationListResponse._Fields field)List<Notification>getNotifications()Iterator<Notification>getNotificationsIterator()intgetNotificationsSize()inthashCode()booleanisSet(NotificationListResponse._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetContinuationId()Returns true if field continuationId is set (has been assigned a value) and false otherwisebooleanisSetNotifications()Returns true if field notifications is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)NotificationListResponsesetContinuationId(long continuationId)voidsetContinuationIdIsSet(boolean value)voidsetFieldValue(NotificationListResponse._Fields field, Object value)NotificationListResponsesetNotifications(List<Notification> notifications)voidsetNotificationsIsSet(boolean value)StringtoString()voidunsetContinuationId()voidunsetNotifications()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
notifications
-
continuationId
public long continuationId -
metaDataMap
public static final Map<NotificationListResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
NotificationListResponse
public NotificationListResponse() -
NotificationListResponse
-
NotificationListResponse
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>
-
getNotificationsSize
public int getNotificationsSize() -
getNotificationsIterator
-
addToNotifications
-
getNotifications
-
setNotifications
-
unsetNotifications
public void unsetNotifications() -
isSetNotifications
public boolean isSetNotifications()Returns true if field notifications is set (has been assigned a value) and false otherwise -
setNotificationsIsSet
public void setNotificationsIsSet(boolean value) -
getContinuationId
public long getContinuationId() -
setContinuationId
-
unsetContinuationId
public void unsetContinuationId() -
isSetContinuationId
public boolean isSetContinuationId()Returns true if field continuationId is set (has been assigned a value) and false otherwise -
setContinuationIdIsSet
public void setContinuationIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._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<NotificationListResponse,NotificationListResponse._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<NotificationListResponse>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NotificationListResponse,NotificationListResponse._Fields>
-
getFields
-
getFieldMetaData
public Map<NotificationListResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
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
-