Class V1beta3FlowDistinguisherMethod

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-23T13:45:09.091597Z[Etc/UTC]") public class V1beta3FlowDistinguisherMethod extends Object
FlowDistinguisherMethod specifies the method of a flow distinguisher.
  • Field Details

  • Constructor Details

    • V1beta3FlowDistinguisherMethod

      public V1beta3FlowDistinguisherMethod()
  • Method Details

    • type

    • getType

      @Nonnull public String getType()
      `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.
      Returns:
      type
    • setType

      public void setType(String type)
    • 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 V1beta3FlowDistinguisherMethod
    • fromJson

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

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