icbt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.

Index

Constants

View Source
const RpcPathPrefix = "/twirp/icbt.Rpc/"

RpcPathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

Variables

View Source
var File_service_proto protoreflect.FileDescriptor

Functions

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type AddEventItemRequest

type AddEventItemRequest struct {
	EventRefId  string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEventItemRequest) Descriptor deprecated

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

Deprecated: Use AddEventItemRequest.ProtoReflect.Descriptor instead.

func (*AddEventItemRequest) GetDescription

func (x *AddEventItemRequest) GetDescription() string

func (*AddEventItemRequest) GetEventRefId

func (x *AddEventItemRequest) GetEventRefId() string

func (*AddEventItemRequest) ProtoMessage

func (*AddEventItemRequest) ProtoMessage()

func (*AddEventItemRequest) ProtoReflect

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

func (*AddEventItemRequest) Reset

func (x *AddEventItemRequest) Reset()

func (*AddEventItemRequest) String

func (x *AddEventItemRequest) String() string

type AddEventItemResponse

type AddEventItemResponse struct {
	EventItem *EventItem `protobuf:"bytes,1,opt,name=event_item,json=eventItem,proto3" json:"event_item,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEventItemResponse) Descriptor deprecated

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

Deprecated: Use AddEventItemResponse.ProtoReflect.Descriptor instead.

func (*AddEventItemResponse) GetEventItem

func (x *AddEventItemResponse) GetEventItem() *EventItem

func (*AddEventItemResponse) ProtoMessage

func (*AddEventItemResponse) ProtoMessage()

func (*AddEventItemResponse) ProtoReflect

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

func (*AddEventItemResponse) Reset

func (x *AddEventItemResponse) Reset()

func (*AddEventItemResponse) String

func (x *AddEventItemResponse) String() string

type CreateEarmarkRequest

type CreateEarmarkRequest struct {
	EventItemRefId string `protobuf:"bytes,1,opt,name=event_item_ref_id,json=eventItemRefId,proto3" json:"event_item_ref_id,omitempty"`
	Note           string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEarmarkRequest) Descriptor deprecated

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

Deprecated: Use CreateEarmarkRequest.ProtoReflect.Descriptor instead.

func (*CreateEarmarkRequest) GetEventItemRefId

func (x *CreateEarmarkRequest) GetEventItemRefId() string

func (*CreateEarmarkRequest) GetNote

func (x *CreateEarmarkRequest) GetNote() string

func (*CreateEarmarkRequest) ProtoMessage

func (*CreateEarmarkRequest) ProtoMessage()

func (*CreateEarmarkRequest) ProtoReflect

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

func (*CreateEarmarkRequest) Reset

func (x *CreateEarmarkRequest) Reset()

func (*CreateEarmarkRequest) String

func (x *CreateEarmarkRequest) String() string

type CreateEarmarkResponse

type CreateEarmarkResponse struct {
	Earmark *Earmark `protobuf:"bytes,1,opt,name=earmark,proto3" json:"earmark,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEarmarkResponse) Descriptor deprecated

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

Deprecated: Use CreateEarmarkResponse.ProtoReflect.Descriptor instead.

func (*CreateEarmarkResponse) GetEarmark

func (x *CreateEarmarkResponse) GetEarmark() *Earmark

func (*CreateEarmarkResponse) ProtoMessage

func (*CreateEarmarkResponse) ProtoMessage()

func (*CreateEarmarkResponse) ProtoReflect

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

func (*CreateEarmarkResponse) Reset

func (x *CreateEarmarkResponse) Reset()

func (*CreateEarmarkResponse) String

func (x *CreateEarmarkResponse) String() string

type CreateEventRequest

type CreateEventRequest struct {
	Name        string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	When        *TimestampTZ `protobuf:"bytes,3,opt,name=when,proto3" json:"when,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventRequest) Descriptor deprecated

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

Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.

func (*CreateEventRequest) GetDescription

func (x *CreateEventRequest) GetDescription() string

func (*CreateEventRequest) GetName

func (x *CreateEventRequest) GetName() string

func (*CreateEventRequest) GetWhen

func (x *CreateEventRequest) GetWhen() *TimestampTZ

func (*CreateEventRequest) ProtoMessage

func (*CreateEventRequest) ProtoMessage()

func (*CreateEventRequest) ProtoReflect

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

func (*CreateEventRequest) Reset

func (x *CreateEventRequest) Reset()

func (*CreateEventRequest) String

func (x *CreateEventRequest) String() string

type CreateEventResponse

type CreateEventResponse struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEventResponse) Descriptor deprecated

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

Deprecated: Use CreateEventResponse.ProtoReflect.Descriptor instead.

func (*CreateEventResponse) GetEvent

func (x *CreateEventResponse) GetEvent() *Event

func (*CreateEventResponse) ProtoMessage

func (*CreateEventResponse) ProtoMessage()

func (*CreateEventResponse) ProtoReflect

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

func (*CreateEventResponse) Reset

func (x *CreateEventResponse) Reset()

func (*CreateEventResponse) String

func (x *CreateEventResponse) String() string

type CreateFavoriteRequest

type CreateFavoriteRequest struct {
	EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
	// contains filtered or unexported fields
}

func (*CreateFavoriteRequest) Descriptor deprecated

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

Deprecated: Use CreateFavoriteRequest.ProtoReflect.Descriptor instead.

func (*CreateFavoriteRequest) GetEventRefId

func (x *CreateFavoriteRequest) GetEventRefId() string

func (*CreateFavoriteRequest) ProtoMessage

func (*CreateFavoriteRequest) ProtoMessage()

func (*CreateFavoriteRequest) ProtoReflect

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

func (*CreateFavoriteRequest) Reset

func (x *CreateFavoriteRequest) Reset()

func (*CreateFavoriteRequest) String

func (x *CreateFavoriteRequest) String() string

type CreateFavoriteResponse

type CreateFavoriteResponse struct {
	Favorite *Favorite `protobuf:"bytes,1,opt,name=favorite,proto3" json:"favorite,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFavoriteResponse) Descriptor deprecated

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

Deprecated: Use CreateFavoriteResponse.ProtoReflect.Descriptor instead.

func (*CreateFavoriteResponse) GetFavorite

func (x *CreateFavoriteResponse) GetFavorite() *Favorite

func (*CreateFavoriteResponse) ProtoMessage

func (*CreateFavoriteResponse) ProtoMessage()

func (*CreateFavoriteResponse) ProtoReflect

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

func (*CreateFavoriteResponse) Reset

func (x *CreateFavoriteResponse) Reset()

func (*CreateFavoriteResponse) String

func (x *CreateFavoriteResponse) String() string

type DeleteEventRequest

type DeleteEventRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEventRequest) Descriptor deprecated

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

Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventRequest) GetRefId

func (x *DeleteEventRequest) GetRefId() string

func (*DeleteEventRequest) ProtoMessage

func (*DeleteEventRequest) ProtoMessage()

func (*DeleteEventRequest) ProtoReflect

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

func (*DeleteEventRequest) Reset

func (x *DeleteEventRequest) Reset()

func (*DeleteEventRequest) String

func (x *DeleteEventRequest) String() string

type DeleteNotificationRequest

type DeleteNotificationRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotificationRequest) Descriptor deprecated

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

Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationRequest) GetRefId

func (x *DeleteNotificationRequest) GetRefId() string

func (*DeleteNotificationRequest) ProtoMessage

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) ProtoReflect

func (*DeleteNotificationRequest) Reset

func (x *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) String

func (x *DeleteNotificationRequest) String() string

type Earmark

type Earmark struct {
	RefId          string                 `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	EventItemRefId string                 `protobuf:"bytes,2,opt,name=event_item_ref_id,json=eventItemRefId,proto3" json:"event_item_ref_id,omitempty"`
	Note           string                 `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Owner          string                 `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Created        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*Earmark) Descriptor deprecated

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

Deprecated: Use Earmark.ProtoReflect.Descriptor instead.

func (*Earmark) GetCreated

func (x *Earmark) GetCreated() *timestamppb.Timestamp

func (*Earmark) GetEventItemRefId

func (x *Earmark) GetEventItemRefId() string

func (*Earmark) GetNote

func (x *Earmark) GetNote() string

func (*Earmark) GetOwner

func (x *Earmark) GetOwner() string

func (*Earmark) GetRefId

func (x *Earmark) GetRefId() string

func (*Earmark) ProtoMessage

func (*Earmark) ProtoMessage()

func (*Earmark) ProtoReflect

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

func (*Earmark) Reset

func (x *Earmark) Reset()

func (*Earmark) String

func (x *Earmark) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Event

type Event struct {
	RefId       string                 `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	When        *TimestampTZ           `protobuf:"bytes,4,opt,name=when,proto3" json:"when,omitempty"`
	Archived    bool                   `protobuf:"varint,5,opt,name=archived,proto3" json:"archived,omitempty"`
	Created     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetArchived

func (x *Event) GetArchived() bool

func (*Event) GetCreated

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

func (*Event) GetDescription

func (x *Event) GetDescription() string

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetRefId

func (x *Event) GetRefId() string

func (*Event) GetWhen

func (x *Event) GetWhen() *TimestampTZ

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 EventItem

type EventItem struct {
	RefId       string                 `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Created     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*EventItem) Descriptor deprecated

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

Deprecated: Use EventItem.ProtoReflect.Descriptor instead.

func (*EventItem) GetCreated

func (x *EventItem) GetCreated() *timestamppb.Timestamp

func (*EventItem) GetDescription

func (x *EventItem) GetDescription() string

func (*EventItem) GetRefId

func (x *EventItem) GetRefId() string

func (*EventItem) ProtoMessage

func (*EventItem) ProtoMessage()

func (*EventItem) ProtoReflect

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

func (*EventItem) Reset

func (x *EventItem) Reset()

func (*EventItem) String

func (x *EventItem) String() string

type Favorite

type Favorite struct {
	EventRefId string                 `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
	Created    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*Favorite) Descriptor deprecated

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

Deprecated: Use Favorite.ProtoReflect.Descriptor instead.

func (*Favorite) GetCreated

func (x *Favorite) GetCreated() *timestamppb.Timestamp

func (*Favorite) GetEventRefId

func (x *Favorite) GetEventRefId() string

func (*Favorite) ProtoMessage

func (*Favorite) ProtoMessage()

func (*Favorite) ProtoReflect

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

func (*Favorite) Reset

func (x *Favorite) Reset()

func (*Favorite) String

func (x *Favorite) String() string

type GetEarmarkDetailsRequest

type GetEarmarkDetailsRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEarmarkDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetEarmarkDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetEarmarkDetailsRequest) GetRefId

func (x *GetEarmarkDetailsRequest) GetRefId() string

func (*GetEarmarkDetailsRequest) ProtoMessage

func (*GetEarmarkDetailsRequest) ProtoMessage()

func (*GetEarmarkDetailsRequest) ProtoReflect

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

func (*GetEarmarkDetailsRequest) Reset

func (x *GetEarmarkDetailsRequest) Reset()

func (*GetEarmarkDetailsRequest) String

func (x *GetEarmarkDetailsRequest) String() string

type GetEarmarkDetailsResponse

type GetEarmarkDetailsResponse struct {
	Earmark    *Earmark `protobuf:"bytes,1,opt,name=earmark,proto3" json:"earmark,omitempty"`
	EventRefId string   `protobuf:"bytes,2,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEarmarkDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetEarmarkDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetEarmarkDetailsResponse) GetEarmark

func (x *GetEarmarkDetailsResponse) GetEarmark() *Earmark

func (*GetEarmarkDetailsResponse) GetEventRefId

func (x *GetEarmarkDetailsResponse) GetEventRefId() string

func (*GetEarmarkDetailsResponse) ProtoMessage

func (*GetEarmarkDetailsResponse) ProtoMessage()

func (*GetEarmarkDetailsResponse) ProtoReflect

func (*GetEarmarkDetailsResponse) Reset

func (x *GetEarmarkDetailsResponse) Reset()

func (*GetEarmarkDetailsResponse) String

func (x *GetEarmarkDetailsResponse) String() string

type GetEventDetailsRequest

type GetEventDetailsRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetEventDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetEventDetailsRequest) GetRefId

func (x *GetEventDetailsRequest) GetRefId() string

func (*GetEventDetailsRequest) ProtoMessage

func (*GetEventDetailsRequest) ProtoMessage()

func (*GetEventDetailsRequest) ProtoReflect

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

func (*GetEventDetailsRequest) Reset

func (x *GetEventDetailsRequest) Reset()

func (*GetEventDetailsRequest) String

func (x *GetEventDetailsRequest) String() string

type GetEventDetailsResponse

type GetEventDetailsResponse struct {
	Event    *Event       `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Items    []*EventItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	Earmarks []*Earmark   `protobuf:"bytes,3,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetEventDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetEventDetailsResponse) GetEarmarks

func (x *GetEventDetailsResponse) GetEarmarks() []*Earmark

func (*GetEventDetailsResponse) GetEvent

func (x *GetEventDetailsResponse) GetEvent() *Event

func (*GetEventDetailsResponse) GetItems

func (x *GetEventDetailsResponse) GetItems() []*EventItem

func (*GetEventDetailsResponse) ProtoMessage

func (*GetEventDetailsResponse) ProtoMessage()

func (*GetEventDetailsResponse) ProtoReflect

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

func (*GetEventDetailsResponse) Reset

func (x *GetEventDetailsResponse) Reset()

func (*GetEventDetailsResponse) String

func (x *GetEventDetailsResponse) String() string

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type ListEarmarksRequest

type ListEarmarksRequest struct {
	Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	Archived   *bool              `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEarmarksRequest) Descriptor deprecated

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

Deprecated: Use ListEarmarksRequest.ProtoReflect.Descriptor instead.

func (*ListEarmarksRequest) GetArchived

func (x *ListEarmarksRequest) GetArchived() bool

func (*ListEarmarksRequest) GetPagination

func (x *ListEarmarksRequest) GetPagination() *PaginationRequest

func (*ListEarmarksRequest) ProtoMessage

func (*ListEarmarksRequest) ProtoMessage()

func (*ListEarmarksRequest) ProtoReflect

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

func (*ListEarmarksRequest) Reset

func (x *ListEarmarksRequest) Reset()

func (*ListEarmarksRequest) String

func (x *ListEarmarksRequest) String() string

type ListEarmarksResponse

type ListEarmarksResponse struct {
	Earmarks   []*Earmark        `protobuf:"bytes,1,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
	Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEarmarksResponse) Descriptor deprecated

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

Deprecated: Use ListEarmarksResponse.ProtoReflect.Descriptor instead.

func (*ListEarmarksResponse) GetEarmarks

func (x *ListEarmarksResponse) GetEarmarks() []*Earmark

func (*ListEarmarksResponse) GetPagination

func (x *ListEarmarksResponse) GetPagination() *PaginationResult

func (*ListEarmarksResponse) ProtoMessage

func (*ListEarmarksResponse) ProtoMessage()

func (*ListEarmarksResponse) ProtoReflect

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

func (*ListEarmarksResponse) Reset

func (x *ListEarmarksResponse) Reset()

func (*ListEarmarksResponse) String

func (x *ListEarmarksResponse) String() string

type ListEventEarmarksRequest

type ListEventEarmarksRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"` // event ref-id
	// contains filtered or unexported fields
}

func (*ListEventEarmarksRequest) Descriptor deprecated

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

Deprecated: Use ListEventEarmarksRequest.ProtoReflect.Descriptor instead.

func (*ListEventEarmarksRequest) GetRefId

func (x *ListEventEarmarksRequest) GetRefId() string

func (*ListEventEarmarksRequest) ProtoMessage

func (*ListEventEarmarksRequest) ProtoMessage()

func (*ListEventEarmarksRequest) ProtoReflect

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

func (*ListEventEarmarksRequest) Reset

func (x *ListEventEarmarksRequest) Reset()

func (*ListEventEarmarksRequest) String

func (x *ListEventEarmarksRequest) String() string

type ListEventEarmarksResponse

type ListEventEarmarksResponse struct {
	Earmarks   []*Earmark        `protobuf:"bytes,1,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
	Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventEarmarksResponse) Descriptor deprecated

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

Deprecated: Use ListEventEarmarksResponse.ProtoReflect.Descriptor instead.

func (*ListEventEarmarksResponse) GetEarmarks

func (x *ListEventEarmarksResponse) GetEarmarks() []*Earmark

func (*ListEventEarmarksResponse) GetPagination

func (x *ListEventEarmarksResponse) GetPagination() *PaginationResult

func (*ListEventEarmarksResponse) ProtoMessage

func (*ListEventEarmarksResponse) ProtoMessage()

func (*ListEventEarmarksResponse) ProtoReflect

func (*ListEventEarmarksResponse) Reset

func (x *ListEventEarmarksResponse) Reset()

func (*ListEventEarmarksResponse) String

func (x *ListEventEarmarksResponse) String() string

type ListEventItemsRequest

type ListEventItemsRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"` // event ref-id
	// contains filtered or unexported fields
}

func (*ListEventItemsRequest) Descriptor deprecated

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

Deprecated: Use ListEventItemsRequest.ProtoReflect.Descriptor instead.

func (*ListEventItemsRequest) GetRefId

func (x *ListEventItemsRequest) GetRefId() string

func (*ListEventItemsRequest) ProtoMessage

func (*ListEventItemsRequest) ProtoMessage()

func (*ListEventItemsRequest) ProtoReflect

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

func (*ListEventItemsRequest) Reset

func (x *ListEventItemsRequest) Reset()

func (*ListEventItemsRequest) String

func (x *ListEventItemsRequest) String() string

type ListEventItemsResponse

type ListEventItemsResponse struct {
	Items      []*EventItem      `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventItemsResponse) Descriptor deprecated

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

Deprecated: Use ListEventItemsResponse.ProtoReflect.Descriptor instead.

func (*ListEventItemsResponse) GetItems

func (x *ListEventItemsResponse) GetItems() []*EventItem

func (*ListEventItemsResponse) GetPagination

func (x *ListEventItemsResponse) GetPagination() *PaginationResult

func (*ListEventItemsResponse) ProtoMessage

func (*ListEventItemsResponse) ProtoMessage()

func (*ListEventItemsResponse) ProtoReflect

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

func (*ListEventItemsResponse) Reset

func (x *ListEventItemsResponse) Reset()

func (*ListEventItemsResponse) String

func (x *ListEventItemsResponse) String() string

type ListEventsRequest

type ListEventsRequest struct {
	Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	Archived   *bool              `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsRequest) Descriptor deprecated

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetArchived

func (x *ListEventsRequest) GetArchived() bool

func (*ListEventsRequest) GetPagination

func (x *ListEventsRequest) GetPagination() *PaginationRequest

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

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

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Events     []*Event          `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEventsResponse) Descriptor deprecated

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*Event

func (*ListEventsResponse) GetPagination

func (x *ListEventsResponse) GetPagination() *PaginationResult

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

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

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListFavoriteEventsRequest

type ListFavoriteEventsRequest struct {
	Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	Archived   *bool              `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFavoriteEventsRequest) Descriptor deprecated

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

Deprecated: Use ListFavoriteEventsRequest.ProtoReflect.Descriptor instead.

func (*ListFavoriteEventsRequest) GetArchived

func (x *ListFavoriteEventsRequest) GetArchived() bool

func (*ListFavoriteEventsRequest) GetPagination

func (x *ListFavoriteEventsRequest) GetPagination() *PaginationRequest

func (*ListFavoriteEventsRequest) ProtoMessage

func (*ListFavoriteEventsRequest) ProtoMessage()

func (*ListFavoriteEventsRequest) ProtoReflect

func (*ListFavoriteEventsRequest) Reset

func (x *ListFavoriteEventsRequest) Reset()

func (*ListFavoriteEventsRequest) String

func (x *ListFavoriteEventsRequest) String() string

type ListFavoriteEventsResponse

type ListFavoriteEventsResponse struct {
	Events     []*Event          `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFavoriteEventsResponse) Descriptor deprecated

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

Deprecated: Use ListFavoriteEventsResponse.ProtoReflect.Descriptor instead.

func (*ListFavoriteEventsResponse) GetEvents

func (x *ListFavoriteEventsResponse) GetEvents() []*Event

func (*ListFavoriteEventsResponse) GetPagination

func (x *ListFavoriteEventsResponse) GetPagination() *PaginationResult

func (*ListFavoriteEventsResponse) ProtoMessage

func (*ListFavoriteEventsResponse) ProtoMessage()

func (*ListFavoriteEventsResponse) ProtoReflect

func (*ListFavoriteEventsResponse) Reset

func (x *ListFavoriteEventsResponse) Reset()

func (*ListFavoriteEventsResponse) String

func (x *ListFavoriteEventsResponse) String() string

type ListNotificationsRequest

type ListNotificationsRequest struct {
	Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNotificationsRequest) Descriptor deprecated

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

Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) GetPagination

func (x *ListNotificationsRequest) GetPagination() *PaginationRequest

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect

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

func (*ListNotificationsRequest) Reset

func (x *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String

func (x *ListNotificationsRequest) String() string

type ListNotificationsResponse

type ListNotificationsResponse struct {
	Notifications []*Notification   `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	Pagination    *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNotificationsResponse) Descriptor deprecated

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

Deprecated: Use ListNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationsResponse) GetNotifications

func (x *ListNotificationsResponse) GetNotifications() []*Notification

func (*ListNotificationsResponse) GetPagination

func (x *ListNotificationsResponse) GetPagination() *PaginationResult

func (*ListNotificationsResponse) ProtoMessage

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) ProtoReflect

func (*ListNotificationsResponse) Reset

func (x *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) String

func (x *ListNotificationsResponse) String() string

type Notification

type Notification struct {
	RefId   string                 `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCreated

func (x *Notification) GetCreated() *timestamppb.Timestamp

func (*Notification) GetMessage

func (x *Notification) GetMessage() string

func (*Notification) GetRefId

func (x *Notification) GetRefId() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type PaginationRequest

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

func (*PaginationRequest) Descriptor deprecated

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

Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.

func (*PaginationRequest) GetLimit

func (x *PaginationRequest) GetLimit() uint32

func (*PaginationRequest) GetOffset

func (x *PaginationRequest) GetOffset() uint32

func (*PaginationRequest) ProtoMessage

func (*PaginationRequest) ProtoMessage()

func (*PaginationRequest) ProtoReflect

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

func (*PaginationRequest) Reset

func (x *PaginationRequest) Reset()

func (*PaginationRequest) String

func (x *PaginationRequest) String() string

type PaginationResult

type PaginationResult struct {
	Limit  uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Count  uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginationResult) Descriptor deprecated

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

Deprecated: Use PaginationResult.ProtoReflect.Descriptor instead.

func (*PaginationResult) GetCount

func (x *PaginationResult) GetCount() uint32

func (*PaginationResult) GetLimit

func (x *PaginationResult) GetLimit() uint32

func (*PaginationResult) GetOffset

func (x *PaginationResult) GetOffset() uint32

func (*PaginationResult) ProtoMessage

func (*PaginationResult) ProtoMessage()

func (*PaginationResult) ProtoReflect

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

func (*PaginationResult) Reset

func (x *PaginationResult) Reset()

func (*PaginationResult) String

func (x *PaginationResult) String() string

type RemoveEarmarkRequest

type RemoveEarmarkRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveEarmarkRequest) Descriptor deprecated

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

Deprecated: Use RemoveEarmarkRequest.ProtoReflect.Descriptor instead.

func (*RemoveEarmarkRequest) GetRefId

func (x *RemoveEarmarkRequest) GetRefId() string

func (*RemoveEarmarkRequest) ProtoMessage

func (*RemoveEarmarkRequest) ProtoMessage()

func (*RemoveEarmarkRequest) ProtoReflect

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

func (*RemoveEarmarkRequest) Reset

func (x *RemoveEarmarkRequest) Reset()

func (*RemoveEarmarkRequest) String

func (x *RemoveEarmarkRequest) String() string

type RemoveEventItemRequest

type RemoveEventItemRequest struct {
	RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveEventItemRequest) Descriptor deprecated

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

Deprecated: Use RemoveEventItemRequest.ProtoReflect.Descriptor instead.

func (*RemoveEventItemRequest) GetRefId

func (x *RemoveEventItemRequest) GetRefId() string

func (*RemoveEventItemRequest) ProtoMessage

func (*RemoveEventItemRequest) ProtoMessage()

func (*RemoveEventItemRequest) ProtoReflect

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

func (*RemoveEventItemRequest) Reset

func (x *RemoveEventItemRequest) Reset()

func (*RemoveEventItemRequest) String

func (x *RemoveEventItemRequest) String() string

type RemoveFavoriteRequest

type RemoveFavoriteRequest struct {
	EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
	// contains filtered or unexported fields
}

func (*RemoveFavoriteRequest) Descriptor deprecated

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

Deprecated: Use RemoveFavoriteRequest.ProtoReflect.Descriptor instead.

func (*RemoveFavoriteRequest) GetEventRefId

func (x *RemoveFavoriteRequest) GetEventRefId() string

func (*RemoveFavoriteRequest) ProtoMessage

func (*RemoveFavoriteRequest) ProtoMessage()

func (*RemoveFavoriteRequest) ProtoReflect

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

func (*RemoveFavoriteRequest) Reset

func (x *RemoveFavoriteRequest) Reset()

func (*RemoveFavoriteRequest) String

func (x *RemoveFavoriteRequest) String() string

type Rpc

type Rpc interface {
	// events
	CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)

	UpdateEvent(context.Context, *UpdateEventRequest) (*Empty, error)

	DeleteEvent(context.Context, *DeleteEventRequest) (*Empty, error)

	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)

	GetEventDetails(context.Context, *GetEventDetailsRequest) (*GetEventDetailsResponse, error)

	ListEventItems(context.Context, *ListEventItemsRequest) (*ListEventItemsResponse, error)

	ListEventEarmarks(context.Context, *ListEventEarmarksRequest) (*ListEventEarmarksResponse, error)

	// event-items
	AddEventItem(context.Context, *AddEventItemRequest) (*AddEventItemResponse, error)

	UpdateEventItem(context.Context, *UpdateEventItemRequest) (*UpdateEventItemResponse, error)

	RemoveEventItem(context.Context, *RemoveEventItemRequest) (*Empty, error)

	// earmarks
	CreateEarmark(context.Context, *CreateEarmarkRequest) (*CreateEarmarkResponse, error)

	GetEarmarkDetails(context.Context, *GetEarmarkDetailsRequest) (*GetEarmarkDetailsResponse, error)

	RemoveEarmark(context.Context, *RemoveEarmarkRequest) (*Empty, error)

	ListEarmarks(context.Context, *ListEarmarksRequest) (*ListEarmarksResponse, error)

	// favorites
	AddFavorite(context.Context, *CreateFavoriteRequest) (*CreateFavoriteResponse, error)

	RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*Empty, error)

	ListFavoriteEvents(context.Context, *ListFavoriteEventsRequest) (*ListFavoriteEventsResponse, error)

	// notifications
	DeleteNotification(context.Context, *DeleteNotificationRequest) (*Empty, error)

	DeleteAllNotifications(context.Context, *Empty) (*Empty, error)

	ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error)
}

func NewRpcJSONClient

func NewRpcJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Rpc

NewRpcJSONClient creates a JSON client that implements the Rpc interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRpcProtobufClient

func NewRpcProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Rpc

NewRpcProtobufClient creates a Protobuf client that implements the Rpc interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type TimestampTZ

type TimestampTZ struct {
	Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // timestamp
	Tz string                 `protobuf:"bytes,2,opt,name=tz,proto3" json:"tz,omitempty"` // timezone
	// contains filtered or unexported fields
}

func (*TimestampTZ) Descriptor deprecated

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

Deprecated: Use TimestampTZ.ProtoReflect.Descriptor instead.

func (*TimestampTZ) GetTs

func (x *TimestampTZ) GetTs() *timestamppb.Timestamp

func (*TimestampTZ) GetTz

func (x *TimestampTZ) GetTz() string

func (*TimestampTZ) ProtoMessage

func (*TimestampTZ) ProtoMessage()

func (*TimestampTZ) ProtoReflect

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

func (*TimestampTZ) Reset

func (x *TimestampTZ) Reset()

func (*TimestampTZ) String

func (x *TimestampTZ) String() string

type TwirpServer

type TwirpServer interface {
	http.Handler

	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)

	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string

	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route Twirp requests.
	// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
	// that is, everything in a Twirp route except for the <Method> at the end.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewRpcServer

func NewRpcServer(svc Rpc, opts ...interface{}) TwirpServer

NewRpcServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

type UpdateEventItemRequest

type UpdateEventItemRequest struct {
	RefId       string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventItemRequest) Descriptor deprecated

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

Deprecated: Use UpdateEventItemRequest.ProtoReflect.Descriptor instead.

func (*UpdateEventItemRequest) GetDescription

func (x *UpdateEventItemRequest) GetDescription() string

func (*UpdateEventItemRequest) GetRefId

func (x *UpdateEventItemRequest) GetRefId() string

func (*UpdateEventItemRequest) ProtoMessage

func (*UpdateEventItemRequest) ProtoMessage()

func (*UpdateEventItemRequest) ProtoReflect

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

func (*UpdateEventItemRequest) Reset

func (x *UpdateEventItemRequest) Reset()

func (*UpdateEventItemRequest) String

func (x *UpdateEventItemRequest) String() string

type UpdateEventItemResponse

type UpdateEventItemResponse struct {
	EventItem *EventItem `protobuf:"bytes,1,opt,name=event_item,json=eventItem,proto3" json:"event_item,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventItemResponse) Descriptor deprecated

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

Deprecated: Use UpdateEventItemResponse.ProtoReflect.Descriptor instead.

func (*UpdateEventItemResponse) GetEventItem

func (x *UpdateEventItemResponse) GetEventItem() *EventItem

func (*UpdateEventItemResponse) ProtoMessage

func (*UpdateEventItemResponse) ProtoMessage()

func (*UpdateEventItemResponse) ProtoReflect

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

func (*UpdateEventItemResponse) Reset

func (x *UpdateEventItemResponse) Reset()

func (*UpdateEventItemResponse) String

func (x *UpdateEventItemResponse) String() string

type UpdateEventRequest

type UpdateEventRequest struct {
	RefId       string       `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	Name        *string      `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Description *string      `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	When        *TimestampTZ `protobuf:"bytes,4,opt,name=when,proto3,oneof" json:"when,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventRequest) Descriptor deprecated

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

Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.

func (*UpdateEventRequest) GetDescription

func (x *UpdateEventRequest) GetDescription() string

func (*UpdateEventRequest) GetName

func (x *UpdateEventRequest) GetName() string

func (*UpdateEventRequest) GetRefId

func (x *UpdateEventRequest) GetRefId() string

func (*UpdateEventRequest) GetWhen

func (x *UpdateEventRequest) GetWhen() *TimestampTZ

func (*UpdateEventRequest) ProtoMessage

func (*UpdateEventRequest) ProtoMessage()

func (*UpdateEventRequest) ProtoReflect

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

func (*UpdateEventRequest) Reset

func (x *UpdateEventRequest) Reset()

func (*UpdateEventRequest) String

func (x *UpdateEventRequest) String() string

Jump to

Keyboard shortcuts

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