Class: TencentCloud::Zj::V20190121::GetSmsCampaignStatusResponse

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

Overview

GetSmsCampaignStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GetSmsCampaignStatusResponse.



1141
1142
1143
1144
# File 'lib/v20190121/models.rb', line 1141

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    活动状态

  • RequestId:

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



1139
1140
1141
# File 'lib/v20190121/models.rb', line 1139

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    活动状态

  • RequestId:

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



1139
1140
1141
# File 'lib/v20190121/models.rb', line 1139

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1146
1147
1148
1149
1150
1151
1152
# File 'lib/v20190121/models.rb', line 1146

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