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



9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
# File 'lib/v20201207/models.rb', line 9015

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,表示取不到有效值。



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def CreatedTime
  @CreatedTime
end

#EditableObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def Editable
  @Editable
end

#IDObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def ID
  @ID
end

#NameObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def Name
  @Name
end

#PathObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def Path
  @Path
end

#TagsObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def Tags
  @Tags
end

#UpstreamInfoObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def UpstreamInfo
  @UpstreamInfo
end

#UpstreamTypeObject

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



9013
9014
9015
# File 'lib/v20201207/models.rb', line 9013

def UpstreamType
  @UpstreamType
end

Instance Method Details

#deserialize(params) ⇒ Object



9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
# File 'lib/v20201207/models.rb', line 9026

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