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.



8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
# File 'lib/v20201207/models.rb', line 8965

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:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def CreatedTime
  @CreatedTime
end

#IDObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def ID
  @ID
end

#NameObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def Name
  @Name
end

#PathObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def Path
  @Path
end

#ProtocolObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def Protocol
  @Protocol
end

#RetriesObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def Retries
  @Retries
end

#TimeoutObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def Timeout
  @Timeout
end

#UpstreamInfoObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def UpstreamInfo
  @UpstreamInfo
end

#UpstreamTypeObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Path:

    请求路径

  • Protocol:

    后端协议

  • Retries:

    重试次数

  • Timeout:

    后端延时,单位ms



8963
8964
8965
# File 'lib/v20201207/models.rb', line 8963

def UpstreamType
  @UpstreamType
end

Instance Method Details

#deserialize(params) ⇒ Object



8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
# File 'lib/v20201207/models.rb', line 8977

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