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() uint64
- 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
- func (m *Calendar) Validate() error
- func (m *Calendar) ValidateAll() error
- 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
- func (m *CalendarAccess) Validate() error
- func (m *CalendarAccess) ValidateAll() error
- type CalendarAccessMultiError
- type CalendarAccessValidationError
- func (e CalendarAccessValidationError) Cause() error
- func (e CalendarAccessValidationError) Error() string
- func (e CalendarAccessValidationError) ErrorName() string
- func (e CalendarAccessValidationError) Field() string
- func (e CalendarAccessValidationError) Key() bool
- func (e CalendarAccessValidationError) Reason() string
- type CalendarEntry
- func (*CalendarEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEntry) GetCalendar() *Calendar
- func (x *CalendarEntry) GetCalendarId() uint64
- 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() uint64
- 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
- func (m *CalendarEntry) Validate() error
- func (m *CalendarEntry) ValidateAll() error
- type CalendarEntryMultiError
- type CalendarEntryRSVP
- func (*CalendarEntryRSVP) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarEntryRSVP) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarEntryRSVP) GetEntryId() uint64
- 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
- func (m *CalendarEntryRSVP) Validate() error
- func (m *CalendarEntryRSVP) ValidateAll() error
- type CalendarEntryRSVPMultiError
- type CalendarEntryRSVPValidationError
- func (e CalendarEntryRSVPValidationError) Cause() error
- func (e CalendarEntryRSVPValidationError) Error() string
- func (e CalendarEntryRSVPValidationError) ErrorName() string
- func (e CalendarEntryRSVPValidationError) Field() string
- func (e CalendarEntryRSVPValidationError) Key() bool
- func (e CalendarEntryRSVPValidationError) Reason() 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 (m *CalendarEntryRecurring) Validate() error
- func (m *CalendarEntryRecurring) ValidateAll() error
- func (x *CalendarEntryRecurring) Value() (driver.Value, error)
- type CalendarEntryRecurringMultiError
- type CalendarEntryRecurringValidationError
- func (e CalendarEntryRecurringValidationError) Cause() error
- func (e CalendarEntryRecurringValidationError) Error() string
- func (e CalendarEntryRecurringValidationError) ErrorName() string
- func (e CalendarEntryRecurringValidationError) Field() string
- func (e CalendarEntryRecurringValidationError) Key() bool
- func (e CalendarEntryRecurringValidationError) Reason() string
- type CalendarEntryValidationError
- func (e CalendarEntryValidationError) Cause() error
- func (e CalendarEntryValidationError) Error() string
- func (e CalendarEntryValidationError) ErrorName() string
- func (e CalendarEntryValidationError) Field() string
- func (e CalendarEntryValidationError) Key() bool
- func (e CalendarEntryValidationError) Reason() string
- type CalendarJobAccess
- func (*CalendarJobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarJobAccess) GetAccess() AccessLevel
- func (x *CalendarJobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarJobAccess) GetId() uint64
- 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() uint64
- 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
- func (m *CalendarJobAccess) Validate() error
- func (m *CalendarJobAccess) ValidateAll() error
- type CalendarJobAccessMultiError
- type CalendarJobAccessValidationError
- func (e CalendarJobAccessValidationError) Cause() error
- func (e CalendarJobAccessValidationError) Error() string
- func (e CalendarJobAccessValidationError) ErrorName() string
- func (e CalendarJobAccessValidationError) Field() string
- func (e CalendarJobAccessValidationError) Key() bool
- func (e CalendarJobAccessValidationError) Reason() string
- type CalendarMultiError
- 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() uint64
- 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
- func (m *CalendarShort) Validate() error
- func (m *CalendarShort) ValidateAll() error
- type CalendarShortMultiError
- type CalendarShortValidationError
- func (e CalendarShortValidationError) Cause() error
- func (e CalendarShortValidationError) Error() string
- func (e CalendarShortValidationError) ErrorName() string
- func (e CalendarShortValidationError) Field() string
- func (e CalendarShortValidationError) Key() bool
- func (e CalendarShortValidationError) Reason() string
- type CalendarSub
- func (*CalendarSub) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarSub) GetCalendarId() uint64
- 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
- func (m *CalendarSub) Validate() error
- func (m *CalendarSub) ValidateAll() error
- type CalendarSubMultiError
- type CalendarSubValidationError
- func (e CalendarSubValidationError) Cause() error
- func (e CalendarSubValidationError) Error() string
- func (e CalendarSubValidationError) ErrorName() string
- func (e CalendarSubValidationError) Field() string
- func (e CalendarSubValidationError) Key() bool
- func (e CalendarSubValidationError) Reason() string
- type CalendarUserAccess
- func (*CalendarUserAccess) Descriptor() ([]byte, []int)deprecated
- func (x *CalendarUserAccess) GetAccess() AccessLevel
- func (x *CalendarUserAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *CalendarUserAccess) GetId() uint64
- func (x *CalendarUserAccess) GetTargetId() uint64
- 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
- func (m *CalendarUserAccess) Validate() error
- func (m *CalendarUserAccess) ValidateAll() error
- type CalendarUserAccessMultiError
- type CalendarUserAccessValidationError
- func (e CalendarUserAccessValidationError) Cause() error
- func (e CalendarUserAccessValidationError) Error() string
- func (e CalendarUserAccessValidationError) ErrorName() string
- func (e CalendarUserAccessValidationError) Field() string
- func (e CalendarUserAccessValidationError) Key() bool
- func (e CalendarUserAccessValidationError) Reason() string
- type CalendarValidationError
- 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 uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" 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"` // @sanitize: method=StripTags Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // @sanitize: method=StripTags 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"` // @sanitize: method=StripTags 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"` // @gotags: 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
func (*Calendar) Validate ¶
Validate checks the field values on Calendar with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Calendar) ValidateAll ¶
ValidateAll checks the field values on Calendar with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarMultiError, or nil if none found.
type CalendarAccess ¶
type CalendarAccess struct { Jobs []*CalendarJobAccess `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" alias:"job_access"` // @gotags: alias:"job_access" Users []*CalendarUserAccess `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty" alias:"user_access"` // @gotags: 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 ¶ added in v0.9.4
func (m *CalendarAccess) Sanitize() error
func (*CalendarAccess) String ¶
func (x *CalendarAccess) String() string
func (*CalendarAccess) Validate ¶
func (m *CalendarAccess) Validate() error
Validate checks the field values on CalendarAccess with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarAccess) ValidateAll ¶
func (m *CalendarAccess) ValidateAll() error
ValidateAll checks the field values on CalendarAccess with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarAccessMultiError, or nil if none found.
type CalendarAccessMultiError ¶
type CalendarAccessMultiError []error
CalendarAccessMultiError is an error wrapping multiple validation errors returned by CalendarAccess.ValidateAll() if the designated constraints aren't met.
func (CalendarAccessMultiError) AllErrors ¶
func (m CalendarAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarAccessMultiError) Error ¶
func (m CalendarAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarAccessValidationError ¶
type CalendarAccessValidationError struct {
// contains filtered or unexported fields
}
CalendarAccessValidationError is the validation error returned by CalendarAccess.Validate if the designated constraints aren't met.
func (CalendarAccessValidationError) Cause ¶
func (e CalendarAccessValidationError) Cause() error
Cause function returns cause value.
func (CalendarAccessValidationError) Error ¶
func (e CalendarAccessValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarAccessValidationError) ErrorName ¶
func (e CalendarAccessValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarAccessValidationError) Field ¶
func (e CalendarAccessValidationError) Field() string
Field function returns field value.
func (CalendarAccessValidationError) Key ¶
func (e CalendarAccessValidationError) Key() bool
Key function returns key value.
func (CalendarAccessValidationError) Reason ¶
func (e CalendarAccessValidationError) Reason() string
Reason function returns reason value.
type CalendarEntry ¶
type CalendarEntry struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" 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 uint64 `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"` // @sanitize: method=StripTags 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"` // @gotags: 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() uint64
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() uint64
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
func (*CalendarEntry) String ¶
func (x *CalendarEntry) String() string
func (*CalendarEntry) Validate ¶
func (m *CalendarEntry) Validate() error
Validate checks the field values on CalendarEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarEntry) ValidateAll ¶
func (m *CalendarEntry) ValidateAll() error
ValidateAll checks the field values on CalendarEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarEntryMultiError, or nil if none found.
type CalendarEntryMultiError ¶
type CalendarEntryMultiError []error
CalendarEntryMultiError is an error wrapping multiple validation errors returned by CalendarEntry.ValidateAll() if the designated constraints aren't met.
func (CalendarEntryMultiError) AllErrors ¶
func (m CalendarEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarEntryMultiError) Error ¶
func (m CalendarEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarEntryRSVP ¶
type CalendarEntryRSVP struct { EntryId uint64 `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() uint64
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 ¶ added in v0.9.4
func (m *CalendarEntryRSVP) Sanitize() error
func (*CalendarEntryRSVP) String ¶
func (x *CalendarEntryRSVP) String() string
func (*CalendarEntryRSVP) Validate ¶
func (m *CalendarEntryRSVP) Validate() error
Validate checks the field values on CalendarEntryRSVP with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarEntryRSVP) ValidateAll ¶
func (m *CalendarEntryRSVP) ValidateAll() error
ValidateAll checks the field values on CalendarEntryRSVP with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarEntryRSVPMultiError, or nil if none found.
type CalendarEntryRSVPMultiError ¶
type CalendarEntryRSVPMultiError []error
CalendarEntryRSVPMultiError is an error wrapping multiple validation errors returned by CalendarEntryRSVP.ValidateAll() if the designated constraints aren't met.
func (CalendarEntryRSVPMultiError) AllErrors ¶
func (m CalendarEntryRSVPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarEntryRSVPMultiError) Error ¶
func (m CalendarEntryRSVPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarEntryRSVPValidationError ¶
type CalendarEntryRSVPValidationError struct {
// contains filtered or unexported fields
}
CalendarEntryRSVPValidationError is the validation error returned by CalendarEntryRSVP.Validate if the designated constraints aren't met.
func (CalendarEntryRSVPValidationError) Cause ¶
func (e CalendarEntryRSVPValidationError) Cause() error
Cause function returns cause value.
func (CalendarEntryRSVPValidationError) Error ¶
func (e CalendarEntryRSVPValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarEntryRSVPValidationError) ErrorName ¶
func (e CalendarEntryRSVPValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarEntryRSVPValidationError) Field ¶
func (e CalendarEntryRSVPValidationError) Field() string
Field function returns field value.
func (CalendarEntryRSVPValidationError) Key ¶
func (e CalendarEntryRSVPValidationError) Key() bool
Key function returns key value.
func (CalendarEntryRSVPValidationError) Reason ¶
func (e CalendarEntryRSVPValidationError) Reason() string
Reason function returns reason value.
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 ¶ added in v0.9.4
func (m *CalendarEntryRecurring) Sanitize() error
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
func (*CalendarEntryRecurring) Validate ¶
func (m *CalendarEntryRecurring) Validate() error
Validate checks the field values on CalendarEntryRecurring with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarEntryRecurring) ValidateAll ¶
func (m *CalendarEntryRecurring) ValidateAll() error
ValidateAll checks the field values on CalendarEntryRecurring with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarEntryRecurringMultiError, or nil if none found.
type CalendarEntryRecurringMultiError ¶
type CalendarEntryRecurringMultiError []error
CalendarEntryRecurringMultiError is an error wrapping multiple validation errors returned by CalendarEntryRecurring.ValidateAll() if the designated constraints aren't met.
func (CalendarEntryRecurringMultiError) AllErrors ¶
func (m CalendarEntryRecurringMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarEntryRecurringMultiError) Error ¶
func (m CalendarEntryRecurringMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarEntryRecurringValidationError ¶
type CalendarEntryRecurringValidationError struct {
// contains filtered or unexported fields
}
CalendarEntryRecurringValidationError is the validation error returned by CalendarEntryRecurring.Validate if the designated constraints aren't met.
func (CalendarEntryRecurringValidationError) Cause ¶
func (e CalendarEntryRecurringValidationError) Cause() error
Cause function returns cause value.
func (CalendarEntryRecurringValidationError) Error ¶
func (e CalendarEntryRecurringValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarEntryRecurringValidationError) ErrorName ¶
func (e CalendarEntryRecurringValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarEntryRecurringValidationError) Field ¶
func (e CalendarEntryRecurringValidationError) Field() string
Field function returns field value.
func (CalendarEntryRecurringValidationError) Key ¶
func (e CalendarEntryRecurringValidationError) Key() bool
Key function returns key value.
func (CalendarEntryRecurringValidationError) Reason ¶
func (e CalendarEntryRecurringValidationError) Reason() string
Reason function returns reason value.
type CalendarEntryValidationError ¶
type CalendarEntryValidationError struct {
// contains filtered or unexported fields
}
CalendarEntryValidationError is the validation error returned by CalendarEntry.Validate if the designated constraints aren't met.
func (CalendarEntryValidationError) Cause ¶
func (e CalendarEntryValidationError) Cause() error
Cause function returns cause value.
func (CalendarEntryValidationError) Error ¶
func (e CalendarEntryValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarEntryValidationError) ErrorName ¶
func (e CalendarEntryValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarEntryValidationError) Field ¶
func (e CalendarEntryValidationError) Field() string
Field function returns field value.
func (CalendarEntryValidationError) Key ¶
func (e CalendarEntryValidationError) Key() bool
Key function returns key value.
func (CalendarEntryValidationError) Reason ¶
func (e CalendarEntryValidationError) Reason() string
Reason function returns reason value.
type CalendarJobAccess ¶
type CalendarJobAccess struct { Id uint64 `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 uint64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" alias:"calendar_id"` // @gotags: alias:"calendar_id" 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() uint64
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 ¶ added in v0.9.4
func (x *CalendarJobAccess) GetTargetId() uint64
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 ¶ added in v0.9.4
func (m *CalendarJobAccess) Sanitize() error
func (*CalendarJobAccess) SetAccess ¶ added in v0.9.4
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 ¶ added in v0.9.4
func (x *CalendarJobAccess) SetMinimumGrade(grade int32)
func (*CalendarJobAccess) String ¶
func (x *CalendarJobAccess) String() string
func (*CalendarJobAccess) Validate ¶
func (m *CalendarJobAccess) Validate() error
Validate checks the field values on CalendarJobAccess with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarJobAccess) ValidateAll ¶
func (m *CalendarJobAccess) ValidateAll() error
ValidateAll checks the field values on CalendarJobAccess with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarJobAccessMultiError, or nil if none found.
type CalendarJobAccessMultiError ¶
type CalendarJobAccessMultiError []error
CalendarJobAccessMultiError is an error wrapping multiple validation errors returned by CalendarJobAccess.ValidateAll() if the designated constraints aren't met.
func (CalendarJobAccessMultiError) AllErrors ¶
func (m CalendarJobAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarJobAccessMultiError) Error ¶
func (m CalendarJobAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarJobAccessValidationError ¶
type CalendarJobAccessValidationError struct {
// contains filtered or unexported fields
}
CalendarJobAccessValidationError is the validation error returned by CalendarJobAccess.Validate if the designated constraints aren't met.
func (CalendarJobAccessValidationError) Cause ¶
func (e CalendarJobAccessValidationError) Cause() error
Cause function returns cause value.
func (CalendarJobAccessValidationError) Error ¶
func (e CalendarJobAccessValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarJobAccessValidationError) ErrorName ¶
func (e CalendarJobAccessValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarJobAccessValidationError) Field ¶
func (e CalendarJobAccessValidationError) Field() string
Field function returns field value.
func (CalendarJobAccessValidationError) Key ¶
func (e CalendarJobAccessValidationError) Key() bool
Key function returns key value.
func (CalendarJobAccessValidationError) Reason ¶
func (e CalendarJobAccessValidationError) Reason() string
Reason function returns reason value.
type CalendarMultiError ¶
type CalendarMultiError []error
CalendarMultiError is an error wrapping multiple validation errors returned by Calendar.ValidateAll() if the designated constraints aren't met.
func (CalendarMultiError) AllErrors ¶
func (m CalendarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarMultiError) Error ¶
func (m CalendarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarShort ¶
type CalendarShort struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` // @sanitize: method=StripTags Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // @sanitize: method=StripTags 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"` // @sanitize: method=StripTags 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() uint64
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
func (*CalendarShort) String ¶
func (x *CalendarShort) String() string
func (*CalendarShort) Validate ¶
func (m *CalendarShort) Validate() error
Validate checks the field values on CalendarShort with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarShort) ValidateAll ¶
func (m *CalendarShort) ValidateAll() error
ValidateAll checks the field values on CalendarShort with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarShortMultiError, or nil if none found.
type CalendarShortMultiError ¶
type CalendarShortMultiError []error
CalendarShortMultiError is an error wrapping multiple validation errors returned by CalendarShort.ValidateAll() if the designated constraints aren't met.
func (CalendarShortMultiError) AllErrors ¶
func (m CalendarShortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarShortMultiError) Error ¶
func (m CalendarShortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarShortValidationError ¶
type CalendarShortValidationError struct {
// contains filtered or unexported fields
}
CalendarShortValidationError is the validation error returned by CalendarShort.Validate if the designated constraints aren't met.
func (CalendarShortValidationError) Cause ¶
func (e CalendarShortValidationError) Cause() error
Cause function returns cause value.
func (CalendarShortValidationError) Error ¶
func (e CalendarShortValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarShortValidationError) ErrorName ¶
func (e CalendarShortValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarShortValidationError) Field ¶
func (e CalendarShortValidationError) Field() string
Field function returns field value.
func (CalendarShortValidationError) Key ¶
func (e CalendarShortValidationError) Key() bool
Key function returns key value.
func (CalendarShortValidationError) Reason ¶
func (e CalendarShortValidationError) Reason() string
Reason function returns reason value.
type CalendarSub ¶
type CalendarSub struct { CalendarId uint64 `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() uint64
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 ¶ added in v0.9.4
func (m *CalendarSub) Sanitize() error
func (*CalendarSub) String ¶
func (x *CalendarSub) String() string
func (*CalendarSub) Validate ¶
func (m *CalendarSub) Validate() error
Validate checks the field values on CalendarSub with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarSub) ValidateAll ¶
func (m *CalendarSub) ValidateAll() error
ValidateAll checks the field values on CalendarSub with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarSubMultiError, or nil if none found.
type CalendarSubMultiError ¶
type CalendarSubMultiError []error
CalendarSubMultiError is an error wrapping multiple validation errors returned by CalendarSub.ValidateAll() if the designated constraints aren't met.
func (CalendarSubMultiError) AllErrors ¶
func (m CalendarSubMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarSubMultiError) Error ¶
func (m CalendarSubMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarSubValidationError ¶
type CalendarSubValidationError struct {
// contains filtered or unexported fields
}
CalendarSubValidationError is the validation error returned by CalendarSub.Validate if the designated constraints aren't met.
func (CalendarSubValidationError) Cause ¶
func (e CalendarSubValidationError) Cause() error
Cause function returns cause value.
func (CalendarSubValidationError) Error ¶
func (e CalendarSubValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarSubValidationError) ErrorName ¶
func (e CalendarSubValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarSubValidationError) Field ¶
func (e CalendarSubValidationError) Field() string
Field function returns field value.
func (CalendarSubValidationError) Key ¶
func (e CalendarSubValidationError) Key() bool
Key function returns key value.
func (CalendarSubValidationError) Reason ¶
func (e CalendarSubValidationError) Reason() string
Reason function returns reason value.
type CalendarUserAccess ¶
type CalendarUserAccess struct { Id uint64 `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 uint64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" alias:"calendar_id"` // @gotags: alias:"calendar_id" 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() uint64
func (*CalendarUserAccess) GetTargetId ¶ added in v0.9.4
func (x *CalendarUserAccess) GetTargetId() uint64
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 ¶ added in v0.9.4
func (m *CalendarUserAccess) Sanitize() error
func (*CalendarUserAccess) SetAccess ¶ added in v0.9.4
func (x *CalendarUserAccess) SetAccess(access AccessLevel)
func (*CalendarUserAccess) SetUserId ¶ added in v0.9.4
func (x *CalendarUserAccess) SetUserId(id int32)
func (*CalendarUserAccess) String ¶
func (x *CalendarUserAccess) String() string
func (*CalendarUserAccess) Validate ¶
func (m *CalendarUserAccess) Validate() error
Validate checks the field values on CalendarUserAccess with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CalendarUserAccess) ValidateAll ¶
func (m *CalendarUserAccess) ValidateAll() error
ValidateAll checks the field values on CalendarUserAccess with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CalendarUserAccessMultiError, or nil if none found.
type CalendarUserAccessMultiError ¶
type CalendarUserAccessMultiError []error
CalendarUserAccessMultiError is an error wrapping multiple validation errors returned by CalendarUserAccess.ValidateAll() if the designated constraints aren't met.
func (CalendarUserAccessMultiError) AllErrors ¶
func (m CalendarUserAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CalendarUserAccessMultiError) Error ¶
func (m CalendarUserAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CalendarUserAccessValidationError ¶
type CalendarUserAccessValidationError struct {
// contains filtered or unexported fields
}
CalendarUserAccessValidationError is the validation error returned by CalendarUserAccess.Validate if the designated constraints aren't met.
func (CalendarUserAccessValidationError) Cause ¶
func (e CalendarUserAccessValidationError) Cause() error
Cause function returns cause value.
func (CalendarUserAccessValidationError) Error ¶
func (e CalendarUserAccessValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarUserAccessValidationError) ErrorName ¶
func (e CalendarUserAccessValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarUserAccessValidationError) Field ¶
func (e CalendarUserAccessValidationError) Field() string
Field function returns field value.
func (CalendarUserAccessValidationError) Key ¶
func (e CalendarUserAccessValidationError) Key() bool
Key function returns key value.
func (CalendarUserAccessValidationError) Reason ¶
func (e CalendarUserAccessValidationError) Reason() string
Reason function returns reason value.
type CalendarValidationError ¶
type CalendarValidationError struct {
// contains filtered or unexported fields
}
CalendarValidationError is the validation error returned by Calendar.Validate if the designated constraints aren't met.
func (CalendarValidationError) Cause ¶
func (e CalendarValidationError) Cause() error
Cause function returns cause value.
func (CalendarValidationError) Error ¶
func (e CalendarValidationError) Error() string
Error satisfies the builtin error interface
func (CalendarValidationError) ErrorName ¶
func (e CalendarValidationError) ErrorName() string
ErrorName returns error name.
func (CalendarValidationError) Field ¶
func (e CalendarValidationError) Field() string
Field function returns field value.
func (CalendarValidationError) Key ¶
func (e CalendarValidationError) Key() bool
Key function returns key value.
func (CalendarValidationError) Reason ¶
func (e CalendarValidationError) Reason() string
Reason function returns reason value.
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