{-
   Kubernetes

   No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

   OpenAPI Version: 3.0.1
   Kubernetes API version: release-1.16
   Generated by OpenAPI Generator (https://openapi-generator.tech)
-}

{-|
Module : Kubernetes.OpenAPI.API.CustomObjects
-}

{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MonoLocalBinds #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-}

module Kubernetes.OpenAPI.API.CustomObjects where

import Kubernetes.OpenAPI.Core
import Kubernetes.OpenAPI.MimeTypes
import Kubernetes.OpenAPI.Model as M

import qualified Data.Aeson as A
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as BL
import qualified Data.Data as P (Typeable, TypeRep, typeOf, typeRep)
import qualified Data.Foldable as P
import qualified Data.Map as Map
import qualified Data.Maybe as P
import qualified Data.Proxy as P (Proxy(..))
import qualified Data.Set as Set
import qualified Data.String as P
import qualified Data.Text as T
import qualified Data.Text.Encoding as T
import qualified Data.Text.Lazy as TL
import qualified Data.Text.Lazy.Encoding as TL
import qualified Data.Time as TI
import qualified Network.HTTP.Client.MultipartFormData as NH
import qualified Network.HTTP.Media as ME
import qualified Network.HTTP.Types as NH
import qualified Web.FormUrlEncoded as WH
import qualified Web.HttpApiData as WH

import Data.Text (Text)
import GHC.Base ((<|>))

import Prelude ((==),(/=),($), (.),(<$>),(<*>),(>>=),Maybe(..),Bool(..),Char,Double,FilePath,Float,Int,Integer,String,fmap,undefined,mempty,maybe,pure,Monad,Applicative,Functor)
import qualified Prelude as P

-- * Operations


-- ** CustomObjects

-- *** createClusterCustomObject

-- | @POST \/apis\/{group}\/{version}\/{plural}@
-- 
-- Creates a cluster scoped Custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createClusterCustomObject 
  :: (Consumes CreateClusterCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to create.
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest CreateClusterCustomObject contentType A.Value MimeJSON
createClusterCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Plural
-> KubernetesRequest
     CreateClusterCustomObject contentType Value MimeJSON
createClusterCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateClusterCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  CreateClusterCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateClusterCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateClusterCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     CreateClusterCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data CreateClusterCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to create.
instance HasBodyParam CreateClusterCustomObject Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateClusterCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest CreateClusterCustomObject contentType res accept
-> Pretty
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest CreateClusterCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest CreateClusterCustomObject contentType res accept
req KubernetesRequest CreateClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateClusterCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest CreateClusterCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest CreateClusterCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest CreateClusterCustomObject contentType res accept
req KubernetesRequest CreateClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam CreateClusterCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest CreateClusterCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest CreateClusterCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest CreateClusterCustomObject contentType res accept
req KubernetesRequest CreateClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateClusterCustomObject mtype

-- | @application/json@
instance Produces CreateClusterCustomObject MimeJSON


-- *** createNamespacedCustomObject

-- | @POST \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
-- 
-- Creates a namespace scoped Custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
createNamespacedCustomObject 
  :: (Consumes CreateNamespacedCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to create.
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest CreateNamespacedCustomObject contentType A.Value MimeJSON
createNamespacedCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> KubernetesRequest
     CreateNamespacedCustomObject contentType Value MimeJSON
createNamespacedCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     CreateNamespacedCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"POST" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  CreateNamespacedCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     CreateNamespacedCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  CreateNamespacedCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     CreateNamespacedCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data CreateNamespacedCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to create.
instance HasBodyParam CreateNamespacedCustomObject Body 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam CreateNamespacedCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> Pretty
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam CreateNamespacedCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam CreateNamespacedCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
req KubernetesRequest
  CreateNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     CreateNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes CreateNamespacedCustomObject mtype

-- | @application/json@
instance Produces CreateNamespacedCustomObject MimeJSON


-- *** deleteClusterCustomObject

-- | @DELETE \/apis\/{group}\/{version}\/{plural}\/{name}@
-- 
-- Deletes the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteClusterCustomObject 
  :: (Consumes DeleteClusterCustomObject contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom object's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest DeleteClusterCustomObject contentType A.Value MimeJSON
deleteClusterCustomObject :: ContentType contentType
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     DeleteClusterCustomObject contentType Value MimeJSON
deleteClusterCustomObject ContentType contentType
_ (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteClusterCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteClusterCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteClusterCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteClusterCustomObject 
instance HasBodyParam DeleteClusterCustomObject V1DeleteOptions 

-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteClusterCustomObject GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest DeleteClusterCustomObject contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterCustomObject contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest DeleteClusterCustomObject contentType res accept
req KubernetesRequest DeleteClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteClusterCustomObject OrphanDependents where
  applyOptionalParam :: KubernetesRequest DeleteClusterCustomObject contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterCustomObject contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest DeleteClusterCustomObject contentType res accept
req KubernetesRequest DeleteClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
instance HasOptionalParam DeleteClusterCustomObject PropagationPolicy where
  applyOptionalParam :: KubernetesRequest DeleteClusterCustomObject contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterCustomObject contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest DeleteClusterCustomObject contentType res accept
req KubernetesRequest DeleteClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteClusterCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest DeleteClusterCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest DeleteClusterCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest DeleteClusterCustomObject contentType res accept
req KubernetesRequest DeleteClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteClusterCustomObject mtype

-- | @application/json@
instance Produces DeleteClusterCustomObject MimeJSON


-- *** deleteCollectionClusterCustomObject

-- | @DELETE \/apis\/{group}\/{version}\/{plural}@
-- 
-- Delete collection of cluster scoped custom objects
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionClusterCustomObject 
  :: (Consumes DeleteCollectionClusterCustomObject contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest DeleteCollectionClusterCustomObject contentType A.Value MimeJSON
deleteCollectionClusterCustomObject :: ContentType contentType
-> Group
-> Version
-> Plural
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType Value MimeJSON
deleteCollectionClusterCustomObject ContentType contentType
_ (Group Text
group) (Version Text
version) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteCollectionClusterCustomObject 
instance HasBodyParam DeleteCollectionClusterCustomObject V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionClusterCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteCollectionClusterCustomObject GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteCollectionClusterCustomObject OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
instance HasOptionalParam DeleteCollectionClusterCustomObject PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCollectionClusterCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionClusterCustomObject mtype

-- | @application/json@
instance Produces DeleteCollectionClusterCustomObject MimeJSON


-- *** deleteCollectionNamespacedCustomObject

-- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
-- 
-- Delete collection of namespace scoped custom objects
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteCollectionNamespacedCustomObject 
  :: (Consumes DeleteCollectionNamespacedCustomObject contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest DeleteCollectionNamespacedCustomObject contentType A.Value MimeJSON
deleteCollectionNamespacedCustomObject :: ContentType contentType
-> Group
-> Version
-> Namespace
-> Plural
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType Value MimeJSON
deleteCollectionNamespacedCustomObject ContentType contentType
_ (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteCollectionNamespacedCustomObject 
instance HasBodyParam DeleteCollectionNamespacedCustomObject V1DeleteOptions 

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> Pretty
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
instance HasOptionalParam DeleteCollectionNamespacedCustomObject PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteCollectionNamespacedCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteCollectionNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteCollectionNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteCollectionNamespacedCustomObject mtype

-- | @application/json@
instance Produces DeleteCollectionNamespacedCustomObject MimeJSON


-- *** deleteNamespacedCustomObject

-- | @DELETE \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
-- 
-- Deletes the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
deleteNamespacedCustomObject 
  :: (Consumes DeleteNamespacedCustomObject contentType)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest DeleteNamespacedCustomObject contentType A.Value MimeJSON
deleteNamespacedCustomObject :: ContentType contentType
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType Value MimeJSON
deleteNamespacedCustomObject ContentType contentType
_ (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"DELETE" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  DeleteNamespacedCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data DeleteNamespacedCustomObject 
instance HasBodyParam DeleteNamespacedCustomObject V1DeleteOptions 

-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
instance HasOptionalParam DeleteNamespacedCustomObject GracePeriodSeconds where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> GracePeriodSeconds
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req (GracePeriodSeconds Int
xs) =
    KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"gracePeriodSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "orphanDependents" - Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
instance HasOptionalParam DeleteNamespacedCustomObject OrphanDependents where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> OrphanDependents
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req (OrphanDependents Bool
xs) =
    KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"orphanDependents", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | /Optional Param/ "propagationPolicy" - Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
instance HasOptionalParam DeleteNamespacedCustomObject PropagationPolicy where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> PropagationPolicy
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req (PropagationPolicy Text
xs) =
    KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"propagationPolicy", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam DeleteNamespacedCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
req KubernetesRequest
  DeleteNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     DeleteNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes DeleteNamespacedCustomObject mtype

-- | @application/json@
instance Produces DeleteNamespacedCustomObject MimeJSON


-- *** getClusterCustomObject

-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}@
-- 
-- Returns a cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getClusterCustomObject 
  :: Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom object's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetClusterCustomObject MimeNoContent A.Value MimeJSON
getClusterCustomObject :: Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     GetClusterCustomObject MimeNoContent Value MimeJSON
getClusterCustomObject (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetClusterCustomObject MimeNoContent Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  GetClusterCustomObject MimeNoContent Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetClusterCustomObject MimeNoContent Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetClusterCustomObject  
-- | @application/json@
instance Produces GetClusterCustomObject MimeJSON


-- *** getClusterCustomObjectScale

-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
-- 
-- read scale of the specified custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getClusterCustomObjectScale 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetClusterCustomObjectScale MimeNoContent A.Value accept
getClusterCustomObjectScale :: Accept accept
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     GetClusterCustomObjectScale MimeNoContent Value accept
getClusterCustomObjectScale  Accept accept
_ (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetClusterCustomObjectScale MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  GetClusterCustomObjectScale MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetClusterCustomObjectScale MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetClusterCustomObjectScale  
-- | @application/json@
instance Produces GetClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetClusterCustomObjectScale MimeYaml


-- *** getClusterCustomObjectStatus

-- | @GET \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
-- 
-- read status of the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getClusterCustomObjectStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetClusterCustomObjectStatus MimeNoContent A.Value accept
getClusterCustomObjectStatus :: Accept accept
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     GetClusterCustomObjectStatus MimeNoContent Value accept
getClusterCustomObjectStatus  Accept accept
_ (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetClusterCustomObjectStatus MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  GetClusterCustomObjectStatus MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetClusterCustomObjectStatus MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetClusterCustomObjectStatus  
-- | @application/json@
instance Produces GetClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetClusterCustomObjectStatus MimeYaml


-- *** getNamespacedCustomObject

-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
-- 
-- Returns a namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getNamespacedCustomObject 
  :: Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetNamespacedCustomObject MimeNoContent A.Value MimeJSON
getNamespacedCustomObject :: Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     GetNamespacedCustomObject MimeNoContent Value MimeJSON
getNamespacedCustomObject (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetNamespacedCustomObject MimeNoContent Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  GetNamespacedCustomObject MimeNoContent Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetNamespacedCustomObject MimeNoContent Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetNamespacedCustomObject  
-- | @application/json@
instance Produces GetNamespacedCustomObject MimeJSON


-- *** getNamespacedCustomObjectScale

-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
-- 
-- read scale of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getNamespacedCustomObjectScale 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetNamespacedCustomObjectScale MimeNoContent A.Value accept
getNamespacedCustomObjectScale :: Accept accept
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     GetNamespacedCustomObjectScale MimeNoContent Value accept
getNamespacedCustomObjectScale  Accept accept
_ (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetNamespacedCustomObjectScale MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  GetNamespacedCustomObjectScale MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetNamespacedCustomObjectScale MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetNamespacedCustomObjectScale  
-- | @application/json@
instance Produces GetNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectScale MimeYaml


-- *** getNamespacedCustomObjectStatus

-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
-- 
-- read status of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
getNamespacedCustomObjectStatus 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest GetNamespacedCustomObjectStatus MimeNoContent A.Value accept
getNamespacedCustomObjectStatus :: Accept accept
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     GetNamespacedCustomObjectStatus MimeNoContent Value accept
getNamespacedCustomObjectStatus  Accept accept
_ (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     GetNamespacedCustomObjectStatus MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  GetNamespacedCustomObjectStatus MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     GetNamespacedCustomObjectStatus MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data GetNamespacedCustomObjectStatus  
-- | @application/json@
instance Produces GetNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces GetNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces GetNamespacedCustomObjectStatus MimeYaml


-- *** listClusterCustomObject

-- | @GET \/apis\/{group}\/{version}\/{plural}@
-- 
-- list or watch cluster scoped custom objects
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listClusterCustomObject 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest ListClusterCustomObject MimeNoContent A.Value accept
listClusterCustomObject :: Accept accept
-> Group
-> Version
-> Plural
-> KubernetesRequest
     ListClusterCustomObject MimeNoContent Value accept
listClusterCustomObject  Accept accept
_ (Group Text
group) (Version Text
version) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListClusterCustomObject MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  ListClusterCustomObject MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListClusterCustomObject MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListClusterCustomObject  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListClusterCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> Pretty
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListClusterCustomObject Continue where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> Continue
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListClusterCustomObject FieldSelector where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> FieldSelector
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListClusterCustomObject LabelSelector where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> LabelSelector
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListClusterCustomObject Limit where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> Limit
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListClusterCustomObject ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> ResourceVersion
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListClusterCustomObject TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> TimeoutSeconds
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
instance HasOptionalParam ListClusterCustomObject Watch where
  applyOptionalParam :: KubernetesRequest ListClusterCustomObject contentType res accept
-> Watch
-> KubernetesRequest ListClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListClusterCustomObject contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListClusterCustomObject contentType res accept
req KubernetesRequest ListClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest ListClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListClusterCustomObject MimeJSON
-- | @application/json;stream=watch@
instance Produces ListClusterCustomObject MimeJsonstreamwatch


-- *** listNamespacedCustomObject

-- | @GET \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}@
-- 
-- list or watch namespace scoped custom objects
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
listNamespacedCustomObject 
  :: Accept accept -- ^ request accept ('MimeType')
  -> Group -- ^ "group" -  The custom resource's group name
  -> Version -- ^ "version" -  The custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  The custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> KubernetesRequest ListNamespacedCustomObject MimeNoContent A.Value accept
listNamespacedCustomObject :: Accept accept
-> Group
-> Version
-> Namespace
-> Plural
-> KubernetesRequest
     ListNamespacedCustomObject MimeNoContent Value accept
listNamespacedCustomObject  Accept accept
_ (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) =
  Method
-> [ByteString]
-> KubernetesRequest
     ListNamespacedCustomObject MimeNoContent Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"GET" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural]
    KubernetesRequest
  ListNamespacedCustomObject MimeNoContent Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ListNamespacedCustomObject MimeNoContent Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)

data ListNamespacedCustomObject  

-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
instance HasOptionalParam ListNamespacedCustomObject Pretty where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> Pretty
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (Pretty Text
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"pretty", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".  This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
instance HasOptionalParam ListNamespacedCustomObject Continue where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> Continue
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (Continue Text
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"continue", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldSelector" - A selector to restrict the list of returned objects by their fields. Defaults to everything.
instance HasOptionalParam ListNamespacedCustomObject FieldSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> FieldSelector
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (FieldSelector Text
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
instance HasOptionalParam ListNamespacedCustomObject LabelSelector where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> LabelSelector
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (LabelSelector Text
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"labelSelector", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "limit" - limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.  The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
instance HasOptionalParam ListNamespacedCustomObject Limit where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> Limit
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (Limit Int
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"limit", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "resourceVersion" - When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
instance HasOptionalParam ListNamespacedCustomObject ResourceVersion where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> ResourceVersion
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (ResourceVersion Text
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"resourceVersion", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
instance HasOptionalParam ListNamespacedCustomObject TimeoutSeconds where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> TimeoutSeconds
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (TimeoutSeconds Int
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Int) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"timeoutSeconds", Int -> Maybe Int
forall a. a -> Maybe a
Just Int
xs)

-- | /Optional Param/ "watch" - Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
instance HasOptionalParam ListNamespacedCustomObject Watch where
  applyOptionalParam :: KubernetesRequest ListNamespacedCustomObject contentType res accept
-> Watch
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest ListNamespacedCustomObject contentType res accept
req (Watch Bool
xs) =
    KubernetesRequest ListNamespacedCustomObject contentType res accept
req KubernetesRequest ListNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ListNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"watch", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)
-- | @application/json@
instance Produces ListNamespacedCustomObject MimeJSON
-- | @application/json;stream=watch@
instance Produces ListNamespacedCustomObject MimeJsonstreamwatch


-- *** patchClusterCustomObject

-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}@
-- 
-- patch the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchClusterCustomObject 
  :: (Consumes PatchClusterCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to patch.
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom object's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchClusterCustomObject contentType A.Value MimeJSON
patchClusterCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     PatchClusterCustomObject contentType Value MimeJSON
patchClusterCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchClusterCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchClusterCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchClusterCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchClusterCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     PatchClusterCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchClusterCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
instance HasBodyParam PatchClusterCustomObject Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest PatchClusterCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest PatchClusterCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest PatchClusterCustomObject contentType res accept
req KubernetesRequest PatchClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchClusterCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest PatchClusterCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest PatchClusterCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest PatchClusterCustomObject contentType res accept
req KubernetesRequest PatchClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchClusterCustomObject Force where
  applyOptionalParam :: KubernetesRequest PatchClusterCustomObject contentType res accept
-> Force
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest PatchClusterCustomObject contentType res accept
req (Force Bool
xs) =
    KubernetesRequest PatchClusterCustomObject contentType res accept
req KubernetesRequest PatchClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObject MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObject MimeMergePatchjson

-- | @application/json@
instance Produces PatchClusterCustomObject MimeJSON


-- *** patchClusterCustomObjectScale

-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
-- 
-- partially update scale of the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchClusterCustomObjectScale 
  :: (Consumes PatchClusterCustomObjectScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchClusterCustomObjectScale contentType A.Value accept
patchClusterCustomObjectScale :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType Value accept
patchClusterCustomObjectScale ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchClusterCustomObjectScale contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchClusterCustomObjectScale contentType Value accept
-> Body
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchClusterCustomObjectScale 
instance HasBodyParam PatchClusterCustomObjectScale Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterCustomObjectScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> DryRun
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchClusterCustomObjectScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchClusterCustomObjectScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> Force
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObjectScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectScale MimeMergePatchjson

-- | @application/json@
instance Produces PatchClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchClusterCustomObjectScale MimeYaml


-- *** patchClusterCustomObjectStatus

-- | @PATCH \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
-- 
-- partially update status of the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchClusterCustomObjectStatus 
  :: (Consumes PatchClusterCustomObjectStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchClusterCustomObjectStatus contentType A.Value accept
patchClusterCustomObjectStatus :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType Value accept
patchClusterCustomObjectStatus ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchClusterCustomObjectStatus contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchClusterCustomObjectStatus contentType Value accept
-> Body
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchClusterCustomObjectStatus 
instance HasBodyParam PatchClusterCustomObjectStatus Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchClusterCustomObjectStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchClusterCustomObjectStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchClusterCustomObjectStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchClusterCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchClusterCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/json-patch+json@
instance Consumes PatchClusterCustomObjectStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchClusterCustomObjectStatus MimeMergePatchjson

-- | @application/json@
instance Produces PatchClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchClusterCustomObjectStatus MimeYaml


-- *** patchNamespacedCustomObject

-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
-- 
-- patch the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedCustomObject 
  :: (Consumes PatchNamespacedCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to patch.
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchNamespacedCustomObject contentType A.Value MimeJSON
patchNamespacedCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     PatchNamespacedCustomObject contentType Value MimeJSON
patchNamespacedCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  PatchNamespacedCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     PatchNamespacedCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to patch.
instance HasBodyParam PatchNamespacedCustomObject Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedCustomObject Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObject MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObject MimeMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedCustomObject MimeJSON


-- *** patchNamespacedCustomObjectScale

-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
-- 
-- partially update scale of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedCustomObjectScale 
  :: (Consumes PatchNamespacedCustomObjectScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchNamespacedCustomObjectScale contentType A.Value accept
patchNamespacedCustomObjectScale :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType Value accept
patchNamespacedCustomObjectScale ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  PatchNamespacedCustomObjectScale contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedCustomObjectScale contentType Value accept
-> Body
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedCustomObjectScale 
instance HasBodyParam PatchNamespacedCustomObjectScale Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCustomObjectScale DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedCustomObjectScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedCustomObjectScale Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedCustomObjectScale MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObjectScale MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectScale MimeMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectScale MimeYaml


-- *** patchNamespacedCustomObjectStatus

-- | @PATCH \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
-- 
-- partially update status of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
patchNamespacedCustomObjectStatus 
  :: (Consumes PatchNamespacedCustomObjectStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest PatchNamespacedCustomObjectStatus contentType A.Value accept
patchNamespacedCustomObjectStatus :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType Value accept
patchNamespacedCustomObjectStatus ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PATCH" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType Value accept
-> Body
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data PatchNamespacedCustomObjectStatus 
instance HasBodyParam PatchNamespacedCustomObjectStatus Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam PatchNamespacedCustomObjectStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> DryRun
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
instance HasOptionalParam PatchNamespacedCustomObjectStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "force" - Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
instance HasOptionalParam PatchNamespacedCustomObjectStatus Force where
  applyOptionalParam :: KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> Force
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req (Force Bool
xs) =
    KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
req KubernetesRequest
  PatchNamespacedCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     PatchNamespacedCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Bool) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"force", Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
xs)

-- | @application/apply-patch+yaml@
instance Consumes PatchNamespacedCustomObjectStatus MimeApplyPatchyaml
-- | @application/json-patch+json@
instance Consumes PatchNamespacedCustomObjectStatus MimeJsonPatchjson
-- | @application/merge-patch+json@
instance Consumes PatchNamespacedCustomObjectStatus MimeMergePatchjson

-- | @application/json@
instance Produces PatchNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces PatchNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces PatchNamespacedCustomObjectStatus MimeYaml


-- *** replaceClusterCustomObject

-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}@
-- 
-- replace the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceClusterCustomObject 
  :: (Consumes ReplaceClusterCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to replace.
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom object's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceClusterCustomObject contentType A.Value MimeJSON
replaceClusterCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     ReplaceClusterCustomObject contentType Value MimeJSON
replaceClusterCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceClusterCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceClusterCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceClusterCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceClusterCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     ReplaceClusterCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceClusterCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
instance HasBodyParam ReplaceClusterCustomObject Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest ReplaceClusterCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest ReplaceClusterCustomObject contentType res accept
req KubernetesRequest ReplaceClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceClusterCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest ReplaceClusterCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceClusterCustomObject contentType res accept
applyOptionalParam KubernetesRequest ReplaceClusterCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest ReplaceClusterCustomObject contentType res accept
req KubernetesRequest ReplaceClusterCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObject mtype

-- | @application/json@
instance Produces ReplaceClusterCustomObject MimeJSON


-- *** replaceClusterCustomObjectScale

-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/scale@
-- 
-- replace scale of the specified cluster scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceClusterCustomObjectScale 
  :: (Consumes ReplaceClusterCustomObjectScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceClusterCustomObjectScale contentType A.Value accept
replaceClusterCustomObjectScale :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType Value accept
replaceClusterCustomObjectScale ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceClusterCustomObjectScale contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceClusterCustomObjectScale contentType Value accept
-> Body
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceClusterCustomObjectScale 
instance HasBodyParam ReplaceClusterCustomObjectScale Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterCustomObjectScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
req KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceClusterCustomObjectScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
req KubernetesRequest
  ReplaceClusterCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectScale mtype

-- | @application/json@
instance Produces ReplaceClusterCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectScale MimeYaml


-- *** replaceClusterCustomObjectStatus

-- | @PUT \/apis\/{group}\/{version}\/{plural}\/{name}\/status@
-- 
-- replace status of the cluster scoped specified custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceClusterCustomObjectStatus 
  :: (Consumes ReplaceClusterCustomObjectStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceClusterCustomObjectStatus contentType A.Value accept
replaceClusterCustomObjectStatus :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Plural
-> Name
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType Value accept
replaceClusterCustomObjectStatus ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType Value accept
-> Body
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceClusterCustomObjectStatus 
instance HasBodyParam ReplaceClusterCustomObjectStatus Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceClusterCustomObjectStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
req KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceClusterCustomObjectStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
req KubernetesRequest
  ReplaceClusterCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceClusterCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceClusterCustomObjectStatus mtype

-- | @application/json@
instance Produces ReplaceClusterCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceClusterCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceClusterCustomObjectStatus MimeYaml


-- *** replaceNamespacedCustomObject

-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}@
-- 
-- replace the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedCustomObject 
  :: (Consumes ReplaceNamespacedCustomObject contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Body -- ^ "body" -  The JSON schema of the Resource to replace.
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceNamespacedCustomObject contentType A.Value MimeJSON
replaceNamespacedCustomObject :: ContentType contentType
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType Value MimeJSON
replaceNamespacedCustomObject ContentType contentType
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType Value MimeJSON
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name]
    KubernetesRequest
  ReplaceNamespacedCustomObject contentType Value MimeJSON
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType Value MimeJSON
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedCustomObject contentType Value MimeJSON
-> Body
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType Value MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceNamespacedCustomObject 

-- | /Body Param/ "body" - The JSON schema of the Resource to replace.
instance HasBodyParam ReplaceNamespacedCustomObject Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCustomObject DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedCustomObject FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObject contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObject contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObject mtype

-- | @application/json@
instance Produces ReplaceNamespacedCustomObject MimeJSON


-- *** replaceNamespacedCustomObjectScale

-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/scale@
-- 
-- replace scale of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedCustomObjectScale 
  :: (Consumes ReplaceNamespacedCustomObjectScale contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceNamespacedCustomObjectScale contentType A.Value accept
replaceNamespacedCustomObjectScale :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType Value accept
replaceNamespacedCustomObjectScale ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/scale"]
    KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType Value accept
-> Body
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceNamespacedCustomObjectScale 
instance HasBodyParam ReplaceNamespacedCustomObjectScale Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCustomObjectScale DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedCustomObjectScale FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObjectScale contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectScale contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectScale mtype

-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectScale MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectScale MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectScale MimeYaml


-- *** replaceNamespacedCustomObjectStatus

-- | @PUT \/apis\/{group}\/{version}\/namespaces\/{namespace}\/{plural}\/{name}\/status@
-- 
-- replace status of the specified namespace scoped custom object
-- 
-- AuthMethod: 'AuthApiKeyBearerToken'
-- 
replaceNamespacedCustomObjectStatus 
  :: (Consumes ReplaceNamespacedCustomObjectStatus contentType, MimeRender contentType Body)
  => ContentType contentType -- ^ request content-type ('MimeType')
  -> Accept accept -- ^ request accept ('MimeType')
  -> Body -- ^ "body"
  -> Group -- ^ "group" -  the custom resource's group
  -> Version -- ^ "version" -  the custom resource's version
  -> Namespace -- ^ "namespace" -  The custom resource's namespace
  -> Plural -- ^ "plural" -  the custom resource's plural name. For TPRs this would be lowercase plural kind.
  -> Name -- ^ "name" -  the custom object's name
  -> KubernetesRequest ReplaceNamespacedCustomObjectStatus contentType A.Value accept
replaceNamespacedCustomObjectStatus :: ContentType contentType
-> Accept accept
-> Body
-> Group
-> Version
-> Namespace
-> Plural
-> Name
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType Value accept
replaceNamespacedCustomObjectStatus ContentType contentType
_  Accept accept
_ Body
body (Group Text
group) (Version Text
version) (Namespace Text
namespace) (Plural Text
plural) (Name Text
name) =
  Method
-> [ByteString]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType Value accept
forall req contentType res accept.
Method
-> [ByteString] -> KubernetesRequest req contentType res accept
_mkRequest Method
"PUT" [ByteString
"/apis/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
group,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
version,ByteString
"/namespaces/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
namespace,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
plural,ByteString
"/",Text -> ByteString
forall a. ToHttpApiData a => a -> ByteString
toPath Text
name,ByteString
"/status"]
    KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType Value accept
-> Proxy AuthApiKeyBearerToken
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType Value accept
forall authMethod req contentType res accept.
AuthMethod authMethod =>
KubernetesRequest req contentType res accept
-> Proxy authMethod -> KubernetesRequest req contentType res accept
`_hasAuthType` (Proxy AuthApiKeyBearerToken
forall k (t :: k). Proxy t
P.Proxy :: P.Proxy AuthApiKeyBearerToken)
    KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType Value accept
-> Body
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType Value accept
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =>
KubernetesRequest req contentType res accept
-> param -> KubernetesRequest req contentType res accept
`setBodyParam` Body
body

data ReplaceNamespacedCustomObjectStatus 
instance HasBodyParam ReplaceNamespacedCustomObjectStatus Body 

-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
instance HasOptionalParam ReplaceNamespacedCustomObjectStatus DryRun where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
-> DryRun
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
req (DryRun Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"dryRun", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)

-- | /Optional Param/ "fieldManager" - fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
instance HasOptionalParam ReplaceNamespacedCustomObjectStatus FieldManager where
  applyOptionalParam :: KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
-> FieldManager
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType res accept
applyOptionalParam KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
req (FieldManager Text
xs) =
    KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
req KubernetesRequest
  ReplaceNamespacedCustomObjectStatus contentType res accept
-> [QueryItem]
-> KubernetesRequest
     ReplaceNamespacedCustomObjectStatus contentType res accept
forall req contentType res accept.
KubernetesRequest req contentType res accept
-> [QueryItem] -> KubernetesRequest req contentType res accept
`addQuery` (Method, Maybe Text) -> [QueryItem]
forall a. ToHttpApiData a => (Method, Maybe a) -> [QueryItem]
toQuery (Method
"fieldManager", Text -> Maybe Text
forall a. a -> Maybe a
Just Text
xs)
    
-- | @*/*@
instance MimeType mtype => Consumes ReplaceNamespacedCustomObjectStatus mtype

-- | @application/json@
instance Produces ReplaceNamespacedCustomObjectStatus MimeJSON
-- | @application/vnd.kubernetes.protobuf@
instance Produces ReplaceNamespacedCustomObjectStatus MimeVndKubernetesProtobuf
-- | @application/yaml@
instance Produces ReplaceNamespacedCustomObjectStatus MimeYaml