// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package cloud9

type EnvironmentLifecycleStatus string

// Enum values for EnvironmentLifecycleStatus
const (
	EnvironmentLifecycleStatusCreating     EnvironmentLifecycleStatus = "CREATING"
	EnvironmentLifecycleStatusCreated      EnvironmentLifecycleStatus = "CREATED"
	EnvironmentLifecycleStatusCreateFailed EnvironmentLifecycleStatus = "CREATE_FAILED"
	EnvironmentLifecycleStatusDeleting     EnvironmentLifecycleStatus = "DELETING"
	EnvironmentLifecycleStatusDeleteFailed EnvironmentLifecycleStatus = "DELETE_FAILED"
)

func (enum EnvironmentLifecycleStatus) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum EnvironmentLifecycleStatus) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type EnvironmentStatus string

// Enum values for EnvironmentStatus
const (
	EnvironmentStatusError      EnvironmentStatus = "error"
	EnvironmentStatusCreating   EnvironmentStatus = "creating"
	EnvironmentStatusConnecting EnvironmentStatus = "connecting"
	EnvironmentStatusReady      EnvironmentStatus = "ready"
	EnvironmentStatusStopping   EnvironmentStatus = "stopping"
	EnvironmentStatusStopped    EnvironmentStatus = "stopped"
	EnvironmentStatusDeleting   EnvironmentStatus = "deleting"
)

func (enum EnvironmentStatus) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum EnvironmentStatus) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type EnvironmentType string

// Enum values for EnvironmentType
const (
	EnvironmentTypeSsh EnvironmentType = "ssh"
	EnvironmentTypeEc2 EnvironmentType = "ec2"
)

func (enum EnvironmentType) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum EnvironmentType) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type MemberPermissions string

// Enum values for MemberPermissions
const (
	MemberPermissionsReadWrite MemberPermissions = "read-write"
	MemberPermissionsReadOnly  MemberPermissions = "read-only"
)

func (enum MemberPermissions) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum MemberPermissions) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type Permissions string

// Enum values for Permissions
const (
	PermissionsOwner     Permissions = "owner"
	PermissionsReadWrite Permissions = "read-write"
	PermissionsReadOnly  Permissions = "read-only"
)

func (enum Permissions) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum Permissions) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}
