Class: TencentCloud::Apigateway::V20180808::CreateAPIDocRequest

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

Overview

CreateAPIDoc请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(apidocname = nil, serviceid = nil, environment = nil, apiids = nil, tags = nil) ⇒ CreateAPIDocRequest

Returns a new instance of CreateAPIDocRequest.



1769
1770
1771
1772
1773
1774
1775
# File 'lib/v20180808/models.rb', line 1769

def initialize(apidocname=nil, serviceid=nil, environment=nil, apiids=nil, tags=nil)
  @ApiDocName = apidocname
  @ServiceId = serviceid
  @Environment = environment
  @ApiIds = apiids
  @Tags = tags
end

Instance Attribute Details

#ApiDocNameObject

Parameters:

  • ApiDocName:

    API文档名称

  • ServiceId:

    服务名称

  • Environment:

    环境名称

  • ApiIds:

    生成文档的API列表

  • Tags:

    标签



1767
1768
1769
# File 'lib/v20180808/models.rb', line 1767

def ApiDocName
  @ApiDocName
end

#ApiIdsObject

Parameters:

  • ApiDocName:

    API文档名称

  • ServiceId:

    服务名称

  • Environment:

    环境名称

  • ApiIds:

    生成文档的API列表

  • Tags:

    标签



1767
1768
1769
# File 'lib/v20180808/models.rb', line 1767

def ApiIds
  @ApiIds
end

#EnvironmentObject

Parameters:

  • ApiDocName:

    API文档名称

  • ServiceId:

    服务名称

  • Environment:

    环境名称

  • ApiIds:

    生成文档的API列表

  • Tags:

    标签



1767
1768
1769
# File 'lib/v20180808/models.rb', line 1767

def Environment
  @Environment
end

#ServiceIdObject

Parameters:

  • ApiDocName:

    API文档名称

  • ServiceId:

    服务名称

  • Environment:

    环境名称

  • ApiIds:

    生成文档的API列表

  • Tags:

    标签



1767
1768
1769
# File 'lib/v20180808/models.rb', line 1767

def ServiceId
  @ServiceId
end

#TagsObject

Parameters:

  • ApiDocName:

    API文档名称

  • ServiceId:

    服务名称

  • Environment:

    环境名称

  • ApiIds:

    生成文档的API列表

  • Tags:

    标签



1767
1768
1769
# File 'lib/v20180808/models.rb', line 1767

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
# File 'lib/v20180808/models.rb', line 1777

def deserialize(params)
  @ApiDocName = params['ApiDocName']
  @ServiceId = params['ServiceId']
  @Environment = params['Environment']
  @ApiIds = params['ApiIds']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end