Class: TencentCloud::Tat::V20201028::ModifyInvokerRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201028/models.rb

Overview

ModifyInvoker请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CommandIdObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def CommandId
  @CommandId
end

#InstanceIdsObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def InstanceIds
  @InstanceIds
end

#InvokerIdObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def InvokerId
  @InvokerId
end

#NameObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def Name
  @Name
end

#ParametersObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def Parameters
  @Parameters
end

#ScheduleSettingsObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def ScheduleSettings
  @ScheduleSettings
end

#TypeObject

要将执行器类型修改为 SCHEDULE 时,必须指定此参数。



2211
2212
2213
# File 'lib/v20201028/models.rb', line 2211

def Type
  @Type
end

#UsernameObject

要将执行器类型修改为 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