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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


2888
2889
2890
2891
2892
2893
2894
# File 'lib/aws-sdk-apigateway/types.rb', line 2888

class GetModelRequest < Struct.new(
  :rest_api_id,
  :model_name,
  :flatten)
  SENSITIVE = []
  include Aws::Structure
end

#model_nameString

The name of the model as an identifier.

Returns:

  • (String)


2888
2889
2890
2891
2892
2893
2894
# File 'lib/aws-sdk-apigateway/types.rb', line 2888

class GetModelRequest < Struct.new(
  :rest_api_id,
  :model_name,
  :flatten)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The RestApi identifier under which the Model exists.

Returns:

  • (String)


2888
2889
2890
2891
2892
2893
2894
# File 'lib/aws-sdk-apigateway/types.rb', line 2888

class GetModelRequest < Struct.new(
  :rest_api_id,
  :model_name,
  :flatten)
  SENSITIVE = []
  include Aws::Structure
end