diff --git a/api/schema/environment.go b/api/schema/environment.go index 86b746b..5573055 100644 --- a/api/schema/environment.go +++ b/api/schema/environment.go @@ -72,6 +72,7 @@ type Environment struct { Updated string `json:"updated,omitempty"` Created string `json:"created,omitempty"` Deleted string `json:"deleted,omitempty"` + Idled *bool `json:"idled,omitempty"` } // EnvironmentConfig contains Environment configuration. @@ -134,6 +135,7 @@ type UpdateEnvironmentPatchInput struct { AutoIdle *uint `json:"autoIdle,omitempty"` Openshift *uint `json:"openshift,omitempty"` Created *string `json:"created,omitempty"` + Idled *bool `json:"idled,omitempty"` } // EnvironmentService is based on the Lagoon API type.