Class: TencentCloud::Icr::V20211014::ReqMetadata
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Icr::V20211014::ReqMetadata
- Defined in:
- lib/v20211014/models.rb
Overview
请求的Metadata
Instance Attribute Summary collapse
- #AppKey ⇒ Object
- #BusinessName ⇒ Object
- #ChannelID ⇒ Object
- #GUID ⇒ Object
- #LBS ⇒ Object
- #Vagrants ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelid = nil, businessname = nil, guid = nil, appkey = nil, lbs = nil, vagrants = nil) ⇒ ReqMetadata
constructor
A new instance of ReqMetadata.
Constructor Details
#initialize(channelid = nil, businessname = nil, guid = nil, appkey = nil, lbs = nil, vagrants = nil) ⇒ ReqMetadata
Returns a new instance of ReqMetadata.
356 357 358 359 360 361 362 363 |
# File 'lib/v20211014/models.rb', line 356 def initialize(channelid=nil, businessname=nil, guid=nil, appkey=nil, lbs=nil, vagrants=nil) @ChannelID = channelid @BusinessName = businessname @GUID = guid @AppKey = appkey @LBS = lbs @Vagrants = vagrants end |
Instance Attribute Details
#AppKey ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def AppKey @AppKey end |
#BusinessName ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def BusinessName @BusinessName end |
#ChannelID ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def ChannelID @ChannelID end |
#GUID ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def GUID @GUID end |
#LBS ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def LBS @LBS end |
#Vagrants ⇒ Object
354 355 356 |
# File 'lib/v20211014/models.rb', line 354 def Vagrants @Vagrants end |
Instance Method Details
#deserialize(params) ⇒ Object
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 |
# File 'lib/v20211014/models.rb', line 365 def deserialize(params) @ChannelID = params['ChannelID'] @BusinessName = params['BusinessName'] @GUID = params['GUID'] @AppKey = params['AppKey'] unless params['LBS'].nil? @LBS = ReqMetadataLBS.new @LBS.deserialize(params['LBS']) end unless params['Vagrants'].nil? @Vagrants = [] params['Vagrants'].each do |i| = ReqMetadataVagrant.new .deserialize(i) @Vagrants << end end end |