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<@NotNull String> conversionReviewVersions)
  • Method Details

    • getConversionReviewVersions

      public List<@NotNull 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<@NotNull String> conversionReviewVersions)
      Set the conversionReviewVersions property value
      Parameters:
      conversionReviewVersions - property value to set
    • conversionReviewVersions

      public V1WebhookConversion conversionReviewVersions(List<@NotNull 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.
    • getClientConfig

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

      public void setClientConfig(ApiextensionsV1WebhookClientConfig clientConfig)
      Set the clientConfig property value
      Parameters:
      clientConfig - property value to set
    • clientConfig

      public V1WebhookConversion clientConfig(ApiextensionsV1WebhookClientConfig clientConfig)
      Set clientConfig 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