Class: TencentCloud::Tem::V20201221::CreateResourceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::CreateResourceRequest
- Defined in:
- lib/v20201221/models.rb
Overview
CreateResource请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespaceid = nil, resourcetype = nil, resourceid = nil, sourcechannel = nil) ⇒ CreateResourceRequest
constructor
A new instance of CreateResourceRequest.
Constructor Details
#initialize(namespaceid = nil, resourcetype = nil, resourceid = nil, sourcechannel = nil) ⇒ CreateResourceRequest
254 255 256 257 258 259 |
# File 'lib/v20201221/models.rb', line 254 def initialize(namespaceid=nil, resourcetype=nil, resourceid=nil, sourcechannel=nil) @NamespaceId = namespaceid @ResourceType = resourcetype @ResourceId = resourceid @SourceChannel = sourcechannel end |
Instance Attribute Details
#NamespaceId ⇒ Object
252 253 254 |
# File 'lib/v20201221/models.rb', line 252 def NamespaceId @NamespaceId end |
#ResourceId ⇒ Object
252 253 254 |
# File 'lib/v20201221/models.rb', line 252 def ResourceId @ResourceId end |
#ResourceType ⇒ Object
252 253 254 |
# File 'lib/v20201221/models.rb', line 252 def ResourceType @ResourceType end |
#SourceChannel ⇒ Object
252 253 254 |
# File 'lib/v20201221/models.rb', line 252 def SourceChannel @SourceChannel end |
Instance Method Details
#deserialize(params) ⇒ Object
261 262 263 264 265 266 |
# File 'lib/v20201221/models.rb', line 261 def deserialize(params) @NamespaceId = params['NamespaceId'] @ResourceType = params['ResourceType'] @ResourceId = params['ResourceId'] @SourceChannel = params['SourceChannel'] end |