Class: TencentCloud::Cr::V20180321::CreateBotTaskRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::CreateBotTaskRequest
- Defined in:
- lib/v20180321/models.rb
Overview
CreateBotTask请求参数结构体
Instance Attribute Summary collapse
- #BanCall ⇒ Object
- #BotName ⇒ Object
- #CallCount ⇒ Object
- #CallEndDate ⇒ Object
- #CallInterval ⇒ Object
- #CallStartDate ⇒ Object
- #CallTimeCollection ⇒ Object
- #CallType ⇒ Object
- #CodeCollection ⇒ Object
- #CodeType ⇒ Object
- #EndTimeBan ⇒ Object
- #FlowId ⇒ Object
- #Module ⇒ Object
- #Operation ⇒ Object
- #PhoneCollection ⇒ Object
- #SmsSignId ⇒ Object
- #SmsTemplateId ⇒ Object
- #StartTimeBan ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, operation = nil, botname = nil, flowid = nil, bancall = nil, phonecollection = nil, calltimecollection = nil, starttimeban = nil, endtimeban = nil, codetype = nil, codecollection = nil, callcount = nil, callinterval = nil, smssignid = nil, smstemplateid = nil, calltype = nil, callstartdate = nil, callenddate = nil) ⇒ CreateBotTaskRequest
constructor
A new instance of CreateBotTaskRequest.
Constructor Details
#initialize(_module = nil, operation = nil, botname = nil, flowid = nil, bancall = nil, phonecollection = nil, calltimecollection = nil, starttimeban = nil, endtimeban = nil, codetype = nil, codecollection = nil, callcount = nil, callinterval = nil, smssignid = nil, smstemplateid = nil, calltype = nil, callstartdate = nil, callenddate = nil) ⇒ CreateBotTaskRequest
Returns a new instance of CreateBotTaskRequest.
562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'lib/v20180321/models.rb', line 562 def initialize(_module=nil, operation=nil, botname=nil, flowid=nil, bancall=nil, phonecollection=nil, calltimecollection=nil, starttimeban=nil, endtimeban=nil, codetype=nil, codecollection=nil, callcount=nil, callinterval=nil, smssignid=nil, smstemplateid=nil, calltype=nil, callstartdate=nil, callenddate=nil) @Module = _module @Operation = operation @BotName = botname @FlowId = flowid @BanCall = bancall @PhoneCollection = phonecollection @CallTimeCollection = calltimecollection @StartTimeBan = starttimeban @EndTimeBan = endtimeban @CodeType = codetype @CodeCollection = codecollection @CallCount = callcount @CallInterval = callinterval @SmsSignId = smssignid @SmsTemplateId = smstemplateid @CallType = calltype @CallStartDate = callstartdate @CallEndDate = callenddate end |
Instance Attribute Details
#BanCall ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def BanCall @BanCall end |
#BotName ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def BotName @BotName end |
#CallCount ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallCount @CallCount end |
#CallEndDate ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallEndDate @CallEndDate end |
#CallInterval ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallInterval @CallInterval end |
#CallStartDate ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallStartDate @CallStartDate end |
#CallTimeCollection ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallTimeCollection @CallTimeCollection end |
#CallType ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CallType @CallType end |
#CodeCollection ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CodeCollection @CodeCollection end |
#CodeType ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def CodeType @CodeType end |
#EndTimeBan ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def EndTimeBan @EndTimeBan end |
#FlowId ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def FlowId @FlowId end |
#Module ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def Module @Module end |
#Operation ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def Operation @Operation end |
#PhoneCollection ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def PhoneCollection @PhoneCollection end |
#SmsSignId ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def SmsSignId @SmsSignId end |
#SmsTemplateId ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def SmsTemplateId @SmsTemplateId end |
#StartTimeBan ⇒ Object
560 561 562 |
# File 'lib/v20180321/models.rb', line 560 def StartTimeBan @StartTimeBan end |
Instance Method Details
#deserialize(params) ⇒ Object
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 |
# File 'lib/v20180321/models.rb', line 583 def deserialize(params) @Module = params['Module'] @Operation = params['Operation'] @BotName = params['BotName'] @FlowId = params['FlowId'] @BanCall = params['BanCall'] @PhoneCollection = params['PhoneCollection'] unless params['CallTimeCollection'].nil? @CallTimeCollection = CallTimeDict.new @CallTimeCollection.deserialize(params['CallTimeCollection']) end @StartTimeBan = params['StartTimeBan'] @EndTimeBan = params['EndTimeBan'] @CodeType = params['CodeType'] @CodeCollection = params['CodeCollection'] @CallCount = params['CallCount'] @CallInterval = params['CallInterval'] @SmsSignId = params['SmsSignId'] @SmsTemplateId = params['SmsTemplateId'] @CallType = params['CallType'] @CallStartDate = params['CallStartDate'] @CallEndDate = params['CallEndDate'] end |