]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/rook/rook-client-python/rook_client/edgefs/s3x.py
buildsys: switch source download to quincy
[ceph.git] / ceph / src / pybind / mgr / rook / rook-client-python / rook_client / edgefs / s3x.py
1 """
2 This file is automatically generated.
3 Do not modify.
4 """
5
6 try:
7 from typing import Any, Optional, Union, List
8 except ImportError:
9 pass
10
11 from .._helper import _omit, CrdObject, CrdObjectList, CrdClass
12
13 class Spec(CrdObject):
14 _properties = [
15 ('instances', 'instances', int, True, False)
16 ]
17
18 def __init__(self,
19 instances, # type: int
20 ):
21 super(Spec, self).__init__(
22 instances=instances,
23 )
24
25 @property
26 def instances(self):
27 # type: () -> int
28 return self._property_impl('instances')
29
30 @instances.setter
31 def instances(self, new_val):
32 # type: (int) -> None
33 self._instances = new_val
34
35
36 class S3X(CrdClass):
37 _properties = [
38 ('apiVersion', 'apiVersion', str, True, False),
39 ('metadata', 'metadata', object, True, False),
40 ('status', 'status', object, False, False),
41 ('spec', 'spec', Spec, True, False)
42 ]
43
44 def __init__(self,
45 apiVersion, # type: str
46 metadata, # type: Any
47 spec, # type: Spec
48 status=_omit, # type: Optional[Any]
49 ):
50 super(S3X, self).__init__(
51 apiVersion=apiVersion,
52 metadata=metadata,
53 spec=spec,
54 status=status,
55 )
56
57 @property
58 def apiVersion(self):
59 # type: () -> str
60 return self._property_impl('apiVersion')
61
62 @apiVersion.setter
63 def apiVersion(self, new_val):
64 # type: (str) -> None
65 self._apiVersion = new_val
66
67 @property
68 def metadata(self):
69 # type: () -> Any
70 return self._property_impl('metadata')
71
72 @metadata.setter
73 def metadata(self, new_val):
74 # type: (Any) -> None
75 self._metadata = new_val
76
77 @property
78 def status(self):
79 # type: () -> Any
80 return self._property_impl('status')
81
82 @status.setter
83 def status(self, new_val):
84 # type: (Optional[Any]) -> None
85 self._status = new_val
86
87 @property
88 def spec(self):
89 # type: () -> Spec
90 return self._property_impl('spec')
91
92 @spec.setter
93 def spec(self, new_val):
94 # type: (Spec) -> None
95 self._spec = new_val