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.
24810 24811 24812 24813 24814 24815 24816 24817 24818 |
# File 'lib/v20190612/models.rb', line 24810 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
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def Comment @Comment end |
#CreateTime ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def CreateTime @CreateTime end |
#Definition ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def Definition @Definition end |
#Name ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def Name @Name end |
#ProcessImageConfig ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def ProcessImageConfig @ProcessImageConfig end |
#Type ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def Type @Type end |
#UpdateTime ⇒ Object
24808 24809 24810 |
# File 'lib/v20190612/models.rb', line 24808 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 |
# File 'lib/v20190612/models.rb', line 24820 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 |