Class: TencentCloud::Zj::V20190121::GetSmsAmountInfoResponse

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

Overview

GetSmsAmountInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GetSmsAmountInfoResponse.



1098
1099
1100
1101
# File 'lib/v20190121/models.rb', line 1098

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    短信账号额度接口

  • RequestId:

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



1096
1097
1098
# File 'lib/v20190121/models.rb', line 1096

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    短信账号额度接口

  • RequestId:

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



1096
1097
1098
# File 'lib/v20190121/models.rb', line 1096

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1103
1104
1105
1106
1107
1108
1109
# File 'lib/v20190121/models.rb', line 1103

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