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

package chime

type AccountType string

// Enum values for AccountType
const (
	AccountTypeTeam                AccountType = "Team"
	AccountTypeEnterpriseDirectory AccountType = "EnterpriseDirectory"
	AccountTypeEnterpriseLwa       AccountType = "EnterpriseLWA"
	AccountTypeEnterpriseOidc      AccountType = "EnterpriseOIDC"
)

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

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

type BotType string

// Enum values for BotType
const (
	BotTypeChatBot BotType = "ChatBot"
)

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

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

type EmailStatus string

// Enum values for EmailStatus
const (
	EmailStatusNotSent EmailStatus = "NotSent"
	EmailStatusSent    EmailStatus = "Sent"
	EmailStatusFailed  EmailStatus = "Failed"
)

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

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

type ErrorCode string

// Enum values for ErrorCode
const (
	ErrorCodeUnauthorized       ErrorCode = "Unauthorized"
	ErrorCodeForbidden          ErrorCode = "Forbidden"
	ErrorCodeNotFound           ErrorCode = "NotFound"
	ErrorCodeBadRequest         ErrorCode = "BadRequest"
	ErrorCodeConflict           ErrorCode = "Conflict"
	ErrorCodeServiceFailure     ErrorCode = "ServiceFailure"
	ErrorCodeServiceUnavailable ErrorCode = "ServiceUnavailable"
	ErrorCodeUnprocessable      ErrorCode = "Unprocessable"
	ErrorCodeThrottled          ErrorCode = "Throttled"
	ErrorCodePreconditionFailed ErrorCode = "PreconditionFailed"
)

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

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

type InviteStatus string

// Enum values for InviteStatus
const (
	InviteStatusPending  InviteStatus = "Pending"
	InviteStatusAccepted InviteStatus = "Accepted"
	InviteStatusFailed   InviteStatus = "Failed"
)

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

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

type License string

// Enum values for License
const (
	LicenseBasic    License = "Basic"
	LicensePlus     License = "Plus"
	LicensePro      License = "Pro"
	LicenseProTrial License = "ProTrial"
)

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

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

type OrderedPhoneNumberStatus string

// Enum values for OrderedPhoneNumberStatus
const (
	OrderedPhoneNumberStatusProcessing OrderedPhoneNumberStatus = "Processing"
	OrderedPhoneNumberStatusAcquired   OrderedPhoneNumberStatus = "Acquired"
	OrderedPhoneNumberStatusFailed     OrderedPhoneNumberStatus = "Failed"
)

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

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

type OriginationRouteProtocol string

// Enum values for OriginationRouteProtocol
const (
	OriginationRouteProtocolTcp OriginationRouteProtocol = "TCP"
	OriginationRouteProtocolUdp OriginationRouteProtocol = "UDP"
)

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

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

type PhoneNumberAssociationName string

// Enum values for PhoneNumberAssociationName
const (
	PhoneNumberAssociationNameAccountId        PhoneNumberAssociationName = "AccountId"
	PhoneNumberAssociationNameUserId           PhoneNumberAssociationName = "UserId"
	PhoneNumberAssociationNameVoiceConnectorId PhoneNumberAssociationName = "VoiceConnectorId"
)

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

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

type PhoneNumberOrderStatus string

// Enum values for PhoneNumberOrderStatus
const (
	PhoneNumberOrderStatusProcessing PhoneNumberOrderStatus = "Processing"
	PhoneNumberOrderStatusSuccessful PhoneNumberOrderStatus = "Successful"
	PhoneNumberOrderStatusFailed     PhoneNumberOrderStatus = "Failed"
	PhoneNumberOrderStatusPartial    PhoneNumberOrderStatus = "Partial"
)

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

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

type PhoneNumberProductType string

// Enum values for PhoneNumberProductType
const (
	PhoneNumberProductTypeBusinessCalling PhoneNumberProductType = "BusinessCalling"
	PhoneNumberProductTypeVoiceConnector  PhoneNumberProductType = "VoiceConnector"
)

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

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

type PhoneNumberStatus string

// Enum values for PhoneNumberStatus
const (
	PhoneNumberStatusAcquireInProgress PhoneNumberStatus = "AcquireInProgress"
	PhoneNumberStatusAcquireFailed     PhoneNumberStatus = "AcquireFailed"
	PhoneNumberStatusUnassigned        PhoneNumberStatus = "Unassigned"
	PhoneNumberStatusAssigned          PhoneNumberStatus = "Assigned"
	PhoneNumberStatusReleaseInProgress PhoneNumberStatus = "ReleaseInProgress"
	PhoneNumberStatusDeleteInProgress  PhoneNumberStatus = "DeleteInProgress"
	PhoneNumberStatusReleaseFailed     PhoneNumberStatus = "ReleaseFailed"
	PhoneNumberStatusDeleteFailed      PhoneNumberStatus = "DeleteFailed"
)

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

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

type PhoneNumberType string

// Enum values for PhoneNumberType
const (
	PhoneNumberTypeLocal    PhoneNumberType = "Local"
	PhoneNumberTypeTollFree PhoneNumberType = "TollFree"
)

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

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

type RegistrationStatus string

// Enum values for RegistrationStatus
const (
	RegistrationStatusUnregistered RegistrationStatus = "Unregistered"
	RegistrationStatusRegistered   RegistrationStatus = "Registered"
	RegistrationStatusSuspended    RegistrationStatus = "Suspended"
)

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

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