Class: TencentCloud::Tcb::V20180608::ModifyCloudBaseRunServerFlowConfRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::ModifyCloudBaseRunServerFlowConfRequest
- Defined in:
- lib/v20180608/models.rb
Overview
ModifyCloudBaseRunServerFlowConf请求参数结构体
Instance Attribute Summary collapse
- #EnvId ⇒ Object
- #OperatorRemark ⇒ Object
- #ServerName ⇒ Object
- #TrafficType ⇒ Object
- #VersionFlowItems ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(envid = nil, servername = nil, versionflowitems = nil, traffictype = nil, operatorremark = nil) ⇒ ModifyCloudBaseRunServerFlowConfRequest
constructor
A new instance of ModifyCloudBaseRunServerFlowConfRequest.
Constructor Details
#initialize(envid = nil, servername = nil, versionflowitems = nil, traffictype = nil, operatorremark = nil) ⇒ ModifyCloudBaseRunServerFlowConfRequest
Returns a new instance of ModifyCloudBaseRunServerFlowConfRequest.
7185 7186 7187 7188 7189 7190 7191 |
# File 'lib/v20180608/models.rb', line 7185 def initialize(envid=nil, servername=nil, versionflowitems=nil, traffictype=nil, operatorremark=nil) @EnvId = envid @ServerName = servername @VersionFlowItems = versionflowitems @TrafficType = traffictype @OperatorRemark = operatorremark end |
Instance Attribute Details
#EnvId ⇒ Object
7183 7184 7185 |
# File 'lib/v20180608/models.rb', line 7183 def EnvId @EnvId end |
#OperatorRemark ⇒ Object
7183 7184 7185 |
# File 'lib/v20180608/models.rb', line 7183 def OperatorRemark @OperatorRemark end |
#ServerName ⇒ Object
7183 7184 7185 |
# File 'lib/v20180608/models.rb', line 7183 def ServerName @ServerName end |
#TrafficType ⇒ Object
7183 7184 7185 |
# File 'lib/v20180608/models.rb', line 7183 def TrafficType @TrafficType end |
#VersionFlowItems ⇒ Object
7183 7184 7185 |
# File 'lib/v20180608/models.rb', line 7183 def VersionFlowItems @VersionFlowItems end |
Instance Method Details
#deserialize(params) ⇒ Object
7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 |
# File 'lib/v20180608/models.rb', line 7193 def deserialize(params) @EnvId = params['EnvId'] @ServerName = params['ServerName'] unless params['VersionFlowItems'].nil? @VersionFlowItems = [] params['VersionFlowItems'].each do |i| cloudbaserunversionflowitem_tmp = CloudBaseRunVersionFlowItem.new cloudbaserunversionflowitem_tmp.deserialize(i) @VersionFlowItems << cloudbaserunversionflowitem_tmp end end @TrafficType = params['TrafficType'] @OperatorRemark = params['OperatorRemark'] end |