Record Class HistorySyncConfig

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 Details

    • fullSyncDaysLimit

      private final Integer fullSyncDaysLimit
      The field for the fullSyncDaysLimit record component.
    • fullSyncSizeMbLimit

      private final Integer fullSyncSizeMbLimit
      The field for the fullSyncSizeMbLimit record component.
    • storageQuotaMb

      private final Integer storageQuotaMb
      The field for the storageQuotaMb record component.
    • inlineInitialPayloadInE2EeMsg

      private final Boolean inlineInitialPayloadInE2EeMsg
      The field for the inlineInitialPayloadInE2EeMsg record component.
    • recentSyncDaysLimit

      private final Integer recentSyncDaysLimit
      The field for the recentSyncDaysLimit record component.
    • supportCallLogHistory

      private final Boolean supportCallLogHistory
      The field for the supportCallLogHistory record component.
    • supportBotUserAgentChatHistory

      private final Boolean supportBotUserAgentChatHistory
      The field for the supportBotUserAgentChatHistory record component.
  • Constructor Details

    • HistorySyncConfig

      public HistorySyncConfig(Integer fullSyncDaysLimit, Integer fullSyncSizeMbLimit, Integer storageQuotaMb, Boolean inlineInitialPayloadInE2EeMsg, Integer recentSyncDaysLimit, Boolean supportCallLogHistory, Boolean supportBotUserAgentChatHistory)
      Creates an instance of a HistorySyncConfig record class.
      Parameters:
      fullSyncDaysLimit - the value for the fullSyncDaysLimit record component
      fullSyncSizeMbLimit - the value for the fullSyncSizeMbLimit record component
      storageQuotaMb - the value for the storageQuotaMb record component
      inlineInitialPayloadInE2EeMsg - the value for the inlineInitialPayloadInE2EeMsg record component
      recentSyncDaysLimit - the value for the recentSyncDaysLimit record component
      supportCallLogHistory - the value for the supportCallLogHistory record component
      supportBotUserAgentChatHistory - the value for the supportBotUserAgentChatHistory record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • fullSyncDaysLimit

      public Integer fullSyncDaysLimit()
      Returns the value of the fullSyncDaysLimit record component.
      Returns:
      the value of the fullSyncDaysLimit record component
    • fullSyncSizeMbLimit

      public Integer fullSyncSizeMbLimit()
      Returns the value of the fullSyncSizeMbLimit record component.
      Returns:
      the value of the fullSyncSizeMbLimit record component
    • storageQuotaMb

      public Integer storageQuotaMb()
      Returns the value of the storageQuotaMb record component.
      Returns:
      the value of the storageQuotaMb record component
    • inlineInitialPayloadInE2EeMsg

      public Boolean inlineInitialPayloadInE2EeMsg()
      Returns the value of the inlineInitialPayloadInE2EeMsg record component.
      Returns:
      the value of the inlineInitialPayloadInE2EeMsg record component
    • recentSyncDaysLimit

      public Integer recentSyncDaysLimit()
      Returns the value of the recentSyncDaysLimit record component.
      Returns:
      the value of the recentSyncDaysLimit record component
    • supportCallLogHistory

      public Boolean supportCallLogHistory()
      Returns the value of the supportCallLogHistory record component.
      Returns:
      the value of the supportCallLogHistory record component
    • supportBotUserAgentChatHistory

      public Boolean supportBotUserAgentChatHistory()
      Returns the value of the supportBotUserAgentChatHistory record component.
      Returns:
      the value of the supportBotUserAgentChatHistory record component