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.
3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 |
# File 'lib/v20180608/models.rb', line 3662 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
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def ImageRepo @ImageRepo end |
#IsPublic ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def IsPublic @IsPublic end |
#RequestId ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def RequestId @RequestId end |
#ServerName ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def ServerName @ServerName end |
#SourceType ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def SourceType @SourceType end |
#Tag ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def Tag @Tag end |
#TotalCount ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def TotalCount @TotalCount end |
#TrafficType ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def TrafficType @TrafficType end |
#VersionItems ⇒ Object
3660 3661 3662 |
# File 'lib/v20180608/models.rb', line 3660 def VersionItems @VersionItems end |
Instance Method Details
#deserialize(params) ⇒ Object
3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 |
# File 'lib/v20180608/models.rb', line 3674 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 |