ApiArgs class

The set of arguments for Api. The set of arguments for Api.

Constructors

ApiArgs({Input<String>? action, Input<String>? contentType, Input<String>? data, Input<List<Map<String, String>>>? extensions, Input? file, Input<String>? name, required Input<String> organizationId, Input<bool>? validate})
Creates a new ApiArgs. action Action to perform when importing an API proxy configuration bundle. Set this parameter to one of the following values: * import to import the API proxy configuration bundle. * validate to validate the API proxy configuration bundle without importing it. contentType The HTTP Content-Type header value specifying the content type of the body. data The HTTP request/response body as raw binary. extensions Application specific response metadata. Must be set in the first response for streaming APIs. file File to upload. name Name of the API proxy. Restrict the characters used to: A-Za-z0-9._- organizationId Required. validate Ignored. All uploads are validated regardless of the value of this field. Maintained for compatibility with Apigee Edge API.
const
ApiArgs.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>?
Action to perform when importing an API proxy configuration bundle. Set this parameter to one of the following values: * import to import the API proxy configuration bundle. * validate to validate the API proxy configuration bundle without importing it.
final
contentType → Input<String>?
The HTTP Content-Type header value specifying the content type of the body.
final
data → Input<String>?
The HTTP request/response body as raw binary.
final
extensions → Input<List<Map<String, String>>>?
Application specific response metadata. Must be set in the first response for streaming APIs.
final
file → Input?
File to upload.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
Name of the API proxy. Restrict the characters used to: A-Za-z0-9._-
final
organizationId → Input<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validate → Input<bool>?
Ignored. All uploads are validated regardless of the value of this field. Maintained for compatibility with Apigee Edge API.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited