Class: TencentCloud::Icr::V20211014::ReqMetadata

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20211014/models.rb

Overview

请求的Metadata

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AppKeyObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



354
355
356
# File 'lib/v20211014/models.rb', line 354

def AppKey
  @AppKey
end

#BusinessNameObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



354
355
356
# File 'lib/v20211014/models.rb', line 354

def BusinessName
  @BusinessName
end

#ChannelIDObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



354
355
356
# File 'lib/v20211014/models.rb', line 354

def ChannelID
  @ChannelID
end

#GUIDObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



354
355
356
# File 'lib/v20211014/models.rb', line 354

def GUID
  @GUID
end

#LBSObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



354
355
356
# File 'lib/v20211014/models.rb', line 354

def LBS
  @LBS
end

#VagrantsObject

Parameters:

  • ChannelID:

    渠道

  • BusinessName:

  • GUID:

  • AppKey:

  • LBS:

    位置定位服务

  • Vagrants:

    透传字段



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_tmp = ReqMetadataVagrant.new
      reqmetadatavagrant_tmp.deserialize(i)
      @Vagrants << reqmetadatavagrant_tmp
    end
  end
end