Class: TencentCloud::Tcb::V20180608::GatewayVersionItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::GatewayVersionItem
- Defined in:
- lib/v20180608/models.rb
Overview
网关版本详情
Instance Attribute Summary collapse
- #BuildId ⇒ Object
- #CreatedTime ⇒ Object
- #CustomConfig ⇒ Object
- #IsDefault ⇒ Object
- #Priority ⇒ Object
- #Remark ⇒ Object
- #Status ⇒ Object
- #UpdatedTime ⇒ Object
- #VersionName ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(versionname = nil, weight = nil, status = nil, createdtime = nil, updatedtime = nil, buildid = nil, remark = nil, priority = nil, isdefault = nil, customconfig = nil) ⇒ GatewayVersionItem
constructor
A new instance of GatewayVersionItem.
Constructor Details
#initialize(versionname = nil, weight = nil, status = nil, createdtime = nil, updatedtime = nil, buildid = nil, remark = nil, priority = nil, isdefault = nil, customconfig = nil) ⇒ GatewayVersionItem
Returns a new instance of GatewayVersionItem.
7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 |
# File 'lib/v20180608/models.rb', line 7224 def initialize(versionname=nil, weight=nil, status=nil, createdtime=nil, updatedtime=nil, buildid=nil, remark=nil, priority=nil, isdefault=nil, customconfig=nil) @VersionName = versionname @Weight = weight @Status = status @CreatedTime = createdtime @UpdatedTime = updatedtime @BuildId = buildid @Remark = remark @Priority = priority @IsDefault = isdefault @CustomConfig = customconfig end |
Instance Attribute Details
#BuildId ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def BuildId @BuildId end |
#CreatedTime ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def CreatedTime @CreatedTime end |
#CustomConfig ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def CustomConfig @CustomConfig end |
#IsDefault ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def IsDefault @IsDefault end |
#Priority ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def Priority @Priority end |
#Remark ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def Remark @Remark end |
#Status ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def Status @Status end |
#UpdatedTime ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def UpdatedTime @UpdatedTime end |
#VersionName ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def VersionName @VersionName end |
#Weight ⇒ Object
7222 7223 7224 |
# File 'lib/v20180608/models.rb', line 7222 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 |
# File 'lib/v20180608/models.rb', line 7237 def deserialize(params) @VersionName = params['VersionName'] @Weight = params['Weight'] @Status = params['Status'] @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] @BuildId = params['BuildId'] @Remark = params['Remark'] @Priority = params['Priority'] @IsDefault = params['IsDefault'] unless params['CustomConfig'].nil? @CustomConfig = WxGatewayCustomConfig.new @CustomConfig.deserialize(params['CustomConfig']) end end |