Class V1alpha2NamedResourcesIntSlice

java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2NamedResourcesIntSlice

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-23T13:45:09.091597Z[Etc/UTC]") public class V1alpha2NamedResourcesIntSlice extends Object
NamedResourcesIntSlice contains a slice of 64-bit integers.
  • Field Details

  • Constructor Details

    • V1alpha2NamedResourcesIntSlice

      public V1alpha2NamedResourcesIntSlice()
  • Method Details

    • ints

    • addIntsItem

      public V1alpha2NamedResourcesIntSlice addIntsItem(Long intsItem)
    • getInts

      @Nonnull public List<Long> getInts()
      Ints is the slice of 64-bit integers.
      Returns:
      ints
    • setInts

      public void setInts(List<Long> ints)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString 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 V1alpha2NamedResourcesIntSlice
    • fromJson

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

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