Documentation
¶
Index ¶
- Variables
- type AccessLevel
- func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AccessLevel) Enum() *AccessLevel
- func (AccessLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessLevel) Number() protoreflect.EnumNumber
- func (x AccessLevel) String() string
- func (AccessLevel) Type() protoreflect.EnumType
- type Calendar
- func (*Calendar) Descriptor() ([]byte, []int)deprecated
- func (x *Calendar) GetAccess() *CalendarAccess
- func (x *Calendar) GetClosed() bool
- func (x *Calendar) GetColor() string
- func (x *Calendar) GetCreatedAt() *timestamp.Timestamp
- func (x *Calendar) GetCreator() *users.UserShort
- func (x *Calendar) GetCreatorId() int32
- func (x *Calendar) GetCreatorJob() string
- func (x *Calendar) GetDeletedAt() *timestamp.Timestamp
- func (x *Calendar) GetDescription() string
- func (x *Calendar) GetId() int64
- func (x *Calendar) GetJob() string
- func (x *Calendar) GetName() string
- func (x *Calendar) GetPublic() bool
- func (x *Calendar) GetSubscription() *CalendarSub
- func (x *Calendar) GetUpdatedAt() *timestamp.Timestamp
- func (*Calendar) ProtoMessage()
- func (x *Calendar) ProtoReflect() protoreflect.Message
- func (x *Calendar) Reset()
- func (m *Calendar) Sanitize() error
- func (x *Calendar) String() string
- type CalendarAccess
- func (*CalendarAccess) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarAccess) GetJobs() []*CalendarJobAccess
- func (x *CalendarAccess) GetUsers() []*CalendarUserAccess
- func (*CalendarAccess) ProtoMessage()
- func (x *CalendarAccess) ProtoReflect() protoreflect.Message
- func (x *CalendarAccess) Reset()
- func (m *CalendarAccess) Sanitize() error
- func (x *CalendarAccess) String() string
- type CalendarEntry
- func (*CalendarEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEntry) GetCalendar() *Calendar
- func (x *CalendarEntry) GetCalendarId() int64
- func (x *CalendarEntry) GetClosed() bool
- func (x *CalendarEntry) GetContent() *content.Content
- func (x *CalendarEntry) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarEntry) GetCreator() *users.UserShort
- func (x *CalendarEntry) GetCreatorId() int32
- func (x *CalendarEntry) GetCreatorJob() string
- func (x *CalendarEntry) GetDeletedAt() *timestamp.Timestamp
- func (x *CalendarEntry) GetEndTime() *timestamp.Timestamp
- func (x *CalendarEntry) GetId() int64
- func (x *CalendarEntry) GetJob() string
- func (x *CalendarEntry) GetRecurring() *CalendarEntryRecurring
- func (x *CalendarEntry) GetRsvp() *CalendarEntryRSVP
- func (x *CalendarEntry) GetRsvpOpen() bool
- func (x *CalendarEntry) GetStartTime() *timestamp.Timestamp
- func (x *CalendarEntry) GetTitle() string
- func (x *CalendarEntry) GetUpdatedAt() *timestamp.Timestamp
- func (*CalendarEntry) ProtoMessage()
- func (x *CalendarEntry) ProtoReflect() protoreflect.Message
- func (x *CalendarEntry) Reset()
- func (m *CalendarEntry) Sanitize() error
- func (x *CalendarEntry) String() string
- type CalendarEntryRSVP
- func (*CalendarEntryRSVP) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEntryRSVP) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarEntryRSVP) GetEntryId() int64
- func (x *CalendarEntryRSVP) GetResponse() RsvpResponses
- func (x *CalendarEntryRSVP) GetUser() *users.UserShort
- func (x *CalendarEntryRSVP) GetUserId() int32
- func (*CalendarEntryRSVP) ProtoMessage()
- func (x *CalendarEntryRSVP) ProtoReflect() protoreflect.Message
- func (x *CalendarEntryRSVP) Reset()
- func (m *CalendarEntryRSVP) Sanitize() error
- func (x *CalendarEntryRSVP) String() string
- type CalendarEntryRecurring
- func (*CalendarEntryRecurring) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEntryRecurring) GetCount() int32
- func (x *CalendarEntryRecurring) GetEvery() string
- func (x *CalendarEntryRecurring) GetUntil() *timestamp.Timestamp
- func (*CalendarEntryRecurring) ProtoMessage()
- func (x *CalendarEntryRecurring) ProtoReflect() protoreflect.Message
- func (x *CalendarEntryRecurring) Reset()
- func (m *CalendarEntryRecurring) Sanitize() error
- func (x *CalendarEntryRecurring) Scan(value any) error
- func (x *CalendarEntryRecurring) String() string
- func (x *CalendarEntryRecurring) Value() (driver.Value, error)
- type CalendarJobAccess
- func (*CalendarJobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarJobAccess) GetAccess() AccessLevel
- func (x *CalendarJobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarJobAccess) GetId() int64
- func (x *CalendarJobAccess) GetJob() string
- func (x *CalendarJobAccess) GetJobGrade() int32
- func (x *CalendarJobAccess) GetJobGradeLabel() string
- func (x *CalendarJobAccess) GetJobLabel() string
- func (x *CalendarJobAccess) GetMinimumGrade() int32
- func (x *CalendarJobAccess) GetTargetId() int64
- func (*CalendarJobAccess) ProtoMessage()
- func (x *CalendarJobAccess) ProtoReflect() protoreflect.Message
- func (x *CalendarJobAccess) Reset()
- func (m *CalendarJobAccess) Sanitize() error
- func (x *CalendarJobAccess) SetAccess(access AccessLevel)
- func (x *CalendarJobAccess) SetJob(job string)
- func (x *CalendarJobAccess) SetJobGrade(grade int32)
- func (x *CalendarJobAccess) SetJobGradeLabel(label string)
- func (x *CalendarJobAccess) SetJobLabel(label string)
- func (x *CalendarJobAccess) SetMinimumGrade(grade int32)
- func (x *CalendarJobAccess) String() string
- type CalendarShort
- func (*CalendarShort) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarShort) GetClosed() bool
- func (x *CalendarShort) GetColor() string
- func (x *CalendarShort) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarShort) GetDescription() string
- func (x *CalendarShort) GetId() int64
- func (x *CalendarShort) GetJob() string
- func (x *CalendarShort) GetName() string
- func (x *CalendarShort) GetPublic() bool
- func (x *CalendarShort) GetSubscription() *CalendarSub
- func (*CalendarShort) ProtoMessage()
- func (x *CalendarShort) ProtoReflect() protoreflect.Message
- func (x *CalendarShort) Reset()
- func (m *CalendarShort) Sanitize() error
- func (x *CalendarShort) String() string
- type CalendarSub
- func (*CalendarSub) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarSub) GetCalendarId() int64
- func (x *CalendarSub) GetConfirmed() bool
- func (x *CalendarSub) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarSub) GetMuted() bool
- func (x *CalendarSub) GetUser() *users.UserShort
- func (x *CalendarSub) GetUserId() int32
- func (*CalendarSub) ProtoMessage()
- func (x *CalendarSub) ProtoReflect() protoreflect.Message
- func (x *CalendarSub) Reset()
- func (m *CalendarSub) Sanitize() error
- func (x *CalendarSub) String() string
- type CalendarUserAccess
- func (*CalendarUserAccess) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarUserAccess) GetAccess() AccessLevel
- func (x *CalendarUserAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarUserAccess) GetId() int64
- func (x *CalendarUserAccess) GetTargetId() int64
- func (x *CalendarUserAccess) GetUser() *users.UserShort
- func (x *CalendarUserAccess) GetUserId() int32
- func (*CalendarUserAccess) ProtoMessage()
- func (x *CalendarUserAccess) ProtoReflect() protoreflect.Message
- func (x *CalendarUserAccess) Reset()
- func (m *CalendarUserAccess) Sanitize() error
- func (x *CalendarUserAccess) SetAccess(access AccessLevel)
- func (x *CalendarUserAccess) SetUserId(id int32)
- func (x *CalendarUserAccess) String() string
- type RsvpResponses
- func (RsvpResponses) Descriptor() protoreflect.EnumDescriptor
- func (x RsvpResponses) Enum() *RsvpResponses
- func (RsvpResponses) EnumDescriptor() ([]byte, []int)deprecated
- func (x RsvpResponses) Number() protoreflect.EnumNumber
- func (x RsvpResponses) String() string
- func (RsvpResponses) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( AccessLevel_name = map[int32]string{ 0: "ACCESS_LEVEL_UNSPECIFIED", 1: "ACCESS_LEVEL_BLOCKED", 2: "ACCESS_LEVEL_VIEW", 3: "ACCESS_LEVEL_SHARE", 4: "ACCESS_LEVEL_EDIT", 5: "ACCESS_LEVEL_MANAGE", } AccessLevel_value = map[string]int32{ "ACCESS_LEVEL_UNSPECIFIED": 0, "ACCESS_LEVEL_BLOCKED": 1, "ACCESS_LEVEL_VIEW": 2, "ACCESS_LEVEL_SHARE": 3, "ACCESS_LEVEL_EDIT": 4, "ACCESS_LEVEL_MANAGE": 5, } )
Enum value maps for AccessLevel.
var ( RsvpResponses_name = map[int32]string{ 0: "RSVP_RESPONSES_UNSPECIFIED", 1: "RSVP_RESPONSES_HIDDEN", 2: "RSVP_RESPONSES_INVITED", 3: "RSVP_RESPONSES_NO", 4: "RSVP_RESPONSES_MAYBE", 5: "RSVP_RESPONSES_YES", } RsvpResponses_value = map[string]int32{ "RSVP_RESPONSES_UNSPECIFIED": 0, "RSVP_RESPONSES_HIDDEN": 1, "RSVP_RESPONSES_INVITED": 2, "RSVP_RESPONSES_NO": 3, "RSVP_RESPONSES_MAYBE": 4, "RSVP_RESPONSES_YES": 5, } )
Enum value maps for RsvpResponses.
var File_resources_calendar_access_proto protoreflect.FileDescriptor
var File_resources_calendar_calendar_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessLevel ¶
type AccessLevel int32
const ( AccessLevel_ACCESS_LEVEL_UNSPECIFIED AccessLevel = 0 AccessLevel_ACCESS_LEVEL_BLOCKED AccessLevel = 1 AccessLevel_ACCESS_LEVEL_VIEW AccessLevel = 2 AccessLevel_ACCESS_LEVEL_SHARE AccessLevel = 3 AccessLevel_ACCESS_LEVEL_EDIT AccessLevel = 4 AccessLevel_ACCESS_LEVEL_MANAGE AccessLevel = 5 )
func (AccessLevel) Descriptor ¶
func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
func (AccessLevel) Enum ¶
func (x AccessLevel) Enum() *AccessLevel
func (AccessLevel) EnumDescriptor
deprecated
func (AccessLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessLevel.Descriptor instead.
func (AccessLevel) Number ¶
func (x AccessLevel) Number() protoreflect.EnumNumber
func (AccessLevel) String ¶
func (x AccessLevel) String() string
func (AccessLevel) Type ¶
func (AccessLevel) Type() protoreflect.EnumType
type Calendar ¶
type Calendar struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id" sql:"primary_key"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
Job *string `protobuf:"bytes,5,opt,name=job,proto3,oneof" json:"job,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
Public bool `protobuf:"varint,8,opt,name=public,proto3" json:"public,omitempty"`
Closed bool `protobuf:"varint,9,opt,name=closed,proto3" json:"closed,omitempty"`
Color string `protobuf:"bytes,10,opt,name=color,proto3" json:"color,omitempty"`
CreatorId *int32 `protobuf:"varint,11,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
Creator *users.UserShort `protobuf:"bytes,12,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"`
CreatorJob string `protobuf:"bytes,13,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
Subscription *CalendarSub `protobuf:"bytes,14,opt,name=subscription,proto3,oneof" json:"subscription,omitempty"`
Access *CalendarAccess `protobuf:"bytes,15,opt,name=access,proto3" json:"access,omitempty"`
// contains filtered or unexported fields
}
func (*Calendar) Descriptor
deprecated
func (*Calendar) GetAccess ¶
func (x *Calendar) GetAccess() *CalendarAccess
func (*Calendar) GetCreatedAt ¶
func (*Calendar) GetCreator ¶
func (*Calendar) GetCreatorId ¶
func (*Calendar) GetCreatorJob ¶
func (*Calendar) GetDeletedAt ¶
func (*Calendar) GetDescription ¶
func (*Calendar) GetSubscription ¶
func (x *Calendar) GetSubscription() *CalendarSub
func (*Calendar) GetUpdatedAt ¶
func (*Calendar) ProtoMessage ¶
func (*Calendar) ProtoMessage()
func (*Calendar) ProtoReflect ¶
func (x *Calendar) ProtoReflect() protoreflect.Message
type CalendarAccess ¶
type CalendarAccess struct {
Jobs []*CalendarJobAccess `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" alias:"job_access"`
Users []*CalendarUserAccess `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty" alias:"user_access"`
// contains filtered or unexported fields
}
func (*CalendarAccess) Descriptor
deprecated
func (*CalendarAccess) Descriptor() ([]byte, []int)
Deprecated: Use CalendarAccess.ProtoReflect.Descriptor instead.
func (*CalendarAccess) GetJobs ¶
func (x *CalendarAccess) GetJobs() []*CalendarJobAccess
func (*CalendarAccess) GetUsers ¶
func (x *CalendarAccess) GetUsers() []*CalendarUserAccess
func (*CalendarAccess) ProtoMessage ¶
func (*CalendarAccess) ProtoMessage()
func (*CalendarAccess) ProtoReflect ¶
func (x *CalendarAccess) ProtoReflect() protoreflect.Message
func (*CalendarAccess) Reset ¶
func (x *CalendarAccess) Reset()
func (*CalendarAccess) Sanitize ¶
func (m *CalendarAccess) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarAccess) String ¶
func (x *CalendarAccess) String() string
type CalendarEntry ¶
type CalendarEntry struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id" sql:"primary_key"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"`
CalendarId int64 `protobuf:"varint,5,opt,name=calendar_id,json=calendarId,proto3" json:"calendar_id,omitempty"`
Calendar *Calendar `protobuf:"bytes,6,opt,name=calendar,proto3,oneof" json:"calendar,omitempty"`
Job *string `protobuf:"bytes,7,opt,name=job,proto3,oneof" json:"job,omitempty"`
StartTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`
Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
Content *content.Content `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"`
Closed bool `protobuf:"varint,12,opt,name=closed,proto3" json:"closed,omitempty"`
RsvpOpen *bool `protobuf:"varint,13,opt,name=rsvp_open,json=rsvpOpen,proto3,oneof" json:"rsvp_open,omitempty"`
CreatorId *int32 `protobuf:"varint,14,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
Creator *users.UserShort `protobuf:"bytes,15,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"`
CreatorJob string `protobuf:"bytes,16,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"`
Recurring *CalendarEntryRecurring `protobuf:"bytes,17,opt,name=recurring,proto3,oneof" json:"recurring,omitempty"`
Rsvp *CalendarEntryRSVP `protobuf:"bytes,18,opt,name=rsvp,proto3,oneof" json:"rsvp,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarEntry) Descriptor
deprecated
func (*CalendarEntry) Descriptor() ([]byte, []int)
Deprecated: Use CalendarEntry.ProtoReflect.Descriptor instead.
func (*CalendarEntry) GetCalendar ¶
func (x *CalendarEntry) GetCalendar() *Calendar
func (*CalendarEntry) GetCalendarId ¶
func (x *CalendarEntry) GetCalendarId() int64
func (*CalendarEntry) GetClosed ¶
func (x *CalendarEntry) GetClosed() bool
func (*CalendarEntry) GetContent ¶
func (x *CalendarEntry) GetContent() *content.Content
func (*CalendarEntry) GetCreatedAt ¶
func (x *CalendarEntry) GetCreatedAt() *timestamp.Timestamp
func (*CalendarEntry) GetCreator ¶
func (x *CalendarEntry) GetCreator() *users.UserShort
func (*CalendarEntry) GetCreatorId ¶
func (x *CalendarEntry) GetCreatorId() int32
func (*CalendarEntry) GetCreatorJob ¶
func (x *CalendarEntry) GetCreatorJob() string
func (*CalendarEntry) GetDeletedAt ¶
func (x *CalendarEntry) GetDeletedAt() *timestamp.Timestamp
func (*CalendarEntry) GetEndTime ¶
func (x *CalendarEntry) GetEndTime() *timestamp.Timestamp
func (*CalendarEntry) GetId ¶
func (x *CalendarEntry) GetId() int64
func (*CalendarEntry) GetJob ¶
func (x *CalendarEntry) GetJob() string
func (*CalendarEntry) GetRecurring ¶
func (x *CalendarEntry) GetRecurring() *CalendarEntryRecurring
func (*CalendarEntry) GetRsvp ¶
func (x *CalendarEntry) GetRsvp() *CalendarEntryRSVP
func (*CalendarEntry) GetRsvpOpen ¶
func (x *CalendarEntry) GetRsvpOpen() bool
func (*CalendarEntry) GetStartTime ¶
func (x *CalendarEntry) GetStartTime() *timestamp.Timestamp
func (*CalendarEntry) GetTitle ¶
func (x *CalendarEntry) GetTitle() string
func (*CalendarEntry) GetUpdatedAt ¶
func (x *CalendarEntry) GetUpdatedAt() *timestamp.Timestamp
func (*CalendarEntry) ProtoMessage ¶
func (*CalendarEntry) ProtoMessage()
func (*CalendarEntry) ProtoReflect ¶
func (x *CalendarEntry) ProtoReflect() protoreflect.Message
func (*CalendarEntry) Reset ¶
func (x *CalendarEntry) Reset()
func (*CalendarEntry) Sanitize ¶
func (m *CalendarEntry) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarEntry) String ¶
func (x *CalendarEntry) String() string
type CalendarEntryRSVP ¶
type CalendarEntryRSVP struct {
EntryId int64 `protobuf:"varint,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
User *users.UserShort `protobuf:"bytes,4,opt,name=user,proto3,oneof" json:"user,omitempty"`
Response RsvpResponses `protobuf:"varint,5,opt,name=response,proto3,enum=resources.calendar.RsvpResponses" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarEntryRSVP) Descriptor
deprecated
func (*CalendarEntryRSVP) Descriptor() ([]byte, []int)
Deprecated: Use CalendarEntryRSVP.ProtoReflect.Descriptor instead.
func (*CalendarEntryRSVP) GetCreatedAt ¶
func (x *CalendarEntryRSVP) GetCreatedAt() *timestamp.Timestamp
func (*CalendarEntryRSVP) GetEntryId ¶
func (x *CalendarEntryRSVP) GetEntryId() int64
func (*CalendarEntryRSVP) GetResponse ¶
func (x *CalendarEntryRSVP) GetResponse() RsvpResponses
func (*CalendarEntryRSVP) GetUser ¶
func (x *CalendarEntryRSVP) GetUser() *users.UserShort
func (*CalendarEntryRSVP) GetUserId ¶
func (x *CalendarEntryRSVP) GetUserId() int32
func (*CalendarEntryRSVP) ProtoMessage ¶
func (*CalendarEntryRSVP) ProtoMessage()
func (*CalendarEntryRSVP) ProtoReflect ¶
func (x *CalendarEntryRSVP) ProtoReflect() protoreflect.Message
func (*CalendarEntryRSVP) Reset ¶
func (x *CalendarEntryRSVP) Reset()
func (*CalendarEntryRSVP) Sanitize ¶
func (m *CalendarEntryRSVP) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarEntryRSVP) String ¶
func (x *CalendarEntryRSVP) String() string
type CalendarEntryRecurring ¶
type CalendarEntryRecurring struct {
Every string `protobuf:"bytes,1,opt,name=every,proto3" json:"every,omitempty"`
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
Until *timestamp.Timestamp `protobuf:"bytes,3,opt,name=until,proto3,oneof" json:"until,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarEntryRecurring) Descriptor
deprecated
func (*CalendarEntryRecurring) Descriptor() ([]byte, []int)
Deprecated: Use CalendarEntryRecurring.ProtoReflect.Descriptor instead.
func (*CalendarEntryRecurring) GetCount ¶
func (x *CalendarEntryRecurring) GetCount() int32
func (*CalendarEntryRecurring) GetEvery ¶
func (x *CalendarEntryRecurring) GetEvery() string
func (*CalendarEntryRecurring) GetUntil ¶
func (x *CalendarEntryRecurring) GetUntil() *timestamp.Timestamp
func (*CalendarEntryRecurring) ProtoMessage ¶
func (*CalendarEntryRecurring) ProtoMessage()
func (*CalendarEntryRecurring) ProtoReflect ¶
func (x *CalendarEntryRecurring) ProtoReflect() protoreflect.Message
func (*CalendarEntryRecurring) Reset ¶
func (x *CalendarEntryRecurring) Reset()
func (*CalendarEntryRecurring) Sanitize ¶
func (m *CalendarEntryRecurring) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarEntryRecurring) Scan ¶
func (x *CalendarEntryRecurring) Scan(value any) error
Scan implements driver.Valuer for protobuf CalendarEntryRecurring.
func (*CalendarEntryRecurring) String ¶
func (x *CalendarEntryRecurring) String() string
type CalendarJobAccess ¶
type CalendarJobAccess struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
JobLabel *string `protobuf:"bytes,5,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
MinimumGrade int32 `protobuf:"varint,6,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty"`
JobGradeLabel *string `protobuf:"bytes,7,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"`
Access AccessLevel `protobuf:"varint,8,opt,name=access,proto3,enum=resources.calendar.AccessLevel" json:"access,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarJobAccess) Descriptor
deprecated
func (*CalendarJobAccess) Descriptor() ([]byte, []int)
Deprecated: Use CalendarJobAccess.ProtoReflect.Descriptor instead.
func (*CalendarJobAccess) GetAccess ¶
func (x *CalendarJobAccess) GetAccess() AccessLevel
func (*CalendarJobAccess) GetCreatedAt ¶
func (x *CalendarJobAccess) GetCreatedAt() *timestamp.Timestamp
func (*CalendarJobAccess) GetId ¶
func (x *CalendarJobAccess) GetId() int64
func (*CalendarJobAccess) GetJob ¶
func (x *CalendarJobAccess) GetJob() string
func (*CalendarJobAccess) GetJobGrade ¶
func (x *CalendarJobAccess) GetJobGrade() int32
func (*CalendarJobAccess) GetJobGradeLabel ¶
func (x *CalendarJobAccess) GetJobGradeLabel() string
func (*CalendarJobAccess) GetJobLabel ¶
func (x *CalendarJobAccess) GetJobLabel() string
func (*CalendarJobAccess) GetMinimumGrade ¶
func (x *CalendarJobAccess) GetMinimumGrade() int32
func (*CalendarJobAccess) GetTargetId ¶
func (x *CalendarJobAccess) GetTargetId() int64
func (*CalendarJobAccess) ProtoMessage ¶
func (*CalendarJobAccess) ProtoMessage()
func (*CalendarJobAccess) ProtoReflect ¶
func (x *CalendarJobAccess) ProtoReflect() protoreflect.Message
func (*CalendarJobAccess) Reset ¶
func (x *CalendarJobAccess) Reset()
func (*CalendarJobAccess) Sanitize ¶
func (m *CalendarJobAccess) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarJobAccess) SetAccess ¶
func (x *CalendarJobAccess) SetAccess(access AccessLevel)
func (*CalendarJobAccess) SetJob ¶
func (x *CalendarJobAccess) SetJob(job string)
func (*CalendarJobAccess) SetJobGrade ¶
func (x *CalendarJobAccess) SetJobGrade(grade int32)
func (*CalendarJobAccess) SetJobGradeLabel ¶
func (x *CalendarJobAccess) SetJobGradeLabel(label string)
func (*CalendarJobAccess) SetJobLabel ¶
func (x *CalendarJobAccess) SetJobLabel(label string)
func (*CalendarJobAccess) SetMinimumGrade ¶
func (x *CalendarJobAccess) SetMinimumGrade(grade int32)
func (*CalendarJobAccess) String ¶
func (x *CalendarJobAccess) String() string
type CalendarShort ¶
type CalendarShort struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id" sql:"primary_key"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
Job *string `protobuf:"bytes,5,opt,name=job,proto3,oneof" json:"job,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"`
Public bool `protobuf:"varint,8,opt,name=public,proto3" json:"public,omitempty"`
Closed bool `protobuf:"varint,9,opt,name=closed,proto3" json:"closed,omitempty"`
Color string `protobuf:"bytes,10,opt,name=color,proto3" json:"color,omitempty"`
Subscription *CalendarSub `protobuf:"bytes,14,opt,name=subscription,proto3,oneof" json:"subscription,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarShort) Descriptor
deprecated
func (*CalendarShort) Descriptor() ([]byte, []int)
Deprecated: Use CalendarShort.ProtoReflect.Descriptor instead.
func (*CalendarShort) GetClosed ¶
func (x *CalendarShort) GetClosed() bool
func (*CalendarShort) GetColor ¶
func (x *CalendarShort) GetColor() string
func (*CalendarShort) GetCreatedAt ¶
func (x *CalendarShort) GetCreatedAt() *timestamp.Timestamp
func (*CalendarShort) GetDescription ¶
func (x *CalendarShort) GetDescription() string
func (*CalendarShort) GetId ¶
func (x *CalendarShort) GetId() int64
func (*CalendarShort) GetJob ¶ added in v2025.9.0
func (x *CalendarShort) GetJob() string
func (*CalendarShort) GetName ¶
func (x *CalendarShort) GetName() string
func (*CalendarShort) GetPublic ¶
func (x *CalendarShort) GetPublic() bool
func (*CalendarShort) GetSubscription ¶
func (x *CalendarShort) GetSubscription() *CalendarSub
func (*CalendarShort) ProtoMessage ¶
func (*CalendarShort) ProtoMessage()
func (*CalendarShort) ProtoReflect ¶
func (x *CalendarShort) ProtoReflect() protoreflect.Message
func (*CalendarShort) Reset ¶
func (x *CalendarShort) Reset()
func (*CalendarShort) Sanitize ¶
func (m *CalendarShort) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarShort) String ¶
func (x *CalendarShort) String() string
type CalendarSub ¶
type CalendarSub struct {
CalendarId int64 `protobuf:"varint,1,opt,name=calendar_id,json=calendarId,proto3" json:"calendar_id,omitempty"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
User *users.UserShort `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
Confirmed bool `protobuf:"varint,5,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
Muted bool `protobuf:"varint,6,opt,name=muted,proto3" json:"muted,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarSub) Descriptor
deprecated
func (*CalendarSub) Descriptor() ([]byte, []int)
Deprecated: Use CalendarSub.ProtoReflect.Descriptor instead.
func (*CalendarSub) GetCalendarId ¶
func (x *CalendarSub) GetCalendarId() int64
func (*CalendarSub) GetConfirmed ¶
func (x *CalendarSub) GetConfirmed() bool
func (*CalendarSub) GetCreatedAt ¶
func (x *CalendarSub) GetCreatedAt() *timestamp.Timestamp
func (*CalendarSub) GetMuted ¶
func (x *CalendarSub) GetMuted() bool
func (*CalendarSub) GetUser ¶
func (x *CalendarSub) GetUser() *users.UserShort
func (*CalendarSub) GetUserId ¶
func (x *CalendarSub) GetUserId() int32
func (*CalendarSub) ProtoMessage ¶
func (*CalendarSub) ProtoMessage()
func (*CalendarSub) ProtoReflect ¶
func (x *CalendarSub) ProtoReflect() protoreflect.Message
func (*CalendarSub) Reset ¶
func (x *CalendarSub) Reset()
func (*CalendarSub) Sanitize ¶
func (m *CalendarSub) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarSub) String ¶
func (x *CalendarSub) String() string
type CalendarUserAccess ¶
type CalendarUserAccess struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
User *users.UserShort `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"`
Access AccessLevel `protobuf:"varint,6,opt,name=access,proto3,enum=resources.calendar.AccessLevel" json:"access,omitempty"`
// contains filtered or unexported fields
}
func (*CalendarUserAccess) Descriptor
deprecated
func (*CalendarUserAccess) Descriptor() ([]byte, []int)
Deprecated: Use CalendarUserAccess.ProtoReflect.Descriptor instead.
func (*CalendarUserAccess) GetAccess ¶
func (x *CalendarUserAccess) GetAccess() AccessLevel
func (*CalendarUserAccess) GetCreatedAt ¶
func (x *CalendarUserAccess) GetCreatedAt() *timestamp.Timestamp
func (*CalendarUserAccess) GetId ¶
func (x *CalendarUserAccess) GetId() int64
func (*CalendarUserAccess) GetTargetId ¶
func (x *CalendarUserAccess) GetTargetId() int64
func (*CalendarUserAccess) GetUser ¶
func (x *CalendarUserAccess) GetUser() *users.UserShort
func (*CalendarUserAccess) GetUserId ¶
func (x *CalendarUserAccess) GetUserId() int32
func (*CalendarUserAccess) ProtoMessage ¶
func (*CalendarUserAccess) ProtoMessage()
func (*CalendarUserAccess) ProtoReflect ¶
func (x *CalendarUserAccess) ProtoReflect() protoreflect.Message
func (*CalendarUserAccess) Reset ¶
func (x *CalendarUserAccess) Reset()
func (*CalendarUserAccess) Sanitize ¶
func (m *CalendarUserAccess) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*CalendarUserAccess) SetAccess ¶
func (x *CalendarUserAccess) SetAccess(access AccessLevel)
func (*CalendarUserAccess) SetUserId ¶
func (x *CalendarUserAccess) SetUserId(id int32)
func (*CalendarUserAccess) String ¶
func (x *CalendarUserAccess) String() string
type RsvpResponses ¶
type RsvpResponses int32
const ( RsvpResponses_RSVP_RESPONSES_UNSPECIFIED RsvpResponses = 0 RsvpResponses_RSVP_RESPONSES_HIDDEN RsvpResponses = 1 RsvpResponses_RSVP_RESPONSES_INVITED RsvpResponses = 2 RsvpResponses_RSVP_RESPONSES_NO RsvpResponses = 3 RsvpResponses_RSVP_RESPONSES_MAYBE RsvpResponses = 4 RsvpResponses_RSVP_RESPONSES_YES RsvpResponses = 5 )
func (RsvpResponses) Descriptor ¶
func (RsvpResponses) Descriptor() protoreflect.EnumDescriptor
func (RsvpResponses) Enum ¶
func (x RsvpResponses) Enum() *RsvpResponses
func (RsvpResponses) EnumDescriptor
deprecated
func (RsvpResponses) EnumDescriptor() ([]byte, []int)
Deprecated: Use RsvpResponses.Descriptor instead.
func (RsvpResponses) Number ¶
func (x RsvpResponses) Number() protoreflect.EnumNumber
func (RsvpResponses) String ¶
func (x RsvpResponses) String() string
func (RsvpResponses) Type ¶
func (RsvpResponses) Type() protoreflect.EnumType