Class: TencentCloud::Mps::V20190612::ProcessImageTemplate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ProcessImageTemplate
- Defined in:
- lib/v20190612/models.rb
Overview
图片处理模板
Instance Attribute Summary collapse
- #Comment ⇒ Object
- #CreateTime ⇒ Object
- #Definition ⇒ Object
- #Name ⇒ Object
- #ProcessImageConfig ⇒ Object
- #Type ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(definition = nil, name = nil, comment = nil, type = nil, processimageconfig = nil, createtime = nil, updatetime = nil) ⇒ ProcessImageTemplate
constructor
A new instance of ProcessImageTemplate.
Constructor Details
#initialize(definition = nil, name = nil, comment = nil, type = nil, processimageconfig = nil, createtime = nil, updatetime = nil) ⇒ ProcessImageTemplate
Returns a new instance of ProcessImageTemplate.
24494 24495 24496 24497 24498 24499 24500 24501 24502 |
# File 'lib/v20190612/models.rb', line 24494 def initialize(definition=nil, name=nil, comment=nil, type=nil, processimageconfig=nil, createtime=nil, updatetime=nil) @Definition = definition @Name = name @Comment = comment @Type = type @ProcessImageConfig = processimageconfig @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#Comment ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def Comment @Comment end |
#CreateTime ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def CreateTime @CreateTime end |
#Definition ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def Definition @Definition end |
#Name ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def Name @Name end |
#ProcessImageConfig ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def ProcessImageConfig @ProcessImageConfig end |
#Type ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def Type @Type end |
#UpdateTime ⇒ Object
24492 24493 24494 |
# File 'lib/v20190612/models.rb', line 24492 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
24504 24505 24506 24507 24508 24509 24510 24511 24512 24513 24514 24515 |
# File 'lib/v20190612/models.rb', line 24504 def deserialize(params) @Definition = params['Definition'] @Name = params['Name'] @Comment = params['Comment'] @Type = params['Type'] unless params['ProcessImageConfig'].nil? @ProcessImageConfig = ImageTaskInput.new @ProcessImageConfig.deserialize(params['ProcessImageConfig']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |