Class: TencentCloud::Teo::V20220901::APIService

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

Overview

API 服务配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, basepath = nil) ⇒ APIService

Returns a new instance of APIService.



67
68
69
70
71
# File 'lib/v20220901/models.rb', line 67

def initialize(id=nil, name=nil, basepath=nil)
  @Id = id
  @Name = name
  @BasePath = basepath
end

Instance Attribute Details

#BasePathObject

Parameters:

  • Id:

    API 服务 ID。

  • Name:

    API 服务名称。

  • BasePath:

    基础路径。



65
66
67
# File 'lib/v20220901/models.rb', line 65

def BasePath
  @BasePath
end

#IdObject

Parameters:

  • Id:

    API 服务 ID。

  • Name:

    API 服务名称。

  • BasePath:

    基础路径。



65
66
67
# File 'lib/v20220901/models.rb', line 65

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    API 服务 ID。

  • Name:

    API 服务名称。

  • BasePath:

    基础路径。



65
66
67
# File 'lib/v20220901/models.rb', line 65

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



73
74
75
76
77
# File 'lib/v20220901/models.rb', line 73

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @BasePath = params['BasePath']
end