class Amazonite::ApiGateway::GetDocumentationPartsRequest

Overview

Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).

Included Modules

Defined in:

api_gateway/get_documentation_parts_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(rest_api_id : String, type : DocumentationPartType | Nil = nil, name_query : String | Nil = nil, path : String | Nil = nil, position : String | Nil = nil, limit : Int32 | Nil = nil, location_status : LocationStatusType | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def limit : Int32 | Nil #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.


[View source]
def limit=(limit : Int32 | Nil) #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.


[View source]
def location_status : LocationStatusType | Nil #

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.


[View source]
def location_status=(location_status : LocationStatusType | Nil) #

The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.


[View source]
def name_query : String | Nil #

The name of API entities of the to-be-retrieved documentation parts.


[View source]
def name_query=(name_query : String | Nil) #

The name of API entities of the to-be-retrieved documentation parts.


[View source]
def path : String | Nil #

The path of API entities of the to-be-retrieved documentation parts.


[View source]
def path=(path : String | Nil) #

The path of API entities of the to-be-retrieved documentation parts.


[View source]
def position : String | Nil #

The current pagination position in the paged result set.


[View source]
def position=(position : String | Nil) #

The current pagination position in the paged result set.


[View source]
def rest_api_id : String #

The string identifier of the associated RestApi.


[View source]
def rest_api_id=(rest_api_id : String) #

The string identifier of the associated RestApi.


[View source]
def type : DocumentationPartType | Nil #

The type of API entities of the to-be-retrieved documentation parts.


[View source]
def type=(type : DocumentationPartType | Nil) #

The type of API entities of the to-be-retrieved documentation parts.


[View source]
def validate! : Nil #

[View source]