Class: TencentCloud::Sms::V20190711::SendSmsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sms::V20190711::SendSmsRequest
- Defined in:
- lib/v20190711/models.rb
Overview
SendSms请求参数结构体
Instance Attribute Summary collapse
-
#ExtendCode ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#PhoneNumberSet ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#SenderId ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#SessionContext ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#Sign ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#SmsSdkAppid ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#TemplateID ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
-
#TemplateParamSet ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(phonenumberset = nil, templateid = nil, smssdkappid = nil, sign = nil, templateparamset = nil, extendcode = nil, sessioncontext = nil, senderid = nil) ⇒ SendSmsRequest
constructor
A new instance of SendSmsRequest.
Constructor Details
#initialize(phonenumberset = nil, templateid = nil, smssdkappid = nil, sign = nil, templateparamset = nil, extendcode = nil, sessioncontext = nil, senderid = nil) ⇒ SendSmsRequest
Returns a new instance of SendSmsRequest.
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/v20190711/models.rb', line 1145 def initialize(phonenumberset=nil, templateid=nil, smssdkappid=nil, sign=nil, templateparamset=nil, extendcode=nil, sessioncontext=nil, senderid=nil) @PhoneNumberSet = phonenumberset @TemplateID = templateid @SmsSdkAppid = smssdkappid @Sign = sign @TemplateParamSet = templateparamset @ExtendCode = extendcode @SessionContext = sessioncontext @SenderId = senderid end |
Instance Attribute Details
#ExtendCode ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def ExtendCode @ExtendCode end |
#PhoneNumberSet ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def PhoneNumberSet @PhoneNumberSet end |
#SenderId ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def SenderId @SenderId end |
#SessionContext ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def SessionContext @SessionContext end |
#Sign ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def Sign @Sign end |
#SmsSdkAppid ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def SmsSdkAppid @SmsSdkAppid end |
#TemplateID ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def TemplateID @TemplateID end |
#TemplateParamSet ⇒ Object
例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。 注:国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。
1143 1144 1145 |
# File 'lib/v20190711/models.rb', line 1143 def TemplateParamSet @TemplateParamSet end |
Instance Method Details
#deserialize(params) ⇒ Object
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/v20190711/models.rb', line 1156 def deserialize(params) @PhoneNumberSet = params['PhoneNumberSet'] @TemplateID = params['TemplateID'] @SmsSdkAppid = params['SmsSdkAppid'] @Sign = params['Sign'] @TemplateParamSet = params['TemplateParamSet'] @ExtendCode = params['ExtendCode'] @SessionContext = params['SessionContext'] @SenderId = params['SenderId'] end |