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.
7686 7687 7688 7689 7690 7691 7692 |
# File 'lib/v20180608/models.rb', line 7686 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
7684 7685 7686 |
# File 'lib/v20180608/models.rb', line 7684 def EnvId @EnvId end |
#OperatorRemark ⇒ Object
7684 7685 7686 |
# File 'lib/v20180608/models.rb', line 7684 def OperatorRemark @OperatorRemark end |
#ServerName ⇒ Object
7684 7685 7686 |
# File 'lib/v20180608/models.rb', line 7684 def ServerName @ServerName end |
#TrafficType ⇒ Object
7684 7685 7686 |
# File 'lib/v20180608/models.rb', line 7684 def TrafficType @TrafficType end |
#VersionFlowItems ⇒ Object
7684 7685 7686 |
# File 'lib/v20180608/models.rb', line 7684 def VersionFlowItems @VersionFlowItems end |
Instance Method Details
#deserialize(params) ⇒ Object
7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 |
# File 'lib/v20180608/models.rb', line 7694 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 |