Class: TencentCloud::Scf::V20180416::PublishLayerVersionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::PublishLayerVersionRequest
- Defined in:
- lib/v20180416/models.rb
Overview
PublishLayerVersion请求参数结构体
Instance Attribute Summary collapse
- #CompatibleRuntimes ⇒ Object
- #Content ⇒ Object
- #Description ⇒ Object
- #LayerName ⇒ Object
- #LicenseInfo ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(layername = nil, compatibleruntimes = nil, content = nil, description = nil, licenseinfo = nil, tags = nil) ⇒ PublishLayerVersionRequest
constructor
A new instance of PublishLayerVersionRequest.
Constructor Details
#initialize(layername = nil, compatibleruntimes = nil, content = nil, description = nil, licenseinfo = nil, tags = nil) ⇒ PublishLayerVersionRequest
Returns a new instance of PublishLayerVersionRequest.
4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/v20180416/models.rb', line 4062 def initialize(layername=nil, compatibleruntimes=nil, content=nil, description=nil, licenseinfo=nil, =nil) @LayerName = layername @CompatibleRuntimes = compatibleruntimes @Content = content @Description = description @LicenseInfo = licenseinfo @Tags = end |
Instance Attribute Details
#CompatibleRuntimes ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def CompatibleRuntimes @CompatibleRuntimes end |
#Content ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def Content @Content end |
#Description ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def Description @Description end |
#LayerName ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def LayerName @LayerName end |
#LicenseInfo ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def LicenseInfo @LicenseInfo end |
#Tags ⇒ Object
4060 4061 4062 |
# File 'lib/v20180416/models.rb', line 4060 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 |
# File 'lib/v20180416/models.rb', line 4071 def deserialize(params) @LayerName = params['LayerName'] @CompatibleRuntimes = params['CompatibleRuntimes'] unless params['Content'].nil? @Content = Code.new @Content.deserialize(params['Content']) end @Description = params['Description'] @LicenseInfo = params['LicenseInfo'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |