]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/rook/rook-client-python/rook_client/edgefs/s3x.py
2 This file is automatically generated.
7 from typing
import Any
, Optional
, Union
, List
11 from .._helper
import _omit
, CrdObject
, CrdObjectList
, CrdClass
13 class Spec(CrdObject
):
15 ('instances', 'instances', int, True, False)
19 instances
, # type: int
21 super(Spec
, self
).__init
__(
28 return self
._property
_impl
('instances')
31 def instances(self
, new_val
):
33 self
._instances
= new_val
38 ('apiVersion', 'apiVersion', str, True, False),
39 ('metadata', 'metadata', object, True, False),
40 ('status', 'status', object, False, False),
41 ('spec', 'spec', Spec
, True, False)
45 apiVersion
, # type: str
48 status
=_omit
, # type: Optional[Any]
50 super(S3X
, self
).__init
__(
51 apiVersion
=apiVersion
,
60 return self
._property
_impl
('apiVersion')
63 def apiVersion(self
, new_val
):
65 self
._apiVersion
= new_val
70 return self
._property
_impl
('metadata')
73 def metadata(self
, new_val
):
75 self
._metadata
= new_val
80 return self
._property
_impl
('status')
83 def status(self
, new_val
):
84 # type: (Optional[Any]) -> None
85 self
._status
= new_val
90 return self
._property
_impl
('spec')
93 def spec(self
, new_val
):
94 # type: (Spec) -> None