Class: TencentCloud::Tse::V20201207::KongServiceLightPreview

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

Overview

云原生网关服务简洁预览信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, upstreaminfo = nil, upstreamtype = nil, createdtime = nil, path = nil, protocol = nil, retries = nil, timeout = nil) ⇒ KongServiceLightPreview

Returns a new instance of KongServiceLightPreview.



8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
# File 'lib/v20201207/models.rb', line 8983

def initialize(id=nil, name=nil, upstreaminfo=nil, upstreamtype=nil, createdtime=nil, path=nil, protocol=nil, retries=nil, timeout=nil)
  @ID = id
  @Name = name
  @UpstreamInfo = upstreaminfo
  @UpstreamType = upstreamtype
  @CreatedTime = createdtime
  @Path = path
  @Protocol = protocol
  @Retries = retries
  @Timeout = timeout
end

Instance Attribute Details

#CreatedTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def CreatedTime
  @CreatedTime
end

#IDObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def ID
  @ID
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def Name
  @Name
end

#PathObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def Path
  @Path
end

#ProtocolObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def Protocol
  @Protocol
end

#RetriesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def Retries
  @Retries
end

#TimeoutObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def Timeout
  @Timeout
end

#UpstreamInfoObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def UpstreamInfo
  @UpstreamInfo
end

#UpstreamTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 服务ID

  • 服务名字

  • 后端配置

  • 后端类型

  • 创建时间

  • 请求路径

  • 后端协议

  • 重试次数

  • 后端延时,单位ms



8981
8982
8983
# File 'lib/v20201207/models.rb', line 8981

def UpstreamType
  @UpstreamType
end

Instance Method Details

#deserialize(params) ⇒ Object



8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
# File 'lib/v20201207/models.rb', line 8995

def deserialize(params)
  @ID = params['ID']
  @Name = params['Name']
  unless params['UpstreamInfo'].nil?
    @UpstreamInfo = KongUpstreamInfo.new
    @UpstreamInfo.deserialize(params['UpstreamInfo'])
  end
  @UpstreamType = params['UpstreamType']
  @CreatedTime = params['CreatedTime']
  @Path = params['Path']
  @Protocol = params['Protocol']
  @Retries = params['Retries']
  @Timeout = params['Timeout']
end