Class: TencentCloud::Cr::V20180321::UpdateBotTaskRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::UpdateBotTaskRequest
- Defined in:
- lib/v20180321/models.rb
Overview
UpdateBotTask请求参数结构体
Instance Attribute Summary collapse
- #BanCall ⇒ Object
- #BotId ⇒ Object
- #BotName ⇒ Object
- #CallCount ⇒ Object
- #CallInterval ⇒ Object
- #CallTimeCollection ⇒ Object
- #CodeCollection ⇒ Object
- #CodeType ⇒ Object
- #EndTimeBan ⇒ 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, botid = nil, calltimecollection = nil, bancall = nil, starttimeban = nil, endtimeban = nil, phonecollection = nil, codetype = nil, codecollection = nil, callcount = nil, callinterval = nil, smssignid = nil, smstemplateid = nil) ⇒ UpdateBotTaskRequest
constructor
A new instance of UpdateBotTaskRequest.
Constructor Details
#initialize(_module = nil, operation = nil, botname = nil, botid = nil, calltimecollection = nil, bancall = nil, starttimeban = nil, endtimeban = nil, phonecollection = nil, codetype = nil, codecollection = nil, callcount = nil, callinterval = nil, smssignid = nil, smstemplateid = nil) ⇒ UpdateBotTaskRequest
Returns a new instance of UpdateBotTaskRequest.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 |
# File 'lib/v20180321/models.rb', line 1880 def initialize(_module=nil, operation=nil, botname=nil, botid=nil, calltimecollection=nil, bancall=nil, starttimeban=nil, endtimeban=nil, phonecollection=nil, codetype=nil, codecollection=nil, callcount=nil, callinterval=nil, smssignid=nil, smstemplateid=nil) @Module = _module @Operation = operation @BotName = botname @BotId = botid @CallTimeCollection = calltimecollection @BanCall = bancall @StartTimeBan = starttimeban @EndTimeBan = endtimeban @PhoneCollection = phonecollection @CodeType = codetype @CodeCollection = codecollection @CallCount = callcount @CallInterval = callinterval @SmsSignId = smssignid @SmsTemplateId = smstemplateid end |
Instance Attribute Details
#BanCall ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def BanCall @BanCall end |
#BotId ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def BotId @BotId end |
#BotName ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def BotName @BotName end |
#CallCount ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def CallCount @CallCount end |
#CallInterval ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def CallInterval @CallInterval end |
#CallTimeCollection ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def CallTimeCollection @CallTimeCollection end |
#CodeCollection ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def CodeCollection @CodeCollection end |
#CodeType ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def CodeType @CodeType end |
#EndTimeBan ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def EndTimeBan @EndTimeBan end |
#Module ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def Module @Module end |
#Operation ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def Operation @Operation end |
#PhoneCollection ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def PhoneCollection @PhoneCollection end |
#SmsSignId ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def SmsSignId @SmsSignId end |
#SmsTemplateId ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def SmsTemplateId @SmsTemplateId end |
#StartTimeBan ⇒ Object
1878 1879 1880 |
# File 'lib/v20180321/models.rb', line 1878 def StartTimeBan @StartTimeBan end |
Instance Method Details
#deserialize(params) ⇒ Object
1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 |
# File 'lib/v20180321/models.rb', line 1898 def deserialize(params) @Module = params['Module'] @Operation = params['Operation'] @BotName = params['BotName'] @BotId = params['BotId'] unless params['CallTimeCollection'].nil? @CallTimeCollection = CallTimeDict.new @CallTimeCollection.deserialize(params['CallTimeCollection']) end @BanCall = params['BanCall'] @StartTimeBan = params['StartTimeBan'] @EndTimeBan = params['EndTimeBan'] @PhoneCollection = params['PhoneCollection'] @CodeType = params['CodeType'] @CodeCollection = params['CodeCollection'] @CallCount = params['CallCount'] @CallInterval = params['CallInterval'] @SmsSignId = params['SmsSignId'] @SmsTemplateId = params['SmsTemplateId'] end |