java.lang.Object
java.lang.Record
it.auties.whatsapp.model.sync.HistorySyncConfig
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
public record HistorySyncConfig(Integer fullSyncDaysLimit, Integer fullSyncSizeMbLimit, Integer storageQuotaMb, Boolean inlineInitialPayloadInE2EeMsg, Integer recentSyncDaysLimit, Boolean supportCallLogHistory, Boolean supportBotUserAgentChatHistory)
extends Record
implements it.auties.protobuf.model.ProtobufMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntegerThe field for thefullSyncDaysLimitrecord component.private final IntegerThe field for thefullSyncSizeMbLimitrecord component.private final BooleanThe field for theinlineInitialPayloadInE2EeMsgrecord component.private final IntegerThe field for therecentSyncDaysLimitrecord component.private final IntegerThe field for thestorageQuotaMbrecord component.private final BooleanThe field for thesupportBotUserAgentChatHistoryrecord component.private final BooleanThe field for thesupportCallLogHistoryrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionHistorySyncConfig(Integer fullSyncDaysLimit, Integer fullSyncSizeMbLimit, Integer storageQuotaMb, Boolean inlineInitialPayloadInE2EeMsg, Integer recentSyncDaysLimit, Boolean supportCallLogHistory, Boolean supportBotUserAgentChatHistory) Creates an instance of aHistorySyncConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefullSyncDaysLimitrecord component.Returns the value of thefullSyncSizeMbLimitrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinlineInitialPayloadInE2EeMsgrecord component.Returns the value of therecentSyncDaysLimitrecord component.Returns the value of thestorageQuotaMbrecord component.Returns the value of thesupportBotUserAgentChatHistoryrecord component.Returns the value of thesupportCallLogHistoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
fullSyncDaysLimit
The field for thefullSyncDaysLimitrecord component. -
fullSyncSizeMbLimit
The field for thefullSyncSizeMbLimitrecord component. -
storageQuotaMb
The field for thestorageQuotaMbrecord component. -
inlineInitialPayloadInE2EeMsg
The field for theinlineInitialPayloadInE2EeMsgrecord component. -
recentSyncDaysLimit
The field for therecentSyncDaysLimitrecord component. -
supportCallLogHistory
The field for thesupportCallLogHistoryrecord component. -
supportBotUserAgentChatHistory
The field for thesupportBotUserAgentChatHistoryrecord component.
-
-
Constructor Details
-
HistorySyncConfig
public HistorySyncConfig(Integer fullSyncDaysLimit, Integer fullSyncSizeMbLimit, Integer storageQuotaMb, Boolean inlineInitialPayloadInE2EeMsg, Integer recentSyncDaysLimit, Boolean supportCallLogHistory, Boolean supportBotUserAgentChatHistory) Creates an instance of aHistorySyncConfigrecord class.- Parameters:
fullSyncDaysLimit- the value for thefullSyncDaysLimitrecord componentfullSyncSizeMbLimit- the value for thefullSyncSizeMbLimitrecord componentstorageQuotaMb- the value for thestorageQuotaMbrecord componentinlineInitialPayloadInE2EeMsg- the value for theinlineInitialPayloadInE2EeMsgrecord componentrecentSyncDaysLimit- the value for therecentSyncDaysLimitrecord componentsupportCallLogHistory- the value for thesupportCallLogHistoryrecord componentsupportBotUserAgentChatHistory- the value for thesupportBotUserAgentChatHistoryrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fullSyncDaysLimit
Returns the value of thefullSyncDaysLimitrecord component.- Returns:
- the value of the
fullSyncDaysLimitrecord component
-
fullSyncSizeMbLimit
Returns the value of thefullSyncSizeMbLimitrecord component.- Returns:
- the value of the
fullSyncSizeMbLimitrecord component
-
storageQuotaMb
Returns the value of thestorageQuotaMbrecord component.- Returns:
- the value of the
storageQuotaMbrecord component
-
inlineInitialPayloadInE2EeMsg
Returns the value of theinlineInitialPayloadInE2EeMsgrecord component.- Returns:
- the value of the
inlineInitialPayloadInE2EeMsgrecord component
-
recentSyncDaysLimit
Returns the value of therecentSyncDaysLimitrecord component.- Returns:
- the value of the
recentSyncDaysLimitrecord component
-
supportCallLogHistory
Returns the value of thesupportCallLogHistoryrecord component.- Returns:
- the value of the
supportCallLogHistoryrecord component
-
supportBotUserAgentChatHistory
Returns the value of thesupportBotUserAgentChatHistoryrecord component.- Returns:
- the value of the
supportBotUserAgentChatHistoryrecord component
-