Class: TencentCloud::Tcm::V20210413::IngressGateway
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::IngressGateway
- Defined in:
- lib/v20210413/models.rb
Overview
IngressGateway 实例信息
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LoadBalancer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Service ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Workload ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, namespace = nil, clusterid = nil, service = nil, workload = nil, loadbalancer = nil, status = nil, loadbalancerid = nil) ⇒ IngressGateway
constructor
A new instance of IngressGateway.
Constructor Details
#initialize(name = nil, namespace = nil, clusterid = nil, service = nil, workload = nil, loadbalancer = nil, status = nil, loadbalancerid = nil) ⇒ IngressGateway
Returns a new instance of IngressGateway.
946 947 948 949 950 951 952 953 954 955 |
# File 'lib/v20210413/models.rb', line 946 def initialize(name=nil, namespace=nil, clusterid=nil, service=nil, workload=nil, loadbalancer=nil, status=nil, loadbalancerid=nil) @Name = name @Namespace = namespace @ClusterId = clusterid @Service = service @Workload = workload @LoadBalancer = loadbalancer @Status = status @LoadBalancerId = loadbalancerid end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def ClusterId @ClusterId end |
#LoadBalancer ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def LoadBalancer @LoadBalancer end |
#LoadBalancerId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def LoadBalancerId @LoadBalancerId end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def Name @Name end |
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def Namespace @Namespace end |
#Service ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def Service @Service end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def Status @Status end |
#Workload ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
944 945 946 |
# File 'lib/v20210413/models.rb', line 944 def Workload @Workload end |
Instance Method Details
#deserialize(params) ⇒ Object
957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
# File 'lib/v20210413/models.rb', line 957 def deserialize(params) @Name = params['Name'] @Namespace = params['Namespace'] @ClusterId = params['ClusterId'] unless params['Service'].nil? @Service = Service.new @Service.deserialize(params['Service']) end unless params['Workload'].nil? @Workload = WorkloadConfig.new @Workload.deserialize(params['Workload']) end unless params['LoadBalancer'].nil? @LoadBalancer = LoadBalancer.new @LoadBalancer.deserialize(params['LoadBalancer']) end unless params['Status'].nil? @Status = IngressGatewayStatus.new @Status.deserialize(params['Status']) end @LoadBalancerId = params['LoadBalancerId'] end |