GetProjectEnvironmentsResult

data class GetProjectEnvironmentsResult(val environments: List<GetProjectEnvironmentsEnvironment>, val id: String, val name: String? = null, val project: String, val search: String? = null, val states: String? = null)

A collection of values returned by getProjectEnvironments.

Constructors

Link copied to clipboard
constructor(environments: List<GetProjectEnvironmentsEnvironment>, id: String, name: String? = null, project: String, search: String? = null, states: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of environments.

Link copied to clipboard
val id: String
Link copied to clipboard
val name: String? = null

Return the environment with this name. Mutually exclusive with search.

Link copied to clipboard

The ID or full path of the project.

Link copied to clipboard
val search: String? = null

Return list of environments matching the search criteria. Mutually exclusive with name. Must be at least 3 characters long.

Link copied to clipboard
val states: String? = null

List all environments that match the specified state. Valid values are available, stopping, stopped. Returns all environments if not set.