Struct rusoto_apigateway::ImportDocumentationPartsRequest[][src]

pub struct ImportDocumentationPartsRequest {
    pub body: Vec<u8>,
    pub fail_on_warnings: Option<bool>,
    pub mode: Option<String>,
    pub rest_api_id: String,
}

Import documentation parts from an external (e.g., Swagger) definition file.

Fields

[Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object.

A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.

A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

[Required] The string identifier of the associated RestApi.

Trait Implementations

impl Default for ImportDocumentationPartsRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for ImportDocumentationPartsRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for ImportDocumentationPartsRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ImportDocumentationPartsRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations