EnvironmentsResource class

Project environments: list, create, and delete the named environments a project owns (PROD plus any TEST/STAGING/… the user adds).

These endpoints manage the set of environments. To make requests inside a given environment, set env on the client (NorbixHub(env: 'TEST') or client.setEnv('TEST')) or per call (the env argument), which sends the norbix-env header.

Inheritance

Constructors

EnvironmentsResource(Transport transport)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transport Transport
finalinherited

Methods

createProjectEnvironment({Map<String, Object?>? query, Object? body, Map<String, String>? headers, String? env}) Future<Object?>
POST /{version}/account/projects/environments
deleteProjectEnvironment({Object? environmentName, Map<String, Object?>? query, Object? body, Map<String, String>? headers, String? env}) Future<Object?>
DELETE /{version}/account/projects/environments/{environmentName}
getProjectEnvironments({Map<String, Object?>? query, Map<String, String>? headers, String? env}) Future<Object?>
GET /{version}/account/projects/environments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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