public class CustomObjectsApi extends Object
Constructor and Description |
---|
CustomObjectsApi() |
CustomObjectsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Object |
createClusterCustomObject(String group,
String version,
String plural,
Object body,
String pretty)
Creates a cluster scoped Custom object
|
com.squareup.okhttp.Call |
createClusterCustomObjectAsync(String group,
String version,
String plural,
Object body,
String pretty,
ApiCallback<Object> callback)
(asynchronously)
Creates a cluster scoped Custom object
|
com.squareup.okhttp.Call |
createClusterCustomObjectCall(String group,
String version,
String plural,
Object body,
String pretty,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createClusterCustomObject
|
ApiResponse<Object> |
createClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
Object body,
String pretty)
Creates a cluster scoped Custom object
|
Object |
createNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
Object body,
String pretty)
Creates a namespace scoped Custom object
|
com.squareup.okhttp.Call |
createNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
Object body,
String pretty,
ApiCallback<Object> callback)
(asynchronously)
Creates a namespace scoped Custom object
|
com.squareup.okhttp.Call |
createNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
Object body,
String pretty,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createNamespacedCustomObject
|
ApiResponse<Object> |
createNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
Object body,
String pretty)
Creates a namespace scoped Custom object
|
Object |
deleteClusterCustomObject(String group,
String version,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy)
Deletes the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
deleteClusterCustomObjectAsync(String group,
String version,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy,
ApiCallback<Object> callback)
(asynchronously)
Deletes the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
deleteClusterCustomObjectCall(String group,
String version,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteClusterCustomObject
|
ApiResponse<Object> |
deleteClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy)
Deletes the specified cluster scoped custom object
|
Object |
deleteNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy)
Deletes the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
deleteNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy,
ApiCallback<Object> callback)
(asynchronously)
Deletes the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
deleteNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteNamespacedCustomObject
|
ApiResponse<Object> |
deleteNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
String name,
V1DeleteOptions body,
Integer gracePeriodSeconds,
Boolean orphanDependents,
String propagationPolicy)
Deletes the specified namespace scoped custom object
|
ApiClient |
getApiClient() |
Object |
getClusterCustomObject(String group,
String version,
String plural,
String name)
Returns a cluster scoped custom object
|
com.squareup.okhttp.Call |
getClusterCustomObjectAsync(String group,
String version,
String plural,
String name,
ApiCallback<Object> callback)
(asynchronously)
Returns a cluster scoped custom object
|
com.squareup.okhttp.Call |
getClusterCustomObjectCall(String group,
String version,
String plural,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getClusterCustomObject
|
ApiResponse<Object> |
getClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
String name)
Returns a cluster scoped custom object
|
Object |
getNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
String name)
Returns a namespace scoped custom object
|
com.squareup.okhttp.Call |
getNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
String name,
ApiCallback<Object> callback)
(asynchronously)
Returns a namespace scoped custom object
|
com.squareup.okhttp.Call |
getNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getNamespacedCustomObject
|
ApiResponse<Object> |
getNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
String name)
Returns a namespace scoped custom object
|
Object |
listClusterCustomObject(String group,
String version,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch)
list or watch cluster scoped custom objects
|
com.squareup.okhttp.Call |
listClusterCustomObjectAsync(String group,
String version,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch,
ApiCallback<Object> callback)
(asynchronously)
list or watch cluster scoped custom objects
|
com.squareup.okhttp.Call |
listClusterCustomObjectCall(String group,
String version,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listClusterCustomObject
|
ApiResponse<Object> |
listClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch)
list or watch cluster scoped custom objects
|
Object |
listNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch)
list or watch namespace scoped custom objects
|
com.squareup.okhttp.Call |
listNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch,
ApiCallback<Object> callback)
(asynchronously)
list or watch namespace scoped custom objects
|
com.squareup.okhttp.Call |
listNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listNamespacedCustomObject
|
ApiResponse<Object> |
listNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
String pretty,
String labelSelector,
String resourceVersion,
Boolean watch)
list or watch namespace scoped custom objects
|
Object |
patchClusterCustomObject(String group,
String version,
String plural,
String name,
Object body)
patch the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
patchClusterCustomObjectAsync(String group,
String version,
String plural,
String name,
Object body,
ApiCallback<Object> callback)
(asynchronously)
patch the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
patchClusterCustomObjectCall(String group,
String version,
String plural,
String name,
Object body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for patchClusterCustomObject
|
ApiResponse<Object> |
patchClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
String name,
Object body)
patch the specified cluster scoped custom object
|
Object |
patchNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
String name,
Object body)
patch the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
patchNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
String name,
Object body,
ApiCallback<Object> callback)
(asynchronously)
patch the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
patchNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
String name,
Object body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for patchNamespacedCustomObject
|
ApiResponse<Object> |
patchNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
String name,
Object body)
patch the specified namespace scoped custom object
|
Object |
replaceClusterCustomObject(String group,
String version,
String plural,
String name,
Object body)
replace the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
replaceClusterCustomObjectAsync(String group,
String version,
String plural,
String name,
Object body,
ApiCallback<Object> callback)
(asynchronously)
replace the specified cluster scoped custom object
|
com.squareup.okhttp.Call |
replaceClusterCustomObjectCall(String group,
String version,
String plural,
String name,
Object body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for replaceClusterCustomObject
|
ApiResponse<Object> |
replaceClusterCustomObjectWithHttpInfo(String group,
String version,
String plural,
String name,
Object body)
replace the specified cluster scoped custom object
|
Object |
replaceNamespacedCustomObject(String group,
String version,
String namespace,
String plural,
String name,
Object body)
replace the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
replaceNamespacedCustomObjectAsync(String group,
String version,
String namespace,
String plural,
String name,
Object body,
ApiCallback<Object> callback)
(asynchronously)
replace the specified namespace scoped custom object
|
com.squareup.okhttp.Call |
replaceNamespacedCustomObjectCall(String group,
String version,
String namespace,
String plural,
String name,
Object body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for replaceNamespacedCustomObject
|
ApiResponse<Object> |
replaceNamespacedCustomObjectWithHttpInfo(String group,
String version,
String namespace,
String plural,
String name,
Object body)
replace the specified namespace scoped custom object
|
void |
setApiClient(ApiClient apiClient) |
public CustomObjectsApi()
public CustomObjectsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createClusterCustomObjectCall(String group, String version, String plural, Object body, String pretty, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object createClusterCustomObject(String group, String version, String plural, Object body, String pretty) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> createClusterCustomObjectWithHttpInfo(String group, String version, String plural, Object body, String pretty) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createClusterCustomObjectAsync(String group, String version, String plural, Object body, String pretty, ApiCallback<Object> callback) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createNamespacedCustomObjectCall(String group, String version, String namespace, String plural, Object body, String pretty, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object createNamespacedCustomObject(String group, String version, String namespace, String plural, Object body, String pretty) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> createNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, Object body, String pretty) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, Object body, String pretty, ApiCallback<Object> callback) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)pretty
- If 'true', then the output is pretty printed. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteClusterCustomObjectCall(String group, String version, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object deleteClusterCustomObject(String group, String version, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> deleteClusterCustomObjectWithHttpInfo(String group, String version, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteClusterCustomObjectAsync(String group, String version, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object deleteNamespacedCustomObject(String group, String version, String namespace, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> deleteNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String name, V1DeleteOptions body, Integer gracePeriodSeconds, Boolean orphanDependents, String propagationPolicy, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)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. (optional)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. (optional)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. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getClusterCustomObjectCall(String group, String version, String plural, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object getClusterCustomObject(String group, String version, String plural, String name) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> getClusterCustomObjectWithHttpInfo(String group, String version, String plural, String name) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getClusterCustomObjectAsync(String group, String version, String plural, String name, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object getNamespacedCustomObject(String group, String version, String namespace, String plural, String name) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> getNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String name) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String name, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listClusterCustomObjectCall(String group, String version, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object listClusterCustomObject(String group, String version, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> listClusterCustomObjectWithHttpInfo(String group, String version, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listClusterCustomObjectAsync(String group, String version, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch, ApiCallback<Object> callback) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object listNamespacedCustomObject(String group, String version, String namespace, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> listNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String pretty, String labelSelector, String resourceVersion, Boolean watch, ApiCallback<Object> callback) throws ApiException
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)pretty
- If 'true', then the output is pretty printed. (optional)labelSelector
- A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)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. (optional)watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchClusterCustomObjectCall(String group, String version, String plural, String name, Object body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object patchClusterCustomObject(String group, String version, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> patchClusterCustomObjectWithHttpInfo(String group, String version, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchClusterCustomObjectAsync(String group, String version, String plural, String name, Object body, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String name, Object body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object patchNamespacedCustomObject(String group, String version, String namespace, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> patchNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String name, Object body, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call replaceClusterCustomObjectCall(String group, String version, String plural, String name, Object body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object replaceClusterCustomObject(String group, String version, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> replaceClusterCustomObjectWithHttpInfo(String group, String version, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call replaceClusterCustomObjectAsync(String group, String version, String plural, String name, Object body, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call replaceNamespacedCustomObjectCall(String group, String version, String namespace, String plural, String name, Object body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Object replaceNamespacedCustomObject(String group, String version, String namespace, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> replaceNamespacedCustomObjectWithHttpInfo(String group, String version, String namespace, String plural, String name, Object body) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call replaceNamespacedCustomObjectAsync(String group, String version, String namespace, String plural, String name, Object body, ApiCallback<Object> callback) throws ApiException
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2018. All rights reserved.