Documentation
¶
Index ¶
- Constants
- type EventKind
- type GetEventsGetEventValue
- func (v *GetEventsGetEventValue) GetCreatedAt() time.Time
- func (v *GetEventsGetEventValue) GetEventData() map[string]interface{}
- func (v *GetEventsGetEventValue) GetEventKind() EventKind
- func (v *GetEventsGetEventValue) GetEventReference() []uuid.UUID
- func (v *GetEventsGetEventValue) GetEventSourceId() uuid.UUID
- func (v *GetEventsGetEventValue) GetEventSourceType() string
- func (v *GetEventsGetEventValue) GetEventType() string
- func (v *GetEventsGetEventValue) GetEventVersion() string
- func (v *GetEventsGetEventValue) GetId() uuid.UUID
- func (v *GetEventsGetEventValue) GetObjectIds() []uuid.UUID
- func (v *GetEventsGetEventValue) GetOccurredAt() time.Time
- type GetEventsResponse
- type GetLimitedEventsGetEventValue
- type GetLimitedEventsResponse
Constants ¶
const GetEvents_Operation = `` /* 458-byte string literal not displayed */
The query or mutation executed by GetEvents.
const GetLimitedEvents_Operation = `
query GetLimitedEvents {
get(query: {}) {
objectIds
eventType
eventKind
eventSourceType
}
}
`
The query or mutation executed by GetLimitedEvents.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetEventsGetEventValue ¶
type GetEventsGetEventValue struct { Id uuid.UUID `json:"id"` CreatedAt time.Time `json:"createdAt"` OccurredAt time.Time `json:"occurredAt"` ObjectIds []uuid.UUID `json:"objectIds"` EventType string `json:"eventType"` EventVersion string `json:"eventVersion"` EventKind EventKind `json:"eventKind"` EventSourceId uuid.UUID `json:"eventSourceId"` EventSourceType string `json:"eventSourceType"` EventReference []uuid.UUID `json:"eventReference"` EventData map[string]interface{} `json:"eventData"` }
GetEventsGetEventValue includes the requested fields of the GraphQL type EventValue.
func (*GetEventsGetEventValue) GetCreatedAt ¶
func (v *GetEventsGetEventValue) GetCreatedAt() time.Time
GetCreatedAt returns GetEventsGetEventValue.CreatedAt, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventData ¶
func (v *GetEventsGetEventValue) GetEventData() map[string]interface{}
GetEventData returns GetEventsGetEventValue.EventData, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventKind ¶
func (v *GetEventsGetEventValue) GetEventKind() EventKind
GetEventKind returns GetEventsGetEventValue.EventKind, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventReference ¶
func (v *GetEventsGetEventValue) GetEventReference() []uuid.UUID
GetEventReference returns GetEventsGetEventValue.EventReference, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventSourceId ¶
func (v *GetEventsGetEventValue) GetEventSourceId() uuid.UUID
GetEventSourceId returns GetEventsGetEventValue.EventSourceId, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventSourceType ¶
func (v *GetEventsGetEventValue) GetEventSourceType() string
GetEventSourceType returns GetEventsGetEventValue.EventSourceType, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventType ¶
func (v *GetEventsGetEventValue) GetEventType() string
GetEventType returns GetEventsGetEventValue.EventType, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetEventVersion ¶
func (v *GetEventsGetEventValue) GetEventVersion() string
GetEventVersion returns GetEventsGetEventValue.EventVersion, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetId ¶
func (v *GetEventsGetEventValue) GetId() uuid.UUID
GetId returns GetEventsGetEventValue.Id, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetObjectIds ¶
func (v *GetEventsGetEventValue) GetObjectIds() []uuid.UUID
GetObjectIds returns GetEventsGetEventValue.ObjectIds, and is useful for accessing the field via an interface.
func (*GetEventsGetEventValue) GetOccurredAt ¶
func (v *GetEventsGetEventValue) GetOccurredAt() time.Time
GetOccurredAt returns GetEventsGetEventValue.OccurredAt, and is useful for accessing the field via an interface.
type GetEventsResponse ¶
type GetEventsResponse struct {
Get []GetEventsGetEventValue `json:"get"`
}
GetEventsResponse is returned by GetEvents on success.
func (*GetEventsResponse) GetGet ¶
func (v *GetEventsResponse) GetGet() []GetEventsGetEventValue
GetGet returns GetEventsResponse.Get, and is useful for accessing the field via an interface.
type GetLimitedEventsGetEventValue ¶
type GetLimitedEventsGetEventValue struct { ObjectIds []uuid.UUID `json:"objectIds"` EventType string `json:"eventType"` EventKind EventKind `json:"eventKind"` EventSourceType string `json:"eventSourceType"` }
GetLimitedEventsGetEventValue includes the requested fields of the GraphQL type EventValue.
func (*GetLimitedEventsGetEventValue) GetEventKind ¶
func (v *GetLimitedEventsGetEventValue) GetEventKind() EventKind
GetEventKind returns GetLimitedEventsGetEventValue.EventKind, and is useful for accessing the field via an interface.
func (*GetLimitedEventsGetEventValue) GetEventSourceType ¶
func (v *GetLimitedEventsGetEventValue) GetEventSourceType() string
GetEventSourceType returns GetLimitedEventsGetEventValue.EventSourceType, and is useful for accessing the field via an interface.
func (*GetLimitedEventsGetEventValue) GetEventType ¶
func (v *GetLimitedEventsGetEventValue) GetEventType() string
GetEventType returns GetLimitedEventsGetEventValue.EventType, and is useful for accessing the field via an interface.
func (*GetLimitedEventsGetEventValue) GetObjectIds ¶
func (v *GetLimitedEventsGetEventValue) GetObjectIds() []uuid.UUID
GetObjectIds returns GetLimitedEventsGetEventValue.ObjectIds, and is useful for accessing the field via an interface.
type GetLimitedEventsResponse ¶
type GetLimitedEventsResponse struct {
Get []GetLimitedEventsGetEventValue `json:"get"`
}
GetLimitedEventsResponse is returned by GetLimitedEvents on success.
func GetLimitedEvents ¶
func (*GetLimitedEventsResponse) GetGet ¶
func (v *GetLimitedEventsResponse) GetGet() []GetLimitedEventsGetEventValue
GetGet returns GetLimitedEventsResponse.Get, and is useful for accessing the field via an interface.