Class: TencentCloud::Tcb::V20180608::CloudBaseRunForGatewayConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CloudBaseRunForGatewayConf
- Defined in:
- lib/v20180608/models.rb
Overview
独立网关云托管服务配置信息
Instance Attribute Summary collapse
- #AccessType ⇒ Object
- #ConfigType ⇒ Object
- #EnvId ⇒ Object
- #GrayKey ⇒ Object
- #GrayType ⇒ Object
- #GrayValue ⇒ Object
- #IsDefault ⇒ Object
- #IsZero ⇒ Object
- #LbAddr ⇒ Object
- #ServerName ⇒ Object
- #URLs ⇒ Object
- #VersionName ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(iszero = nil, weight = nil, graykey = nil, grayvalue = nil, isdefault = nil, accesstype = nil, urls = nil, envid = nil, servername = nil, versionname = nil, graytype = nil, lbaddr = nil, configtype = nil) ⇒ CloudBaseRunForGatewayConf
constructor
A new instance of CloudBaseRunForGatewayConf.
Constructor Details
#initialize(iszero = nil, weight = nil, graykey = nil, grayvalue = nil, isdefault = nil, accesstype = nil, urls = nil, envid = nil, servername = nil, versionname = nil, graytype = nil, lbaddr = nil, configtype = nil) ⇒ CloudBaseRunForGatewayConf
Returns a new instance of CloudBaseRunForGatewayConf.
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 |
# File 'lib/v20180608/models.rb', line 604 def initialize(iszero=nil, weight=nil, graykey=nil, grayvalue=nil, isdefault=nil, accesstype=nil, urls=nil, envid=nil, servername=nil, versionname=nil, graytype=nil, lbaddr=nil, configtype=nil) @IsZero = iszero @Weight = weight @GrayKey = graykey @GrayValue = grayvalue @IsDefault = isdefault @AccessType = accesstype @URLs = urls @EnvId = envid @ServerName = servername @VersionName = versionname @GrayType = graytype @LbAddr = lbaddr @ConfigType = configtype end |
Instance Attribute Details
#AccessType ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def AccessType @AccessType end |
#ConfigType ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def ConfigType @ConfigType end |
#EnvId ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def EnvId @EnvId end |
#GrayKey ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def GrayKey @GrayKey end |
#GrayType ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def GrayType @GrayType end |
#GrayValue ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def GrayValue @GrayValue end |
#IsDefault ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def IsDefault @IsDefault end |
#IsZero ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def IsZero @IsZero end |
#LbAddr ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def LbAddr @LbAddr end |
#ServerName ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def ServerName @ServerName end |
#URLs ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def URLs @URLs end |
#VersionName ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def VersionName @VersionName end |
#Weight ⇒ Object
602 603 604 |
# File 'lib/v20180608/models.rb', line 602 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/v20180608/models.rb', line 620 def deserialize(params) @IsZero = params['IsZero'] @Weight = params['Weight'] @GrayKey = params['GrayKey'] @GrayValue = params['GrayValue'] @IsDefault = params['IsDefault'] @AccessType = params['AccessType'] @URLs = params['URLs'] @EnvId = params['EnvId'] @ServerName = params['ServerName'] @VersionName = params['VersionName'] @GrayType = params['GrayType'] @LbAddr = params['LbAddr'] @ConfigType = params['ConfigType'] end |