Class: TencentCloud::Trocket::V20230308::ModifyInstanceEndpointRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::ModifyInstanceEndpointRequest
- Defined in:
- lib/v20230308/models.rb
Overview
ModifyInstanceEndpoint请求参数结构体
Instance Attribute Summary collapse
-
#Bandwidth ⇒ Object
PUBLIC 公网.
-
#BillingFlow ⇒ Object
PUBLIC 公网.
-
#InstanceId ⇒ Object
PUBLIC 公网.
-
#IpRules ⇒ Object
PUBLIC 公网.
-
#Type ⇒ Object
PUBLIC 公网.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, type = nil, bandwidth = nil, iprules = nil, billingflow = nil) ⇒ ModifyInstanceEndpointRequest
constructor
A new instance of ModifyInstanceEndpointRequest.
Constructor Details
#initialize(instanceid = nil, type = nil, bandwidth = nil, iprules = nil, billingflow = nil) ⇒ ModifyInstanceEndpointRequest
Returns a new instance of ModifyInstanceEndpointRequest.
4988 4989 4990 4991 4992 4993 4994 |
# File 'lib/v20230308/models.rb', line 4988 def initialize(instanceid=nil, type=nil, bandwidth=nil, iprules=nil, billingflow=nil) @InstanceId = instanceid @Type = type @Bandwidth = bandwidth @IpRules = iprules @BillingFlow = billingflow end |
Instance Attribute Details
#Bandwidth ⇒ Object
PUBLIC 公网
4986 4987 4988 |
# File 'lib/v20230308/models.rb', line 4986 def Bandwidth @Bandwidth end |
#BillingFlow ⇒ Object
PUBLIC 公网
4986 4987 4988 |
# File 'lib/v20230308/models.rb', line 4986 def BillingFlow @BillingFlow end |
#InstanceId ⇒ Object
PUBLIC 公网
4986 4987 4988 |
# File 'lib/v20230308/models.rb', line 4986 def InstanceId @InstanceId end |
#IpRules ⇒ Object
PUBLIC 公网
4986 4987 4988 |
# File 'lib/v20230308/models.rb', line 4986 def IpRules @IpRules end |
#Type ⇒ Object
PUBLIC 公网
4986 4987 4988 |
# File 'lib/v20230308/models.rb', line 4986 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 |
# File 'lib/v20230308/models.rb', line 4996 def deserialize(params) @InstanceId = params['InstanceId'] @Type = params['Type'] @Bandwidth = params['Bandwidth'] unless params['IpRules'].nil? @IpRules = [] params['IpRules'].each do |i| iprule_tmp = IpRule.new iprule_tmp.deserialize(i) @IpRules << iprule_tmp end end @BillingFlow = params['BillingFlow'] end |