Class: TencentCloud::Tat::V20201028::CreateInvokerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::CreateInvokerRequest
- Defined in:
- lib/v20201028/models.rb
Overview
CreateInvoker请求参数结构体
Instance Attribute Summary collapse
-
#CommandId ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#InstanceIds ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#Name ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#Parameters ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#ScheduleSettings ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#Tags ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#Type ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。. -
#Username ⇒ Object
当执行器类型为
SCHEDULE时,必须指定此参数。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, commandid = nil, instanceids = nil, username = nil, parameters = nil, schedulesettings = nil, tags = nil) ⇒ CreateInvokerRequest
constructor
A new instance of CreateInvokerRequest.
Constructor Details
#initialize(name = nil, type = nil, commandid = nil, instanceids = nil, username = nil, parameters = nil, schedulesettings = nil, tags = nil) ⇒ CreateInvokerRequest
Returns a new instance of CreateInvokerRequest.
391 392 393 394 395 396 397 398 399 400 |
# File 'lib/v20201028/models.rb', line 391 def initialize(name=nil, type=nil, commandid=nil, instanceids=nil, username=nil, parameters=nil, schedulesettings=nil, =nil) @Name = name @Type = type @CommandId = commandid @InstanceIds = instanceids @Username = username @Parameters = parameters @ScheduleSettings = schedulesettings @Tags = end |
Instance Attribute Details
#CommandId ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def CommandId @CommandId end |
#InstanceIds ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def InstanceIds @InstanceIds end |
#Name ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def Name @Name end |
#Parameters ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def Parameters @Parameters end |
#ScheduleSettings ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def ScheduleSettings @ScheduleSettings end |
#Tags ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def Tags @Tags end |
#Type ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def Type @Type end |
#Username ⇒ Object
当执行器类型为 SCHEDULE 时,必须指定此参数。
389 390 391 |
# File 'lib/v20201028/models.rb', line 389 def Username @Username end |
Instance Method Details
#deserialize(params) ⇒ Object
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/v20201028/models.rb', line 402 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @CommandId = params['CommandId'] @InstanceIds = params['InstanceIds'] @Username = params['Username'] @Parameters = params['Parameters'] unless params['ScheduleSettings'].nil? @ScheduleSettings = ScheduleSettings.new @ScheduleSettings.deserialize(params['ScheduleSettings']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |