Class: TencentCloud::Tcb::V20180608::DescribeCloudBaseRunServerResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeCloudBaseRunServerResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeCloudBaseRunServer返回参数结构体
Instance Attribute Summary collapse
- #ImageRepo ⇒ Object
- #IsPublic ⇒ Object
- #RequestId ⇒ Object
- #ServerName ⇒ Object
- #SourceType ⇒ Object
- #Tag ⇒ Object
- #TotalCount ⇒ Object
- #TrafficType ⇒ Object
- #VersionItems ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, versionitems = nil, servername = nil, ispublic = nil, imagerepo = nil, traffictype = nil, sourcetype = nil, tag = nil, requestid = nil) ⇒ DescribeCloudBaseRunServerResponse
constructor
A new instance of DescribeCloudBaseRunServerResponse.
Constructor Details
#initialize(totalcount = nil, versionitems = nil, servername = nil, ispublic = nil, imagerepo = nil, traffictype = nil, sourcetype = nil, tag = nil, requestid = nil) ⇒ DescribeCloudBaseRunServerResponse
Returns a new instance of DescribeCloudBaseRunServerResponse.
4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 |
# File 'lib/v20180608/models.rb', line 4144 def initialize(totalcount=nil, versionitems=nil, servername=nil, ispublic=nil, imagerepo=nil, traffictype=nil, sourcetype=nil, tag=nil, requestid=nil) @TotalCount = totalcount @VersionItems = versionitems @ServerName = servername @IsPublic = ispublic @ImageRepo = imagerepo @TrafficType = traffictype @SourceType = sourcetype @Tag = tag @RequestId = requestid end |
Instance Attribute Details
#ImageRepo ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def ImageRepo @ImageRepo end |
#IsPublic ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def IsPublic @IsPublic end |
#RequestId ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def RequestId @RequestId end |
#ServerName ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def ServerName @ServerName end |
#SourceType ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def SourceType @SourceType end |
#Tag ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def Tag @Tag end |
#TotalCount ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def TotalCount @TotalCount end |
#TrafficType ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def TrafficType @TrafficType end |
#VersionItems ⇒ Object
4142 4143 4144 |
# File 'lib/v20180608/models.rb', line 4142 def VersionItems @VersionItems end |
Instance Method Details
#deserialize(params) ⇒ Object
4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 |
# File 'lib/v20180608/models.rb', line 4156 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VersionItems'].nil? @VersionItems = [] params['VersionItems'].each do |i| cloudbaserunserverversionitem_tmp = CloudBaseRunServerVersionItem.new cloudbaserunserverversionitem_tmp.deserialize(i) @VersionItems << cloudbaserunserverversionitem_tmp end end @ServerName = params['ServerName'] @IsPublic = params['IsPublic'] @ImageRepo = params['ImageRepo'] @TrafficType = params['TrafficType'] @SourceType = params['SourceType'] @Tag = params['Tag'] @RequestId = params['RequestId'] end |