Class: TencentCloud::Zj::V20190121::AddCrowdPackInfoResponse

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

Overview

AddCrowdPackInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ AddCrowdPackInfoResponse

Returns a new instance of AddCrowdPackInfoResponse.



65
66
67
68
# File 'lib/v20190121/models.rb', line 65

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    接口返回

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



63
64
65
# File 'lib/v20190121/models.rb', line 63

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    接口返回

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



63
64
65
# File 'lib/v20190121/models.rb', line 63

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



70
71
72
73
74
75
76
# File 'lib/v20190121/models.rb', line 70

def deserialize(params)
  unless params['Data'].nil?
    @Data = SmsAddCrowdPackInfoResponse.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end