Class: TencentCloud::Tse::V20201207::KongServicePreview

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, tags = nil, upstreaminfo = nil, upstreamtype = nil, createdtime = nil, editable = nil, path = nil) ⇒ KongServicePreview

Returns a new instance of KongServicePreview.



4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
# File 'lib/v20201207/models.rb', line 4778

def initialize(id=nil, name=nil, tags=nil, upstreaminfo=nil, upstreamtype=nil, createdtime=nil, editable=nil, path=nil)
  @ID = id
  @Name = name
  @Tags = tags
  @UpstreamInfo = upstreaminfo
  @UpstreamType = upstreamtype
  @CreatedTime = createdtime
  @Editable = editable
  @Path = path
end

Instance Attribute Details

#CreatedTimeObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def CreatedTime
  @CreatedTime
end

#EditableObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def Editable
  @Editable
end

#IDObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def ID
  @ID
end

#NameObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def Name
  @Name
end

#PathObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def Path
  @Path
end

#TagsObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def Tags
  @Tags
end

#UpstreamInfoObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def UpstreamInfo
  @UpstreamInfo
end

#UpstreamTypeObject

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

Parameters:

  • ID:

    服务ID

  • Name:

    服务名字

  • Tags:

    标签

  • UpstreamInfo:

    后端配置

  • UpstreamType:

    后端类型

  • CreatedTime:

    创建时间

  • Editable:

    是否可编辑

  • Path:

    请求路径



4776
4777
4778
# File 'lib/v20201207/models.rb', line 4776

def UpstreamType
  @UpstreamType
end

Instance Method Details

#deserialize(params) ⇒ Object



4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
# File 'lib/v20201207/models.rb', line 4789

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