Class: TencentCloud::Apigateway::V20180808::MicroService

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

Overview

API绑定的微服务信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, namespaceid = nil, microservicename = nil) ⇒ MicroService

Returns a new instance of MicroService.



6998
6999
7000
7001
7002
# File 'lib/v20180808/models.rb', line 6998

def initialize(clusterid=nil, namespaceid=nil, microservicename=nil)
  @ClusterId = clusterid
  @NamespaceId = namespaceid
  @MicroServiceName = microservicename
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    微服务集群ID。

  • NamespaceId:

    微服务命名空间ID。

  • MicroServiceName:

    微服务名称。



6996
6997
6998
# File 'lib/v20180808/models.rb', line 6996

def ClusterId
  @ClusterId
end

#MicroServiceNameObject

Parameters:

  • ClusterId:

    微服务集群ID。

  • NamespaceId:

    微服务命名空间ID。

  • MicroServiceName:

    微服务名称。



6996
6997
6998
# File 'lib/v20180808/models.rb', line 6996

def MicroServiceName
  @MicroServiceName
end

#NamespaceIdObject

Parameters:

  • ClusterId:

    微服务集群ID。

  • NamespaceId:

    微服务命名空间ID。

  • MicroServiceName:

    微服务名称。



6996
6997
6998
# File 'lib/v20180808/models.rb', line 6996

def NamespaceId
  @NamespaceId
end

Instance Method Details

#deserialize(params) ⇒ Object



7004
7005
7006
7007
7008
# File 'lib/v20180808/models.rb', line 7004

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NamespaceId = params['NamespaceId']
  @MicroServiceName = params['MicroServiceName']
end