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< ? extensions, Input? file, Input<Map< >String, String> >String> ? name, required Input<String> organizationId, Input<bool> ? validate}) -
Creates a new ApiArgs.
actionAction to perform when importing an API proxy configuration bundle. Set this parameter to one of the following values: *importto import the API proxy configuration bundle. *validateto validate the API proxy configuration bundle without importing it.contentTypeThe HTTP Content-Type header value specifying the content type of the body.dataThe HTTP request/response body as raw binary.extensionsApplication specific response metadata. Must be set in the first response for streaming APIs.fileFile to upload.nameName of the API proxy. Restrict the characters used to: A-Za-z0-9._-organizationIdRequired.validateIgnored. 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: *
importto import the API proxy configuration bundle. *validateto 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