You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::APIGateway::Types::GetModelRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetModelRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  rest_api_id: "String", # required
  model_name: "String", # required
  flatten: false,
}

Request to list information about a model in an existing RestApi resource.

Instance Attribute Summary collapse

Instance Attribute Details

#flattenBoolean

A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

Returns:

  • (Boolean)

    A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

#model_nameString

The name of the model as an identifier.

Returns:

  • (String)

    The name of the model as an identifier.

#rest_api_idString

The RestApi identifier under which the Model exists.

Returns:

  • (String)

    The RestApi identifier under which the Model exists.