Update generated client for TPR fix

This commit is contained in:
mbohlool 2017-05-21 22:43:45 -07:00
parent 19ce362d9f
commit 8a3b2bae14
3 changed files with 45 additions and 45 deletions

View File

@ -143,7 +143,7 @@ class ThirdPartyResourcesApi(object):
if 'body' in params: if 'body' in params:
body_params = params['body'] body_params = params['body']
# Authentication setting # Authentication setting
auth_settings = [] auth_settings = ['BearerToken']
return self.api_client.call_api(resource_path, 'POST', return self.api_client.call_api(resource_path, 'POST',
path_params, path_params,
@ -254,7 +254,7 @@ class ThirdPartyResourcesApi(object):
if 'body' in params: if 'body' in params:
body_params = params['body'] body_params = params['body']
# Authentication setting # Authentication setting
auth_settings = [] auth_settings = ['BearerToken']
return self.api_client.call_api(resource_path, 'DELETE', return self.api_client.call_api(resource_path, 'DELETE',
path_params, path_params,
@ -374,7 +374,7 @@ class ThirdPartyResourcesApi(object):
body_params = None body_params = None
# Authentication setting # Authentication setting
auth_settings = [] auth_settings = ['BearerToken']
return self.api_client.call_api(resource_path, 'GET', return self.api_client.call_api(resource_path, 'GET',
path_params, path_params,
@ -484,7 +484,7 @@ class ThirdPartyResourcesApi(object):
body_params = None body_params = None
# Authentication setting # Authentication setting
auth_settings = [] auth_settings = ['BearerToken']
return self.api_client.call_api(resource_path, 'GET', return self.api_client.call_api(resource_path, 'GET',
path_params, path_params,
@ -604,7 +604,7 @@ class ThirdPartyResourcesApi(object):
if 'body' in params: if 'body' in params:
body_params = params['body'] body_params = params['body']
# Authentication setting # Authentication setting
auth_settings = [] auth_settings = ['BearerToken']
return self.api_client.call_api(resource_path, 'PUT', return self.api_client.call_api(resource_path, 'PUT',
path_params, path_params,

View File

@ -26,6 +26,11 @@ import kubernetes.client
from kubernetes.client.rest import ApiException from kubernetes.client.rest import ApiException
from pprint import pprint from pprint import pprint
# Configure API key authorization: BearerToken
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
# create an instance of the API class # create an instance of the API class
api_instance = kubernetes.client.ThirdPartyResourcesApi() api_instance = kubernetes.client.ThirdPartyResourcesApi()
namespace = 'namespace_example' # str | The Resource's namespace namespace = 'namespace_example' # str | The Resource's namespace
@ -56,7 +61,7 @@ Name | Type | Description | Notes
### Authorization ### Authorization
No authorization required [BearerToken](../README.md#BearerToken)
### HTTP request headers ### HTTP request headers
@ -80,6 +85,11 @@ import kubernetes.client
from kubernetes.client.rest import ApiException from kubernetes.client.rest import ApiException
from pprint import pprint from pprint import pprint
# Configure API key authorization: BearerToken
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
# create an instance of the API class # create an instance of the API class
api_instance = kubernetes.client.ThirdPartyResourcesApi() api_instance = kubernetes.client.ThirdPartyResourcesApi()
body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions |
@ -110,7 +120,7 @@ Name | Type | Description | Notes
### Authorization ### Authorization
No authorization required [BearerToken](../README.md#BearerToken)
### HTTP request headers ### HTTP request headers
@ -134,6 +144,11 @@ import kubernetes.client
from kubernetes.client.rest import ApiException from kubernetes.client.rest import ApiException
from pprint import pprint from pprint import pprint
# Configure API key authorization: BearerToken
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
# create an instance of the API class # create an instance of the API class
api_instance = kubernetes.client.ThirdPartyResourcesApi() api_instance = kubernetes.client.ThirdPartyResourcesApi()
namespace = 'namespace_example' # str | The Resource's namespace namespace = 'namespace_example' # str | The Resource's namespace
@ -164,7 +179,7 @@ Name | Type | Description | Notes
### Authorization ### Authorization
No authorization required [BearerToken](../README.md#BearerToken)
### HTTP request headers ### HTTP request headers
@ -188,6 +203,11 @@ import kubernetes.client
from kubernetes.client.rest import ApiException from kubernetes.client.rest import ApiException
from pprint import pprint from pprint import pprint
# Configure API key authorization: BearerToken
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
# create an instance of the API class # create an instance of the API class
api_instance = kubernetes.client.ThirdPartyResourcesApi() api_instance = kubernetes.client.ThirdPartyResourcesApi()
fqdn = 'fqdn_example' # str | The Third party Resource fqdn fqdn = 'fqdn_example' # str | The Third party Resource fqdn
@ -216,7 +236,7 @@ Name | Type | Description | Notes
### Authorization ### Authorization
No authorization required [BearerToken](../README.md#BearerToken)
### HTTP request headers ### HTTP request headers
@ -240,6 +260,11 @@ import kubernetes.client
from kubernetes.client.rest import ApiException from kubernetes.client.rest import ApiException
from pprint import pprint from pprint import pprint
# Configure API key authorization: BearerToken
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
# create an instance of the API class # create an instance of the API class
api_instance = kubernetes.client.ThirdPartyResourcesApi() api_instance = kubernetes.client.ThirdPartyResourcesApi()
namespace = 'namespace_example' # str | The Resource's namespace namespace = 'namespace_example' # str | The Resource's namespace
@ -270,7 +295,7 @@ Name | Type | Description | Notes
### Authorization ### Authorization
No authorization required [BearerToken](../README.md#BearerToken)
### HTTP request headers ### HTTP request headers

View File

@ -33326,7 +33326,6 @@
} }
} }
}, },
"description": "Returns a list of Resources",
"parameters": [ "parameters": [
{ {
"uniqueItems": true, "uniqueItems": true,
@ -33354,12 +33353,8 @@
"third_party_resources" "third_party_resources"
], ],
"summary": "Gets Resources", "summary": "Gets Resources",
"security": [ "operationId": "listThirdPartyResource",
{ "description": "Returns a list of Resources"
"Bearer": []
}
],
"operationId": "listThirdPartyResource"
} }
}, },
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": { "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": {
@ -33372,7 +33367,6 @@
} }
} }
}, },
"description": "Update the specified third party resource of the type specified",
"parameters": [ "parameters": [
{ {
"description": "The Resource's namespace", "description": "The Resource's namespace",
@ -33409,12 +33403,8 @@
"third_party_resources" "third_party_resources"
], ],
"summary": "Update a Resource", "summary": "Update a Resource",
"security": [ "operationId": "updateThirdPartyResource",
{ "description": "Update the specified third party resource of the type specified"
"Bearer": []
}
],
"operationId": "updateThirdPartyResource"
}, },
"delete": { "delete": {
"responses": { "responses": {
@ -33425,7 +33415,6 @@
} }
} }
}, },
"description": "Deletes the specified Resource in the specified namespace",
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
@ -33461,12 +33450,8 @@
"third_party_resources" "third_party_resources"
], ],
"summary": "Deletes a specific Resource", "summary": "Deletes a specific Resource",
"security": [ "operationId": "deleteThirdPartyResource",
{ "description": "Deletes the specified Resource in the specified namespace"
"Bearer": []
}
],
"operationId": "deleteThirdPartyResource"
}, },
"get": { "get": {
"responses": { "responses": {
@ -33477,7 +33462,6 @@
} }
} }
}, },
"description": "Returns a specific Resource in a namespace",
"parameters": [ "parameters": [
{ {
"description": "The Resource's namespace", "description": "The Resource's namespace",
@ -33512,12 +33496,8 @@
"third_party_resources" "third_party_resources"
], ],
"summary": "Gets a specific Resource", "summary": "Gets a specific Resource",
"security": [ "operationId": "getThirdPartyResource",
{ "description": "Returns a specific Resource in a namespace"
"Bearer": []
}
],
"operationId": "getThirdPartyResource"
} }
}, },
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": { "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": {
@ -33530,7 +33510,6 @@
} }
} }
}, },
"description": "Creates a third party resource of the type specified",
"parameters": [ "parameters": [
{ {
"description": "The Resource's namespace", "description": "The Resource's namespace",
@ -33567,12 +33546,8 @@
"third_party_resources" "third_party_resources"
], ],
"summary": "Create a Resource", "summary": "Create a Resource",
"security": [ "operationId": "createThirdPartyResource",
{ "description": "Creates a third party resource of the type specified"
"Bearer": []
}
],
"operationId": "createThirdPartyResource"
} }
} }
}, },