Class: TencentCloud::Tat::V20201028::ModifyInvokerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::ModifyInvokerRequest
- Defined in:
- lib/v20201028/models.rb
Overview
ModifyInvoker请求参数结构体
Instance Attribute Summary collapse
-
#CommandId ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#InstanceIds ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#InvokerId ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#Name ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#Parameters ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#ScheduleSettings ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#Type ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。. -
#Username ⇒ Object
要将执行器类型修改为
SCHEDULE时,必须指定此参数。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invokerid = nil, name = nil, type = nil, commandid = nil, username = nil, parameters = nil, instanceids = nil, schedulesettings = nil) ⇒ ModifyInvokerRequest
constructor
A new instance of ModifyInvokerRequest.
Constructor Details
#initialize(invokerid = nil, name = nil, type = nil, commandid = nil, username = nil, parameters = nil, instanceids = nil, schedulesettings = nil) ⇒ ModifyInvokerRequest
Returns a new instance of ModifyInvokerRequest.
2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 |
# File 'lib/v20201028/models.rb', line 2213 def initialize(invokerid=nil, name=nil, type=nil, commandid=nil, username=nil, parameters=nil, instanceids=nil, schedulesettings=nil) @InvokerId = invokerid @Name = name @Type = type @CommandId = commandid @Username = username @Parameters = parameters @InstanceIds = instanceids @ScheduleSettings = schedulesettings end |
Instance Attribute Details
#CommandId ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def CommandId @CommandId end |
#InstanceIds ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def InstanceIds @InstanceIds end |
#InvokerId ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def InvokerId @InvokerId end |
#Name ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def Name @Name end |
#Parameters ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def Parameters @Parameters end |
#ScheduleSettings ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def ScheduleSettings @ScheduleSettings end |
#Type ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def Type @Type end |
#Username ⇒ Object
要将执行器类型修改为 SCHEDULE 时,必须指定此参数。
2211 2212 2213 |
# File 'lib/v20201028/models.rb', line 2211 def Username @Username end |
Instance Method Details
#deserialize(params) ⇒ Object
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 |
# File 'lib/v20201028/models.rb', line 2224 def deserialize(params) @InvokerId = params['InvokerId'] @Name = params['Name'] @Type = params['Type'] @CommandId = params['CommandId'] @Username = params['Username'] @Parameters = params['Parameters'] @InstanceIds = params['InstanceIds'] unless params['ScheduleSettings'].nil? @ScheduleSettings = ScheduleSettings.new @ScheduleSettings.deserialize(params['ScheduleSettings']) end end |