Package model

Class UpdateSubscriptionEnrollmentRequest


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class UpdateSubscriptionEnrollmentRequest
    extends Object
    ID of the `subscription_enrollment`.
    • Constructor Detail

      • UpdateSubscriptionEnrollmentRequest

        public UpdateSubscriptionEnrollmentRequest()
    • Method Detail

      • getId

        @Nullable
        public String getId()
        ID of the `subscription_enrollment`.
        Returns:
        id
      • setId

        public void setId​(String id)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to UpdateSubscriptionEnrollmentRequest
      • fromJson

        public static UpdateSubscriptionEnrollmentRequest fromJson​(String jsonString)
                                                            throws IOException
        Create an instance of UpdateSubscriptionEnrollmentRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of UpdateSubscriptionEnrollmentRequest
        Throws:
        IOException - if the JSON string is invalid with respect to UpdateSubscriptionEnrollmentRequest
      • toJson

        public String toJson()
        Convert an instance of UpdateSubscriptionEnrollmentRequest to an JSON string
        Returns:
        JSON string