Class ManualTermsOfServiceUpdate


  • public class ManualTermsOfServiceUpdate
    extends java.lang.Object
    ManualTermsOfServiceUpdate

    Describes the acceptance of the Terms of Service. All data is required, and must be from the user.

    • Constructor Detail

      • ManualTermsOfServiceUpdate

        public ManualTermsOfServiceUpdate​(java.util.Optional<java.time.OffsetDateTime> acceptedDate,
                                          java.util.Optional<java.lang.String> acceptedIP,
                                          java.util.Optional<java.lang.String> acceptedUserAgent,
                                          java.util.Optional<java.lang.String> acceptedDomain)
      • ManualTermsOfServiceUpdate

        public ManualTermsOfServiceUpdate()
    • Method Detail

      • acceptedDate

        public java.util.Optional<java.time.OffsetDateTime> acceptedDate()
        The date and time the terms of service were accepted.
      • acceptedIP

        public java.util.Optional<java.lang.String> acceptedIP()
        The IP address from which the terms of service were accepted.
      • acceptedUserAgent

        public java.util.Optional<java.lang.String> acceptedUserAgent()
        The user-agent of the user making the request.
      • acceptedDomain

        public java.util.Optional<java.lang.String> acceptedDomain()
      • withAcceptedDate

        public ManualTermsOfServiceUpdate withAcceptedDate​(java.time.OffsetDateTime acceptedDate)
        The date and time the terms of service were accepted.
      • withAcceptedDate

        public ManualTermsOfServiceUpdate withAcceptedDate​(java.util.Optional<java.time.OffsetDateTime> acceptedDate)
        The date and time the terms of service were accepted.
      • withAcceptedIP

        public ManualTermsOfServiceUpdate withAcceptedIP​(java.lang.String acceptedIP)
        The IP address from which the terms of service were accepted.
      • withAcceptedIP

        public ManualTermsOfServiceUpdate withAcceptedIP​(java.util.Optional<java.lang.String> acceptedIP)
        The IP address from which the terms of service were accepted.
      • withAcceptedUserAgent

        public ManualTermsOfServiceUpdate withAcceptedUserAgent​(java.lang.String acceptedUserAgent)
        The user-agent of the user making the request.
      • withAcceptedUserAgent

        public ManualTermsOfServiceUpdate withAcceptedUserAgent​(java.util.Optional<java.lang.String> acceptedUserAgent)
        The user-agent of the user making the request.
      • withAcceptedDomain

        public ManualTermsOfServiceUpdate withAcceptedDomain​(java.util.Optional<java.lang.String> acceptedDomain)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object