Record Class ActionValueSync

java.lang.Object
java.lang.Record
it.auties.whatsapp.model.sync.ActionValueSync
All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage, it.auties.protobuf.model.ProtobufObject

public record ActionValueSync(long timestamp, Optional<StarAction> starAction, Optional<ContactAction> contactAction, Optional<MuteAction> muteAction, Optional<PinAction> pinAction, Optional<QuickReplyAction> quickReplyAction, Optional<RecentEmojiWeightsAction> recentEmojiWeightsAction, Optional<LabelEditAction> labelEditAction, Optional<LabelAssociationAction> labelAssociationAction, Optional<ArchiveChatAction> archiveChatAction, Optional<DeleteMessageForMeAction> deleteMessageForMeAction, Optional<MarkChatAsReadAction> markChatAsReadAction, Optional<ClearChatAction> clearChatAction, Optional<DeleteChatAction> deleteChatAction, Optional<StickerAction> favoriteStickerAction, Optional<AndroidUnsupportedActions> androidUnsupportedActions, Optional<AgentAction> agentAction, Optional<SubscriptionAction> subscriptionAction, Optional<UserStatusMuteAction> userStatusMuteAction, Optional<TimeFormatAction> timeFormatAction, Optional<NuxAction> nuxAction, Optional<PrimaryVersionAction> primaryVersionAction, Optional<StickerAction> stickerAction, Optional<RemoveRecentStickerAction> removeRecentStickerAction, Optional<ChatAssignmentAction> chatAssignmentAction, Optional<ChatAssignmentOpenedStatusAction> chatAssignmentOpenedStatusAction, Optional<SecurityNotificationSettings> securityNotificationSetting, Optional<PushNameSettings> pushNameSetting, Optional<LocaleSettings> localeSetting, Optional<UnarchiveChatsSettings> unarchiveChatsSetting, Optional<StickerMetadata> stickerMetadata, Optional<KeyExpiration> keyExpiration, Optional<PrimaryFeature> primaryFeature) extends Record implements it.auties.protobuf.model.ProtobufMessage
  • Field Details

    • timestamp

      private final long timestamp
      The field for the timestamp record component.
    • starAction

      private final Optional<StarAction> starAction
      The field for the starAction record component.
    • contactAction

      private final Optional<ContactAction> contactAction
      The field for the contactAction record component.
    • muteAction

      private final Optional<MuteAction> muteAction
      The field for the muteAction record component.
    • pinAction

      private final Optional<PinAction> pinAction
      The field for the pinAction record component.
    • quickReplyAction

      private final Optional<QuickReplyAction> quickReplyAction
      The field for the quickReplyAction record component.
    • recentEmojiWeightsAction

      private final Optional<RecentEmojiWeightsAction> recentEmojiWeightsAction
      The field for the recentEmojiWeightsAction record component.
    • labelEditAction

      private final Optional<LabelEditAction> labelEditAction
      The field for the labelEditAction record component.
    • labelAssociationAction

      private final Optional<LabelAssociationAction> labelAssociationAction
      The field for the labelAssociationAction record component.
    • archiveChatAction

      private final Optional<ArchiveChatAction> archiveChatAction
      The field for the archiveChatAction record component.
    • deleteMessageForMeAction

      private final Optional<DeleteMessageForMeAction> deleteMessageForMeAction
      The field for the deleteMessageForMeAction record component.
    • markChatAsReadAction

      private final Optional<MarkChatAsReadAction> markChatAsReadAction
      The field for the markChatAsReadAction record component.
    • clearChatAction

      private final Optional<ClearChatAction> clearChatAction
      The field for the clearChatAction record component.
    • deleteChatAction

      private final Optional<DeleteChatAction> deleteChatAction
      The field for the deleteChatAction record component.
    • favoriteStickerAction

      private final Optional<StickerAction> favoriteStickerAction
      The field for the favoriteStickerAction record component.
    • androidUnsupportedActions

      private final Optional<AndroidUnsupportedActions> androidUnsupportedActions
      The field for the androidUnsupportedActions record component.
    • agentAction

      private final Optional<AgentAction> agentAction
      The field for the agentAction record component.
    • subscriptionAction

      private final Optional<SubscriptionAction> subscriptionAction
      The field for the subscriptionAction record component.
    • userStatusMuteAction

      private final Optional<UserStatusMuteAction> userStatusMuteAction
      The field for the userStatusMuteAction record component.
    • timeFormatAction

      private final Optional<TimeFormatAction> timeFormatAction
      The field for the timeFormatAction record component.
    • nuxAction

      private final Optional<NuxAction> nuxAction
      The field for the nuxAction record component.
    • primaryVersionAction

      private final Optional<PrimaryVersionAction> primaryVersionAction
      The field for the primaryVersionAction record component.
    • stickerAction

      private final Optional<StickerAction> stickerAction
      The field for the stickerAction record component.
    • removeRecentStickerAction

      private final Optional<RemoveRecentStickerAction> removeRecentStickerAction
      The field for the removeRecentStickerAction record component.
    • chatAssignmentAction

      private final Optional<ChatAssignmentAction> chatAssignmentAction
      The field for the chatAssignmentAction record component.
    • chatAssignmentOpenedStatusAction

      private final Optional<ChatAssignmentOpenedStatusAction> chatAssignmentOpenedStatusAction
      The field for the chatAssignmentOpenedStatusAction record component.
    • securityNotificationSetting

      private final Optional<SecurityNotificationSettings> securityNotificationSetting
      The field for the securityNotificationSetting record component.
    • pushNameSetting

      private final Optional<PushNameSettings> pushNameSetting
      The field for the pushNameSetting record component.
    • localeSetting

      private final Optional<LocaleSettings> localeSetting
      The field for the localeSetting record component.
    • unarchiveChatsSetting

      private final Optional<UnarchiveChatsSettings> unarchiveChatsSetting
      The field for the unarchiveChatsSetting record component.
    • stickerMetadata

      private final Optional<StickerMetadata> stickerMetadata
      The field for the stickerMetadata record component.
    • keyExpiration

      private final Optional<KeyExpiration> keyExpiration
      The field for the keyExpiration record component.
    • primaryFeature

      private final Optional<PrimaryFeature> primaryFeature
      The field for the primaryFeature record component.
  • Constructor Details

    • ActionValueSync

      public ActionValueSync(long timestamp, Optional<StarAction> starAction, Optional<ContactAction> contactAction, Optional<MuteAction> muteAction, Optional<PinAction> pinAction, Optional<QuickReplyAction> quickReplyAction, Optional<RecentEmojiWeightsAction> recentEmojiWeightsAction, Optional<LabelEditAction> labelEditAction, Optional<LabelAssociationAction> labelAssociationAction, Optional<ArchiveChatAction> archiveChatAction, Optional<DeleteMessageForMeAction> deleteMessageForMeAction, Optional<MarkChatAsReadAction> markChatAsReadAction, Optional<ClearChatAction> clearChatAction, Optional<DeleteChatAction> deleteChatAction, Optional<StickerAction> favoriteStickerAction, Optional<AndroidUnsupportedActions> androidUnsupportedActions, Optional<AgentAction> agentAction, Optional<SubscriptionAction> subscriptionAction, Optional<UserStatusMuteAction> userStatusMuteAction, Optional<TimeFormatAction> timeFormatAction, Optional<NuxAction> nuxAction, Optional<PrimaryVersionAction> primaryVersionAction, Optional<StickerAction> stickerAction, Optional<RemoveRecentStickerAction> removeRecentStickerAction, Optional<ChatAssignmentAction> chatAssignmentAction, Optional<ChatAssignmentOpenedStatusAction> chatAssignmentOpenedStatusAction, Optional<SecurityNotificationSettings> securityNotificationSetting, Optional<PushNameSettings> pushNameSetting, Optional<LocaleSettings> localeSetting, Optional<UnarchiveChatsSettings> unarchiveChatsSetting, Optional<StickerMetadata> stickerMetadata, Optional<KeyExpiration> keyExpiration, Optional<PrimaryFeature> primaryFeature)
      Creates an instance of a ActionValueSync record class.
      Parameters:
      timestamp - the value for the timestamp record component
      starAction - the value for the starAction record component
      contactAction - the value for the contactAction record component
      muteAction - the value for the muteAction record component
      pinAction - the value for the pinAction record component
      quickReplyAction - the value for the quickReplyAction record component
      recentEmojiWeightsAction - the value for the recentEmojiWeightsAction record component
      labelEditAction - the value for the labelEditAction record component
      labelAssociationAction - the value for the labelAssociationAction record component
      archiveChatAction - the value for the archiveChatAction record component
      deleteMessageForMeAction - the value for the deleteMessageForMeAction record component
      markChatAsReadAction - the value for the markChatAsReadAction record component
      clearChatAction - the value for the clearChatAction record component
      deleteChatAction - the value for the deleteChatAction record component
      favoriteStickerAction - the value for the favoriteStickerAction record component
      androidUnsupportedActions - the value for the androidUnsupportedActions record component
      agentAction - the value for the agentAction record component
      subscriptionAction - the value for the subscriptionAction record component
      userStatusMuteAction - the value for the userStatusMuteAction record component
      timeFormatAction - the value for the timeFormatAction record component
      nuxAction - the value for the nuxAction record component
      primaryVersionAction - the value for the primaryVersionAction record component
      stickerAction - the value for the stickerAction record component
      removeRecentStickerAction - the value for the removeRecentStickerAction record component
      chatAssignmentAction - the value for the chatAssignmentAction record component
      chatAssignmentOpenedStatusAction - the value for the chatAssignmentOpenedStatusAction record component
      securityNotificationSetting - the value for the securityNotificationSetting record component
      pushNameSetting - the value for the pushNameSetting record component
      localeSetting - the value for the localeSetting record component
      unarchiveChatsSetting - the value for the unarchiveChatsSetting record component
      stickerMetadata - the value for the stickerMetadata record component
      keyExpiration - the value for the keyExpiration record component
      primaryFeature - the value for the primaryFeature record component
  • Method Details

    • of

      public static ActionValueSync of(Action action)
    • of

      public static ActionValueSync of(Setting setting)
    • action

      public Optional<? extends Action> action()
    • setting

      public Optional<? extends Setting> setting()
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • timestamp

      public long timestamp()
      Returns the value of the timestamp record component.
      Returns:
      the value of the timestamp record component
    • starAction

      public Optional<StarAction> starAction()
      Returns the value of the starAction record component.
      Returns:
      the value of the starAction record component
    • contactAction

      public Optional<ContactAction> contactAction()
      Returns the value of the contactAction record component.
      Returns:
      the value of the contactAction record component
    • muteAction

      public Optional<MuteAction> muteAction()
      Returns the value of the muteAction record component.
      Returns:
      the value of the muteAction record component
    • pinAction

      public Optional<PinAction> pinAction()
      Returns the value of the pinAction record component.
      Returns:
      the value of the pinAction record component
    • quickReplyAction

      public Optional<QuickReplyAction> quickReplyAction()
      Returns the value of the quickReplyAction record component.
      Returns:
      the value of the quickReplyAction record component
    • recentEmojiWeightsAction

      public Optional<RecentEmojiWeightsAction> recentEmojiWeightsAction()
      Returns the value of the recentEmojiWeightsAction record component.
      Returns:
      the value of the recentEmojiWeightsAction record component
    • labelEditAction

      public Optional<LabelEditAction> labelEditAction()
      Returns the value of the labelEditAction record component.
      Returns:
      the value of the labelEditAction record component
    • labelAssociationAction

      public Optional<LabelAssociationAction> labelAssociationAction()
      Returns the value of the labelAssociationAction record component.
      Returns:
      the value of the labelAssociationAction record component
    • archiveChatAction

      public Optional<ArchiveChatAction> archiveChatAction()
      Returns the value of the archiveChatAction record component.
      Returns:
      the value of the archiveChatAction record component
    • deleteMessageForMeAction

      public Optional<DeleteMessageForMeAction> deleteMessageForMeAction()
      Returns the value of the deleteMessageForMeAction record component.
      Returns:
      the value of the deleteMessageForMeAction record component
    • markChatAsReadAction

      public Optional<MarkChatAsReadAction> markChatAsReadAction()
      Returns the value of the markChatAsReadAction record component.
      Returns:
      the value of the markChatAsReadAction record component
    • clearChatAction

      public Optional<ClearChatAction> clearChatAction()
      Returns the value of the clearChatAction record component.
      Returns:
      the value of the clearChatAction record component
    • deleteChatAction

      public Optional<DeleteChatAction> deleteChatAction()
      Returns the value of the deleteChatAction record component.
      Returns:
      the value of the deleteChatAction record component
    • favoriteStickerAction

      public Optional<StickerAction> favoriteStickerAction()
      Returns the value of the favoriteStickerAction record component.
      Returns:
      the value of the favoriteStickerAction record component
    • androidUnsupportedActions

      public Optional<AndroidUnsupportedActions> androidUnsupportedActions()
      Returns the value of the androidUnsupportedActions record component.
      Returns:
      the value of the androidUnsupportedActions record component
    • agentAction

      public Optional<AgentAction> agentAction()
      Returns the value of the agentAction record component.
      Returns:
      the value of the agentAction record component
    • subscriptionAction

      public Optional<SubscriptionAction> subscriptionAction()
      Returns the value of the subscriptionAction record component.
      Returns:
      the value of the subscriptionAction record component
    • userStatusMuteAction

      public Optional<UserStatusMuteAction> userStatusMuteAction()
      Returns the value of the userStatusMuteAction record component.
      Returns:
      the value of the userStatusMuteAction record component
    • timeFormatAction

      public Optional<TimeFormatAction> timeFormatAction()
      Returns the value of the timeFormatAction record component.
      Returns:
      the value of the timeFormatAction record component
    • nuxAction

      public Optional<NuxAction> nuxAction()
      Returns the value of the nuxAction record component.
      Returns:
      the value of the nuxAction record component
    • primaryVersionAction

      public Optional<PrimaryVersionAction> primaryVersionAction()
      Returns the value of the primaryVersionAction record component.
      Returns:
      the value of the primaryVersionAction record component
    • stickerAction

      public Optional<StickerAction> stickerAction()
      Returns the value of the stickerAction record component.
      Returns:
      the value of the stickerAction record component
    • removeRecentStickerAction

      public Optional<RemoveRecentStickerAction> removeRecentStickerAction()
      Returns the value of the removeRecentStickerAction record component.
      Returns:
      the value of the removeRecentStickerAction record component
    • chatAssignmentAction

      public Optional<ChatAssignmentAction> chatAssignmentAction()
      Returns the value of the chatAssignmentAction record component.
      Returns:
      the value of the chatAssignmentAction record component
    • chatAssignmentOpenedStatusAction

      public Optional<ChatAssignmentOpenedStatusAction> chatAssignmentOpenedStatusAction()
      Returns the value of the chatAssignmentOpenedStatusAction record component.
      Returns:
      the value of the chatAssignmentOpenedStatusAction record component
    • securityNotificationSetting

      public Optional<SecurityNotificationSettings> securityNotificationSetting()
      Returns the value of the securityNotificationSetting record component.
      Returns:
      the value of the securityNotificationSetting record component
    • pushNameSetting

      public Optional<PushNameSettings> pushNameSetting()
      Returns the value of the pushNameSetting record component.
      Returns:
      the value of the pushNameSetting record component
    • localeSetting

      public Optional<LocaleSettings> localeSetting()
      Returns the value of the localeSetting record component.
      Returns:
      the value of the localeSetting record component
    • unarchiveChatsSetting

      public Optional<UnarchiveChatsSettings> unarchiveChatsSetting()
      Returns the value of the unarchiveChatsSetting record component.
      Returns:
      the value of the unarchiveChatsSetting record component
    • stickerMetadata

      public Optional<StickerMetadata> stickerMetadata()
      Returns the value of the stickerMetadata record component.
      Returns:
      the value of the stickerMetadata record component
    • keyExpiration

      public Optional<KeyExpiration> keyExpiration()
      Returns the value of the keyExpiration record component.
      Returns:
      the value of the keyExpiration record component
    • primaryFeature

      public Optional<PrimaryFeature> primaryFeature()
      Returns the value of the primaryFeature record component.
      Returns:
      the value of the primaryFeature record component