tencentcloud-sdk-ic 3.0.380 → 3.0.381

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d119dc1c878801a7ef32a7667244d849104cb8d5
4
- data.tar.gz: 69294081987b344200bcc1de446a0c7b2685ed00
3
+ metadata.gz: a4fd8f13304c2d2dc785f77aa9a13a03ad58252c
4
+ data.tar.gz: f2a4ad63434c6e036edab8ddabe82727018d8764
5
5
  SHA512:
6
- metadata.gz: 957ac1f04278381019075477521efef615cbd384d364bf376d12c137dbd6e1d72ff98a80b14c894205e5d06aa2f30d986a1b60809f53827de6322ccf08530fd9
7
- data.tar.gz: 4211bd714332b9d441b21116360095990036bfb7f8a634a9dbc3ea293a06d3056ad0b4e211c6d95b3e1110d1c327d77903b6ea77e58d17167b39518dd83207e0
6
+ metadata.gz: 508dd29ff91577a87cf6511e06fe65b041ab637d07d558c504f0a86b7854d2bb587e743e15d1c164d0c2dcfa21cc89023a86070fcaa80c3f3ffcdba324a7bd75
7
+ data.tar.gz: c8699a2fb50c39c838723f622d83aa4bcbd1540c0695046a9a4fc1b710d09bd5d4c0e2a20ff1b873019501d82fbbf0c525c575604b0a384f25bfa4757f07019a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.380
1
+ 3.0.381
@@ -101,6 +101,30 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 查询短信列表
105
+
106
+ # @param request: Request instance for DescribeSms.
107
+ # @type request: :class:`Tencentcloud::ic::V20190307::DescribeSmsRequest`
108
+ # @rtype: :class:`Tencentcloud::ic::V20190307::DescribeSmsResponse`
109
+ def DescribeSms(request)
110
+ body = send_request('DescribeSms', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeSmsResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
104
128
  # 编辑卡片备注
105
129
 
106
130
  # @param request: Request instance for ModifyUserCardRemark.
@@ -364,6 +364,83 @@ module TencentCloud
364
364
  end
365
365
  end
366
366
 
367
+ # DescribeSms请求参数结构体
368
+ class DescribeSmsRequest < TencentCloud::Common::AbstractModel
369
+ # @param Sdkappid: 应用ID
370
+ # @type Sdkappid: Integer
371
+ # @param Iccid: 卡片ID
372
+ # @type Iccid: String
373
+ # @param Msisdn: 卡片号码
374
+ # @type Msisdn: String
375
+ # @param SmsType: 短信类型
376
+ # @type SmsType: Integer
377
+ # @param BeginTime: 开始时间 YYYY-MM-DD HH:mm:ss
378
+ # @type BeginTime: String
379
+ # @param EndTime: 结束时间 YYYY-MM-DD HH:mm:ss
380
+ # @type EndTime: String
381
+ # @param Offset: 偏移量
382
+ # @type Offset: Integer
383
+ # @param Limit: 小于200
384
+ # @type Limit: Integer
385
+
386
+ attr_accessor :Sdkappid, :Iccid, :Msisdn, :SmsType, :BeginTime, :EndTime, :Offset, :Limit
387
+
388
+ def initialize(sdkappid=nil, iccid=nil, msisdn=nil, smstype=nil, begintime=nil, endtime=nil, offset=nil, limit=nil)
389
+ @Sdkappid = sdkappid
390
+ @Iccid = iccid
391
+ @Msisdn = msisdn
392
+ @SmsType = smstype
393
+ @BeginTime = begintime
394
+ @EndTime = endtime
395
+ @Offset = offset
396
+ @Limit = limit
397
+ end
398
+
399
+ def deserialize(params)
400
+ @Sdkappid = params['Sdkappid']
401
+ @Iccid = params['Iccid']
402
+ @Msisdn = params['Msisdn']
403
+ @SmsType = params['SmsType']
404
+ @BeginTime = params['BeginTime']
405
+ @EndTime = params['EndTime']
406
+ @Offset = params['Offset']
407
+ @Limit = params['Limit']
408
+ end
409
+ end
410
+
411
+ # DescribeSms返回参数结构体
412
+ class DescribeSmsResponse < TencentCloud::Common::AbstractModel
413
+ # @param Total: 总数
414
+ # 注意:此字段可能返回 null,表示取不到有效值。
415
+ # @type Total: Integer
416
+ # @param List: 短信列表
417
+ # 注意:此字段可能返回 null,表示取不到有效值。
418
+ # @type List: Array
419
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
420
+ # @type RequestId: String
421
+
422
+ attr_accessor :Total, :List, :RequestId
423
+
424
+ def initialize(total=nil, list=nil, requestid=nil)
425
+ @Total = total
426
+ @List = list
427
+ @RequestId = requestid
428
+ end
429
+
430
+ def deserialize(params)
431
+ @Total = params['Total']
432
+ unless params['List'].nil?
433
+ @List = []
434
+ params['List'].each do |i|
435
+ ressms_tmp = ResSms.new
436
+ ressms_tmp.deserialize(i)
437
+ @List << ressms_tmp
438
+ end
439
+ end
440
+ @RequestId = params['RequestId']
441
+ end
442
+ end
443
+
367
444
  # ModifyUserCardRemark请求参数结构体
368
445
  class ModifyUserCardRemarkRequest < TencentCloud::Common::AbstractModel
369
446
  # @param Sdkappid: 应用ID
@@ -469,6 +546,63 @@ module TencentCloud
469
546
  end
470
547
  end
471
548
 
549
+ # 查询短信列表
550
+ class ResSms < TencentCloud::Common::AbstractModel
551
+ # @param Iccid: 卡片ID
552
+ # 注意:此字段可能返回 null,表示取不到有效值。
553
+ # @type Iccid: String
554
+ # @param Msisdn: 卡片号码
555
+ # 注意:此字段可能返回 null,表示取不到有效值。
556
+ # @type Msisdn: String
557
+ # @param SdkAppid: 应用ID
558
+ # 注意:此字段可能返回 null,表示取不到有效值。
559
+ # @type SdkAppid: Integer
560
+ # @param Content: 短信内容
561
+ # 注意:此字段可能返回 null,表示取不到有效值。
562
+ # @type Content: String
563
+ # @param SmsType: 短信类型
564
+ # 注意:此字段可能返回 null,表示取不到有效值。
565
+ # @type SmsType: Integer
566
+ # @param SendTime: 发送时间
567
+ # 注意:此字段可能返回 null,表示取不到有效值。
568
+ # @type SendTime: String
569
+ # @param ReportTime: 推送时间
570
+ # 注意:此字段可能返回 null,表示取不到有效值。
571
+ # @type ReportTime: String
572
+ # @param Remark: SUCC:成功 FAIL 失败
573
+ # 注意:此字段可能返回 null,表示取不到有效值。
574
+ # @type Remark: String
575
+ # @param Status: 回执状态
576
+ # 注意:此字段可能返回 null,表示取不到有效值。
577
+ # @type Status: Integer
578
+
579
+ attr_accessor :Iccid, :Msisdn, :SdkAppid, :Content, :SmsType, :SendTime, :ReportTime, :Remark, :Status
580
+
581
+ def initialize(iccid=nil, msisdn=nil, sdkappid=nil, content=nil, smstype=nil, sendtime=nil, reporttime=nil, remark=nil, status=nil)
582
+ @Iccid = iccid
583
+ @Msisdn = msisdn
584
+ @SdkAppid = sdkappid
585
+ @Content = content
586
+ @SmsType = smstype
587
+ @SendTime = sendtime
588
+ @ReportTime = reporttime
589
+ @Remark = remark
590
+ @Status = status
591
+ end
592
+
593
+ def deserialize(params)
594
+ @Iccid = params['Iccid']
595
+ @Msisdn = params['Msisdn']
596
+ @SdkAppid = params['SdkAppid']
597
+ @Content = params['Content']
598
+ @SmsType = params['SmsType']
599
+ @SendTime = params['SendTime']
600
+ @ReportTime = params['ReportTime']
601
+ @Remark = params['Remark']
602
+ @Status = params['Status']
603
+ end
604
+ end
605
+
472
606
  # SendMultiSms请求参数结构体
473
607
  class SendMultiSmsRequest < TencentCloud::Common::AbstractModel
474
608
  # @param Sdkappid: 应用ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.380
4
+ version: 3.0.381
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common