Environment

data class Environment(baseEnvironment: BaseEnvironment, name: String, data: Map<String, Any>, color: String?, isPrivate: Boolean, metaSortKey: Long) : ResourceBase

Environment resource

Constructors

Link copied to clipboard
fun Environment(baseEnvironment: BaseEnvironment, name: String, data: Map<String, Any> = mapOf(), color: String? = null, isPrivate: Boolean = false, metaSortKey: Long = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val baseEnvironment: BaseEnvironment

Parent of this Environment resource

Link copied to clipboard
val color: String? = null

Assigned color for this Environment

Link copied to clipboard
val data: Map<String, Any>

Collection of properties

Link copied to clipboard
val dataPropertyOrder: Map<String, List<String>>?

Mandatory structure field. Calculated automatically based on data property

Link copied to clipboard
val isPrivate: Boolean = false

Is this environment private. Private environments will not be exported or synced via Insomnia

Link copied to clipboard
val metaSortKey: Long = 0

The "weight" of this resource

Link copied to clipboard
val name: String

Environment name