// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package connectparticipant type ChatItemType string // Enum values for ChatItemType const ( ChatItemTypeMessage ChatItemType = "MESSAGE" ChatItemTypeEvent ChatItemType = "EVENT" ChatItemTypeConnectionAck ChatItemType = "CONNECTION_ACK" ) func (enum ChatItemType) MarshalValue() (string, error) { return string(enum), nil } func (enum ChatItemType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type ConnectionType string // Enum values for ConnectionType const ( ConnectionTypeWebsocket ConnectionType = "WEBSOCKET" ConnectionTypeConnectionCredentials ConnectionType = "CONNECTION_CREDENTIALS" ) func (enum ConnectionType) MarshalValue() (string, error) { return string(enum), nil } func (enum ConnectionType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type ParticipantRole string // Enum values for ParticipantRole const ( ParticipantRoleAgent ParticipantRole = "AGENT" ParticipantRoleCustomer ParticipantRole = "CUSTOMER" ParticipantRoleSystem ParticipantRole = "SYSTEM" ) func (enum ParticipantRole) MarshalValue() (string, error) { return string(enum), nil } func (enum ParticipantRole) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type ScanDirection string // Enum values for ScanDirection const ( ScanDirectionForward ScanDirection = "FORWARD" ScanDirectionBackward ScanDirection = "BACKWARD" ) func (enum ScanDirection) MarshalValue() (string, error) { return string(enum), nil } func (enum ScanDirection) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type SortKey string // Enum values for SortKey const ( SortKeyDescending SortKey = "DESCENDING" SortKeyAscending SortKey = "ASCENDING" ) func (enum SortKey) MarshalValue() (string, error) { return string(enum), nil } func (enum SortKey) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil }