Class: TencentCloud::Ecm::V20190719::ModifyImageAttributeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::ModifyImageAttributeRequest
- Defined in:
- lib/v20190719/models.rb
Overview
ModifyImageAttribute请求参数结构体
Instance Attribute Summary collapse
-
#ImageDescription ⇒ Object
不得超过20个字符。 - 镜像名称不能与已有镜像重复。 - 不得超过60个字符。.
-
#ImageId ⇒ Object
不得超过20个字符。 - 镜像名称不能与已有镜像重复。 - 不得超过60个字符。.
-
#ImageName ⇒ Object
不得超过20个字符。 - 镜像名称不能与已有镜像重复。 - 不得超过60个字符。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageid = nil, imagename = nil, imagedescription = nil) ⇒ ModifyImageAttributeRequest
constructor
A new instance of ModifyImageAttributeRequest.
Constructor Details
#initialize(imageid = nil, imagename = nil, imagedescription = nil) ⇒ ModifyImageAttributeRequest
Returns a new instance of ModifyImageAttributeRequest.
7268 7269 7270 7271 7272 |
# File 'lib/v20190719/models.rb', line 7268 def initialize(imageid=nil, imagename=nil, imagedescription=nil) @ImageId = imageid @ImageName = imagename @ImageDescription = imagedescription end |
Instance Attribute Details
#ImageDescription ⇒ Object
不得超过20个字符。
-
镜像名称不能与已有镜像重复。
-
不得超过60个字符。
7266 7267 7268 |
# File 'lib/v20190719/models.rb', line 7266 def ImageDescription @ImageDescription end |
#ImageId ⇒ Object
不得超过20个字符。
-
镜像名称不能与已有镜像重复。
-
不得超过60个字符。
7266 7267 7268 |
# File 'lib/v20190719/models.rb', line 7266 def ImageId @ImageId end |
#ImageName ⇒ Object
不得超过20个字符。
-
镜像名称不能与已有镜像重复。
-
不得超过60个字符。
7266 7267 7268 |
# File 'lib/v20190719/models.rb', line 7266 def ImageName @ImageName end |
Instance Method Details
#deserialize(params) ⇒ Object
7274 7275 7276 7277 7278 |
# File 'lib/v20190719/models.rb', line 7274 def deserialize(params) @ImageId = params['ImageId'] @ImageName = params['ImageName'] @ImageDescription = params['ImageDescription'] end |