Package model

Class SubscriptionEnrollmentListEmbedded


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SubscriptionEnrollmentListEmbedded
    extends Object
    List of `Subscription Enrollment` resources.
    • Field Detail

      • SERIALIZED_NAME_SUBSCRIPTION_ENROLLMENTS

        public static final String SERIALIZED_NAME_SUBSCRIPTION_ENROLLMENTS
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • SubscriptionEnrollmentListEmbedded

        public SubscriptionEnrollmentListEmbedded()
    • Method Detail

      • getSubscriptionEnrollments

        @Nullable
        public Set<SubscriptionEnrollment> getSubscriptionEnrollments()
        `Subscription Enrollment` resources.
        Returns:
        subscriptionEnrollments
      • setSubscriptionEnrollments

        public void setSubscriptionEnrollments​(Set<SubscriptionEnrollment> subscriptionEnrollments)
      • 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 SubscriptionEnrollmentListEmbedded
      • fromJson

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

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