Class: TencentCloud::Tcm::V20210413::EgressGateway
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::EgressGateway
- Defined in:
- lib/v20210413/models.rb
Overview
Egress配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, namespace = nil, workload = nil, status = nil) ⇒ EgressGateway
constructor
A new instance of EgressGateway.
Constructor Details
#initialize(name = nil, namespace = nil, workload = nil, status = nil) ⇒ EgressGateway
Returns a new instance of EgressGateway.
735 736 737 738 739 740 |
# File 'lib/v20210413/models.rb', line 735 def initialize(name=nil, namespace=nil, workload=nil, status=nil) @Name = name @Namespace = namespace @Workload = workload @Status = status end |
Instance Attribute Details
#Name ⇒ Object
733 734 735 |
# File 'lib/v20210413/models.rb', line 733 def Name @Name end |
#Namespace ⇒ Object
733 734 735 |
# File 'lib/v20210413/models.rb', line 733 def Namespace @Namespace end |
#Status ⇒ Object
733 734 735 |
# File 'lib/v20210413/models.rb', line 733 def Status @Status end |
#Workload ⇒ Object
733 734 735 |
# File 'lib/v20210413/models.rb', line 733 def Workload @Workload end |
Instance Method Details
#deserialize(params) ⇒ Object
742 743 744 745 746 747 748 749 750 751 752 753 |
# File 'lib/v20210413/models.rb', line 742 def deserialize(params) @Name = params['Name'] @Namespace = params['Namespace'] unless params['Workload'].nil? @Workload = WorkloadConfig.new @Workload.deserialize(params['Workload']) end unless params['Status'].nil? @Status = EgressGatewayStatus.new @Status.deserialize(params['Status']) end end |