Class V1WebhookConversion

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WebhookConversion

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1WebhookConversion extends Object
WebhookConversion describes how to call a conversion webhook
  • Field Details

  • Constructor Details

    • V1WebhookConversion

      public V1WebhookConversion(List<String> conversionReviewVersions)
  • Method Details

    • getClientConfig

      public ApiextensionsV1WebhookClientConfig getClientConfig()
      Returns:
      the clientConfig property value
    • setClientConfig

      public void setClientConfig(ApiextensionsV1WebhookClientConfig clientConfig)
      Set the clientConfig property value
    • clientConfig

      public V1WebhookConversion clientConfig(ApiextensionsV1WebhookClientConfig clientConfig)
      Set clientConfig in a chainable fashion.
      Returns:
      The same instance of V1WebhookConversion for chaining.
    • getConversionReviewVersions

      public List<String> getConversionReviewVersions()
      conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
      Returns:
      the conversionReviewVersions property value
    • setConversionReviewVersions

      public void setConversionReviewVersions(List<String> conversionReviewVersions)
      Set the conversionReviewVersions property value
    • conversionReviewVersions

      public V1WebhookConversion conversionReviewVersions(List<String> conversionReviewVersions)
      Set conversionReviewVersions in a chainable fashion.
      Returns:
      The same instance of V1WebhookConversion for chaining.
    • addconversionReviewVersionsItem

      public V1WebhookConversion addconversionReviewVersionsItem(String conversionReviewVersionsItem)
      Add an item to the conversionReviewVersions property in a chainable fashion.
      Returns:
      The same instance of V1WebhookConversion for chaining.
    • 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