Skip to content

Commit c64dd3d

Browse files
committed
Client Python update by KubeVirt Prow build 1940816880373600256
1 parent e9589e3 commit c64dd3d

File tree

8 files changed

+36
-9
lines changed

8 files changed

+36
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is KubeVirt API an add-on for Kubernetes.
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 1.0.0
7-
- Package version: v1.6.0-beta.0-431-gca9dca1631
7+
- Package version: v1.6.0-beta.0-441-g793e3c42e3
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://github.com/kubevirt/kubevirt](https://github.com/kubevirt/kubevirt)
1010

docs/V1ArchConfiguration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**arm64** | [**V1ArchSpecificConfiguration**](V1ArchSpecificConfiguration.md) | | [optional]
88
**default_architecture** | **str** | | [optional]
99
**ppc64le** | [**V1ArchSpecificConfiguration**](V1ArchSpecificConfiguration.md) | | [optional]
10+
**s390x** | [**V1ArchSpecificConfiguration**](V1ArchSpecificConfiguration.md) | | [optional]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1213

git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$git_repo_id" = "" ]; then
1818
fi
1919

2020
if [ "$release_note" = "" ]; then
21-
release_note="Auto-generated client v1.6.0-beta.0-431-gca9dca1631"
21+
release_note="Auto-generated client v1.6.0-beta.0-441-g793e3c42e3"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

kubevirt/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
7373
self.host = host
7474
self.cookie = cookie
7575
# Set default User-Agent.
76-
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-431-gca9dca1631/python'
76+
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-441-g793e3c42e3/python'
7777

7878
@property
7979
def user_agent(self):

kubevirt/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,5 @@ def to_debug_report(self):
227227
"OS: {env}\n"\
228228
"Python Version: {pyversion}\n"\
229229
"Version of the API: 1.0.0\n"\
230-
"SDK Package Version: v1.6.0-beta.0-431-gca9dca1631".\
230+
"SDK Package Version: v1.6.0-beta.0-441-g793e3c42e3".\
231231
format(env=sys.platform, pyversion=sys.version)

kubevirt/models/v1_arch_configuration.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ class V1ArchConfiguration(object):
3434
'amd64': 'V1ArchSpecificConfiguration',
3535
'arm64': 'V1ArchSpecificConfiguration',
3636
'default_architecture': 'str',
37-
'ppc64le': 'V1ArchSpecificConfiguration'
37+
'ppc64le': 'V1ArchSpecificConfiguration',
38+
's390x': 'V1ArchSpecificConfiguration'
3839
}
3940

4041
attribute_map = {
4142
'amd64': 'amd64',
4243
'arm64': 'arm64',
4344
'default_architecture': 'defaultArchitecture',
44-
'ppc64le': 'ppc64le'
45+
'ppc64le': 'ppc64le',
46+
's390x': 's390x'
4547
}
4648

47-
def __init__(self, amd64=None, arm64=None, default_architecture=None, ppc64le=None):
49+
def __init__(self, amd64=None, arm64=None, default_architecture=None, ppc64le=None, s390x=None):
4850
"""
4951
V1ArchConfiguration - a model defined in Swagger
5052
"""
@@ -53,6 +55,7 @@ def __init__(self, amd64=None, arm64=None, default_architecture=None, ppc64le=No
5355
self._arm64 = None
5456
self._default_architecture = None
5557
self._ppc64le = None
58+
self._s390x = None
5659

5760
if amd64 is not None:
5861
self.amd64 = amd64
@@ -62,6 +65,8 @@ def __init__(self, amd64=None, arm64=None, default_architecture=None, ppc64le=No
6265
self.default_architecture = default_architecture
6366
if ppc64le is not None:
6467
self.ppc64le = ppc64le
68+
if s390x is not None:
69+
self.s390x = s390x
6570

6671
@property
6772
def amd64(self):
@@ -147,6 +152,27 @@ def ppc64le(self, ppc64le):
147152

148153
self._ppc64le = ppc64le
149154

155+
@property
156+
def s390x(self):
157+
"""
158+
Gets the s390x of this V1ArchConfiguration.
159+
160+
:return: The s390x of this V1ArchConfiguration.
161+
:rtype: V1ArchSpecificConfiguration
162+
"""
163+
return self._s390x
164+
165+
@s390x.setter
166+
def s390x(self, s390x):
167+
"""
168+
Sets the s390x of this V1ArchConfiguration.
169+
170+
:param s390x: The s390x of this V1ArchConfiguration.
171+
:type: V1ArchSpecificConfiguration
172+
"""
173+
174+
self._s390x = s390x
175+
150176
def to_dict(self):
151177
"""
152178
Returns the model properties as a dict

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from setuptools import setup, find_packages
1616

1717
NAME = "kubevirt-py"
18-
VERSION = "v1.6.0-beta.0-431-gca9dca1631"
18+
VERSION = "v1.6.0-beta.0-441-g793e3c42e3"
1919
# To install the library, run the following
2020
#
2121
# python setup.py install

swagger-codegen-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packageName": "kubevirt",
33
"projectName": "kubevirt-py",
44
"packageUrl": "https://github.com/kubevirt/client-python",
5-
"packageVersion": "v1.6.0-beta.0-431-gca9dca1631"
5+
"packageVersion": "v1.6.0-beta.0-441-g793e3c42e3"
66
}

0 commit comments

Comments
 (0)