Package model

Class SettlementsListEmbedded


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SettlementsListEmbedded
    extends Object
    List of `Settlement` objects.
    • Constructor Detail

      • SettlementsListEmbedded

        public SettlementsListEmbedded()
    • Method Detail

      • getSettlements

        @Nullable
        public Set<Settlement> getSettlements()
        `Settlements` resource.
        Returns:
        settlements
      • setSettlements

        public void setSettlements​(Set<Settlement> settlements)
      • 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 SettlementsListEmbedded
      • fromJson

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

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