Skip to content

Commit f2669f9

Browse files
author
Travis CI
committed
Client Python update by Travis Build 4582
1 parent 5917ea9 commit f2669f9

File tree

10 files changed

+144
-6
lines changed

10 files changed

+144
-6
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: v0.7.0-230-g0e174460
7+
- Package version: v0.7.0-244-gae563651
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

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 v0.7.0-230-g0e174460"
21+
release_note="Auto-generated client v0.7.0-244-gae563651"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

kubevirt/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,5 @@
115115
from .configuration import Configuration
116116

117117
configuration = Configuration()
118+
from .models.v1_interface_bridge import V1InterfaceBridge
119+
from .models.v1_interface_slirp import V1InterfaceSlirp

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/v0.7.0-230-g0e174460/python'
76+
self.user_agent = 'Swagger-Codegen/v0.7.0-244-gae563651/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: v0.7.0-230-g0e174460".\
230+
"SDK Package Version: v0.7.0-244-gae563651".\
231231
format(env=sys.platform, pyversion=sys.version)

kubevirt/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,5 @@
105105
from .v1_watch_event import V1WatchEvent
106106
from .v1_watchdog import V1Watchdog
107107
from .v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm
108+
from .v1_interface_bridge import V1InterfaceBridge
109+
from .v1_interface_slirp import V1InterfaceSlirp
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# coding: utf-8
2+
3+
"""
4+
KubeVirt API
5+
6+
This is KubeVirt API an add-on for Kubernetes.
7+
8+
OpenAPI spec version: 1.0.0
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
from pprint import pformat
15+
from six import iteritems
16+
import re
17+
18+
19+
class V1InterfaceBridge(object):
20+
"""
21+
NOTE: This class is hard coded until swagger-codegen fix the empty struct problem
22+
"""
23+
24+
swagger_types = {}
25+
26+
attribute_map = {}
27+
28+
def __init__(self, ports=None):
29+
"""
30+
V1InterfaceBridge - a model defined in Swagger
31+
"""
32+
pass
33+
34+
def to_dict(self):
35+
"""
36+
Returns the model properties as a dict
37+
"""
38+
result = {}
39+
40+
return result
41+
42+
def to_str(self):
43+
"""
44+
Returns the string representation of the model
45+
"""
46+
return pformat(self.to_dict())
47+
48+
def __repr__(self):
49+
"""
50+
For `print` and `pprint`
51+
"""
52+
return self.to_str()
53+
54+
def __eq__(self, other):
55+
"""
56+
Returns true if both objects are equal
57+
"""
58+
if not isinstance(other, V1InterfaceBridge):
59+
return False
60+
61+
return self.__dict__ == other.__dict__
62+
63+
def __ne__(self, other):
64+
"""
65+
Returns true if both objects are not equal
66+
"""
67+
return not self == other
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# coding: utf-8
2+
3+
"""
4+
KubeVirt API
5+
6+
This is KubeVirt API an add-on for Kubernetes.
7+
8+
OpenAPI spec version: 1.0.0
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
from pprint import pformat
15+
from six import iteritems
16+
import re
17+
18+
19+
class V1InterfaceSlirp(object):
20+
"""
21+
NOTE: This class is hard coded until swagger-codegen fix the empty struct problem
22+
"""
23+
24+
swagger_types = {}
25+
26+
attribute_map = {}
27+
28+
def __init__(self, ports=None):
29+
"""
30+
V1InterfaceSlirp - a model defined in Swagger
31+
"""
32+
pass
33+
34+
def to_dict(self):
35+
"""
36+
Returns the model properties as a dict
37+
"""
38+
result = {}
39+
40+
return result
41+
42+
def to_str(self):
43+
"""
44+
Returns the string representation of the model
45+
"""
46+
return pformat(self.to_dict())
47+
48+
def __repr__(self):
49+
"""
50+
For `print` and `pprint`
51+
"""
52+
return self.to_str()
53+
54+
def __eq__(self, other):
55+
"""
56+
Returns true if both objects are equal
57+
"""
58+
if not isinstance(other, V1InterfaceSlirp):
59+
return False
60+
61+
return self.__dict__ == other.__dict__
62+
63+
def __ne__(self, other):
64+
"""
65+
Returns true if both objects are not equal
66+
"""
67+
return not self == other

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 = "v0.7.0-230-g0e174460"
18+
VERSION = "v0.7.0-244-gae563651"
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": "v0.7.0-230-g0e174460"
5+
"packageVersion": "v0.7.0-244-gae563651"
66
}

0 commit comments

Comments
 (0)