Class: TencentCloud::Tse::V20201207::CloudNativeAPIGatewayNode

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201207/models.rb

Overview

云原生API网关节点信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodeid = nil, nodeip = nil, zoneid = nil, zone = nil, groupid = nil, groupname = nil, status = nil, weight = nil, isdefaultweight = nil) ⇒ CloudNativeAPIGatewayNode

Returns a new instance of CloudNativeAPIGatewayNode.



653
654
655
656
657
658
659
660
661
662
663
# File 'lib/v20201207/models.rb', line 653

def initialize(nodeid=nil, nodeip=nil, zoneid=nil, zone=nil, groupid=nil, groupname=nil, status=nil, weight=nil, isdefaultweight=nil)
  @NodeId = nodeid
  @NodeIp = nodeip
  @ZoneId = zoneid
  @Zone = zone
  @GroupId = groupid
  @GroupName = groupname
  @Status = status
  @Weight = weight
  @IsDefaultWeight = isdefaultweight
end

Instance Attribute Details

#GroupIdObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def GroupName
  @GroupName
end

#IsDefaultWeightObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def IsDefaultWeight
  @IsDefaultWeight
end

#NodeIdObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def NodeId
  @NodeId
end

#NodeIpObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def NodeIp
  @NodeIp
end

#StatusObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def Status
  @Status
end

#WeightObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def Weight
  @Weight
end

#ZoneObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def Zone
  @Zone
end

#ZoneIdObject

Parameters:

  • NodeId:

    云原生网关节点 id

  • NodeIp:

    节点 ip

  • ZoneId:

    Zone id

  • Zone:

    Zone

  • GroupId:

    分组ID

  • GroupName:

    分组名

  • Status:

    状态

  • Weight:

    节点权重

  • IsDefaultWeight:

    是否默认权重



651
652
653
# File 'lib/v20201207/models.rb', line 651

def ZoneId
  @ZoneId
end

Instance Method Details

#deserialize(params) ⇒ Object



665
666
667
668
669
670
671
672
673
674
675
# File 'lib/v20201207/models.rb', line 665

def deserialize(params)
  @NodeId = params['NodeId']
  @NodeIp = params['NodeIp']
  @ZoneId = params['ZoneId']
  @Zone = params['Zone']
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  @Status = params['Status']
  @Weight = params['Weight']
  @IsDefaultWeight = params['IsDefaultWeight']
end