Class: TencentCloud::Gse::V20191112::CreateAssetWithImageRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::CreateAssetWithImageRequest
- Defined in:
- lib/v20191112/models.rb
Overview
CreateAssetWithImage请求参数结构体
Instance Attribute Summary collapse
- #AssetName ⇒ Object
- #AssetRegion ⇒ Object
- #AssetVersion ⇒ Object
- #ImageId ⇒ Object
- #ImageOs ⇒ Object
- #ImageSize ⇒ Object
- #ImageType ⇒ Object
- #OsBit ⇒ Object
- #OsType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(assetname = nil, assetversion = nil, assetregion = nil, imageid = nil, imagesize = nil, imageos = nil, ostype = nil, imagetype = nil, osbit = nil) ⇒ CreateAssetWithImageRequest
constructor
A new instance of CreateAssetWithImageRequest.
Constructor Details
#initialize(assetname = nil, assetversion = nil, assetregion = nil, imageid = nil, imagesize = nil, imageos = nil, ostype = nil, imagetype = nil, osbit = nil) ⇒ CreateAssetWithImageRequest
Returns a new instance of CreateAssetWithImageRequest.
617 618 619 620 621 622 623 624 625 626 627 |
# File 'lib/v20191112/models.rb', line 617 def initialize(assetname=nil, assetversion=nil, assetregion=nil, imageid=nil, imagesize=nil, imageos=nil, ostype=nil, imagetype=nil, osbit=nil) @AssetName = assetname @AssetVersion = assetversion @AssetRegion = assetregion @ImageId = imageid @ImageSize = imagesize @ImageOs = imageos @OsType = ostype @ImageType = imagetype @OsBit = osbit end |
Instance Attribute Details
#AssetName ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def AssetName @AssetName end |
#AssetRegion ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def AssetRegion @AssetRegion end |
#AssetVersion ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def AssetVersion @AssetVersion end |
#ImageId ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def ImageId @ImageId end |
#ImageOs ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def ImageOs @ImageOs end |
#ImageSize ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def ImageSize @ImageSize end |
#ImageType ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def ImageType @ImageType end |
#OsBit ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def OsBit @OsBit end |
#OsType ⇒ Object
615 616 617 |
# File 'lib/v20191112/models.rb', line 615 def OsType @OsType end |
Instance Method Details
#deserialize(params) ⇒ Object
629 630 631 632 633 634 635 636 637 638 639 |
# File 'lib/v20191112/models.rb', line 629 def deserialize(params) @AssetName = params['AssetName'] @AssetVersion = params['AssetVersion'] @AssetRegion = params['AssetRegion'] @ImageId = params['ImageId'] @ImageSize = params['ImageSize'] @ImageOs = params['ImageOs'] @OsType = params['OsType'] @ImageType = params['ImageType'] @OsBit = params['OsBit'] end |