Class: TencentCloud::Tke::V20180525::DescribeResourceUsageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeResourceUsageResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeResourceUsage返回参数结构体
Instance Attribute Summary collapse
- #ConfigMapUsage ⇒ Object
- #CRDUsage ⇒ Object
- #OtherUsage ⇒ Object
- #PodUsage ⇒ Object
- #RequestId ⇒ Object
- #RSUsage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(crdusage = nil, podusage = nil, rsusage = nil, configmapusage = nil, otherusage = nil, requestid = nil) ⇒ DescribeResourceUsageResponse
constructor
A new instance of DescribeResourceUsageResponse.
Constructor Details
#initialize(crdusage = nil, podusage = nil, rsusage = nil, configmapusage = nil, otherusage = nil, requestid = nil) ⇒ DescribeResourceUsageResponse
Returns a new instance of DescribeResourceUsageResponse.
10014 10015 10016 10017 10018 10019 10020 10021 |
# File 'lib/v20180525/models.rb', line 10014 def initialize(crdusage=nil, podusage=nil, rsusage=nil, configmapusage=nil, otherusage=nil, requestid=nil) @CRDUsage = crdusage @PodUsage = podusage @RSUsage = rsusage @ConfigMapUsage = configmapusage @OtherUsage = otherusage @RequestId = requestid end |
Instance Attribute Details
#ConfigMapUsage ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def ConfigMapUsage @ConfigMapUsage end |
#CRDUsage ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def CRDUsage @CRDUsage end |
#OtherUsage ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def OtherUsage @OtherUsage end |
#PodUsage ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def PodUsage @PodUsage end |
#RequestId ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def RequestId @RequestId end |
#RSUsage ⇒ Object
10012 10013 10014 |
# File 'lib/v20180525/models.rb', line 10012 def RSUsage @RSUsage end |
Instance Method Details
#deserialize(params) ⇒ Object
10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 |
# File 'lib/v20180525/models.rb', line 10023 def deserialize(params) unless params['CRDUsage'].nil? @CRDUsage = ResourceUsage.new @CRDUsage.deserialize(params['CRDUsage']) end @PodUsage = params['PodUsage'] @RSUsage = params['RSUsage'] @ConfigMapUsage = params['ConfigMapUsage'] unless params['OtherUsage'].nil? @OtherUsage = ResourceUsage.new @OtherUsage.deserialize(params['OtherUsage']) end @RequestId = params['RequestId'] end |