Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update generated client #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/V1Secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **dict(str, list[int])** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional]
**data** | **dict(str, str)** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional]
**string_data** | **dict(str, str)** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. | [optional]
**type** | **str** | Used to facilitate programmatic handling of secret data. | [optional]
Expand Down
6 changes: 3 additions & 3 deletions k8sclient/models/v1_secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, data=None, metadata=None, string_data=None, type=None):
and the value is json key in definition.
"""
self.swagger_types = {
'data': 'dict(str, list[int])',
'data': 'dict(str, str)',
'metadata': 'V1ObjectMeta',
'string_data': 'dict(str, str)',
'type': 'str'
Expand All @@ -68,7 +68,7 @@ def data(self):
Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

:return: The data of this V1Secret.
:rtype: dict(str, list[int])
:rtype: dict(str, str)
"""
return self._data

Expand All @@ -79,7 +79,7 @@ def data(self, data):
Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

:param data: The data of this V1Secret.
:type: dict(str, list[int])
:type: dict(str, str)
"""

self._data = data
Expand Down
7 changes: 2 additions & 5 deletions scripts/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -34956,11 +34956,8 @@
"description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4",
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "integer",
"format": "byte"
}
"type": "string",
"format": "byte"
}
},
"metadata": {
Expand Down