Class: TencentCloud::Tem::V20210701::CreateResourceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CreateResourceRequest
- Defined in:
- lib/v20210701/models.rb
Overview
CreateResource请求参数结构体
Instance Attribute Summary collapse
- #EnvironmentId ⇒ Object
- #ResourceConfig ⇒ Object
- #ResourceFrom ⇒ Object
- #ResourceId ⇒ Object
- #ResourceType ⇒ Object
- #SourceChannel ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, resourcetype = nil, resourceid = nil, sourcechannel = nil, resourcefrom = nil, resourceconfig = nil) ⇒ CreateResourceRequest
constructor
A new instance of CreateResourceRequest.
Constructor Details
#initialize(environmentid = nil, resourcetype = nil, resourceid = nil, sourcechannel = nil, resourcefrom = nil, resourceconfig = nil) ⇒ CreateResourceRequest
Returns a new instance of CreateResourceRequest.
687 688 689 690 691 692 693 694 |
# File 'lib/v20210701/models.rb', line 687 def initialize(environmentid=nil, resourcetype=nil, resourceid=nil, sourcechannel=nil, resourcefrom=nil, resourceconfig=nil) @EnvironmentId = environmentid @ResourceType = resourcetype @ResourceId = resourceid @SourceChannel = sourcechannel @ResourceFrom = resourcefrom @ResourceConfig = resourceconfig end |
Instance Attribute Details
#EnvironmentId ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def EnvironmentId @EnvironmentId end |
#ResourceConfig ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def ResourceConfig @ResourceConfig end |
#ResourceFrom ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def ResourceFrom @ResourceFrom end |
#ResourceId ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def ResourceId @ResourceId end |
#ResourceType ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def ResourceType @ResourceType end |
#SourceChannel ⇒ Object
685 686 687 |
# File 'lib/v20210701/models.rb', line 685 def SourceChannel @SourceChannel end |
Instance Method Details
#deserialize(params) ⇒ Object
696 697 698 699 700 701 702 703 |
# File 'lib/v20210701/models.rb', line 696 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @ResourceType = params['ResourceType'] @ResourceId = params['ResourceId'] @SourceChannel = params['SourceChannel'] @ResourceFrom = params['ResourceFrom'] @ResourceConfig = params['ResourceConfig'] end |