Class: TencentCloud::Chc::V20230418::Rack
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::Rack
- Defined in:
- lib/v20230418/models.rb
Overview
机架的信息
Instance Attribute Summary collapse
- #HostingType ⇒ Object
- #IdcId ⇒ Object
- #IdcName ⇒ Object
- #IdcUnitId ⇒ Object
- #IdcUnitName ⇒ Object
- #IsPowerOn ⇒ Object
- #RackId ⇒ Object
- #RackName ⇒ Object
- #RackOpenTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rackname = nil, idcunitid = nil, idcunitname = nil, idcname = nil, idcid = nil, rackid = nil, ispoweron = nil, rackopentime = nil, hostingtype = nil) ⇒ Rack
constructor
A new instance of Rack.
Constructor Details
#initialize(rackname = nil, idcunitid = nil, idcunitname = nil, idcname = nil, idcid = nil, rackid = nil, ispoweron = nil, rackopentime = nil, hostingtype = nil) ⇒ Rack
Returns a new instance of Rack.
3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 |
# File 'lib/v20230418/models.rb', line 3660 def initialize(rackname=nil, idcunitid=nil, idcunitname=nil, idcname=nil, idcid=nil, rackid=nil, ispoweron=nil, rackopentime=nil, hostingtype=nil) @RackName = rackname @IdcUnitId = idcunitid @IdcUnitName = idcunitname @IdcName = idcname @IdcId = idcid @RackId = rackid @IsPowerOn = ispoweron @RackOpenTime = rackopentime @HostingType = hostingtype end |
Instance Attribute Details
#HostingType ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def HostingType @HostingType end |
#IdcId ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def IdcId @IdcId end |
#IdcName ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def IdcName @IdcName end |
#IdcUnitId ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def IdcUnitId @IdcUnitId end |
#IdcUnitName ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def IdcUnitName @IdcUnitName end |
#IsPowerOn ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def IsPowerOn @IsPowerOn end |
#RackId ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def RackId @RackId end |
#RackName ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def RackName @RackName end |
#RackOpenTime ⇒ Object
3658 3659 3660 |
# File 'lib/v20230418/models.rb', line 3658 def RackOpenTime @RackOpenTime end |
Instance Method Details
#deserialize(params) ⇒ Object
3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 |
# File 'lib/v20230418/models.rb', line 3672 def deserialize(params) @RackName = params['RackName'] @IdcUnitId = params['IdcUnitId'] @IdcUnitName = params['IdcUnitName'] @IdcName = params['IdcName'] @IdcId = params['IdcId'] @RackId = params['RackId'] @IsPowerOn = params['IsPowerOn'] @RackOpenTime = params['RackOpenTime'] @HostingType = params['HostingType'] end |