object

package
v2.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TextQueryMethod_name = map[int32]string{
		0: "TEXT_QUERY_METHOD_EQUALS",
		1: "TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE",
		2: "TEXT_QUERY_METHOD_STARTS_WITH",
		3: "TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE",
		4: "TEXT_QUERY_METHOD_CONTAINS",
		5: "TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE",
		6: "TEXT_QUERY_METHOD_ENDS_WITH",
		7: "TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE",
	}
	TextQueryMethod_value = map[string]int32{
		"TEXT_QUERY_METHOD_EQUALS":                  0,
		"TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE":      1,
		"TEXT_QUERY_METHOD_STARTS_WITH":             2,
		"TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE": 3,
		"TEXT_QUERY_METHOD_CONTAINS":                4,
		"TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE":    5,
		"TEXT_QUERY_METHOD_ENDS_WITH":               6,
		"TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE":   7,
	}
)

Enum value maps for TextQueryMethod.

View Source
var (
	ListQueryMethod_name = map[int32]string{
		0: "LIST_QUERY_METHOD_IN",
	}
	ListQueryMethod_value = map[string]int32{
		"LIST_QUERY_METHOD_IN": 0,
	}
)

Enum value maps for ListQueryMethod.

View Source
var (
	TimestampQueryMethod_name = map[int32]string{
		0: "TIMESTAMP_QUERY_METHOD_EQUALS",
		1: "TIMESTAMP_QUERY_METHOD_GREATER",
		2: "TIMESTAMP_QUERY_METHOD_GREATER_OR_EQUALS",
		3: "TIMESTAMP_QUERY_METHOD_LESS",
		4: "TIMESTAMP_QUERY_METHOD_LESS_OR_EQUALS",
	}
	TimestampQueryMethod_value = map[string]int32{
		"TIMESTAMP_QUERY_METHOD_EQUALS":            0,
		"TIMESTAMP_QUERY_METHOD_GREATER":           1,
		"TIMESTAMP_QUERY_METHOD_GREATER_OR_EQUALS": 2,
		"TIMESTAMP_QUERY_METHOD_LESS":              3,
		"TIMESTAMP_QUERY_METHOD_LESS_OR_EQUALS":    4,
	}
)

Enum value maps for TimestampQueryMethod.

View Source
var File_zitadel_object_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ListDetails

type ListDetails struct {
	TotalResult       uint64                 `protobuf:"varint,1,opt,name=total_result,json=totalResult,proto3" json:"total_result,omitempty"`
	ProcessedSequence uint64                 `protobuf:"varint,2,opt,name=processed_sequence,json=processedSequence,proto3" json:"processed_sequence,omitempty"`
	ViewTimestamp     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=view_timestamp,json=viewTimestamp,proto3" json:"view_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDetails) Descriptor deprecated

func (*ListDetails) Descriptor() ([]byte, []int)

Deprecated: Use ListDetails.ProtoReflect.Descriptor instead.

func (*ListDetails) GetProcessedSequence

func (x *ListDetails) GetProcessedSequence() uint64

func (*ListDetails) GetTotalResult

func (x *ListDetails) GetTotalResult() uint64

func (*ListDetails) GetViewTimestamp

func (x *ListDetails) GetViewTimestamp() *timestamppb.Timestamp

func (*ListDetails) ProtoMessage

func (*ListDetails) ProtoMessage()

func (*ListDetails) ProtoReflect

func (x *ListDetails) ProtoReflect() protoreflect.Message

func (*ListDetails) Reset

func (x *ListDetails) Reset()

func (*ListDetails) String

func (x *ListDetails) String() string

type ListQuery

type ListQuery struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Asc    bool   `protobuf:"varint,3,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQuery) Descriptor deprecated

func (*ListQuery) Descriptor() ([]byte, []int)

Deprecated: Use ListQuery.ProtoReflect.Descriptor instead.

func (*ListQuery) GetAsc

func (x *ListQuery) GetAsc() bool

func (*ListQuery) GetLimit

func (x *ListQuery) GetLimit() uint32

func (*ListQuery) GetOffset

func (x *ListQuery) GetOffset() uint64

func (*ListQuery) ProtoMessage

func (*ListQuery) ProtoMessage()

func (*ListQuery) ProtoReflect

func (x *ListQuery) ProtoReflect() protoreflect.Message

func (*ListQuery) Reset

func (x *ListQuery) Reset()

func (*ListQuery) String

func (x *ListQuery) String() string

type ListQueryMethod

type ListQueryMethod int32
const (
	ListQueryMethod_LIST_QUERY_METHOD_IN ListQueryMethod = 0
)

func (ListQueryMethod) Descriptor

func (ListQueryMethod) Enum

func (x ListQueryMethod) Enum() *ListQueryMethod

func (ListQueryMethod) EnumDescriptor deprecated

func (ListQueryMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListQueryMethod.Descriptor instead.

func (ListQueryMethod) Number

func (ListQueryMethod) String

func (x ListQueryMethod) String() string

func (ListQueryMethod) Type

type ObjectDetails

type ObjectDetails struct {

	// sequence represents the order of events. It's always counting
	//
	// on read: the sequence of the last event reduced by the projection
	//
	// on manipulation: the timestamp of the event(s) added by the manipulation
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// creation_date is the timestamp where the first operation on the object was made
	//
	// on read: the timestamp of the first event of the object
	//
	// on create: the timestamp of the event(s) added by the manipulation
	CreationDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	// change_date is the timestamp when the object was changed
	//
	// on read: the timestamp of the last event reduced by the projection
	//
	// on manipulation: the
	ChangeDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_date,json=changeDate,proto3" json:"change_date,omitempty"`
	// resource_owner is the organization an object belongs to
	ResourceOwner string `protobuf:"bytes,4,opt,name=resource_owner,json=resourceOwner,proto3" json:"resource_owner,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDetails) Descriptor deprecated

func (*ObjectDetails) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDetails.ProtoReflect.Descriptor instead.

func (*ObjectDetails) GetChangeDate

func (x *ObjectDetails) GetChangeDate() *timestamppb.Timestamp

func (*ObjectDetails) GetCreationDate

func (x *ObjectDetails) GetCreationDate() *timestamppb.Timestamp

func (*ObjectDetails) GetResourceOwner

func (x *ObjectDetails) GetResourceOwner() string

func (*ObjectDetails) GetSequence

func (x *ObjectDetails) GetSequence() uint64

func (*ObjectDetails) ProtoMessage

func (*ObjectDetails) ProtoMessage()

func (*ObjectDetails) ProtoReflect

func (x *ObjectDetails) ProtoReflect() protoreflect.Message

func (*ObjectDetails) Reset

func (x *ObjectDetails) Reset()

func (*ObjectDetails) String

func (x *ObjectDetails) String() string

type TextQueryMethod

type TextQueryMethod int32
const (
	TextQueryMethod_TEXT_QUERY_METHOD_EQUALS                  TextQueryMethod = 0
	TextQueryMethod_TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE      TextQueryMethod = 1
	TextQueryMethod_TEXT_QUERY_METHOD_STARTS_WITH             TextQueryMethod = 2
	TextQueryMethod_TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE TextQueryMethod = 3
	TextQueryMethod_TEXT_QUERY_METHOD_CONTAINS                TextQueryMethod = 4
	TextQueryMethod_TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE    TextQueryMethod = 5
	TextQueryMethod_TEXT_QUERY_METHOD_ENDS_WITH               TextQueryMethod = 6
	TextQueryMethod_TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE   TextQueryMethod = 7
)

func (TextQueryMethod) Descriptor

func (TextQueryMethod) Enum

func (x TextQueryMethod) Enum() *TextQueryMethod

func (TextQueryMethod) EnumDescriptor deprecated

func (TextQueryMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use TextQueryMethod.Descriptor instead.

func (TextQueryMethod) Number

func (TextQueryMethod) String

func (x TextQueryMethod) String() string

func (TextQueryMethod) Type

type TimestampQueryMethod added in v2.1.3

type TimestampQueryMethod int32
const (
	TimestampQueryMethod_TIMESTAMP_QUERY_METHOD_EQUALS            TimestampQueryMethod = 0
	TimestampQueryMethod_TIMESTAMP_QUERY_METHOD_GREATER           TimestampQueryMethod = 1
	TimestampQueryMethod_TIMESTAMP_QUERY_METHOD_GREATER_OR_EQUALS TimestampQueryMethod = 2
	TimestampQueryMethod_TIMESTAMP_QUERY_METHOD_LESS              TimestampQueryMethod = 3
	TimestampQueryMethod_TIMESTAMP_QUERY_METHOD_LESS_OR_EQUALS    TimestampQueryMethod = 4
)

func (TimestampQueryMethod) Descriptor added in v2.1.3

func (TimestampQueryMethod) Enum added in v2.1.3

func (TimestampQueryMethod) EnumDescriptor deprecated added in v2.1.3

func (TimestampQueryMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use TimestampQueryMethod.Descriptor instead.

func (TimestampQueryMethod) Number added in v2.1.3

func (TimestampQueryMethod) String added in v2.1.3

func (x TimestampQueryMethod) String() string

func (TimestampQueryMethod) Type added in v2.1.3

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL