Class AcceptTermsOfServiceRequest


  • public class AcceptTermsOfServiceRequest
    extends Object
    AcceptTermsOfServiceRequest
    • Constructor Detail

      • AcceptTermsOfServiceRequest

        public AcceptTermsOfServiceRequest()
    • Method Detail

      • getAcceptedBy

        public String getAcceptedBy()
        The unique identifier of the user accepting the Terms of Service.
        Returns:
        acceptedBy
      • setAcceptedBy

        public void setAcceptedBy​(String acceptedBy)
      • getIpAddress

        public String getIpAddress()
        The IP address of the user accepting the Terms of Service.
        Returns:
        ipAddress
      • setIpAddress

        public void setIpAddress​(String ipAddress)
      • equals

        public boolean equals​(Object o)
        Return true if this AcceptTermsOfServiceRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AcceptTermsOfServiceRequest fromJson​(String jsonString)
                                                    throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AcceptTermsOfServiceRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AcceptTermsOfServiceRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AcceptTermsOfServiceRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AcceptTermsOfServiceRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException