Class: TencentCloud::Tat::V20201028::Invoker
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::Invoker
- Defined in:
- lib/v20201028/models.rb
Overview
执行器信息。
Instance Attribute Summary collapse
- #CommandId ⇒ Object
- #CreatedTime ⇒ Object
- #Enable ⇒ Object
- #InstanceIds ⇒ Object
- #InvokerId ⇒ Object
- #Name ⇒ Object
- #Parameters ⇒ Object
- #ScheduleSettings ⇒ Object
- #Type ⇒ Object
- #UpdatedTime ⇒ Object
- #Username ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invokerid = nil, name = nil, type = nil, commandid = nil, username = nil, parameters = nil, instanceids = nil, enable = nil, schedulesettings = nil, createdtime = nil, updatedtime = nil) ⇒ Invoker
constructor
A new instance of Invoker.
Constructor Details
#initialize(invokerid = nil, name = nil, type = nil, commandid = nil, username = nil, parameters = nil, instanceids = nil, enable = nil, schedulesettings = nil, createdtime = nil, updatedtime = nil) ⇒ Invoker
Returns a new instance of Invoker.
2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 |
# File 'lib/v20201028/models.rb', line 2006 def initialize(invokerid=nil, name=nil, type=nil, commandid=nil, username=nil, parameters=nil, instanceids=nil, enable=nil, schedulesettings=nil, createdtime=nil, updatedtime=nil) @InvokerId = invokerid @Name = name @Type = type @CommandId = commandid @Username = username @Parameters = parameters @InstanceIds = instanceids @Enable = enable @ScheduleSettings = schedulesettings @CreatedTime = createdtime @UpdatedTime = updatedtime end |
Instance Attribute Details
#CommandId ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def CommandId @CommandId end |
#CreatedTime ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def CreatedTime @CreatedTime end |
#Enable ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def Enable @Enable end |
#InstanceIds ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def InstanceIds @InstanceIds end |
#InvokerId ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def InvokerId @InvokerId end |
#Name ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def Name @Name end |
#Parameters ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def Parameters @Parameters end |
#ScheduleSettings ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def ScheduleSettings @ScheduleSettings end |
#Type ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def Type @Type end |
#UpdatedTime ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def UpdatedTime @UpdatedTime end |
#Username ⇒ Object
2004 2005 2006 |
# File 'lib/v20201028/models.rb', line 2004 def Username @Username end |
Instance Method Details
#deserialize(params) ⇒ Object
2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'lib/v20201028/models.rb', line 2020 def deserialize(params) @InvokerId = params['InvokerId'] @Name = params['Name'] @Type = params['Type'] @CommandId = params['CommandId'] @Username = params['Username'] @Parameters = params['Parameters'] @InstanceIds = params['InstanceIds'] @Enable = params['Enable'] unless params['ScheduleSettings'].nil? @ScheduleSettings = ScheduleSettings.new @ScheduleSettings.deserialize(params['ScheduleSettings']) end @CreatedTime = params['CreatedTime'] @UpdatedTime = params['UpdatedTime'] end |