event

package
v3.0.0-next.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_zitadel_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Aggregate

type Aggregate struct {
	Id            string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type          *AggregateType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	ResourceOwner string         `protobuf:"bytes,3,opt,name=resource_owner,json=resourceOwner,proto3" json:"resource_owner,omitempty"`
	// contains filtered or unexported fields
}

func (*Aggregate) Descriptor deprecated

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

Deprecated: Use Aggregate.ProtoReflect.Descriptor instead.

func (*Aggregate) GetId

func (x *Aggregate) GetId() string

func (*Aggregate) GetResourceOwner

func (x *Aggregate) GetResourceOwner() string

func (*Aggregate) GetType

func (x *Aggregate) GetType() *AggregateType

func (*Aggregate) ProtoMessage

func (*Aggregate) ProtoMessage()

func (*Aggregate) ProtoReflect

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

func (*Aggregate) Reset

func (x *Aggregate) Reset()

func (*Aggregate) String

func (x *Aggregate) String() string

type AggregateType

type AggregateType struct {
	Type      string                    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Localized *message.LocalizedMessage `protobuf:"bytes,2,opt,name=localized,proto3" json:"localized,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregateType) Descriptor deprecated

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

Deprecated: Use AggregateType.ProtoReflect.Descriptor instead.

func (*AggregateType) GetLocalized

func (x *AggregateType) GetLocalized() *message.LocalizedMessage

func (*AggregateType) GetType

func (x *AggregateType) GetType() string

func (*AggregateType) ProtoMessage

func (*AggregateType) ProtoMessage()

func (*AggregateType) ProtoReflect

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

func (*AggregateType) Reset

func (x *AggregateType) Reset()

func (*AggregateType) String

func (x *AggregateType) String() string

type Editor

type Editor struct {
	UserId      string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Service     string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*Editor) Descriptor deprecated

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

Deprecated: Use Editor.ProtoReflect.Descriptor instead.

func (*Editor) GetDisplayName

func (x *Editor) GetDisplayName() string

func (*Editor) GetService

func (x *Editor) GetService() string

func (*Editor) GetUserId

func (x *Editor) GetUserId() string

func (*Editor) ProtoMessage

func (*Editor) ProtoMessage()

func (*Editor) ProtoReflect

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

func (*Editor) Reset

func (x *Editor) Reset()

func (*Editor) String

func (x *Editor) String() string

type Event

type Event struct {
	Editor       *Editor                `protobuf:"bytes,1,opt,name=editor,proto3" json:"editor,omitempty"`
	Aggregate    *Aggregate             `protobuf:"bytes,2,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
	Sequence     uint64                 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	CreationDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	Payload      *structpb.Struct       `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
	Type         *EventType             `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAggregate

func (x *Event) GetAggregate() *Aggregate

func (*Event) GetCreationDate

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

func (*Event) GetEditor

func (x *Event) GetEditor() *Editor

func (*Event) GetPayload

func (x *Event) GetPayload() *structpb.Struct

func (*Event) GetSequence

func (x *Event) GetSequence() uint64

func (*Event) GetType

func (x *Event) GetType() *EventType

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventType

type EventType struct {
	Type      string                    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Localized *message.LocalizedMessage `protobuf:"bytes,2,opt,name=localized,proto3" json:"localized,omitempty"`
	// contains filtered or unexported fields
}

func (*EventType) Descriptor deprecated

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

Deprecated: Use EventType.ProtoReflect.Descriptor instead.

func (*EventType) GetLocalized

func (x *EventType) GetLocalized() *message.LocalizedMessage

func (*EventType) GetType

func (x *EventType) GetType() string

func (*EventType) ProtoMessage

func (*EventType) ProtoMessage()

func (*EventType) ProtoReflect

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

func (*EventType) Reset

func (x *EventType) Reset()

func (*EventType) String

func (x *EventType) String() string

Jump to

Keyboard shortcuts

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