Documentation
¶
Index ¶
- Constants
- Variables
- func CreateUserActivities(ctx context.Context, tx qrm.DB, activities ...*UserActivity) error
- type CitizenLabel
- func (*CitizenLabel) Descriptor() ([]byte, []int)deprecated
- func (x *CitizenLabel) Equal(a *CitizenLabel) bool
- func (x *CitizenLabel) GetColor() string
- func (x *CitizenLabel) GetId() uint64
- func (x *CitizenLabel) GetJob() string
- func (x *CitizenLabel) GetName() string
- func (*CitizenLabel) ProtoMessage()
- func (x *CitizenLabel) ProtoReflect() protoreflect.Message
- func (x *CitizenLabel) Reset()
- func (m *CitizenLabel) Sanitize() error
- func (x *CitizenLabel) String() string
- func (m *CitizenLabel) Validate() error
- func (m *CitizenLabel) ValidateAll() error
- type CitizenLabelMultiError
- type CitizenLabelValidationError
- func (e CitizenLabelValidationError) Cause() error
- func (e CitizenLabelValidationError) Error() string
- func (e CitizenLabelValidationError) ErrorName() string
- func (e CitizenLabelValidationError) Field() string
- func (e CitizenLabelValidationError) Key() bool
- func (e CitizenLabelValidationError) Reason() string
- type CitizenLabels
- func (*CitizenLabels) Descriptor() ([]byte, []int)deprecated
- func (x *CitizenLabels) GetList() []*CitizenLabel
- func (*CitizenLabels) ProtoMessage()
- func (x *CitizenLabels) ProtoReflect() protoreflect.Message
- func (x *CitizenLabels) Reset()
- func (m *CitizenLabels) Sanitize() error
- func (x *CitizenLabels) Scan(value any) error
- func (x *CitizenLabels) String() string
- func (m *CitizenLabels) Validate() error
- func (m *CitizenLabels) ValidateAll() error
- func (x *CitizenLabels) Value() (driver.Value, error)
- type CitizenLabelsMultiError
- type CitizenLabelsValidationError
- func (e CitizenLabelsValidationError) Cause() error
- func (e CitizenLabelsValidationError) Error() string
- func (e CitizenLabelsValidationError) ErrorName() string
- func (e CitizenLabelsValidationError) Field() string
- func (e CitizenLabelsValidationError) Key() bool
- func (e CitizenLabelsValidationError) Reason() string
- type DiscordSyncChange
- func (*DiscordSyncChange) Descriptor() ([]byte, []int)deprecated
- func (x *DiscordSyncChange) GetPlan() string
- func (x *DiscordSyncChange) GetTime() *timestamp.Timestamp
- func (*DiscordSyncChange) ProtoMessage()
- func (x *DiscordSyncChange) ProtoReflect() protoreflect.Message
- func (x *DiscordSyncChange) Reset()
- func (m *DiscordSyncChange) Sanitize() error
- func (x *DiscordSyncChange) String() string
- func (m *DiscordSyncChange) Validate() error
- func (m *DiscordSyncChange) ValidateAll() error
- type DiscordSyncChangeMultiError
- type DiscordSyncChangeValidationError
- func (e DiscordSyncChangeValidationError) Cause() error
- func (e DiscordSyncChangeValidationError) Error() string
- func (e DiscordSyncChangeValidationError) ErrorName() string
- func (e DiscordSyncChangeValidationError) Field() string
- func (e DiscordSyncChangeValidationError) Key() bool
- func (e DiscordSyncChangeValidationError) Reason() string
- type DiscordSyncChanges
- func (x *DiscordSyncChanges) Add(change *DiscordSyncChange)
- func (*DiscordSyncChanges) Descriptor() ([]byte, []int)deprecated
- func (x *DiscordSyncChanges) GetChanges() []*DiscordSyncChange
- func (*DiscordSyncChanges) ProtoMessage()
- func (x *DiscordSyncChanges) ProtoReflect() protoreflect.Message
- func (x *DiscordSyncChanges) Reset()
- func (m *DiscordSyncChanges) Sanitize() error
- func (x *DiscordSyncChanges) Scan(value any) error
- func (x *DiscordSyncChanges) String() string
- func (m *DiscordSyncChanges) Validate() error
- func (m *DiscordSyncChanges) ValidateAll() error
- func (x *DiscordSyncChanges) Value() (driver.Value, error)
- type DiscordSyncChangesMultiError
- type DiscordSyncChangesValidationError
- func (e DiscordSyncChangesValidationError) Cause() error
- func (e DiscordSyncChangesValidationError) Error() string
- func (e DiscordSyncChangesValidationError) ErrorName() string
- func (e DiscordSyncChangesValidationError) Field() string
- func (e DiscordSyncChangesValidationError) Key() bool
- func (e DiscordSyncChangesValidationError) Reason() string
- type DiscordSyncSettings
- func (*DiscordSyncSettings) Descriptor() ([]byte, []int)deprecated
- func (x *DiscordSyncSettings) GetDryRun() bool
- func (x *DiscordSyncSettings) GetGroupSyncSettings() *GroupSyncSettings
- func (x *DiscordSyncSettings) GetJobsAbsence() bool
- func (x *DiscordSyncSettings) GetJobsAbsenceSettings() *JobsAbsenceSettings
- func (x *DiscordSyncSettings) GetQualificationsRoleFormat() string
- func (x *DiscordSyncSettings) GetStatusLog() bool
- func (x *DiscordSyncSettings) GetStatusLogSettings() *StatusLogSettings
- func (x *DiscordSyncSettings) GetUserInfoSync() bool
- func (x *DiscordSyncSettings) GetUserInfoSyncSettings() *UserInfoSyncSettings
- func (x *DiscordSyncSettings) IsStatusLogEnabled() bool
- func (*DiscordSyncSettings) ProtoMessage()
- func (x *DiscordSyncSettings) ProtoReflect() protoreflect.Message
- func (x *DiscordSyncSettings) Reset()
- func (m *DiscordSyncSettings) Sanitize() error
- func (x *DiscordSyncSettings) Scan(value any) error
- func (x *DiscordSyncSettings) String() string
- func (m *DiscordSyncSettings) Validate() error
- func (m *DiscordSyncSettings) ValidateAll() error
- func (x *DiscordSyncSettings) Value() (driver.Value, error)
- type DiscordSyncSettingsMultiError
- type DiscordSyncSettingsValidationError
- func (e DiscordSyncSettingsValidationError) Cause() error
- func (e DiscordSyncSettingsValidationError) Error() string
- func (e DiscordSyncSettingsValidationError) ErrorName() string
- func (e DiscordSyncSettingsValidationError) Field() string
- func (e DiscordSyncSettingsValidationError) Key() bool
- func (e DiscordSyncSettingsValidationError) Reason() string
- type GroupMapping
- func (*GroupMapping) Descriptor() ([]byte, []int)deprecated
- func (x *GroupMapping) GetFromGrade() int32
- func (x *GroupMapping) GetName() string
- func (x *GroupMapping) GetToGrade() int32
- func (*GroupMapping) ProtoMessage()
- func (x *GroupMapping) ProtoReflect() protoreflect.Message
- func (x *GroupMapping) Reset()
- func (m *GroupMapping) Sanitize() error
- func (x *GroupMapping) String() string
- func (m *GroupMapping) Validate() error
- func (m *GroupMapping) ValidateAll() error
- type GroupMappingMultiError
- type GroupMappingValidationError
- func (e GroupMappingValidationError) Cause() error
- func (e GroupMappingValidationError) Error() string
- func (e GroupMappingValidationError) ErrorName() string
- func (e GroupMappingValidationError) Field() string
- func (e GroupMappingValidationError) Key() bool
- func (e GroupMappingValidationError) Reason() string
- type GroupSyncSettings
- func (*GroupSyncSettings) Descriptor() ([]byte, []int)deprecated
- func (x *GroupSyncSettings) GetIgnoredRoleIds() []string
- func (*GroupSyncSettings) ProtoMessage()
- func (x *GroupSyncSettings) ProtoReflect() protoreflect.Message
- func (x *GroupSyncSettings) Reset()
- func (m *GroupSyncSettings) Sanitize() error
- func (x *GroupSyncSettings) String() string
- func (m *GroupSyncSettings) Validate() error
- func (m *GroupSyncSettings) ValidateAll() error
- type GroupSyncSettingsMultiError
- type GroupSyncSettingsValidationError
- func (e GroupSyncSettingsValidationError) Cause() error
- func (e GroupSyncSettingsValidationError) Error() string
- func (e GroupSyncSettingsValidationError) ErrorName() string
- func (e GroupSyncSettingsValidationError) Field() string
- func (e GroupSyncSettingsValidationError) Key() bool
- func (e GroupSyncSettingsValidationError) Reason() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetGrades() []*JobGrade
- func (x *Job) GetJob() string
- func (x *Job) GetLabel() string
- func (x *Job) GetName() string
- func (x *Job) Merge(in *Job) *Job
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (m *Job) Sanitize() error
- func (x *Job) SetJobLabel(label string)
- func (x *Job) String() string
- func (m *Job) Validate() error
- func (m *Job) ValidateAll() error
- type JobGrade
- func (*JobGrade) Descriptor() ([]byte, []int)deprecated
- func (x *JobGrade) GetGrade() int32
- func (x *JobGrade) GetJobName() string
- func (x *JobGrade) GetLabel() string
- func (*JobGrade) ProtoMessage()
- func (x *JobGrade) ProtoReflect() protoreflect.Message
- func (x *JobGrade) Reset()
- func (m *JobGrade) Sanitize() error
- func (x *JobGrade) String() string
- func (m *JobGrade) Validate() error
- func (m *JobGrade) ValidateAll() error
- type JobGradeMultiError
- type JobGradeValidationError
- type JobMultiError
- type JobProps
- func (x *JobProps) Default(job string)
- func (*JobProps) Descriptor() ([]byte, []int)deprecated
- func (x *JobProps) GetDiscordGuildId() string
- func (x *JobProps) GetDiscordLastSync() *timestamp.Timestamp
- func (x *JobProps) GetDiscordSyncChanges() *DiscordSyncChanges
- func (x *JobProps) GetDiscordSyncSettings() *DiscordSyncSettings
- func (x *JobProps) GetJob() string
- func (x *JobProps) GetJobLabel() string
- func (x *JobProps) GetLivemapMarkerColor() string
- func (x *JobProps) GetLogoUrl() *filestore.File
- func (x *JobProps) GetMotd() string
- func (x *JobProps) GetQuickButtons() *QuickButtons
- func (x *JobProps) GetRadioFrequency() string
- func (x *JobProps) GetSettings() *JobSettings
- func (x *JobProps) GetTheme() string
- func (*JobProps) ProtoMessage()
- func (x *JobProps) ProtoReflect() protoreflect.Message
- func (x *JobProps) Reset()
- func (m *JobProps) Sanitize() error
- func (x *JobProps) SetJobLabel(label string)
- func (x *JobProps) String() string
- func (m *JobProps) Validate() error
- func (m *JobProps) ValidateAll() error
- type JobPropsMultiError
- type JobPropsValidationError
- type JobSettings
- func (x *JobSettings) Default()
- func (*JobSettings) Descriptor() ([]byte, []int)deprecated
- func (x *JobSettings) GetAbsenceFutureDays() int32
- func (x *JobSettings) GetAbsencePastDays() int32
- func (*JobSettings) ProtoMessage()
- func (x *JobSettings) ProtoReflect() protoreflect.Message
- func (x *JobSettings) Reset()
- func (m *JobSettings) Sanitize() error
- func (x *JobSettings) Scan(value any) error
- func (x *JobSettings) String() string
- func (m *JobSettings) Validate() error
- func (m *JobSettings) ValidateAll() error
- func (x *JobSettings) Value() (driver.Value, error)
- type JobSettingsMultiError
- type JobSettingsValidationError
- func (e JobSettingsValidationError) Cause() error
- func (e JobSettingsValidationError) Error() string
- func (e JobSettingsValidationError) ErrorName() string
- func (e JobSettingsValidationError) Field() string
- func (e JobSettingsValidationError) Key() bool
- func (e JobSettingsValidationError) Reason() string
- type JobValidationError
- type JobsAbsenceSettings
- func (*JobsAbsenceSettings) Descriptor() ([]byte, []int)deprecated
- func (x *JobsAbsenceSettings) GetAbsenceRole() string
- func (*JobsAbsenceSettings) ProtoMessage()
- func (x *JobsAbsenceSettings) ProtoReflect() protoreflect.Message
- func (x *JobsAbsenceSettings) Reset()
- func (m *JobsAbsenceSettings) Sanitize() error
- func (x *JobsAbsenceSettings) String() string
- func (m *JobsAbsenceSettings) Validate() error
- func (m *JobsAbsenceSettings) ValidateAll() error
- type JobsAbsenceSettingsMultiError
- type JobsAbsenceSettingsValidationError
- func (e JobsAbsenceSettingsValidationError) Cause() error
- func (e JobsAbsenceSettingsValidationError) Error() string
- func (e JobsAbsenceSettingsValidationError) ErrorName() string
- func (e JobsAbsenceSettingsValidationError) Field() string
- func (e JobsAbsenceSettingsValidationError) Key() bool
- func (e JobsAbsenceSettingsValidationError) Reason() string
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetLabel() string
- func (x *License) GetType() string
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (m *License) Sanitize() error
- func (x *License) String() string
- func (m *License) Validate() error
- func (m *License) ValidateAll() error
- type LicenseMultiError
- type LicenseValidationError
- type QuickButtons
- func (*QuickButtons) Descriptor() ([]byte, []int)deprecated
- func (x *QuickButtons) GetBodyCheckup() bool
- func (x *QuickButtons) GetMathCalculator() bool
- func (x *QuickButtons) GetPenaltyCalculator() bool
- func (*QuickButtons) ProtoMessage()
- func (x *QuickButtons) ProtoReflect() protoreflect.Message
- func (x *QuickButtons) Reset()
- func (m *QuickButtons) Sanitize() error
- func (x *QuickButtons) Scan(value any) error
- func (x *QuickButtons) String() string
- func (m *QuickButtons) Validate() error
- func (m *QuickButtons) ValidateAll() error
- func (x *QuickButtons) Value() (driver.Value, error)
- type QuickButtonsMultiError
- type QuickButtonsValidationError
- func (e QuickButtonsValidationError) Cause() error
- func (e QuickButtonsValidationError) Error() string
- func (e QuickButtonsValidationError) ErrorName() string
- func (e QuickButtonsValidationError) Field() string
- func (e QuickButtonsValidationError) Key() bool
- func (e QuickButtonsValidationError) Reason() string
- type StatusLogSettings
- func (*StatusLogSettings) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLogSettings) GetChannelId() string
- func (*StatusLogSettings) ProtoMessage()
- func (x *StatusLogSettings) ProtoReflect() protoreflect.Message
- func (x *StatusLogSettings) Reset()
- func (m *StatusLogSettings) Sanitize() error
- func (x *StatusLogSettings) String() string
- func (m *StatusLogSettings) Validate() error
- func (m *StatusLogSettings) ValidateAll() error
- type StatusLogSettingsMultiError
- type StatusLogSettingsValidationError
- func (e StatusLogSettingsValidationError) Cause() error
- func (e StatusLogSettingsValidationError) Error() string
- func (e StatusLogSettingsValidationError) ErrorName() string
- func (e StatusLogSettingsValidationError) Field() string
- func (e StatusLogSettingsValidationError) Key() bool
- func (e StatusLogSettingsValidationError) Reason() string
- type User
- func (x *User) Colleague() *jobs.Colleague
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() *filestore.File
- func (x *User) GetDateofbirth() string
- func (x *User) GetFirstname() string
- func (x *User) GetGroup() string
- func (x *User) GetHeight() string
- func (x *User) GetIdentifier() string
- func (x *User) GetJob() string
- func (x *User) GetJobGrade() int32
- func (x *User) GetJobGradeLabel() string
- func (x *User) GetJobLabel() string
- func (x *User) GetLastname() string
- func (x *User) GetLicenses() []*License
- func (x *User) GetPhoneNumber() string
- func (x *User) GetPlaytime() int32
- func (x *User) GetProps() *UserProps
- func (x *User) GetSex() string
- func (x *User) GetUserId() int32
- func (x *User) GetVisum() int32
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (m *User) Sanitize() error
- func (x *User) SetJob(job string)
- func (x *User) SetJobGrade(grade int32)
- func (x *User) SetJobGradeLabel(label string)
- func (x *User) SetJobLabel(label string)
- func (x *User) String() string
- func (x *User) UserShort() *UserShort
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserActivity
- func (*UserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivity) GetCreatedAt() *timestamp.Timestamp
- func (x *UserActivity) GetData() *UserActivityData
- func (x *UserActivity) GetId() uint64
- func (x *UserActivity) GetKey() string
- func (x *UserActivity) GetNewValue() string
- func (x *UserActivity) GetOldValue() string
- func (x *UserActivity) GetReason() string
- func (x *UserActivity) GetSourceUser() *UserShort
- func (x *UserActivity) GetSourceUserId() int32
- func (x *UserActivity) GetTargetUser() *UserShort
- func (x *UserActivity) GetTargetUserId() int32
- func (x *UserActivity) GetType() UserActivityType
- func (*UserActivity) ProtoMessage()
- func (x *UserActivity) ProtoReflect() protoreflect.Message
- func (x *UserActivity) Reset()
- func (m *UserActivity) Sanitize() error
- func (x *UserActivity) String() string
- func (m *UserActivity) Validate() error
- func (m *UserActivity) ValidateAll() error
- type UserActivityData
- func (*UserActivityData) Descriptor() ([]byte, []int)deprecated
- func (x *UserActivityData) GetData() isUserActivityData_Data
- func (x *UserActivityData) GetDocumentRelation() *UserDocumentRelation
- func (x *UserActivityData) GetFineChange() *UserFineChange
- func (x *UserActivityData) GetJailChange() *UserJailChange
- func (x *UserActivityData) GetJobChange() *UserJobChange
- func (x *UserActivityData) GetLabelsChange() *UserLabelsChange
- func (x *UserActivityData) GetLicensesChange() *UserLicenseChange
- func (x *UserActivityData) GetMugshotChange() *UserMugshotChange
- func (x *UserActivityData) GetNameChange() *UserNameChange
- func (x *UserActivityData) GetTrafficInfractionPointsChange() *UserTrafficInfractionPointsChange
- func (x *UserActivityData) GetWantedChange() *UserWantedChange
- func (*UserActivityData) ProtoMessage()
- func (x *UserActivityData) ProtoReflect() protoreflect.Message
- func (x *UserActivityData) Reset()
- func (m *UserActivityData) Sanitize() error
- func (x *UserActivityData) Scan(value any) error
- func (x *UserActivityData) String() string
- func (m *UserActivityData) Validate() error
- func (m *UserActivityData) ValidateAll() error
- func (x *UserActivityData) Value() (driver.Value, error)
- type UserActivityDataMultiError
- type UserActivityDataValidationError
- func (e UserActivityDataValidationError) Cause() error
- func (e UserActivityDataValidationError) Error() string
- func (e UserActivityDataValidationError) ErrorName() string
- func (e UserActivityDataValidationError) Field() string
- func (e UserActivityDataValidationError) Key() bool
- func (e UserActivityDataValidationError) Reason() string
- type UserActivityData_DocumentRelation
- type UserActivityData_FineChange
- type UserActivityData_JailChange
- type UserActivityData_JobChange
- type UserActivityData_LabelsChange
- type UserActivityData_LicensesChange
- type UserActivityData_MugshotChange
- type UserActivityData_NameChange
- type UserActivityData_TrafficInfractionPointsChange
- type UserActivityData_WantedChange
- type UserActivityMultiError
- type UserActivityType
- func (UserActivityType) Descriptor() protoreflect.EnumDescriptor
- func (x UserActivityType) Enum() *UserActivityType
- func (UserActivityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserActivityType) Number() protoreflect.EnumNumber
- func (x UserActivityType) String() string
- func (UserActivityType) Type() protoreflect.EnumType
- type UserActivityValidationError
- func (e UserActivityValidationError) Cause() error
- func (e UserActivityValidationError) Error() string
- func (e UserActivityValidationError) ErrorName() string
- func (e UserActivityValidationError) Field() string
- func (e UserActivityValidationError) Key() bool
- func (e UserActivityValidationError) Reason() string
- type UserDocumentRelation
- func (*UserDocumentRelation) Descriptor() ([]byte, []int)deprecated
- func (x *UserDocumentRelation) GetAdded() bool
- func (x *UserDocumentRelation) GetDocumentId() uint64
- func (x *UserDocumentRelation) GetRelation() int32
- func (*UserDocumentRelation) ProtoMessage()
- func (x *UserDocumentRelation) ProtoReflect() protoreflect.Message
- func (x *UserDocumentRelation) Reset()
- func (m *UserDocumentRelation) Sanitize() error
- func (x *UserDocumentRelation) String() string
- func (m *UserDocumentRelation) Validate() error
- func (m *UserDocumentRelation) ValidateAll() error
- type UserDocumentRelationMultiError
- type UserDocumentRelationValidationError
- func (e UserDocumentRelationValidationError) Cause() error
- func (e UserDocumentRelationValidationError) Error() string
- func (e UserDocumentRelationValidationError) ErrorName() string
- func (e UserDocumentRelationValidationError) Field() string
- func (e UserDocumentRelationValidationError) Key() bool
- func (e UserDocumentRelationValidationError) Reason() string
- type UserFineChange
- func (*UserFineChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserFineChange) GetAmount() int64
- func (x *UserFineChange) GetRemoved() bool
- func (*UserFineChange) ProtoMessage()
- func (x *UserFineChange) ProtoReflect() protoreflect.Message
- func (x *UserFineChange) Reset()
- func (m *UserFineChange) Sanitize() error
- func (x *UserFineChange) String() string
- func (m *UserFineChange) Validate() error
- func (m *UserFineChange) ValidateAll() error
- type UserFineChangeMultiError
- type UserFineChangeValidationError
- func (e UserFineChangeValidationError) Cause() error
- func (e UserFineChangeValidationError) Error() string
- func (e UserFineChangeValidationError) ErrorName() string
- func (e UserFineChangeValidationError) Field() string
- func (e UserFineChangeValidationError) Key() bool
- func (e UserFineChangeValidationError) Reason() string
- type UserInfoSyncSettings
- func (*UserInfoSyncSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoSyncSettings) GetEmployeeRoleEnabled() bool
- func (x *UserInfoSyncSettings) GetEmployeeRoleFormat() string
- func (x *UserInfoSyncSettings) GetGradeRoleFormat() string
- func (x *UserInfoSyncSettings) GetGroupMapping() []*GroupMapping
- func (x *UserInfoSyncSettings) GetSyncNicknames() bool
- func (x *UserInfoSyncSettings) GetUnemployedEnabled() bool
- func (x *UserInfoSyncSettings) GetUnemployedMode() UserInfoSyncUnemployedMode
- func (x *UserInfoSyncSettings) GetUnemployedRoleName() string
- func (*UserInfoSyncSettings) ProtoMessage()
- func (x *UserInfoSyncSettings) ProtoReflect() protoreflect.Message
- func (x *UserInfoSyncSettings) Reset()
- func (m *UserInfoSyncSettings) Sanitize() error
- func (x *UserInfoSyncSettings) String() string
- func (m *UserInfoSyncSettings) Validate() error
- func (m *UserInfoSyncSettings) ValidateAll() error
- type UserInfoSyncSettingsMultiError
- type UserInfoSyncSettingsValidationError
- func (e UserInfoSyncSettingsValidationError) Cause() error
- func (e UserInfoSyncSettingsValidationError) Error() string
- func (e UserInfoSyncSettingsValidationError) ErrorName() string
- func (e UserInfoSyncSettingsValidationError) Field() string
- func (e UserInfoSyncSettingsValidationError) Key() bool
- func (e UserInfoSyncSettingsValidationError) Reason() string
- type UserInfoSyncUnemployedMode
- func (UserInfoSyncUnemployedMode) Descriptor() protoreflect.EnumDescriptor
- func (x UserInfoSyncUnemployedMode) Enum() *UserInfoSyncUnemployedMode
- func (UserInfoSyncUnemployedMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserInfoSyncUnemployedMode) Number() protoreflect.EnumNumber
- func (x UserInfoSyncUnemployedMode) String() string
- func (UserInfoSyncUnemployedMode) Type() protoreflect.EnumType
- type UserJailChange
- func (*UserJailChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserJailChange) GetAdmin() bool
- func (x *UserJailChange) GetLocation() string
- func (x *UserJailChange) GetSeconds() int32
- func (*UserJailChange) ProtoMessage()
- func (x *UserJailChange) ProtoReflect() protoreflect.Message
- func (x *UserJailChange) Reset()
- func (m *UserJailChange) Sanitize() error
- func (x *UserJailChange) String() string
- func (m *UserJailChange) Validate() error
- func (m *UserJailChange) ValidateAll() error
- type UserJailChangeMultiError
- type UserJailChangeValidationError
- func (e UserJailChangeValidationError) Cause() error
- func (e UserJailChangeValidationError) Error() string
- func (e UserJailChangeValidationError) ErrorName() string
- func (e UserJailChangeValidationError) Field() string
- func (e UserJailChangeValidationError) Key() bool
- func (e UserJailChangeValidationError) Reason() string
- type UserJobChange
- func (*UserJobChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserJobChange) GetGrade() int32
- func (x *UserJobChange) GetGradeLabel() string
- func (x *UserJobChange) GetJob() string
- func (x *UserJobChange) GetJobLabel() string
- func (*UserJobChange) ProtoMessage()
- func (x *UserJobChange) ProtoReflect() protoreflect.Message
- func (x *UserJobChange) Reset()
- func (m *UserJobChange) Sanitize() error
- func (x *UserJobChange) String() string
- func (m *UserJobChange) Validate() error
- func (m *UserJobChange) ValidateAll() error
- type UserJobChangeMultiError
- type UserJobChangeValidationError
- func (e UserJobChangeValidationError) Cause() error
- func (e UserJobChangeValidationError) Error() string
- func (e UserJobChangeValidationError) ErrorName() string
- func (e UserJobChangeValidationError) Field() string
- func (e UserJobChangeValidationError) Key() bool
- func (e UserJobChangeValidationError) Reason() string
- type UserLabelsChange
- func (*UserLabelsChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserLabelsChange) GetAdded() []*CitizenLabel
- func (x *UserLabelsChange) GetRemoved() []*CitizenLabel
- func (*UserLabelsChange) ProtoMessage()
- func (x *UserLabelsChange) ProtoReflect() protoreflect.Message
- func (x *UserLabelsChange) Reset()
- func (m *UserLabelsChange) Sanitize() error
- func (x *UserLabelsChange) String() string
- func (m *UserLabelsChange) Validate() error
- func (m *UserLabelsChange) ValidateAll() error
- type UserLabelsChangeMultiError
- type UserLabelsChangeValidationError
- func (e UserLabelsChangeValidationError) Cause() error
- func (e UserLabelsChangeValidationError) Error() string
- func (e UserLabelsChangeValidationError) ErrorName() string
- func (e UserLabelsChangeValidationError) Field() string
- func (e UserLabelsChangeValidationError) Key() bool
- func (e UserLabelsChangeValidationError) Reason() string
- type UserLicenseChange
- func (*UserLicenseChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserLicenseChange) GetAdded() bool
- func (x *UserLicenseChange) GetLicenses() []*License
- func (*UserLicenseChange) ProtoMessage()
- func (x *UserLicenseChange) ProtoReflect() protoreflect.Message
- func (x *UserLicenseChange) Reset()
- func (m *UserLicenseChange) Sanitize() error
- func (x *UserLicenseChange) String() string
- func (m *UserLicenseChange) Validate() error
- func (m *UserLicenseChange) ValidateAll() error
- type UserLicenseChangeMultiError
- type UserLicenseChangeValidationError
- func (e UserLicenseChangeValidationError) Cause() error
- func (e UserLicenseChangeValidationError) Error() string
- func (e UserLicenseChangeValidationError) ErrorName() string
- func (e UserLicenseChangeValidationError) Field() string
- func (e UserLicenseChangeValidationError) Key() bool
- func (e UserLicenseChangeValidationError) Reason() string
- type UserLicenses
- func (*UserLicenses) Descriptor() ([]byte, []int)deprecated
- func (x *UserLicenses) GetLicenses() []*License
- func (x *UserLicenses) GetUserId() int32
- func (*UserLicenses) ProtoMessage()
- func (x *UserLicenses) ProtoReflect() protoreflect.Message
- func (x *UserLicenses) Reset()
- func (m *UserLicenses) Sanitize() error
- func (x *UserLicenses) String() string
- func (m *UserLicenses) Validate() error
- func (m *UserLicenses) ValidateAll() error
- type UserLicensesMultiError
- type UserLicensesValidationError
- func (e UserLicensesValidationError) Cause() error
- func (e UserLicensesValidationError) Error() string
- func (e UserLicensesValidationError) ErrorName() string
- func (e UserLicensesValidationError) Field() string
- func (e UserLicensesValidationError) Key() bool
- func (e UserLicensesValidationError) Reason() string
- type UserMugshotChange
- func (*UserMugshotChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserMugshotChange) GetNew() string
- func (*UserMugshotChange) ProtoMessage()
- func (x *UserMugshotChange) ProtoReflect() protoreflect.Message
- func (x *UserMugshotChange) Reset()
- func (m *UserMugshotChange) Sanitize() error
- func (x *UserMugshotChange) String() string
- func (m *UserMugshotChange) Validate() error
- func (m *UserMugshotChange) ValidateAll() error
- type UserMugshotChangeMultiError
- type UserMugshotChangeValidationError
- func (e UserMugshotChangeValidationError) Cause() error
- func (e UserMugshotChangeValidationError) Error() string
- func (e UserMugshotChangeValidationError) ErrorName() string
- func (e UserMugshotChangeValidationError) Field() string
- func (e UserMugshotChangeValidationError) Key() bool
- func (e UserMugshotChangeValidationError) Reason() string
- type UserMultiError
- type UserNameChange
- func (*UserNameChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserNameChange) GetNew() string
- func (x *UserNameChange) GetOld() string
- func (*UserNameChange) ProtoMessage()
- func (x *UserNameChange) ProtoReflect() protoreflect.Message
- func (x *UserNameChange) Reset()
- func (m *UserNameChange) Sanitize() error
- func (x *UserNameChange) String() string
- func (m *UserNameChange) Validate() error
- func (m *UserNameChange) ValidateAll() error
- type UserNameChangeMultiError
- type UserNameChangeValidationError
- func (e UserNameChangeValidationError) Cause() error
- func (e UserNameChangeValidationError) Error() string
- func (e UserNameChangeValidationError) ErrorName() string
- func (e UserNameChangeValidationError) Field() string
- func (e UserNameChangeValidationError) Key() bool
- func (e UserNameChangeValidationError) Reason() string
- type UserProps
- func (x *UserProps) Default()
- func (*UserProps) Descriptor() ([]byte, []int)deprecated
- func (x *UserProps) GetBloodType() string
- func (x *UserProps) GetEmail() string
- func (x *UserProps) GetJob() *Job
- func (x *UserProps) GetJobGrade() *JobGrade
- func (x *UserProps) GetJobGradeNumber() int32
- func (x *UserProps) GetJobName() string
- func (x *UserProps) GetLabels() *CitizenLabels
- func (x *UserProps) GetMugShot() *filestore.File
- func (x *UserProps) GetOpenFines() int64
- func (x *UserProps) GetTrafficInfractionPoints() uint32
- func (x *UserProps) GetUpdatedAt() *timestamp.Timestamp
- func (x *UserProps) GetUserId() int32
- func (x *UserProps) GetWanted() bool
- func (x *UserProps) HandleChanges(ctx context.Context, tx qrm.DB, in *UserProps, sourceUserId *int32, ...) ([]*UserActivity, error)
- func (*UserProps) ProtoMessage()
- func (x *UserProps) ProtoReflect() protoreflect.Message
- func (x *UserProps) Reset()
- func (m *UserProps) Sanitize() error
- func (x *UserProps) String() string
- func (m *UserProps) Validate() error
- func (m *UserProps) ValidateAll() error
- type UserPropsMultiError
- type UserPropsValidationError
- type UserShort
- func (*UserShort) Descriptor() ([]byte, []int)deprecated
- func (x *UserShort) GetAvatar() *filestore.File
- func (x *UserShort) GetDateofbirth() string
- func (x *UserShort) GetFirstname() string
- func (x *UserShort) GetIdentifier() string
- func (x *UserShort) GetJob() string
- func (x *UserShort) GetJobGrade() int32
- func (x *UserShort) GetJobGradeLabel() string
- func (x *UserShort) GetJobLabel() string
- func (x *UserShort) GetLastname() string
- func (x *UserShort) GetPhoneNumber() string
- func (x *UserShort) GetUserId() int32
- func (*UserShort) ProtoMessage()
- func (x *UserShort) ProtoReflect() protoreflect.Message
- func (x *UserShort) Reset()
- func (m *UserShort) Sanitize() error
- func (x *UserShort) SetJob(job string)
- func (x *UserShort) SetJobGrade(grade int32)
- func (x *UserShort) SetJobGradeLabel(label string)
- func (x *UserShort) SetJobLabel(label string)
- func (x *UserShort) String() string
- func (m *UserShort) Validate() error
- func (m *UserShort) ValidateAll() error
- type UserShortMultiError
- type UserShortValidationError
- type UserTrafficInfractionPointsChange
- func (*UserTrafficInfractionPointsChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserTrafficInfractionPointsChange) GetNew() uint32
- func (x *UserTrafficInfractionPointsChange) GetOld() uint32
- func (*UserTrafficInfractionPointsChange) ProtoMessage()
- func (x *UserTrafficInfractionPointsChange) ProtoReflect() protoreflect.Message
- func (x *UserTrafficInfractionPointsChange) Reset()
- func (m *UserTrafficInfractionPointsChange) Sanitize() error
- func (x *UserTrafficInfractionPointsChange) String() string
- func (m *UserTrafficInfractionPointsChange) Validate() error
- func (m *UserTrafficInfractionPointsChange) ValidateAll() error
- type UserTrafficInfractionPointsChangeMultiError
- type UserTrafficInfractionPointsChangeValidationError
- func (e UserTrafficInfractionPointsChangeValidationError) Cause() error
- func (e UserTrafficInfractionPointsChangeValidationError) Error() string
- func (e UserTrafficInfractionPointsChangeValidationError) ErrorName() string
- func (e UserTrafficInfractionPointsChangeValidationError) Field() string
- func (e UserTrafficInfractionPointsChangeValidationError) Key() bool
- func (e UserTrafficInfractionPointsChangeValidationError) Reason() string
- type UserValidationError
- type UserWantedChange
- func (*UserWantedChange) Descriptor() ([]byte, []int)deprecated
- func (x *UserWantedChange) GetWanted() bool
- func (*UserWantedChange) ProtoMessage()
- func (x *UserWantedChange) ProtoReflect() protoreflect.Message
- func (x *UserWantedChange) Reset()
- func (m *UserWantedChange) Sanitize() error
- func (x *UserWantedChange) String() string
- func (m *UserWantedChange) Validate() error
- func (m *UserWantedChange) ValidateAll() error
- type UserWantedChangeMultiError
- type UserWantedChangeValidationError
- func (e UserWantedChangeValidationError) Cause() error
- func (e UserWantedChangeValidationError) Error() string
- func (e UserWantedChangeValidationError) ErrorName() string
- func (e UserWantedChangeValidationError) Field() string
- func (e UserWantedChangeValidationError) Key() bool
- func (e UserWantedChangeValidationError) Reason() string
Constants ¶
const ( DefaultTheme = "defaultTheme" DefaultLivemapMarkerColor = "#5c7aff" DefaultEmployeeRoleFormat = "%s Personal" DefaultGradeRoleFormat = "[%grade%] %grade_label%" DefaultUnemployedRoleName = "Citizen" DefaultJobsAbsenceRoleName = "Absent" DefaultQualificationsRoleFormat = "%name% Qualification" )
const ( DefaultJobAbsencePastDays = 7 DefaultJobAbsenceFutureDays = 93 // ~3 months )
Variables ¶
var ( UserActivityType_name = map[int32]string{ 0: "USER_ACTIVITY_TYPE_UNSPECIFIED", 4: "USER_ACTIVITY_TYPE_NAME", 5: "USER_ACTIVITY_TYPE_LICENSES", 6: "USER_ACTIVITY_TYPE_WANTED", 7: "USER_ACTIVITY_TYPE_TRAFFIC_INFRACTION_POINTS", 8: "USER_ACTIVITY_TYPE_MUGSHOT", 9: "USER_ACTIVITY_TYPE_LABELS", 10: "USER_ACTIVITY_TYPE_JOB", 11: "USER_ACTIVITY_TYPE_DOCUMENT", 12: "USER_ACTIVITY_TYPE_JAIL", 13: "USER_ACTIVITY_TYPE_FINE", } UserActivityType_value = map[string]int32{ "USER_ACTIVITY_TYPE_UNSPECIFIED": 0, "USER_ACTIVITY_TYPE_NAME": 4, "USER_ACTIVITY_TYPE_LICENSES": 5, "USER_ACTIVITY_TYPE_WANTED": 6, "USER_ACTIVITY_TYPE_TRAFFIC_INFRACTION_POINTS": 7, "USER_ACTIVITY_TYPE_MUGSHOT": 8, "USER_ACTIVITY_TYPE_LABELS": 9, "USER_ACTIVITY_TYPE_JOB": 10, "USER_ACTIVITY_TYPE_DOCUMENT": 11, "USER_ACTIVITY_TYPE_JAIL": 12, "USER_ACTIVITY_TYPE_FINE": 13, } )
Enum value maps for UserActivityType.
var ( UserInfoSyncUnemployedMode_name = map[int32]string{ 0: "USER_INFO_SYNC_UNEMPLOYED_MODE_UNSPECIFIED", 1: "USER_INFO_SYNC_UNEMPLOYED_MODE_GIVE_ROLE", 2: "USER_INFO_SYNC_UNEMPLOYED_MODE_KICK", } UserInfoSyncUnemployedMode_value = map[string]int32{ "USER_INFO_SYNC_UNEMPLOYED_MODE_UNSPECIFIED": 0, "USER_INFO_SYNC_UNEMPLOYED_MODE_GIVE_ROLE": 1, "USER_INFO_SYNC_UNEMPLOYED_MODE_KICK": 2, } )
Enum value maps for UserInfoSyncUnemployedMode.
var File_resources_users_activity_proto protoreflect.FileDescriptor
var File_resources_users_job_props_proto protoreflect.FileDescriptor
var File_resources_users_job_settings_proto protoreflect.FileDescriptor
var File_resources_users_jobs_proto protoreflect.FileDescriptor
var File_resources_users_labels_proto protoreflect.FileDescriptor
var File_resources_users_licenses_proto protoreflect.FileDescriptor
var File_resources_users_props_proto protoreflect.FileDescriptor
var File_resources_users_users_proto protoreflect.FileDescriptor
Functions ¶
func CreateUserActivities ¶ added in v0.9.5
Types ¶
type CitizenLabel ¶ added in v0.9.5
type CitizenLabel struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id"
Job *string `protobuf:"bytes,2,opt,name=job,proto3,oneof" json:"job,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// @sanitize: method=StripTags
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
// contains filtered or unexported fields
}
func (*CitizenLabel) Descriptor
deprecated
added in
v0.9.5
func (*CitizenLabel) Descriptor() ([]byte, []int)
Deprecated: Use CitizenLabel.ProtoReflect.Descriptor instead.
func (*CitizenLabel) Equal ¶ added in v0.9.5
func (x *CitizenLabel) Equal(a *CitizenLabel) bool
func (*CitizenLabel) GetColor ¶ added in v0.9.5
func (x *CitizenLabel) GetColor() string
func (*CitizenLabel) GetId ¶ added in v0.9.5
func (x *CitizenLabel) GetId() uint64
func (*CitizenLabel) GetJob ¶ added in v0.9.5
func (x *CitizenLabel) GetJob() string
func (*CitizenLabel) GetName ¶ added in v0.9.5
func (x *CitizenLabel) GetName() string
func (*CitizenLabel) ProtoMessage ¶ added in v0.9.5
func (*CitizenLabel) ProtoMessage()
func (*CitizenLabel) ProtoReflect ¶ added in v0.9.5
func (x *CitizenLabel) ProtoReflect() protoreflect.Message
func (*CitizenLabel) Reset ¶ added in v0.9.5
func (x *CitizenLabel) Reset()
func (*CitizenLabel) Sanitize ¶ added in v0.9.5
func (m *CitizenLabel) Sanitize() error
func (*CitizenLabel) String ¶ added in v0.9.5
func (x *CitizenLabel) String() string
func (*CitizenLabel) Validate ¶ added in v0.9.5
func (m *CitizenLabel) Validate() error
Validate checks the field values on CitizenLabel 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 (*CitizenLabel) ValidateAll ¶ added in v0.9.5
func (m *CitizenLabel) ValidateAll() error
ValidateAll checks the field values on CitizenLabel 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 CitizenLabelMultiError, or nil if none found.
type CitizenLabelMultiError ¶ added in v0.9.5
type CitizenLabelMultiError []error
CitizenLabelMultiError is an error wrapping multiple validation errors returned by CitizenLabel.ValidateAll() if the designated constraints aren't met.
func (CitizenLabelMultiError) AllErrors ¶ added in v0.9.5
func (m CitizenLabelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CitizenLabelMultiError) Error ¶ added in v0.9.5
func (m CitizenLabelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CitizenLabelValidationError ¶ added in v0.9.5
type CitizenLabelValidationError struct {
// contains filtered or unexported fields
}
CitizenLabelValidationError is the validation error returned by CitizenLabel.Validate if the designated constraints aren't met.
func (CitizenLabelValidationError) Cause ¶ added in v0.9.5
func (e CitizenLabelValidationError) Cause() error
Cause function returns cause value.
func (CitizenLabelValidationError) Error ¶ added in v0.9.5
func (e CitizenLabelValidationError) Error() string
Error satisfies the builtin error interface
func (CitizenLabelValidationError) ErrorName ¶ added in v0.9.5
func (e CitizenLabelValidationError) ErrorName() string
ErrorName returns error name.
func (CitizenLabelValidationError) Field ¶ added in v0.9.5
func (e CitizenLabelValidationError) Field() string
Field function returns field value.
func (CitizenLabelValidationError) Key ¶ added in v0.9.5
func (e CitizenLabelValidationError) Key() bool
Key function returns key value.
func (CitizenLabelValidationError) Reason ¶ added in v0.9.5
func (e CitizenLabelValidationError) Reason() string
Reason function returns reason value.
type CitizenLabels ¶ added in v0.9.5
type CitizenLabels struct {
List []*CitizenLabel `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
@dbscanner: json
func GetUserLabels ¶ added in v0.9.5
func (*CitizenLabels) Descriptor
deprecated
added in
v0.9.5
func (*CitizenLabels) Descriptor() ([]byte, []int)
Deprecated: Use CitizenLabels.ProtoReflect.Descriptor instead.
func (*CitizenLabels) GetList ¶ added in v0.9.5
func (x *CitizenLabels) GetList() []*CitizenLabel
func (*CitizenLabels) ProtoMessage ¶ added in v0.9.5
func (*CitizenLabels) ProtoMessage()
func (*CitizenLabels) ProtoReflect ¶ added in v0.9.5
func (x *CitizenLabels) ProtoReflect() protoreflect.Message
func (*CitizenLabels) Reset ¶ added in v0.9.5
func (x *CitizenLabels) Reset()
func (*CitizenLabels) Sanitize ¶ added in v0.9.5
func (m *CitizenLabels) Sanitize() error
func (*CitizenLabels) Scan ¶ added in v0.9.5
func (x *CitizenLabels) Scan(value any) error
Scan implements driver.Valuer for protobuf CitizenLabels.
func (*CitizenLabels) String ¶ added in v0.9.5
func (x *CitizenLabels) String() string
func (*CitizenLabels) Validate ¶ added in v0.9.5
func (m *CitizenLabels) Validate() error
Validate checks the field values on CitizenLabels 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 (*CitizenLabels) ValidateAll ¶ added in v0.9.5
func (m *CitizenLabels) ValidateAll() error
ValidateAll checks the field values on CitizenLabels 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 CitizenLabelsMultiError, or nil if none found.
type CitizenLabelsMultiError ¶ added in v0.9.5
type CitizenLabelsMultiError []error
CitizenLabelsMultiError is an error wrapping multiple validation errors returned by CitizenLabels.ValidateAll() if the designated constraints aren't met.
func (CitizenLabelsMultiError) AllErrors ¶ added in v0.9.5
func (m CitizenLabelsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CitizenLabelsMultiError) Error ¶ added in v0.9.5
func (m CitizenLabelsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CitizenLabelsValidationError ¶ added in v0.9.5
type CitizenLabelsValidationError struct {
// contains filtered or unexported fields
}
CitizenLabelsValidationError is the validation error returned by CitizenLabels.Validate if the designated constraints aren't met.
func (CitizenLabelsValidationError) Cause ¶ added in v0.9.5
func (e CitizenLabelsValidationError) Cause() error
Cause function returns cause value.
func (CitizenLabelsValidationError) Error ¶ added in v0.9.5
func (e CitizenLabelsValidationError) Error() string
Error satisfies the builtin error interface
func (CitizenLabelsValidationError) ErrorName ¶ added in v0.9.5
func (e CitizenLabelsValidationError) ErrorName() string
ErrorName returns error name.
func (CitizenLabelsValidationError) Field ¶ added in v0.9.5
func (e CitizenLabelsValidationError) Field() string
Field function returns field value.
func (CitizenLabelsValidationError) Key ¶ added in v0.9.5
func (e CitizenLabelsValidationError) Key() bool
Key function returns key value.
func (CitizenLabelsValidationError) Reason ¶ added in v0.9.5
func (e CitizenLabelsValidationError) Reason() string
Reason function returns reason value.
type DiscordSyncChange ¶
type DiscordSyncChange struct {
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
Plan string `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
// contains filtered or unexported fields
}
func (*DiscordSyncChange) Descriptor
deprecated
func (*DiscordSyncChange) Descriptor() ([]byte, []int)
Deprecated: Use DiscordSyncChange.ProtoReflect.Descriptor instead.
func (*DiscordSyncChange) GetPlan ¶
func (x *DiscordSyncChange) GetPlan() string
func (*DiscordSyncChange) GetTime ¶
func (x *DiscordSyncChange) GetTime() *timestamp.Timestamp
func (*DiscordSyncChange) ProtoMessage ¶
func (*DiscordSyncChange) ProtoMessage()
func (*DiscordSyncChange) ProtoReflect ¶
func (x *DiscordSyncChange) ProtoReflect() protoreflect.Message
func (*DiscordSyncChange) Reset ¶
func (x *DiscordSyncChange) Reset()
func (*DiscordSyncChange) Sanitize ¶ added in v0.9.4
func (m *DiscordSyncChange) Sanitize() error
func (*DiscordSyncChange) String ¶
func (x *DiscordSyncChange) String() string
func (*DiscordSyncChange) Validate ¶
func (m *DiscordSyncChange) Validate() error
Validate checks the field values on DiscordSyncChange 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 (*DiscordSyncChange) ValidateAll ¶
func (m *DiscordSyncChange) ValidateAll() error
ValidateAll checks the field values on DiscordSyncChange 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 DiscordSyncChangeMultiError, or nil if none found.
type DiscordSyncChangeMultiError ¶
type DiscordSyncChangeMultiError []error
DiscordSyncChangeMultiError is an error wrapping multiple validation errors returned by DiscordSyncChange.ValidateAll() if the designated constraints aren't met.
func (DiscordSyncChangeMultiError) AllErrors ¶
func (m DiscordSyncChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiscordSyncChangeMultiError) Error ¶
func (m DiscordSyncChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiscordSyncChangeValidationError ¶
type DiscordSyncChangeValidationError struct {
// contains filtered or unexported fields
}
DiscordSyncChangeValidationError is the validation error returned by DiscordSyncChange.Validate if the designated constraints aren't met.
func (DiscordSyncChangeValidationError) Cause ¶
func (e DiscordSyncChangeValidationError) Cause() error
Cause function returns cause value.
func (DiscordSyncChangeValidationError) Error ¶
func (e DiscordSyncChangeValidationError) Error() string
Error satisfies the builtin error interface
func (DiscordSyncChangeValidationError) ErrorName ¶
func (e DiscordSyncChangeValidationError) ErrorName() string
ErrorName returns error name.
func (DiscordSyncChangeValidationError) Field ¶
func (e DiscordSyncChangeValidationError) Field() string
Field function returns field value.
func (DiscordSyncChangeValidationError) Key ¶
func (e DiscordSyncChangeValidationError) Key() bool
Key function returns key value.
func (DiscordSyncChangeValidationError) Reason ¶
func (e DiscordSyncChangeValidationError) Reason() string
Reason function returns reason value.
type DiscordSyncChanges ¶
type DiscordSyncChanges struct {
Changes []*DiscordSyncChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
// contains filtered or unexported fields
}
@dbscanner: json
func (*DiscordSyncChanges) Add ¶
func (x *DiscordSyncChanges) Add(change *DiscordSyncChange)
func (*DiscordSyncChanges) Descriptor
deprecated
func (*DiscordSyncChanges) Descriptor() ([]byte, []int)
Deprecated: Use DiscordSyncChanges.ProtoReflect.Descriptor instead.
func (*DiscordSyncChanges) GetChanges ¶
func (x *DiscordSyncChanges) GetChanges() []*DiscordSyncChange
func (*DiscordSyncChanges) ProtoMessage ¶
func (*DiscordSyncChanges) ProtoMessage()
func (*DiscordSyncChanges) ProtoReflect ¶
func (x *DiscordSyncChanges) ProtoReflect() protoreflect.Message
func (*DiscordSyncChanges) Reset ¶
func (x *DiscordSyncChanges) Reset()
func (*DiscordSyncChanges) Sanitize ¶ added in v0.9.4
func (m *DiscordSyncChanges) Sanitize() error
func (*DiscordSyncChanges) Scan ¶
func (x *DiscordSyncChanges) Scan(value any) error
Scan implements driver.Valuer for protobuf DiscordSyncChanges.
func (*DiscordSyncChanges) String ¶
func (x *DiscordSyncChanges) String() string
func (*DiscordSyncChanges) Validate ¶
func (m *DiscordSyncChanges) Validate() error
Validate checks the field values on DiscordSyncChanges 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 (*DiscordSyncChanges) ValidateAll ¶
func (m *DiscordSyncChanges) ValidateAll() error
ValidateAll checks the field values on DiscordSyncChanges 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 DiscordSyncChangesMultiError, or nil if none found.
type DiscordSyncChangesMultiError ¶
type DiscordSyncChangesMultiError []error
DiscordSyncChangesMultiError is an error wrapping multiple validation errors returned by DiscordSyncChanges.ValidateAll() if the designated constraints aren't met.
func (DiscordSyncChangesMultiError) AllErrors ¶
func (m DiscordSyncChangesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiscordSyncChangesMultiError) Error ¶
func (m DiscordSyncChangesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiscordSyncChangesValidationError ¶
type DiscordSyncChangesValidationError struct {
// contains filtered or unexported fields
}
DiscordSyncChangesValidationError is the validation error returned by DiscordSyncChanges.Validate if the designated constraints aren't met.
func (DiscordSyncChangesValidationError) Cause ¶
func (e DiscordSyncChangesValidationError) Cause() error
Cause function returns cause value.
func (DiscordSyncChangesValidationError) Error ¶
func (e DiscordSyncChangesValidationError) Error() string
Error satisfies the builtin error interface
func (DiscordSyncChangesValidationError) ErrorName ¶
func (e DiscordSyncChangesValidationError) ErrorName() string
ErrorName returns error name.
func (DiscordSyncChangesValidationError) Field ¶
func (e DiscordSyncChangesValidationError) Field() string
Field function returns field value.
func (DiscordSyncChangesValidationError) Key ¶
func (e DiscordSyncChangesValidationError) Key() bool
Key function returns key value.
func (DiscordSyncChangesValidationError) Reason ¶
func (e DiscordSyncChangesValidationError) Reason() string
Reason function returns reason value.
type DiscordSyncSettings ¶
type DiscordSyncSettings struct {
DryRun bool `protobuf:"varint,1,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
UserInfoSync bool `protobuf:"varint,2,opt,name=user_info_sync,json=userInfoSync,proto3" json:"user_info_sync,omitempty"`
UserInfoSyncSettings *UserInfoSyncSettings `protobuf:"bytes,3,opt,name=user_info_sync_settings,json=userInfoSyncSettings,proto3" json:"user_info_sync_settings,omitempty"`
StatusLog bool `protobuf:"varint,4,opt,name=status_log,json=statusLog,proto3" json:"status_log,omitempty"`
StatusLogSettings *StatusLogSettings `protobuf:"bytes,5,opt,name=status_log_settings,json=statusLogSettings,proto3" json:"status_log_settings,omitempty"`
JobsAbsence bool `protobuf:"varint,6,opt,name=jobs_absence,json=jobsAbsence,proto3" json:"jobs_absence,omitempty"`
JobsAbsenceSettings *JobsAbsenceSettings `protobuf:"bytes,7,opt,name=jobs_absence_settings,json=jobsAbsenceSettings,proto3" json:"jobs_absence_settings,omitempty"`
GroupSyncSettings *GroupSyncSettings `protobuf:"bytes,8,opt,name=group_sync_settings,json=groupSyncSettings,proto3" json:"group_sync_settings,omitempty"`
QualificationsRoleFormat string `` /* 135-byte string literal not displayed */
// contains filtered or unexported fields
}
@dbscanner: json
func (*DiscordSyncSettings) Descriptor
deprecated
func (*DiscordSyncSettings) Descriptor() ([]byte, []int)
Deprecated: Use DiscordSyncSettings.ProtoReflect.Descriptor instead.
func (*DiscordSyncSettings) GetDryRun ¶
func (x *DiscordSyncSettings) GetDryRun() bool
func (*DiscordSyncSettings) GetGroupSyncSettings ¶
func (x *DiscordSyncSettings) GetGroupSyncSettings() *GroupSyncSettings
func (*DiscordSyncSettings) GetJobsAbsence ¶
func (x *DiscordSyncSettings) GetJobsAbsence() bool
func (*DiscordSyncSettings) GetJobsAbsenceSettings ¶
func (x *DiscordSyncSettings) GetJobsAbsenceSettings() *JobsAbsenceSettings
func (*DiscordSyncSettings) GetQualificationsRoleFormat ¶ added in v0.9.2
func (x *DiscordSyncSettings) GetQualificationsRoleFormat() string
func (*DiscordSyncSettings) GetStatusLog ¶
func (x *DiscordSyncSettings) GetStatusLog() bool
func (*DiscordSyncSettings) GetStatusLogSettings ¶
func (x *DiscordSyncSettings) GetStatusLogSettings() *StatusLogSettings
func (*DiscordSyncSettings) GetUserInfoSync ¶
func (x *DiscordSyncSettings) GetUserInfoSync() bool
func (*DiscordSyncSettings) GetUserInfoSyncSettings ¶
func (x *DiscordSyncSettings) GetUserInfoSyncSettings() *UserInfoSyncSettings
func (*DiscordSyncSettings) IsStatusLogEnabled ¶
func (x *DiscordSyncSettings) IsStatusLogEnabled() bool
func (*DiscordSyncSettings) ProtoMessage ¶
func (*DiscordSyncSettings) ProtoMessage()
func (*DiscordSyncSettings) ProtoReflect ¶
func (x *DiscordSyncSettings) ProtoReflect() protoreflect.Message
func (*DiscordSyncSettings) Reset ¶
func (x *DiscordSyncSettings) Reset()
func (*DiscordSyncSettings) Sanitize ¶ added in v0.9.4
func (m *DiscordSyncSettings) Sanitize() error
func (*DiscordSyncSettings) Scan ¶
func (x *DiscordSyncSettings) Scan(value any) error
Scan implements driver.Valuer for protobuf DiscordSyncSettings.
func (*DiscordSyncSettings) String ¶
func (x *DiscordSyncSettings) String() string
func (*DiscordSyncSettings) Validate ¶
func (m *DiscordSyncSettings) Validate() error
Validate checks the field values on DiscordSyncSettings 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 (*DiscordSyncSettings) ValidateAll ¶
func (m *DiscordSyncSettings) ValidateAll() error
ValidateAll checks the field values on DiscordSyncSettings 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 DiscordSyncSettingsMultiError, or nil if none found.
type DiscordSyncSettingsMultiError ¶
type DiscordSyncSettingsMultiError []error
DiscordSyncSettingsMultiError is an error wrapping multiple validation errors returned by DiscordSyncSettings.ValidateAll() if the designated constraints aren't met.
func (DiscordSyncSettingsMultiError) AllErrors ¶
func (m DiscordSyncSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiscordSyncSettingsMultiError) Error ¶
func (m DiscordSyncSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiscordSyncSettingsValidationError ¶
type DiscordSyncSettingsValidationError struct {
// contains filtered or unexported fields
}
DiscordSyncSettingsValidationError is the validation error returned by DiscordSyncSettings.Validate if the designated constraints aren't met.
func (DiscordSyncSettingsValidationError) Cause ¶
func (e DiscordSyncSettingsValidationError) Cause() error
Cause function returns cause value.
func (DiscordSyncSettingsValidationError) Error ¶
func (e DiscordSyncSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (DiscordSyncSettingsValidationError) ErrorName ¶
func (e DiscordSyncSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (DiscordSyncSettingsValidationError) Field ¶
func (e DiscordSyncSettingsValidationError) Field() string
Field function returns field value.
func (DiscordSyncSettingsValidationError) Key ¶
func (e DiscordSyncSettingsValidationError) Key() bool
Key function returns key value.
func (DiscordSyncSettingsValidationError) Reason ¶
func (e DiscordSyncSettingsValidationError) Reason() string
Reason function returns reason value.
type GroupMapping ¶
type GroupMapping struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
FromGrade int32 `protobuf:"varint,2,opt,name=from_grade,json=fromGrade,proto3" json:"from_grade,omitempty"`
ToGrade int32 `protobuf:"varint,3,opt,name=to_grade,json=toGrade,proto3" json:"to_grade,omitempty"`
// contains filtered or unexported fields
}
func (*GroupMapping) Descriptor
deprecated
func (*GroupMapping) Descriptor() ([]byte, []int)
Deprecated: Use GroupMapping.ProtoReflect.Descriptor instead.
func (*GroupMapping) GetFromGrade ¶
func (x *GroupMapping) GetFromGrade() int32
func (*GroupMapping) GetName ¶
func (x *GroupMapping) GetName() string
func (*GroupMapping) GetToGrade ¶
func (x *GroupMapping) GetToGrade() int32
func (*GroupMapping) ProtoMessage ¶
func (*GroupMapping) ProtoMessage()
func (*GroupMapping) ProtoReflect ¶
func (x *GroupMapping) ProtoReflect() protoreflect.Message
func (*GroupMapping) Reset ¶
func (x *GroupMapping) Reset()
func (*GroupMapping) Sanitize ¶ added in v0.9.4
func (m *GroupMapping) Sanitize() error
func (*GroupMapping) String ¶
func (x *GroupMapping) String() string
func (*GroupMapping) Validate ¶
func (m *GroupMapping) Validate() error
Validate checks the field values on GroupMapping 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 (*GroupMapping) ValidateAll ¶
func (m *GroupMapping) ValidateAll() error
ValidateAll checks the field values on GroupMapping 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 GroupMappingMultiError, or nil if none found.
type GroupMappingMultiError ¶
type GroupMappingMultiError []error
GroupMappingMultiError is an error wrapping multiple validation errors returned by GroupMapping.ValidateAll() if the designated constraints aren't met.
func (GroupMappingMultiError) AllErrors ¶
func (m GroupMappingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupMappingMultiError) Error ¶
func (m GroupMappingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupMappingValidationError ¶
type GroupMappingValidationError struct {
// contains filtered or unexported fields
}
GroupMappingValidationError is the validation error returned by GroupMapping.Validate if the designated constraints aren't met.
func (GroupMappingValidationError) Cause ¶
func (e GroupMappingValidationError) Cause() error
Cause function returns cause value.
func (GroupMappingValidationError) Error ¶
func (e GroupMappingValidationError) Error() string
Error satisfies the builtin error interface
func (GroupMappingValidationError) ErrorName ¶
func (e GroupMappingValidationError) ErrorName() string
ErrorName returns error name.
func (GroupMappingValidationError) Field ¶
func (e GroupMappingValidationError) Field() string
Field function returns field value.
func (GroupMappingValidationError) Key ¶
func (e GroupMappingValidationError) Key() bool
Key function returns key value.
func (GroupMappingValidationError) Reason ¶
func (e GroupMappingValidationError) Reason() string
Reason function returns reason value.
type GroupSyncSettings ¶
type GroupSyncSettings struct {
// @sanitize: method=StripTags
IgnoredRoleIds []string `protobuf:"bytes,1,rep,name=ignored_role_ids,json=ignoredRoleIds,proto3" json:"ignored_role_ids,omitempty"`
// contains filtered or unexported fields
}
func (*GroupSyncSettings) Descriptor
deprecated
func (*GroupSyncSettings) Descriptor() ([]byte, []int)
Deprecated: Use GroupSyncSettings.ProtoReflect.Descriptor instead.
func (*GroupSyncSettings) GetIgnoredRoleIds ¶
func (x *GroupSyncSettings) GetIgnoredRoleIds() []string
func (*GroupSyncSettings) ProtoMessage ¶
func (*GroupSyncSettings) ProtoMessage()
func (*GroupSyncSettings) ProtoReflect ¶
func (x *GroupSyncSettings) ProtoReflect() protoreflect.Message
func (*GroupSyncSettings) Reset ¶
func (x *GroupSyncSettings) Reset()
func (*GroupSyncSettings) Sanitize ¶ added in v0.9.4
func (m *GroupSyncSettings) Sanitize() error
func (*GroupSyncSettings) String ¶
func (x *GroupSyncSettings) String() string
func (*GroupSyncSettings) Validate ¶
func (m *GroupSyncSettings) Validate() error
Validate checks the field values on GroupSyncSettings 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 (*GroupSyncSettings) ValidateAll ¶
func (m *GroupSyncSettings) ValidateAll() error
ValidateAll checks the field values on GroupSyncSettings 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 GroupSyncSettingsMultiError, or nil if none found.
type GroupSyncSettingsMultiError ¶
type GroupSyncSettingsMultiError []error
GroupSyncSettingsMultiError is an error wrapping multiple validation errors returned by GroupSyncSettings.ValidateAll() if the designated constraints aren't met.
func (GroupSyncSettingsMultiError) AllErrors ¶
func (m GroupSyncSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupSyncSettingsMultiError) Error ¶
func (m GroupSyncSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupSyncSettingsValidationError ¶
type GroupSyncSettingsValidationError struct {
// contains filtered or unexported fields
}
GroupSyncSettingsValidationError is the validation error returned by GroupSyncSettings.Validate if the designated constraints aren't met.
func (GroupSyncSettingsValidationError) Cause ¶
func (e GroupSyncSettingsValidationError) Cause() error
Cause function returns cause value.
func (GroupSyncSettingsValidationError) Error ¶
func (e GroupSyncSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (GroupSyncSettingsValidationError) ErrorName ¶
func (e GroupSyncSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (GroupSyncSettingsValidationError) Field ¶
func (e GroupSyncSettingsValidationError) Field() string
Field function returns field value.
func (GroupSyncSettingsValidationError) Key ¶
func (e GroupSyncSettingsValidationError) Key() bool
Key function returns key value.
func (GroupSyncSettingsValidationError) Reason ¶
func (e GroupSyncSettingsValidationError) Reason() string
Reason function returns reason value.
type Job ¶
type Job struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" sql:"primary_key" alias:"name"` // @gotags: sql:"primary_key" alias:"name"
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Grades []*JobGrade `protobuf:"bytes,3,rep,name=grades,proto3" json:"grades,omitempty"`
// contains filtered or unexported fields
}
func (*Job) Descriptor
deprecated
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) SetJobLabel ¶
func (*Job) Validate ¶
Validate checks the field values on Job 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 (*Job) ValidateAll ¶
ValidateAll checks the field values on Job 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 JobMultiError, or nil if none found.
type JobGrade ¶
type JobGrade struct {
JobName *string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3,oneof" json:"job_name,omitempty"`
Grade int32 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"`
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
func (*JobGrade) Descriptor
deprecated
func (*JobGrade) GetJobName ¶
func (*JobGrade) ProtoMessage ¶
func (*JobGrade) ProtoMessage()
func (*JobGrade) ProtoReflect ¶
func (x *JobGrade) ProtoReflect() protoreflect.Message
func (*JobGrade) Validate ¶
Validate checks the field values on JobGrade 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 (*JobGrade) ValidateAll ¶
ValidateAll checks the field values on JobGrade 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 JobGradeMultiError, or nil if none found.
type JobGradeMultiError ¶
type JobGradeMultiError []error
JobGradeMultiError is an error wrapping multiple validation errors returned by JobGrade.ValidateAll() if the designated constraints aren't met.
func (JobGradeMultiError) AllErrors ¶
func (m JobGradeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobGradeMultiError) Error ¶
func (m JobGradeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobGradeValidationError ¶
type JobGradeValidationError struct {
// contains filtered or unexported fields
}
JobGradeValidationError is the validation error returned by JobGrade.Validate if the designated constraints aren't met.
func (JobGradeValidationError) Cause ¶
func (e JobGradeValidationError) Cause() error
Cause function returns cause value.
func (JobGradeValidationError) Error ¶
func (e JobGradeValidationError) Error() string
Error satisfies the builtin error interface
func (JobGradeValidationError) ErrorName ¶
func (e JobGradeValidationError) ErrorName() string
ErrorName returns error name.
func (JobGradeValidationError) Field ¶
func (e JobGradeValidationError) Field() string
Field function returns field value.
func (JobGradeValidationError) Key ¶
func (e JobGradeValidationError) Key() bool
Key function returns key value.
func (JobGradeValidationError) Reason ¶
func (e JobGradeValidationError) Reason() string
Reason function returns reason value.
type JobMultiError ¶
type JobMultiError []error
JobMultiError is an error wrapping multiple validation errors returned by Job.ValidateAll() if the designated constraints aren't met.
func (JobMultiError) AllErrors ¶
func (m JobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobMultiError) Error ¶
func (m JobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobProps ¶
type JobProps struct {
Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
JobLabel *string `protobuf:"bytes,2,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
Theme string `protobuf:"bytes,3,opt,name=theme,proto3" json:"theme,omitempty"`
LivemapMarkerColor string `protobuf:"bytes,4,opt,name=livemap_marker_color,json=livemapMarkerColor,proto3" json:"livemap_marker_color,omitempty"`
QuickButtons *QuickButtons `protobuf:"bytes,5,opt,name=quick_buttons,json=quickButtons,proto3" json:"quick_buttons,omitempty"`
RadioFrequency *string `protobuf:"bytes,6,opt,name=radio_frequency,json=radioFrequency,proto3,oneof" json:"radio_frequency,omitempty"`
DiscordGuildId *string `protobuf:"bytes,7,opt,name=discord_guild_id,json=discordGuildId,proto3,oneof" json:"discord_guild_id,omitempty"`
DiscordLastSync *timestamp.Timestamp `protobuf:"bytes,8,opt,name=discord_last_sync,json=discordLastSync,proto3,oneof" json:"discord_last_sync,omitempty"`
DiscordSyncSettings *DiscordSyncSettings `protobuf:"bytes,9,opt,name=discord_sync_settings,json=discordSyncSettings,proto3" json:"discord_sync_settings,omitempty"`
DiscordSyncChanges *DiscordSyncChanges `protobuf:"bytes,10,opt,name=discord_sync_changes,json=discordSyncChanges,proto3,oneof" json:"discord_sync_changes,omitempty"`
Motd *string `protobuf:"bytes,11,opt,name=motd,proto3,oneof" json:"motd,omitempty"`
LogoUrl *filestore.File `protobuf:"bytes,12,opt,name=logo_url,json=logoUrl,proto3,oneof" json:"logo_url,omitempty"`
Settings *JobSettings `protobuf:"bytes,13,opt,name=settings,proto3" json:"settings,omitempty"`
// contains filtered or unexported fields
}
func GetJobProps ¶ added in v0.9.5
func (*JobProps) Descriptor
deprecated
func (*JobProps) GetDiscordGuildId ¶
func (*JobProps) GetDiscordLastSync ¶
func (*JobProps) GetDiscordSyncChanges ¶
func (x *JobProps) GetDiscordSyncChanges() *DiscordSyncChanges
func (*JobProps) GetDiscordSyncSettings ¶
func (x *JobProps) GetDiscordSyncSettings() *DiscordSyncSettings
func (*JobProps) GetJobLabel ¶
func (*JobProps) GetLivemapMarkerColor ¶
func (*JobProps) GetLogoUrl ¶
func (*JobProps) GetQuickButtons ¶
func (x *JobProps) GetQuickButtons() *QuickButtons
func (*JobProps) GetRadioFrequency ¶
func (*JobProps) GetSettings ¶
func (x *JobProps) GetSettings() *JobSettings
func (*JobProps) ProtoMessage ¶
func (*JobProps) ProtoMessage()
func (*JobProps) ProtoReflect ¶
func (x *JobProps) ProtoReflect() protoreflect.Message
func (*JobProps) SetJobLabel ¶
func (*JobProps) Validate ¶
Validate checks the field values on JobProps 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 (*JobProps) ValidateAll ¶
ValidateAll checks the field values on JobProps 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 JobPropsMultiError, or nil if none found.
type JobPropsMultiError ¶
type JobPropsMultiError []error
JobPropsMultiError is an error wrapping multiple validation errors returned by JobProps.ValidateAll() if the designated constraints aren't met.
func (JobPropsMultiError) AllErrors ¶
func (m JobPropsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobPropsMultiError) Error ¶
func (m JobPropsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobPropsValidationError ¶
type JobPropsValidationError struct {
// contains filtered or unexported fields
}
JobPropsValidationError is the validation error returned by JobProps.Validate if the designated constraints aren't met.
func (JobPropsValidationError) Cause ¶
func (e JobPropsValidationError) Cause() error
Cause function returns cause value.
func (JobPropsValidationError) Error ¶
func (e JobPropsValidationError) Error() string
Error satisfies the builtin error interface
func (JobPropsValidationError) ErrorName ¶
func (e JobPropsValidationError) ErrorName() string
ErrorName returns error name.
func (JobPropsValidationError) Field ¶
func (e JobPropsValidationError) Field() string
Field function returns field value.
func (JobPropsValidationError) Key ¶
func (e JobPropsValidationError) Key() bool
Key function returns key value.
func (JobPropsValidationError) Reason ¶
func (e JobPropsValidationError) Reason() string
Reason function returns reason value.
type JobSettings ¶
type JobSettings struct {
AbsencePastDays int32 `protobuf:"varint,1,opt,name=absence_past_days,json=absencePastDays,proto3" json:"absence_past_days,omitempty"`
AbsenceFutureDays int32 `protobuf:"varint,2,opt,name=absence_future_days,json=absenceFutureDays,proto3" json:"absence_future_days,omitempty"`
// contains filtered or unexported fields
}
@dbscanner: json
func (*JobSettings) Default ¶ added in v0.9.5
func (x *JobSettings) Default()
func (*JobSettings) Descriptor
deprecated
func (*JobSettings) Descriptor() ([]byte, []int)
Deprecated: Use JobSettings.ProtoReflect.Descriptor instead.
func (*JobSettings) GetAbsenceFutureDays ¶ added in v0.9.5
func (x *JobSettings) GetAbsenceFutureDays() int32
func (*JobSettings) GetAbsencePastDays ¶ added in v0.9.5
func (x *JobSettings) GetAbsencePastDays() int32
func (*JobSettings) ProtoMessage ¶
func (*JobSettings) ProtoMessage()
func (*JobSettings) ProtoReflect ¶
func (x *JobSettings) ProtoReflect() protoreflect.Message
func (*JobSettings) Reset ¶
func (x *JobSettings) Reset()
func (*JobSettings) Sanitize ¶ added in v0.9.4
func (m *JobSettings) Sanitize() error
func (*JobSettings) Scan ¶
func (x *JobSettings) Scan(value any) error
Scan implements driver.Valuer for protobuf JobSettings.
func (*JobSettings) String ¶
func (x *JobSettings) String() string
func (*JobSettings) Validate ¶
func (m *JobSettings) Validate() error
Validate checks the field values on JobSettings 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 (*JobSettings) ValidateAll ¶
func (m *JobSettings) ValidateAll() error
ValidateAll checks the field values on JobSettings 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 JobSettingsMultiError, or nil if none found.
type JobSettingsMultiError ¶
type JobSettingsMultiError []error
JobSettingsMultiError is an error wrapping multiple validation errors returned by JobSettings.ValidateAll() if the designated constraints aren't met.
func (JobSettingsMultiError) AllErrors ¶
func (m JobSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobSettingsMultiError) Error ¶
func (m JobSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobSettingsValidationError ¶
type JobSettingsValidationError struct {
// contains filtered or unexported fields
}
JobSettingsValidationError is the validation error returned by JobSettings.Validate if the designated constraints aren't met.
func (JobSettingsValidationError) Cause ¶
func (e JobSettingsValidationError) Cause() error
Cause function returns cause value.
func (JobSettingsValidationError) Error ¶
func (e JobSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (JobSettingsValidationError) ErrorName ¶
func (e JobSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (JobSettingsValidationError) Field ¶
func (e JobSettingsValidationError) Field() string
Field function returns field value.
func (JobSettingsValidationError) Key ¶
func (e JobSettingsValidationError) Key() bool
Key function returns key value.
func (JobSettingsValidationError) Reason ¶
func (e JobSettingsValidationError) Reason() string
Reason function returns reason value.
type JobValidationError ¶
type JobValidationError struct {
// contains filtered or unexported fields
}
JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.
func (JobValidationError) Cause ¶
func (e JobValidationError) Cause() error
Cause function returns cause value.
func (JobValidationError) Error ¶
func (e JobValidationError) Error() string
Error satisfies the builtin error interface
func (JobValidationError) ErrorName ¶
func (e JobValidationError) ErrorName() string
ErrorName returns error name.
func (JobValidationError) Field ¶
func (e JobValidationError) Field() string
Field function returns field value.
func (JobValidationError) Key ¶
func (e JobValidationError) Key() bool
Key function returns key value.
func (JobValidationError) Reason ¶
func (e JobValidationError) Reason() string
Reason function returns reason value.
type JobsAbsenceSettings ¶
type JobsAbsenceSettings struct {
AbsenceRole string `protobuf:"bytes,1,opt,name=absence_role,json=absenceRole,proto3" json:"absence_role,omitempty"`
// contains filtered or unexported fields
}
func (*JobsAbsenceSettings) Descriptor
deprecated
func (*JobsAbsenceSettings) Descriptor() ([]byte, []int)
Deprecated: Use JobsAbsenceSettings.ProtoReflect.Descriptor instead.
func (*JobsAbsenceSettings) GetAbsenceRole ¶
func (x *JobsAbsenceSettings) GetAbsenceRole() string
func (*JobsAbsenceSettings) ProtoMessage ¶
func (*JobsAbsenceSettings) ProtoMessage()
func (*JobsAbsenceSettings) ProtoReflect ¶
func (x *JobsAbsenceSettings) ProtoReflect() protoreflect.Message
func (*JobsAbsenceSettings) Reset ¶
func (x *JobsAbsenceSettings) Reset()
func (*JobsAbsenceSettings) Sanitize ¶ added in v0.9.4
func (m *JobsAbsenceSettings) Sanitize() error
func (*JobsAbsenceSettings) String ¶
func (x *JobsAbsenceSettings) String() string
func (*JobsAbsenceSettings) Validate ¶
func (m *JobsAbsenceSettings) Validate() error
Validate checks the field values on JobsAbsenceSettings 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 (*JobsAbsenceSettings) ValidateAll ¶
func (m *JobsAbsenceSettings) ValidateAll() error
ValidateAll checks the field values on JobsAbsenceSettings 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 JobsAbsenceSettingsMultiError, or nil if none found.
type JobsAbsenceSettingsMultiError ¶
type JobsAbsenceSettingsMultiError []error
JobsAbsenceSettingsMultiError is an error wrapping multiple validation errors returned by JobsAbsenceSettings.ValidateAll() if the designated constraints aren't met.
func (JobsAbsenceSettingsMultiError) AllErrors ¶
func (m JobsAbsenceSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsAbsenceSettingsMultiError) Error ¶
func (m JobsAbsenceSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsAbsenceSettingsValidationError ¶
type JobsAbsenceSettingsValidationError struct {
// contains filtered or unexported fields
}
JobsAbsenceSettingsValidationError is the validation error returned by JobsAbsenceSettings.Validate if the designated constraints aren't met.
func (JobsAbsenceSettingsValidationError) Cause ¶
func (e JobsAbsenceSettingsValidationError) Cause() error
Cause function returns cause value.
func (JobsAbsenceSettingsValidationError) Error ¶
func (e JobsAbsenceSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (JobsAbsenceSettingsValidationError) ErrorName ¶
func (e JobsAbsenceSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (JobsAbsenceSettingsValidationError) Field ¶
func (e JobsAbsenceSettingsValidationError) Field() string
Field function returns field value.
func (JobsAbsenceSettingsValidationError) Key ¶
func (e JobsAbsenceSettingsValidationError) Key() bool
Key function returns key value.
func (JobsAbsenceSettingsValidationError) Reason ¶
func (e JobsAbsenceSettingsValidationError) Reason() string
Reason function returns reason value.
type License ¶
type License struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
func (*License) Descriptor
deprecated
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
func (*License) Validate ¶
Validate checks the field values on License 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 (*License) ValidateAll ¶
ValidateAll checks the field values on License 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 LicenseMultiError, or nil if none found.
type LicenseMultiError ¶
type LicenseMultiError []error
LicenseMultiError is an error wrapping multiple validation errors returned by License.ValidateAll() if the designated constraints aren't met.
func (LicenseMultiError) AllErrors ¶
func (m LicenseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LicenseMultiError) Error ¶
func (m LicenseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LicenseValidationError ¶
type LicenseValidationError struct {
// contains filtered or unexported fields
}
LicenseValidationError is the validation error returned by License.Validate if the designated constraints aren't met.
func (LicenseValidationError) Cause ¶
func (e LicenseValidationError) Cause() error
Cause function returns cause value.
func (LicenseValidationError) Error ¶
func (e LicenseValidationError) Error() string
Error satisfies the builtin error interface
func (LicenseValidationError) ErrorName ¶
func (e LicenseValidationError) ErrorName() string
ErrorName returns error name.
func (LicenseValidationError) Field ¶
func (e LicenseValidationError) Field() string
Field function returns field value.
func (LicenseValidationError) Key ¶
func (e LicenseValidationError) Key() bool
Key function returns key value.
func (LicenseValidationError) Reason ¶
func (e LicenseValidationError) Reason() string
Reason function returns reason value.
type QuickButtons ¶
type QuickButtons struct {
PenaltyCalculator bool `protobuf:"varint,1,opt,name=penalty_calculator,json=penaltyCalculator,proto3" json:"penalty_calculator,omitempty"`
BodyCheckup bool `protobuf:"varint,2,opt,name=body_checkup,json=bodyCheckup,proto3" json:"body_checkup,omitempty"`
MathCalculator bool `protobuf:"varint,3,opt,name=math_calculator,json=mathCalculator,proto3" json:"math_calculator,omitempty"`
// contains filtered or unexported fields
}
@dbscanner: json
func (*QuickButtons) Descriptor
deprecated
func (*QuickButtons) Descriptor() ([]byte, []int)
Deprecated: Use QuickButtons.ProtoReflect.Descriptor instead.
func (*QuickButtons) GetBodyCheckup ¶
func (x *QuickButtons) GetBodyCheckup() bool
func (*QuickButtons) GetMathCalculator ¶ added in v0.9.4
func (x *QuickButtons) GetMathCalculator() bool
func (*QuickButtons) GetPenaltyCalculator ¶
func (x *QuickButtons) GetPenaltyCalculator() bool
func (*QuickButtons) ProtoMessage ¶
func (*QuickButtons) ProtoMessage()
func (*QuickButtons) ProtoReflect ¶
func (x *QuickButtons) ProtoReflect() protoreflect.Message
func (*QuickButtons) Reset ¶
func (x *QuickButtons) Reset()
func (*QuickButtons) Sanitize ¶ added in v0.9.4
func (m *QuickButtons) Sanitize() error
func (*QuickButtons) Scan ¶
func (x *QuickButtons) Scan(value any) error
Scan implements driver.Valuer for protobuf QuickButtons.
func (*QuickButtons) String ¶
func (x *QuickButtons) String() string
func (*QuickButtons) Validate ¶
func (m *QuickButtons) Validate() error
Validate checks the field values on QuickButtons 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 (*QuickButtons) ValidateAll ¶
func (m *QuickButtons) ValidateAll() error
ValidateAll checks the field values on QuickButtons 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 QuickButtonsMultiError, or nil if none found.
type QuickButtonsMultiError ¶
type QuickButtonsMultiError []error
QuickButtonsMultiError is an error wrapping multiple validation errors returned by QuickButtons.ValidateAll() if the designated constraints aren't met.
func (QuickButtonsMultiError) AllErrors ¶
func (m QuickButtonsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuickButtonsMultiError) Error ¶
func (m QuickButtonsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuickButtonsValidationError ¶
type QuickButtonsValidationError struct {
// contains filtered or unexported fields
}
QuickButtonsValidationError is the validation error returned by QuickButtons.Validate if the designated constraints aren't met.
func (QuickButtonsValidationError) Cause ¶
func (e QuickButtonsValidationError) Cause() error
Cause function returns cause value.
func (QuickButtonsValidationError) Error ¶
func (e QuickButtonsValidationError) Error() string
Error satisfies the builtin error interface
func (QuickButtonsValidationError) ErrorName ¶
func (e QuickButtonsValidationError) ErrorName() string
ErrorName returns error name.
func (QuickButtonsValidationError) Field ¶
func (e QuickButtonsValidationError) Field() string
Field function returns field value.
func (QuickButtonsValidationError) Key ¶
func (e QuickButtonsValidationError) Key() bool
Key function returns key value.
func (QuickButtonsValidationError) Reason ¶
func (e QuickButtonsValidationError) Reason() string
Reason function returns reason value.
type StatusLogSettings ¶
type StatusLogSettings struct {
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
// contains filtered or unexported fields
}
func (*StatusLogSettings) Descriptor
deprecated
func (*StatusLogSettings) Descriptor() ([]byte, []int)
Deprecated: Use StatusLogSettings.ProtoReflect.Descriptor instead.
func (*StatusLogSettings) GetChannelId ¶
func (x *StatusLogSettings) GetChannelId() string
func (*StatusLogSettings) ProtoMessage ¶
func (*StatusLogSettings) ProtoMessage()
func (*StatusLogSettings) ProtoReflect ¶
func (x *StatusLogSettings) ProtoReflect() protoreflect.Message
func (*StatusLogSettings) Reset ¶
func (x *StatusLogSettings) Reset()
func (*StatusLogSettings) Sanitize ¶ added in v0.9.4
func (m *StatusLogSettings) Sanitize() error
func (*StatusLogSettings) String ¶
func (x *StatusLogSettings) String() string
func (*StatusLogSettings) Validate ¶
func (m *StatusLogSettings) Validate() error
Validate checks the field values on StatusLogSettings 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 (*StatusLogSettings) ValidateAll ¶
func (m *StatusLogSettings) ValidateAll() error
ValidateAll checks the field values on StatusLogSettings 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 StatusLogSettingsMultiError, or nil if none found.
type StatusLogSettingsMultiError ¶
type StatusLogSettingsMultiError []error
StatusLogSettingsMultiError is an error wrapping multiple validation errors returned by StatusLogSettings.ValidateAll() if the designated constraints aren't met.
func (StatusLogSettingsMultiError) AllErrors ¶
func (m StatusLogSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusLogSettingsMultiError) Error ¶
func (m StatusLogSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusLogSettingsValidationError ¶
type StatusLogSettingsValidationError struct {
// contains filtered or unexported fields
}
StatusLogSettingsValidationError is the validation error returned by StatusLogSettings.Validate if the designated constraints aren't met.
func (StatusLogSettingsValidationError) Cause ¶
func (e StatusLogSettingsValidationError) Cause() error
Cause function returns cause value.
func (StatusLogSettingsValidationError) Error ¶
func (e StatusLogSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (StatusLogSettingsValidationError) ErrorName ¶
func (e StatusLogSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (StatusLogSettingsValidationError) Field ¶
func (e StatusLogSettingsValidationError) Field() string
Field function returns field value.
func (StatusLogSettingsValidationError) Key ¶
func (e StatusLogSettingsValidationError) Key() bool
Key function returns key value.
func (StatusLogSettingsValidationError) Reason ¶
func (e StatusLogSettingsValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct {
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"id"` // @gotags: alias:"id"
Identifier *string `protobuf:"bytes,2,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
Job string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"`
JobLabel *string `protobuf:"bytes,4,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
JobGrade int32 `protobuf:"varint,5,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty"`
JobGradeLabel *string `protobuf:"bytes,6,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"`
Firstname string `protobuf:"bytes,7,opt,name=firstname,proto3" json:"firstname,omitempty"`
Lastname string `protobuf:"bytes,8,opt,name=lastname,proto3" json:"lastname,omitempty"`
Dateofbirth string `protobuf:"bytes,9,opt,name=dateofbirth,proto3" json:"dateofbirth,omitempty"`
Sex *string `protobuf:"bytes,10,opt,name=sex,proto3,oneof" json:"sex,omitempty"`
Height *string `protobuf:"bytes,11,opt,name=height,proto3,oneof" json:"height,omitempty"`
PhoneNumber *string `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
Visum *int32 `protobuf:"varint,13,opt,name=visum,proto3,oneof" json:"visum,omitempty"`
Playtime *int32 `protobuf:"varint,14,opt,name=playtime,proto3,oneof" json:"playtime,omitempty"`
Props *UserProps `protobuf:"bytes,15,opt,name=props,proto3" json:"props,omitempty" alias:"fivenet_user_props"` // @gotags: alias:"fivenet_user_props"
Licenses []*License `protobuf:"bytes,16,rep,name=licenses,proto3" json:"licenses,omitempty" alias:"user_licenses"` // @gotags: alias:"user_licenses"
Avatar *filestore.File `protobuf:"bytes,17,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
Group *string `protobuf:"bytes,18,opt,name=group,proto3,oneof" json:"group,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetDateofbirth ¶
func (*User) GetFirstname ¶
func (*User) GetIdentifier ¶
func (*User) GetJobGrade ¶
func (*User) GetJobGradeLabel ¶
func (*User) GetJobLabel ¶
func (*User) GetLastname ¶
func (*User) GetLicenses ¶
func (*User) GetPhoneNumber ¶
func (*User) GetPlaytime ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) SetJobGrade ¶
func (*User) SetJobGradeLabel ¶
func (*User) SetJobLabel ¶
func (*User) Validate ¶
Validate checks the field values on User 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 (*User) ValidateAll ¶
ValidateAll checks the field values on User 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 UserMultiError, or nil if none found.
type UserActivity ¶
type UserActivity struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"fivenet_user_activity.id"` // @gotags: alias:"fivenet_user_activity.id"
Type UserActivityType `` // @gotags: alias:"fivenet_user_activity.type"
/* 135-byte string literal not displayed */
CreatedAt *timestamp.Timestamp `` // @gotags: alias:"fivenet_user_activity.created_at"
/* 129-byte string literal not displayed */
SourceUserId *int32 `` // @gotags: alias:"source_user_id"
/* 129-byte string literal not displayed */
SourceUser *UserShort `protobuf:"bytes,5,opt,name=source_user,json=sourceUser,proto3,oneof" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user"
TargetUserId int32 `protobuf:"varint,6,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty" alias:"target_user_id"` // @gotags: alias:"target_user_id"
TargetUser *UserShort `protobuf:"bytes,7,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user"
// @sanitize
Key string `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty" alias:"fivenet_user_activity.key"` // @gotags: alias:"fivenet_user_activity.key"
// @sanitize
Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty" alias:"fivenet_user_activity.reason"` // @gotags: alias:"fivenet_user_activity.reason"
Data *UserActivityData `protobuf:"bytes,10,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"fivenet_user_activity.data"` // @gotags: alias:"fivenet_user_activity.data"
OldValue string `` // @gotags: alias:"fivenet_user_activity.old_value"
/* 126-byte string literal not displayed */
NewValue string `` // @gotags: alias:"fivenet_user_activity.new_value"
/* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UserActivity) Descriptor
deprecated
func (*UserActivity) Descriptor() ([]byte, []int)
Deprecated: Use UserActivity.ProtoReflect.Descriptor instead.
func (*UserActivity) GetCreatedAt ¶
func (x *UserActivity) GetCreatedAt() *timestamp.Timestamp
func (*UserActivity) GetData ¶ added in v0.9.5
func (x *UserActivity) GetData() *UserActivityData
func (*UserActivity) GetId ¶
func (x *UserActivity) GetId() uint64
func (*UserActivity) GetKey ¶
func (x *UserActivity) GetKey() string
func (*UserActivity) GetNewValue ¶
func (x *UserActivity) GetNewValue() string
func (*UserActivity) GetOldValue ¶
func (x *UserActivity) GetOldValue() string
func (*UserActivity) GetReason ¶
func (x *UserActivity) GetReason() string
func (*UserActivity) GetSourceUser ¶
func (x *UserActivity) GetSourceUser() *UserShort
func (*UserActivity) GetSourceUserId ¶ added in v0.9.5
func (x *UserActivity) GetSourceUserId() int32
func (*UserActivity) GetTargetUser ¶
func (x *UserActivity) GetTargetUser() *UserShort
func (*UserActivity) GetTargetUserId ¶ added in v0.9.5
func (x *UserActivity) GetTargetUserId() int32
func (*UserActivity) GetType ¶
func (x *UserActivity) GetType() UserActivityType
func (*UserActivity) ProtoMessage ¶
func (*UserActivity) ProtoMessage()
func (*UserActivity) ProtoReflect ¶
func (x *UserActivity) ProtoReflect() protoreflect.Message
func (*UserActivity) Reset ¶
func (x *UserActivity) Reset()
func (*UserActivity) Sanitize ¶
func (m *UserActivity) Sanitize() error
func (*UserActivity) String ¶
func (x *UserActivity) String() string
func (*UserActivity) Validate ¶
func (m *UserActivity) Validate() error
Validate checks the field values on UserActivity 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 (*UserActivity) ValidateAll ¶
func (m *UserActivity) ValidateAll() error
ValidateAll checks the field values on UserActivity 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 UserActivityMultiError, or nil if none found.
type UserActivityData ¶ added in v0.9.5
type UserActivityData struct {
// Types that are valid to be assigned to Data:
//
// *UserActivityData_NameChange
// *UserActivityData_LicensesChange
// *UserActivityData_WantedChange
// *UserActivityData_TrafficInfractionPointsChange
// *UserActivityData_MugshotChange
// *UserActivityData_LabelsChange
// *UserActivityData_JobChange
// *UserActivityData_DocumentRelation
// *UserActivityData_JailChange
// *UserActivityData_FineChange
Data isUserActivityData_Data `protobuf_oneof:"data"`
// contains filtered or unexported fields
}
@dbscanner: json
func (*UserActivityData) Descriptor
deprecated
added in
v0.9.5
func (*UserActivityData) Descriptor() ([]byte, []int)
Deprecated: Use UserActivityData.ProtoReflect.Descriptor instead.
func (*UserActivityData) GetData ¶ added in v0.9.5
func (x *UserActivityData) GetData() isUserActivityData_Data
func (*UserActivityData) GetDocumentRelation ¶ added in v0.9.5
func (x *UserActivityData) GetDocumentRelation() *UserDocumentRelation
func (*UserActivityData) GetFineChange ¶ added in v0.9.5
func (x *UserActivityData) GetFineChange() *UserFineChange
func (*UserActivityData) GetJailChange ¶ added in v0.9.5
func (x *UserActivityData) GetJailChange() *UserJailChange
func (*UserActivityData) GetJobChange ¶ added in v0.9.5
func (x *UserActivityData) GetJobChange() *UserJobChange
func (*UserActivityData) GetLabelsChange ¶ added in v0.9.5
func (x *UserActivityData) GetLabelsChange() *UserLabelsChange
func (*UserActivityData) GetLicensesChange ¶ added in v0.9.5
func (x *UserActivityData) GetLicensesChange() *UserLicenseChange
func (*UserActivityData) GetMugshotChange ¶ added in v0.9.5
func (x *UserActivityData) GetMugshotChange() *UserMugshotChange
func (*UserActivityData) GetNameChange ¶ added in v0.9.5
func (x *UserActivityData) GetNameChange() *UserNameChange
func (*UserActivityData) GetTrafficInfractionPointsChange ¶ added in v0.9.5
func (x *UserActivityData) GetTrafficInfractionPointsChange() *UserTrafficInfractionPointsChange
func (*UserActivityData) GetWantedChange ¶ added in v0.9.5
func (x *UserActivityData) GetWantedChange() *UserWantedChange
func (*UserActivityData) ProtoMessage ¶ added in v0.9.5
func (*UserActivityData) ProtoMessage()
func (*UserActivityData) ProtoReflect ¶ added in v0.9.5
func (x *UserActivityData) ProtoReflect() protoreflect.Message
func (*UserActivityData) Reset ¶ added in v0.9.5
func (x *UserActivityData) Reset()
func (*UserActivityData) Sanitize ¶ added in v0.9.5
func (m *UserActivityData) Sanitize() error
func (*UserActivityData) Scan ¶ added in v0.9.5
func (x *UserActivityData) Scan(value any) error
Scan implements driver.Valuer for protobuf UserActivityData.
func (*UserActivityData) String ¶ added in v0.9.5
func (x *UserActivityData) String() string
func (*UserActivityData) Validate ¶ added in v0.9.5
func (m *UserActivityData) Validate() error
Validate checks the field values on UserActivityData 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 (*UserActivityData) ValidateAll ¶ added in v0.9.5
func (m *UserActivityData) ValidateAll() error
ValidateAll checks the field values on UserActivityData 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 UserActivityDataMultiError, or nil if none found.
type UserActivityDataMultiError ¶ added in v0.9.5
type UserActivityDataMultiError []error
UserActivityDataMultiError is an error wrapping multiple validation errors returned by UserActivityData.ValidateAll() if the designated constraints aren't met.
func (UserActivityDataMultiError) AllErrors ¶ added in v0.9.5
func (m UserActivityDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserActivityDataMultiError) Error ¶ added in v0.9.5
func (m UserActivityDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserActivityDataValidationError ¶ added in v0.9.5
type UserActivityDataValidationError struct {
// contains filtered or unexported fields
}
UserActivityDataValidationError is the validation error returned by UserActivityData.Validate if the designated constraints aren't met.
func (UserActivityDataValidationError) Cause ¶ added in v0.9.5
func (e UserActivityDataValidationError) Cause() error
Cause function returns cause value.
func (UserActivityDataValidationError) Error ¶ added in v0.9.5
func (e UserActivityDataValidationError) Error() string
Error satisfies the builtin error interface
func (UserActivityDataValidationError) ErrorName ¶ added in v0.9.5
func (e UserActivityDataValidationError) ErrorName() string
ErrorName returns error name.
func (UserActivityDataValidationError) Field ¶ added in v0.9.5
func (e UserActivityDataValidationError) Field() string
Field function returns field value.
func (UserActivityDataValidationError) Key ¶ added in v0.9.5
func (e UserActivityDataValidationError) Key() bool
Key function returns key value.
func (UserActivityDataValidationError) Reason ¶ added in v0.9.5
func (e UserActivityDataValidationError) Reason() string
Reason function returns reason value.
type UserActivityData_DocumentRelation ¶ added in v0.9.5
type UserActivityData_DocumentRelation struct {
// Docstore related
DocumentRelation *UserDocumentRelation `protobuf:"bytes,8,opt,name=document_relation,json=documentRelation,proto3,oneof"`
}
type UserActivityData_FineChange ¶ added in v0.9.5
type UserActivityData_FineChange struct {
FineChange *UserFineChange `protobuf:"bytes,10,opt,name=fine_change,json=fineChange,proto3,oneof"`
}
type UserActivityData_JailChange ¶ added in v0.9.5
type UserActivityData_JailChange struct {
// "Plugin" activities
JailChange *UserJailChange `protobuf:"bytes,9,opt,name=jail_change,json=jailChange,proto3,oneof"`
}
type UserActivityData_JobChange ¶ added in v0.9.5
type UserActivityData_JobChange struct {
JobChange *UserJobChange `protobuf:"bytes,7,opt,name=job_change,json=jobChange,proto3,oneof"`
}
type UserActivityData_LabelsChange ¶ added in v0.9.5
type UserActivityData_LabelsChange struct {
LabelsChange *UserLabelsChange `protobuf:"bytes,6,opt,name=labels_change,json=labelsChange,proto3,oneof"`
}
type UserActivityData_LicensesChange ¶ added in v0.9.5
type UserActivityData_LicensesChange struct {
LicensesChange *UserLicenseChange `protobuf:"bytes,2,opt,name=licenses_change,json=licensesChange,proto3,oneof"`
}
type UserActivityData_MugshotChange ¶ added in v0.9.5
type UserActivityData_MugshotChange struct {
MugshotChange *UserMugshotChange `protobuf:"bytes,5,opt,name=mugshot_change,json=mugshotChange,proto3,oneof"`
}
type UserActivityData_NameChange ¶ added in v0.9.5
type UserActivityData_NameChange struct {
NameChange *UserNameChange `protobuf:"bytes,1,opt,name=name_change,json=nameChange,proto3,oneof"`
}
type UserActivityData_TrafficInfractionPointsChange ¶ added in v0.9.5
type UserActivityData_TrafficInfractionPointsChange struct {
TrafficInfractionPointsChange *UserTrafficInfractionPointsChange `protobuf:"bytes,4,opt,name=traffic_infraction_points_change,json=trafficInfractionPointsChange,proto3,oneof"`
}
type UserActivityData_WantedChange ¶ added in v0.9.5
type UserActivityData_WantedChange struct {
// User Props
WantedChange *UserWantedChange `protobuf:"bytes,3,opt,name=wanted_change,json=wantedChange,proto3,oneof"`
}
type UserActivityMultiError ¶
type UserActivityMultiError []error
UserActivityMultiError is an error wrapping multiple validation errors returned by UserActivity.ValidateAll() if the designated constraints aren't met.
func (UserActivityMultiError) AllErrors ¶
func (m UserActivityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserActivityMultiError) Error ¶
func (m UserActivityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserActivityType ¶
type UserActivityType int32
const ( UserActivityType_USER_ACTIVITY_TYPE_UNSPECIFIED UserActivityType = 0 UserActivityType_USER_ACTIVITY_TYPE_NAME UserActivityType = 4 UserActivityType_USER_ACTIVITY_TYPE_LICENSES UserActivityType = 5 UserActivityType_USER_ACTIVITY_TYPE_WANTED UserActivityType = 6 UserActivityType_USER_ACTIVITY_TYPE_TRAFFIC_INFRACTION_POINTS UserActivityType = 7 UserActivityType_USER_ACTIVITY_TYPE_MUGSHOT UserActivityType = 8 UserActivityType_USER_ACTIVITY_TYPE_LABELS UserActivityType = 9 UserActivityType_USER_ACTIVITY_TYPE_JOB UserActivityType = 10 UserActivityType_USER_ACTIVITY_TYPE_DOCUMENT UserActivityType = 11 UserActivityType_USER_ACTIVITY_TYPE_JAIL UserActivityType = 12 UserActivityType_USER_ACTIVITY_TYPE_FINE UserActivityType = 13 )
func (UserActivityType) Descriptor ¶
func (UserActivityType) Descriptor() protoreflect.EnumDescriptor
func (UserActivityType) Enum ¶
func (x UserActivityType) Enum() *UserActivityType
func (UserActivityType) EnumDescriptor
deprecated
func (UserActivityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserActivityType.Descriptor instead.
func (UserActivityType) Number ¶
func (x UserActivityType) Number() protoreflect.EnumNumber
func (UserActivityType) String ¶
func (x UserActivityType) String() string
func (UserActivityType) Type ¶
func (UserActivityType) Type() protoreflect.EnumType
type UserActivityValidationError ¶
type UserActivityValidationError struct {
// contains filtered or unexported fields
}
UserActivityValidationError is the validation error returned by UserActivity.Validate if the designated constraints aren't met.
func (UserActivityValidationError) Cause ¶
func (e UserActivityValidationError) Cause() error
Cause function returns cause value.
func (UserActivityValidationError) Error ¶
func (e UserActivityValidationError) Error() string
Error satisfies the builtin error interface
func (UserActivityValidationError) ErrorName ¶
func (e UserActivityValidationError) ErrorName() string
ErrorName returns error name.
func (UserActivityValidationError) Field ¶
func (e UserActivityValidationError) Field() string
Field function returns field value.
func (UserActivityValidationError) Key ¶
func (e UserActivityValidationError) Key() bool
Key function returns key value.
func (UserActivityValidationError) Reason ¶
func (e UserActivityValidationError) Reason() string
Reason function returns reason value.
type UserDocumentRelation ¶ added in v0.9.5
type UserDocumentRelation struct {
Added bool `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"`
DocumentId uint64 `protobuf:"varint,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
Relation int32 `protobuf:"varint,3,opt,name=relation,proto3" json:"relation,omitempty"` // resources.documents.DocRelation enum
// contains filtered or unexported fields
}
func (*UserDocumentRelation) Descriptor
deprecated
added in
v0.9.5
func (*UserDocumentRelation) Descriptor() ([]byte, []int)
Deprecated: Use UserDocumentRelation.ProtoReflect.Descriptor instead.
func (*UserDocumentRelation) GetAdded ¶ added in v0.9.5
func (x *UserDocumentRelation) GetAdded() bool
func (*UserDocumentRelation) GetDocumentId ¶ added in v0.9.5
func (x *UserDocumentRelation) GetDocumentId() uint64
func (*UserDocumentRelation) GetRelation ¶ added in v0.9.5
func (x *UserDocumentRelation) GetRelation() int32
func (*UserDocumentRelation) ProtoMessage ¶ added in v0.9.5
func (*UserDocumentRelation) ProtoMessage()
func (*UserDocumentRelation) ProtoReflect ¶ added in v0.9.5
func (x *UserDocumentRelation) ProtoReflect() protoreflect.Message
func (*UserDocumentRelation) Reset ¶ added in v0.9.5
func (x *UserDocumentRelation) Reset()
func (*UserDocumentRelation) Sanitize ¶ added in v0.9.5
func (m *UserDocumentRelation) Sanitize() error
func (*UserDocumentRelation) String ¶ added in v0.9.5
func (x *UserDocumentRelation) String() string
func (*UserDocumentRelation) Validate ¶ added in v0.9.5
func (m *UserDocumentRelation) Validate() error
Validate checks the field values on UserDocumentRelation 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 (*UserDocumentRelation) ValidateAll ¶ added in v0.9.5
func (m *UserDocumentRelation) ValidateAll() error
ValidateAll checks the field values on UserDocumentRelation 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 UserDocumentRelationMultiError, or nil if none found.
type UserDocumentRelationMultiError ¶ added in v0.9.5
type UserDocumentRelationMultiError []error
UserDocumentRelationMultiError is an error wrapping multiple validation errors returned by UserDocumentRelation.ValidateAll() if the designated constraints aren't met.
func (UserDocumentRelationMultiError) AllErrors ¶ added in v0.9.5
func (m UserDocumentRelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserDocumentRelationMultiError) Error ¶ added in v0.9.5
func (m UserDocumentRelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserDocumentRelationValidationError ¶ added in v0.9.5
type UserDocumentRelationValidationError struct {
// contains filtered or unexported fields
}
UserDocumentRelationValidationError is the validation error returned by UserDocumentRelation.Validate if the designated constraints aren't met.
func (UserDocumentRelationValidationError) Cause ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) Cause() error
Cause function returns cause value.
func (UserDocumentRelationValidationError) Error ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) Error() string
Error satisfies the builtin error interface
func (UserDocumentRelationValidationError) ErrorName ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) ErrorName() string
ErrorName returns error name.
func (UserDocumentRelationValidationError) Field ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) Field() string
Field function returns field value.
func (UserDocumentRelationValidationError) Key ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) Key() bool
Key function returns key value.
func (UserDocumentRelationValidationError) Reason ¶ added in v0.9.5
func (e UserDocumentRelationValidationError) Reason() string
Reason function returns reason value.
type UserFineChange ¶ added in v0.9.5
type UserFineChange struct {
Removed bool `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"`
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
// contains filtered or unexported fields
}
func (*UserFineChange) Descriptor
deprecated
added in
v0.9.5
func (*UserFineChange) Descriptor() ([]byte, []int)
Deprecated: Use UserFineChange.ProtoReflect.Descriptor instead.
func (*UserFineChange) GetAmount ¶ added in v0.9.5
func (x *UserFineChange) GetAmount() int64
func (*UserFineChange) GetRemoved ¶ added in v0.9.5
func (x *UserFineChange) GetRemoved() bool
func (*UserFineChange) ProtoMessage ¶ added in v0.9.5
func (*UserFineChange) ProtoMessage()
func (*UserFineChange) ProtoReflect ¶ added in v0.9.5
func (x *UserFineChange) ProtoReflect() protoreflect.Message
func (*UserFineChange) Reset ¶ added in v0.9.5
func (x *UserFineChange) Reset()
func (*UserFineChange) Sanitize ¶ added in v0.9.5
func (m *UserFineChange) Sanitize() error
func (*UserFineChange) String ¶ added in v0.9.5
func (x *UserFineChange) String() string
func (*UserFineChange) Validate ¶ added in v0.9.5
func (m *UserFineChange) Validate() error
Validate checks the field values on UserFineChange 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 (*UserFineChange) ValidateAll ¶ added in v0.9.5
func (m *UserFineChange) ValidateAll() error
ValidateAll checks the field values on UserFineChange 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 UserFineChangeMultiError, or nil if none found.
type UserFineChangeMultiError ¶ added in v0.9.5
type UserFineChangeMultiError []error
UserFineChangeMultiError is an error wrapping multiple validation errors returned by UserFineChange.ValidateAll() if the designated constraints aren't met.
func (UserFineChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserFineChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserFineChangeMultiError) Error ¶ added in v0.9.5
func (m UserFineChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserFineChangeValidationError ¶ added in v0.9.5
type UserFineChangeValidationError struct {
// contains filtered or unexported fields
}
UserFineChangeValidationError is the validation error returned by UserFineChange.Validate if the designated constraints aren't met.
func (UserFineChangeValidationError) Cause ¶ added in v0.9.5
func (e UserFineChangeValidationError) Cause() error
Cause function returns cause value.
func (UserFineChangeValidationError) Error ¶ added in v0.9.5
func (e UserFineChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserFineChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserFineChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserFineChangeValidationError) Field ¶ added in v0.9.5
func (e UserFineChangeValidationError) Field() string
Field function returns field value.
func (UserFineChangeValidationError) Key ¶ added in v0.9.5
func (e UserFineChangeValidationError) Key() bool
Key function returns key value.
func (UserFineChangeValidationError) Reason ¶ added in v0.9.5
func (e UserFineChangeValidationError) Reason() string
Reason function returns reason value.
type UserInfoSyncSettings ¶
type UserInfoSyncSettings struct {
EmployeeRoleEnabled bool `protobuf:"varint,1,opt,name=employee_role_enabled,json=employeeRoleEnabled,proto3" json:"employee_role_enabled,omitempty"`
EmployeeRoleFormat string `protobuf:"bytes,2,opt,name=employee_role_format,json=employeeRoleFormat,proto3" json:"employee_role_format,omitempty"`
GradeRoleFormat string `protobuf:"bytes,3,opt,name=grade_role_format,json=gradeRoleFormat,proto3" json:"grade_role_format,omitempty"`
UnemployedEnabled bool `protobuf:"varint,4,opt,name=unemployed_enabled,json=unemployedEnabled,proto3" json:"unemployed_enabled,omitempty"`
UnemployedMode UserInfoSyncUnemployedMode `` /* 152-byte string literal not displayed */
UnemployedRoleName string `protobuf:"bytes,6,opt,name=unemployed_role_name,json=unemployedRoleName,proto3" json:"unemployed_role_name,omitempty"`
SyncNicknames bool `protobuf:"varint,7,opt,name=sync_nicknames,json=syncNicknames,proto3" json:"sync_nicknames,omitempty"`
GroupMapping []*GroupMapping `protobuf:"bytes,8,rep,name=group_mapping,json=groupMapping,proto3" json:"group_mapping,omitempty"`
// contains filtered or unexported fields
}
func (*UserInfoSyncSettings) Descriptor
deprecated
func (*UserInfoSyncSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoSyncSettings.ProtoReflect.Descriptor instead.
func (*UserInfoSyncSettings) GetEmployeeRoleEnabled ¶
func (x *UserInfoSyncSettings) GetEmployeeRoleEnabled() bool
func (*UserInfoSyncSettings) GetEmployeeRoleFormat ¶
func (x *UserInfoSyncSettings) GetEmployeeRoleFormat() string
func (*UserInfoSyncSettings) GetGradeRoleFormat ¶
func (x *UserInfoSyncSettings) GetGradeRoleFormat() string
func (*UserInfoSyncSettings) GetGroupMapping ¶
func (x *UserInfoSyncSettings) GetGroupMapping() []*GroupMapping
func (*UserInfoSyncSettings) GetSyncNicknames ¶
func (x *UserInfoSyncSettings) GetSyncNicknames() bool
func (*UserInfoSyncSettings) GetUnemployedEnabled ¶
func (x *UserInfoSyncSettings) GetUnemployedEnabled() bool
func (*UserInfoSyncSettings) GetUnemployedMode ¶
func (x *UserInfoSyncSettings) GetUnemployedMode() UserInfoSyncUnemployedMode
func (*UserInfoSyncSettings) GetUnemployedRoleName ¶
func (x *UserInfoSyncSettings) GetUnemployedRoleName() string
func (*UserInfoSyncSettings) ProtoMessage ¶
func (*UserInfoSyncSettings) ProtoMessage()
func (*UserInfoSyncSettings) ProtoReflect ¶
func (x *UserInfoSyncSettings) ProtoReflect() protoreflect.Message
func (*UserInfoSyncSettings) Reset ¶
func (x *UserInfoSyncSettings) Reset()
func (*UserInfoSyncSettings) Sanitize ¶ added in v0.9.4
func (m *UserInfoSyncSettings) Sanitize() error
func (*UserInfoSyncSettings) String ¶
func (x *UserInfoSyncSettings) String() string
func (*UserInfoSyncSettings) Validate ¶
func (m *UserInfoSyncSettings) Validate() error
Validate checks the field values on UserInfoSyncSettings 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 (*UserInfoSyncSettings) ValidateAll ¶
func (m *UserInfoSyncSettings) ValidateAll() error
ValidateAll checks the field values on UserInfoSyncSettings 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 UserInfoSyncSettingsMultiError, or nil if none found.
type UserInfoSyncSettingsMultiError ¶
type UserInfoSyncSettingsMultiError []error
UserInfoSyncSettingsMultiError is an error wrapping multiple validation errors returned by UserInfoSyncSettings.ValidateAll() if the designated constraints aren't met.
func (UserInfoSyncSettingsMultiError) AllErrors ¶
func (m UserInfoSyncSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserInfoSyncSettingsMultiError) Error ¶
func (m UserInfoSyncSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserInfoSyncSettingsValidationError ¶
type UserInfoSyncSettingsValidationError struct {
// contains filtered or unexported fields
}
UserInfoSyncSettingsValidationError is the validation error returned by UserInfoSyncSettings.Validate if the designated constraints aren't met.
func (UserInfoSyncSettingsValidationError) Cause ¶
func (e UserInfoSyncSettingsValidationError) Cause() error
Cause function returns cause value.
func (UserInfoSyncSettingsValidationError) Error ¶
func (e UserInfoSyncSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (UserInfoSyncSettingsValidationError) ErrorName ¶
func (e UserInfoSyncSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (UserInfoSyncSettingsValidationError) Field ¶
func (e UserInfoSyncSettingsValidationError) Field() string
Field function returns field value.
func (UserInfoSyncSettingsValidationError) Key ¶
func (e UserInfoSyncSettingsValidationError) Key() bool
Key function returns key value.
func (UserInfoSyncSettingsValidationError) Reason ¶
func (e UserInfoSyncSettingsValidationError) Reason() string
Reason function returns reason value.
type UserInfoSyncUnemployedMode ¶
type UserInfoSyncUnemployedMode int32
const ( UserInfoSyncUnemployedMode_USER_INFO_SYNC_UNEMPLOYED_MODE_UNSPECIFIED UserInfoSyncUnemployedMode = 0 UserInfoSyncUnemployedMode_USER_INFO_SYNC_UNEMPLOYED_MODE_GIVE_ROLE UserInfoSyncUnemployedMode = 1 UserInfoSyncUnemployedMode_USER_INFO_SYNC_UNEMPLOYED_MODE_KICK UserInfoSyncUnemployedMode = 2 )
func (UserInfoSyncUnemployedMode) Descriptor ¶
func (UserInfoSyncUnemployedMode) Descriptor() protoreflect.EnumDescriptor
func (UserInfoSyncUnemployedMode) Enum ¶
func (x UserInfoSyncUnemployedMode) Enum() *UserInfoSyncUnemployedMode
func (UserInfoSyncUnemployedMode) EnumDescriptor
deprecated
func (UserInfoSyncUnemployedMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserInfoSyncUnemployedMode.Descriptor instead.
func (UserInfoSyncUnemployedMode) Number ¶
func (x UserInfoSyncUnemployedMode) Number() protoreflect.EnumNumber
func (UserInfoSyncUnemployedMode) String ¶
func (x UserInfoSyncUnemployedMode) String() string
func (UserInfoSyncUnemployedMode) Type ¶
func (UserInfoSyncUnemployedMode) Type() protoreflect.EnumType
type UserJailChange ¶ added in v0.9.5
type UserJailChange struct {
Seconds int32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
Admin bool `protobuf:"varint,2,opt,name=admin,proto3" json:"admin,omitempty"`
Location *string `protobuf:"bytes,3,opt,name=location,proto3,oneof" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*UserJailChange) Descriptor
deprecated
added in
v0.9.5
func (*UserJailChange) Descriptor() ([]byte, []int)
Deprecated: Use UserJailChange.ProtoReflect.Descriptor instead.
func (*UserJailChange) GetAdmin ¶ added in v0.9.5
func (x *UserJailChange) GetAdmin() bool
func (*UserJailChange) GetLocation ¶ added in v0.9.5
func (x *UserJailChange) GetLocation() string
func (*UserJailChange) GetSeconds ¶ added in v0.9.5
func (x *UserJailChange) GetSeconds() int32
func (*UserJailChange) ProtoMessage ¶ added in v0.9.5
func (*UserJailChange) ProtoMessage()
func (*UserJailChange) ProtoReflect ¶ added in v0.9.5
func (x *UserJailChange) ProtoReflect() protoreflect.Message
func (*UserJailChange) Reset ¶ added in v0.9.5
func (x *UserJailChange) Reset()
func (*UserJailChange) Sanitize ¶ added in v0.9.5
func (m *UserJailChange) Sanitize() error
func (*UserJailChange) String ¶ added in v0.9.5
func (x *UserJailChange) String() string
func (*UserJailChange) Validate ¶ added in v0.9.5
func (m *UserJailChange) Validate() error
Validate checks the field values on UserJailChange 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 (*UserJailChange) ValidateAll ¶ added in v0.9.5
func (m *UserJailChange) ValidateAll() error
ValidateAll checks the field values on UserJailChange 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 UserJailChangeMultiError, or nil if none found.
type UserJailChangeMultiError ¶ added in v0.9.5
type UserJailChangeMultiError []error
UserJailChangeMultiError is an error wrapping multiple validation errors returned by UserJailChange.ValidateAll() if the designated constraints aren't met.
func (UserJailChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserJailChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserJailChangeMultiError) Error ¶ added in v0.9.5
func (m UserJailChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserJailChangeValidationError ¶ added in v0.9.5
type UserJailChangeValidationError struct {
// contains filtered or unexported fields
}
UserJailChangeValidationError is the validation error returned by UserJailChange.Validate if the designated constraints aren't met.
func (UserJailChangeValidationError) Cause ¶ added in v0.9.5
func (e UserJailChangeValidationError) Cause() error
Cause function returns cause value.
func (UserJailChangeValidationError) Error ¶ added in v0.9.5
func (e UserJailChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserJailChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserJailChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserJailChangeValidationError) Field ¶ added in v0.9.5
func (e UserJailChangeValidationError) Field() string
Field function returns field value.
func (UserJailChangeValidationError) Key ¶ added in v0.9.5
func (e UserJailChangeValidationError) Key() bool
Key function returns key value.
func (UserJailChangeValidationError) Reason ¶ added in v0.9.5
func (e UserJailChangeValidationError) Reason() string
Reason function returns reason value.
type UserJobChange ¶ added in v0.9.5
type UserJobChange struct {
Job *string `protobuf:"bytes,1,opt,name=job,proto3,oneof" json:"job,omitempty"`
JobLabel *string `protobuf:"bytes,2,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
Grade *int32 `protobuf:"varint,3,opt,name=grade,proto3,oneof" json:"grade,omitempty"`
GradeLabel *string `protobuf:"bytes,4,opt,name=grade_label,json=gradeLabel,proto3,oneof" json:"grade_label,omitempty"`
// contains filtered or unexported fields
}
func (*UserJobChange) Descriptor
deprecated
added in
v0.9.5
func (*UserJobChange) Descriptor() ([]byte, []int)
Deprecated: Use UserJobChange.ProtoReflect.Descriptor instead.
func (*UserJobChange) GetGrade ¶ added in v0.9.5
func (x *UserJobChange) GetGrade() int32
func (*UserJobChange) GetGradeLabel ¶ added in v0.9.5
func (x *UserJobChange) GetGradeLabel() string
func (*UserJobChange) GetJob ¶ added in v0.9.5
func (x *UserJobChange) GetJob() string
func (*UserJobChange) GetJobLabel ¶ added in v0.9.5
func (x *UserJobChange) GetJobLabel() string
func (*UserJobChange) ProtoMessage ¶ added in v0.9.5
func (*UserJobChange) ProtoMessage()
func (*UserJobChange) ProtoReflect ¶ added in v0.9.5
func (x *UserJobChange) ProtoReflect() protoreflect.Message
func (*UserJobChange) Reset ¶ added in v0.9.5
func (x *UserJobChange) Reset()
func (*UserJobChange) Sanitize ¶ added in v0.9.5
func (m *UserJobChange) Sanitize() error
func (*UserJobChange) String ¶ added in v0.9.5
func (x *UserJobChange) String() string
func (*UserJobChange) Validate ¶ added in v0.9.5
func (m *UserJobChange) Validate() error
Validate checks the field values on UserJobChange 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 (*UserJobChange) ValidateAll ¶ added in v0.9.5
func (m *UserJobChange) ValidateAll() error
ValidateAll checks the field values on UserJobChange 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 UserJobChangeMultiError, or nil if none found.
type UserJobChangeMultiError ¶ added in v0.9.5
type UserJobChangeMultiError []error
UserJobChangeMultiError is an error wrapping multiple validation errors returned by UserJobChange.ValidateAll() if the designated constraints aren't met.
func (UserJobChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserJobChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserJobChangeMultiError) Error ¶ added in v0.9.5
func (m UserJobChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserJobChangeValidationError ¶ added in v0.9.5
type UserJobChangeValidationError struct {
// contains filtered or unexported fields
}
UserJobChangeValidationError is the validation error returned by UserJobChange.Validate if the designated constraints aren't met.
func (UserJobChangeValidationError) Cause ¶ added in v0.9.5
func (e UserJobChangeValidationError) Cause() error
Cause function returns cause value.
func (UserJobChangeValidationError) Error ¶ added in v0.9.5
func (e UserJobChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserJobChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserJobChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserJobChangeValidationError) Field ¶ added in v0.9.5
func (e UserJobChangeValidationError) Field() string
Field function returns field value.
func (UserJobChangeValidationError) Key ¶ added in v0.9.5
func (e UserJobChangeValidationError) Key() bool
Key function returns key value.
func (UserJobChangeValidationError) Reason ¶ added in v0.9.5
func (e UserJobChangeValidationError) Reason() string
Reason function returns reason value.
type UserLabelsChange ¶ added in v0.9.5
type UserLabelsChange struct {
Added []*CitizenLabel `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"`
Removed []*CitizenLabel `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"`
// contains filtered or unexported fields
}
func (*UserLabelsChange) Descriptor
deprecated
added in
v0.9.5
func (*UserLabelsChange) Descriptor() ([]byte, []int)
Deprecated: Use UserLabelsChange.ProtoReflect.Descriptor instead.
func (*UserLabelsChange) GetAdded ¶ added in v0.9.5
func (x *UserLabelsChange) GetAdded() []*CitizenLabel
func (*UserLabelsChange) GetRemoved ¶ added in v0.9.5
func (x *UserLabelsChange) GetRemoved() []*CitizenLabel
func (*UserLabelsChange) ProtoMessage ¶ added in v0.9.5
func (*UserLabelsChange) ProtoMessage()
func (*UserLabelsChange) ProtoReflect ¶ added in v0.9.5
func (x *UserLabelsChange) ProtoReflect() protoreflect.Message
func (*UserLabelsChange) Reset ¶ added in v0.9.5
func (x *UserLabelsChange) Reset()
func (*UserLabelsChange) Sanitize ¶ added in v0.9.5
func (m *UserLabelsChange) Sanitize() error
func (*UserLabelsChange) String ¶ added in v0.9.5
func (x *UserLabelsChange) String() string
func (*UserLabelsChange) Validate ¶ added in v0.9.5
func (m *UserLabelsChange) Validate() error
Validate checks the field values on UserLabelsChange 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 (*UserLabelsChange) ValidateAll ¶ added in v0.9.5
func (m *UserLabelsChange) ValidateAll() error
ValidateAll checks the field values on UserLabelsChange 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 UserLabelsChangeMultiError, or nil if none found.
type UserLabelsChangeMultiError ¶ added in v0.9.5
type UserLabelsChangeMultiError []error
UserLabelsChangeMultiError is an error wrapping multiple validation errors returned by UserLabelsChange.ValidateAll() if the designated constraints aren't met.
func (UserLabelsChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserLabelsChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLabelsChangeMultiError) Error ¶ added in v0.9.5
func (m UserLabelsChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLabelsChangeValidationError ¶ added in v0.9.5
type UserLabelsChangeValidationError struct {
// contains filtered or unexported fields
}
UserLabelsChangeValidationError is the validation error returned by UserLabelsChange.Validate if the designated constraints aren't met.
func (UserLabelsChangeValidationError) Cause ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) Cause() error
Cause function returns cause value.
func (UserLabelsChangeValidationError) Error ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserLabelsChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserLabelsChangeValidationError) Field ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) Field() string
Field function returns field value.
func (UserLabelsChangeValidationError) Key ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) Key() bool
Key function returns key value.
func (UserLabelsChangeValidationError) Reason ¶ added in v0.9.5
func (e UserLabelsChangeValidationError) Reason() string
Reason function returns reason value.
type UserLicenseChange ¶ added in v0.9.5
type UserLicenseChange struct {
Added bool `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"`
Licenses []*License `protobuf:"bytes,2,rep,name=licenses,proto3" json:"licenses,omitempty"`
// contains filtered or unexported fields
}
func (*UserLicenseChange) Descriptor
deprecated
added in
v0.9.5
func (*UserLicenseChange) Descriptor() ([]byte, []int)
Deprecated: Use UserLicenseChange.ProtoReflect.Descriptor instead.
func (*UserLicenseChange) GetAdded ¶ added in v0.9.5
func (x *UserLicenseChange) GetAdded() bool
func (*UserLicenseChange) GetLicenses ¶ added in v0.9.5
func (x *UserLicenseChange) GetLicenses() []*License
func (*UserLicenseChange) ProtoMessage ¶ added in v0.9.5
func (*UserLicenseChange) ProtoMessage()
func (*UserLicenseChange) ProtoReflect ¶ added in v0.9.5
func (x *UserLicenseChange) ProtoReflect() protoreflect.Message
func (*UserLicenseChange) Reset ¶ added in v0.9.5
func (x *UserLicenseChange) Reset()
func (*UserLicenseChange) Sanitize ¶ added in v0.9.5
func (m *UserLicenseChange) Sanitize() error
func (*UserLicenseChange) String ¶ added in v0.9.5
func (x *UserLicenseChange) String() string
func (*UserLicenseChange) Validate ¶ added in v0.9.5
func (m *UserLicenseChange) Validate() error
Validate checks the field values on UserLicenseChange 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 (*UserLicenseChange) ValidateAll ¶ added in v0.9.5
func (m *UserLicenseChange) ValidateAll() error
ValidateAll checks the field values on UserLicenseChange 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 UserLicenseChangeMultiError, or nil if none found.
type UserLicenseChangeMultiError ¶ added in v0.9.5
type UserLicenseChangeMultiError []error
UserLicenseChangeMultiError is an error wrapping multiple validation errors returned by UserLicenseChange.ValidateAll() if the designated constraints aren't met.
func (UserLicenseChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserLicenseChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLicenseChangeMultiError) Error ¶ added in v0.9.5
func (m UserLicenseChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLicenseChangeValidationError ¶ added in v0.9.5
type UserLicenseChangeValidationError struct {
// contains filtered or unexported fields
}
UserLicenseChangeValidationError is the validation error returned by UserLicenseChange.Validate if the designated constraints aren't met.
func (UserLicenseChangeValidationError) Cause ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) Cause() error
Cause function returns cause value.
func (UserLicenseChangeValidationError) Error ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserLicenseChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserLicenseChangeValidationError) Field ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) Field() string
Field function returns field value.
func (UserLicenseChangeValidationError) Key ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) Key() bool
Key function returns key value.
func (UserLicenseChangeValidationError) Reason ¶ added in v0.9.5
func (e UserLicenseChangeValidationError) Reason() string
Reason function returns reason value.
type UserLicenses ¶ added in v0.9.5
type UserLicenses struct {
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Licenses []*License `protobuf:"bytes,2,rep,name=licenses,proto3" json:"licenses,omitempty"`
// contains filtered or unexported fields
}
func (*UserLicenses) Descriptor
deprecated
added in
v0.9.5
func (*UserLicenses) Descriptor() ([]byte, []int)
Deprecated: Use UserLicenses.ProtoReflect.Descriptor instead.
func (*UserLicenses) GetLicenses ¶ added in v0.9.5
func (x *UserLicenses) GetLicenses() []*License
func (*UserLicenses) GetUserId ¶ added in v0.9.5
func (x *UserLicenses) GetUserId() int32
func (*UserLicenses) ProtoMessage ¶ added in v0.9.5
func (*UserLicenses) ProtoMessage()
func (*UserLicenses) ProtoReflect ¶ added in v0.9.5
func (x *UserLicenses) ProtoReflect() protoreflect.Message
func (*UserLicenses) Reset ¶ added in v0.9.5
func (x *UserLicenses) Reset()
func (*UserLicenses) Sanitize ¶ added in v0.9.5
func (m *UserLicenses) Sanitize() error
func (*UserLicenses) String ¶ added in v0.9.5
func (x *UserLicenses) String() string
func (*UserLicenses) Validate ¶ added in v0.9.5
func (m *UserLicenses) Validate() error
Validate checks the field values on UserLicenses 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 (*UserLicenses) ValidateAll ¶ added in v0.9.5
func (m *UserLicenses) ValidateAll() error
ValidateAll checks the field values on UserLicenses 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 UserLicensesMultiError, or nil if none found.
type UserLicensesMultiError ¶ added in v0.9.5
type UserLicensesMultiError []error
UserLicensesMultiError is an error wrapping multiple validation errors returned by UserLicenses.ValidateAll() if the designated constraints aren't met.
func (UserLicensesMultiError) AllErrors ¶ added in v0.9.5
func (m UserLicensesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLicensesMultiError) Error ¶ added in v0.9.5
func (m UserLicensesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLicensesValidationError ¶ added in v0.9.5
type UserLicensesValidationError struct {
// contains filtered or unexported fields
}
UserLicensesValidationError is the validation error returned by UserLicenses.Validate if the designated constraints aren't met.
func (UserLicensesValidationError) Cause ¶ added in v0.9.5
func (e UserLicensesValidationError) Cause() error
Cause function returns cause value.
func (UserLicensesValidationError) Error ¶ added in v0.9.5
func (e UserLicensesValidationError) Error() string
Error satisfies the builtin error interface
func (UserLicensesValidationError) ErrorName ¶ added in v0.9.5
func (e UserLicensesValidationError) ErrorName() string
ErrorName returns error name.
func (UserLicensesValidationError) Field ¶ added in v0.9.5
func (e UserLicensesValidationError) Field() string
Field function returns field value.
func (UserLicensesValidationError) Key ¶ added in v0.9.5
func (e UserLicensesValidationError) Key() bool
Key function returns key value.
func (UserLicensesValidationError) Reason ¶ added in v0.9.5
func (e UserLicensesValidationError) Reason() string
Reason function returns reason value.
type UserMugshotChange ¶ added in v0.9.5
type UserMugshotChange struct {
New *string `protobuf:"bytes,1,opt,name=new,proto3,oneof" json:"new,omitempty"`
// contains filtered or unexported fields
}
func (*UserMugshotChange) Descriptor
deprecated
added in
v0.9.5
func (*UserMugshotChange) Descriptor() ([]byte, []int)
Deprecated: Use UserMugshotChange.ProtoReflect.Descriptor instead.
func (*UserMugshotChange) GetNew ¶ added in v0.9.5
func (x *UserMugshotChange) GetNew() string
func (*UserMugshotChange) ProtoMessage ¶ added in v0.9.5
func (*UserMugshotChange) ProtoMessage()
func (*UserMugshotChange) ProtoReflect ¶ added in v0.9.5
func (x *UserMugshotChange) ProtoReflect() protoreflect.Message
func (*UserMugshotChange) Reset ¶ added in v0.9.5
func (x *UserMugshotChange) Reset()
func (*UserMugshotChange) Sanitize ¶ added in v0.9.5
func (m *UserMugshotChange) Sanitize() error
func (*UserMugshotChange) String ¶ added in v0.9.5
func (x *UserMugshotChange) String() string
func (*UserMugshotChange) Validate ¶ added in v0.9.5
func (m *UserMugshotChange) Validate() error
Validate checks the field values on UserMugshotChange 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 (*UserMugshotChange) ValidateAll ¶ added in v0.9.5
func (m *UserMugshotChange) ValidateAll() error
ValidateAll checks the field values on UserMugshotChange 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 UserMugshotChangeMultiError, or nil if none found.
type UserMugshotChangeMultiError ¶ added in v0.9.5
type UserMugshotChangeMultiError []error
UserMugshotChangeMultiError is an error wrapping multiple validation errors returned by UserMugshotChange.ValidateAll() if the designated constraints aren't met.
func (UserMugshotChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserMugshotChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMugshotChangeMultiError) Error ¶ added in v0.9.5
func (m UserMugshotChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserMugshotChangeValidationError ¶ added in v0.9.5
type UserMugshotChangeValidationError struct {
// contains filtered or unexported fields
}
UserMugshotChangeValidationError is the validation error returned by UserMugshotChange.Validate if the designated constraints aren't met.
func (UserMugshotChangeValidationError) Cause ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) Cause() error
Cause function returns cause value.
func (UserMugshotChangeValidationError) Error ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserMugshotChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserMugshotChangeValidationError) Field ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) Field() string
Field function returns field value.
func (UserMugshotChangeValidationError) Key ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) Key() bool
Key function returns key value.
func (UserMugshotChangeValidationError) Reason ¶ added in v0.9.5
func (e UserMugshotChangeValidationError) Reason() string
Reason function returns reason value.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNameChange ¶ added in v0.9.5
type UserNameChange struct {
Old string `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"`
New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"`
// contains filtered or unexported fields
}
func (*UserNameChange) Descriptor
deprecated
added in
v0.9.5
func (*UserNameChange) Descriptor() ([]byte, []int)
Deprecated: Use UserNameChange.ProtoReflect.Descriptor instead.
func (*UserNameChange) GetNew ¶ added in v0.9.5
func (x *UserNameChange) GetNew() string
func (*UserNameChange) GetOld ¶ added in v0.9.5
func (x *UserNameChange) GetOld() string
func (*UserNameChange) ProtoMessage ¶ added in v0.9.5
func (*UserNameChange) ProtoMessage()
func (*UserNameChange) ProtoReflect ¶ added in v0.9.5
func (x *UserNameChange) ProtoReflect() protoreflect.Message
func (*UserNameChange) Reset ¶ added in v0.9.5
func (x *UserNameChange) Reset()
func (*UserNameChange) Sanitize ¶ added in v0.9.5
func (m *UserNameChange) Sanitize() error
func (*UserNameChange) String ¶ added in v0.9.5
func (x *UserNameChange) String() string
func (*UserNameChange) Validate ¶ added in v0.9.5
func (m *UserNameChange) Validate() error
Validate checks the field values on UserNameChange 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 (*UserNameChange) ValidateAll ¶ added in v0.9.5
func (m *UserNameChange) ValidateAll() error
ValidateAll checks the field values on UserNameChange 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 UserNameChangeMultiError, or nil if none found.
type UserNameChangeMultiError ¶ added in v0.9.5
type UserNameChangeMultiError []error
UserNameChangeMultiError is an error wrapping multiple validation errors returned by UserNameChange.ValidateAll() if the designated constraints aren't met.
func (UserNameChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserNameChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserNameChangeMultiError) Error ¶ added in v0.9.5
func (m UserNameChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNameChangeValidationError ¶ added in v0.9.5
type UserNameChangeValidationError struct {
// contains filtered or unexported fields
}
UserNameChangeValidationError is the validation error returned by UserNameChange.Validate if the designated constraints aren't met.
func (UserNameChangeValidationError) Cause ¶ added in v0.9.5
func (e UserNameChangeValidationError) Cause() error
Cause function returns cause value.
func (UserNameChangeValidationError) Error ¶ added in v0.9.5
func (e UserNameChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserNameChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserNameChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserNameChangeValidationError) Field ¶ added in v0.9.5
func (e UserNameChangeValidationError) Field() string
Field function returns field value.
func (UserNameChangeValidationError) Key ¶ added in v0.9.5
func (e UserNameChangeValidationError) Key() bool
Key function returns key value.
func (UserNameChangeValidationError) Reason ¶ added in v0.9.5
func (e UserNameChangeValidationError) Reason() string
Reason function returns reason value.
type UserProps ¶
type UserProps struct {
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
Wanted *bool `protobuf:"varint,3,opt,name=wanted,proto3,oneof" json:"wanted,omitempty"`
JobName *string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3,oneof" json:"job_name,omitempty" alias:"job"` // @gotags: alias:"job"
Job *Job `protobuf:"bytes,5,opt,name=job,proto3,oneof" json:"job,omitempty"`
JobGradeNumber *int32 `` // @gotags: alias:"job_grade"
/* 130-byte string literal not displayed */
JobGrade *JobGrade `protobuf:"bytes,7,opt,name=job_grade,json=jobGrade,proto3,oneof" json:"job_grade,omitempty"`
TrafficInfractionPoints *uint32 `` /* 139-byte string literal not displayed */
OpenFines *int64 `protobuf:"varint,9,opt,name=open_fines,json=openFines,proto3,oneof" json:"open_fines,omitempty"`
BloodType *string `protobuf:"bytes,10,opt,name=blood_type,json=bloodType,proto3,oneof" json:"blood_type,omitempty"`
MugShot *filestore.File `protobuf:"bytes,11,opt,name=mug_shot,json=mugShot,proto3,oneof" json:"mug_shot,omitempty"`
Labels *CitizenLabels `protobuf:"bytes,12,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
// @sanitize: method=StripTags
Email *string `protobuf:"bytes,19,opt,name=email,proto3,oneof" json:"email,omitempty"`
// contains filtered or unexported fields
}
func GetUserProps ¶ added in v0.9.5
func (*UserProps) Descriptor
deprecated
func (*UserProps) GetBloodType ¶
func (*UserProps) GetJobGrade ¶
func (*UserProps) GetJobGradeNumber ¶
func (*UserProps) GetJobName ¶
func (*UserProps) GetLabels ¶ added in v0.9.5
func (x *UserProps) GetLabels() *CitizenLabels
func (*UserProps) GetMugShot ¶
func (*UserProps) GetOpenFines ¶
func (*UserProps) GetTrafficInfractionPoints ¶
func (*UserProps) GetUpdatedAt ¶ added in v0.9.4
func (*UserProps) HandleChanges ¶ added in v0.9.5
func (*UserProps) ProtoMessage ¶
func (*UserProps) ProtoMessage()
func (*UserProps) ProtoReflect ¶
func (x *UserProps) ProtoReflect() protoreflect.Message
func (*UserProps) Validate ¶
Validate checks the field values on UserProps 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 (*UserProps) ValidateAll ¶
ValidateAll checks the field values on UserProps 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 UserPropsMultiError, or nil if none found.
type UserPropsMultiError ¶
type UserPropsMultiError []error
UserPropsMultiError is an error wrapping multiple validation errors returned by UserProps.ValidateAll() if the designated constraints aren't met.
func (UserPropsMultiError) AllErrors ¶
func (m UserPropsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserPropsMultiError) Error ¶
func (m UserPropsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserPropsValidationError ¶
type UserPropsValidationError struct {
// contains filtered or unexported fields
}
UserPropsValidationError is the validation error returned by UserProps.Validate if the designated constraints aren't met.
func (UserPropsValidationError) Cause ¶
func (e UserPropsValidationError) Cause() error
Cause function returns cause value.
func (UserPropsValidationError) Error ¶
func (e UserPropsValidationError) Error() string
Error satisfies the builtin error interface
func (UserPropsValidationError) ErrorName ¶
func (e UserPropsValidationError) ErrorName() string
ErrorName returns error name.
func (UserPropsValidationError) Field ¶
func (e UserPropsValidationError) Field() string
Field function returns field value.
func (UserPropsValidationError) Key ¶
func (e UserPropsValidationError) Key() bool
Key function returns key value.
func (UserPropsValidationError) Reason ¶
func (e UserPropsValidationError) Reason() string
Reason function returns reason value.
type UserShort ¶
type UserShort struct {
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"id"` // @gotags: alias:"id"
Identifier *string `protobuf:"bytes,2,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"`
Job string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"`
JobLabel *string `protobuf:"bytes,4,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
JobGrade int32 `protobuf:"varint,5,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty"`
JobGradeLabel *string `protobuf:"bytes,6,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"`
Firstname string `protobuf:"bytes,7,opt,name=firstname,proto3" json:"firstname,omitempty"`
Lastname string `protobuf:"bytes,8,opt,name=lastname,proto3" json:"lastname,omitempty"`
Dateofbirth string `protobuf:"bytes,9,opt,name=dateofbirth,proto3" json:"dateofbirth,omitempty"`
PhoneNumber *string `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
Avatar *filestore.File `protobuf:"bytes,17,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
// contains filtered or unexported fields
}
func (*UserShort) Descriptor
deprecated
func (*UserShort) GetDateofbirth ¶
func (*UserShort) GetFirstname ¶
func (*UserShort) GetIdentifier ¶
func (*UserShort) GetJobGrade ¶
func (*UserShort) GetJobGradeLabel ¶
func (*UserShort) GetJobLabel ¶
func (*UserShort) GetLastname ¶
func (*UserShort) GetPhoneNumber ¶
func (*UserShort) ProtoMessage ¶
func (*UserShort) ProtoMessage()
func (*UserShort) ProtoReflect ¶
func (x *UserShort) ProtoReflect() protoreflect.Message
func (*UserShort) SetJobGrade ¶
func (*UserShort) SetJobGradeLabel ¶
func (*UserShort) SetJobLabel ¶
func (*UserShort) Validate ¶
Validate checks the field values on UserShort 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 (*UserShort) ValidateAll ¶
ValidateAll checks the field values on UserShort 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 UserShortMultiError, or nil if none found.
type UserShortMultiError ¶
type UserShortMultiError []error
UserShortMultiError is an error wrapping multiple validation errors returned by UserShort.ValidateAll() if the designated constraints aren't met.
func (UserShortMultiError) AllErrors ¶
func (m UserShortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserShortMultiError) Error ¶
func (m UserShortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserShortValidationError ¶
type UserShortValidationError struct {
// contains filtered or unexported fields
}
UserShortValidationError is the validation error returned by UserShort.Validate if the designated constraints aren't met.
func (UserShortValidationError) Cause ¶
func (e UserShortValidationError) Cause() error
Cause function returns cause value.
func (UserShortValidationError) Error ¶
func (e UserShortValidationError) Error() string
Error satisfies the builtin error interface
func (UserShortValidationError) ErrorName ¶
func (e UserShortValidationError) ErrorName() string
ErrorName returns error name.
func (UserShortValidationError) Field ¶
func (e UserShortValidationError) Field() string
Field function returns field value.
func (UserShortValidationError) Key ¶
func (e UserShortValidationError) Key() bool
Key function returns key value.
func (UserShortValidationError) Reason ¶
func (e UserShortValidationError) Reason() string
Reason function returns reason value.
type UserTrafficInfractionPointsChange ¶ added in v0.9.5
type UserTrafficInfractionPointsChange struct {
Old uint32 `protobuf:"varint,1,opt,name=old,proto3" json:"old,omitempty"`
New uint32 `protobuf:"varint,2,opt,name=new,proto3" json:"new,omitempty"`
// contains filtered or unexported fields
}
func (*UserTrafficInfractionPointsChange) Descriptor
deprecated
added in
v0.9.5
func (*UserTrafficInfractionPointsChange) Descriptor() ([]byte, []int)
Deprecated: Use UserTrafficInfractionPointsChange.ProtoReflect.Descriptor instead.
func (*UserTrafficInfractionPointsChange) GetNew ¶ added in v0.9.5
func (x *UserTrafficInfractionPointsChange) GetNew() uint32
func (*UserTrafficInfractionPointsChange) GetOld ¶ added in v0.9.5
func (x *UserTrafficInfractionPointsChange) GetOld() uint32
func (*UserTrafficInfractionPointsChange) ProtoMessage ¶ added in v0.9.5
func (*UserTrafficInfractionPointsChange) ProtoMessage()
func (*UserTrafficInfractionPointsChange) ProtoReflect ¶ added in v0.9.5
func (x *UserTrafficInfractionPointsChange) ProtoReflect() protoreflect.Message
func (*UserTrafficInfractionPointsChange) Reset ¶ added in v0.9.5
func (x *UserTrafficInfractionPointsChange) Reset()
func (*UserTrafficInfractionPointsChange) Sanitize ¶ added in v0.9.5
func (m *UserTrafficInfractionPointsChange) Sanitize() error
func (*UserTrafficInfractionPointsChange) String ¶ added in v0.9.5
func (x *UserTrafficInfractionPointsChange) String() string
func (*UserTrafficInfractionPointsChange) Validate ¶ added in v0.9.5
func (m *UserTrafficInfractionPointsChange) Validate() error
Validate checks the field values on UserTrafficInfractionPointsChange 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 (*UserTrafficInfractionPointsChange) ValidateAll ¶ added in v0.9.5
func (m *UserTrafficInfractionPointsChange) ValidateAll() error
ValidateAll checks the field values on UserTrafficInfractionPointsChange 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 UserTrafficInfractionPointsChangeMultiError, or nil if none found.
type UserTrafficInfractionPointsChangeMultiError ¶ added in v0.9.5
type UserTrafficInfractionPointsChangeMultiError []error
UserTrafficInfractionPointsChangeMultiError is an error wrapping multiple validation errors returned by UserTrafficInfractionPointsChange.ValidateAll() if the designated constraints aren't met.
func (UserTrafficInfractionPointsChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserTrafficInfractionPointsChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserTrafficInfractionPointsChangeMultiError) Error ¶ added in v0.9.5
func (m UserTrafficInfractionPointsChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserTrafficInfractionPointsChangeValidationError ¶ added in v0.9.5
type UserTrafficInfractionPointsChangeValidationError struct {
// contains filtered or unexported fields
}
UserTrafficInfractionPointsChangeValidationError is the validation error returned by UserTrafficInfractionPointsChange.Validate if the designated constraints aren't met.
func (UserTrafficInfractionPointsChangeValidationError) Cause ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) Cause() error
Cause function returns cause value.
func (UserTrafficInfractionPointsChangeValidationError) Error ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserTrafficInfractionPointsChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserTrafficInfractionPointsChangeValidationError) Field ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) Field() string
Field function returns field value.
func (UserTrafficInfractionPointsChangeValidationError) Key ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) Key() bool
Key function returns key value.
func (UserTrafficInfractionPointsChangeValidationError) Reason ¶ added in v0.9.5
func (e UserTrafficInfractionPointsChangeValidationError) Reason() string
Reason function returns reason value.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type UserWantedChange ¶ added in v0.9.5
type UserWantedChange struct {
Wanted bool `protobuf:"varint,1,opt,name=wanted,proto3" json:"wanted,omitempty"`
// contains filtered or unexported fields
}
func (*UserWantedChange) Descriptor
deprecated
added in
v0.9.5
func (*UserWantedChange) Descriptor() ([]byte, []int)
Deprecated: Use UserWantedChange.ProtoReflect.Descriptor instead.
func (*UserWantedChange) GetWanted ¶ added in v0.9.5
func (x *UserWantedChange) GetWanted() bool
func (*UserWantedChange) ProtoMessage ¶ added in v0.9.5
func (*UserWantedChange) ProtoMessage()
func (*UserWantedChange) ProtoReflect ¶ added in v0.9.5
func (x *UserWantedChange) ProtoReflect() protoreflect.Message
func (*UserWantedChange) Reset ¶ added in v0.9.5
func (x *UserWantedChange) Reset()
func (*UserWantedChange) Sanitize ¶ added in v0.9.5
func (m *UserWantedChange) Sanitize() error
func (*UserWantedChange) String ¶ added in v0.9.5
func (x *UserWantedChange) String() string
func (*UserWantedChange) Validate ¶ added in v0.9.5
func (m *UserWantedChange) Validate() error
Validate checks the field values on UserWantedChange 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 (*UserWantedChange) ValidateAll ¶ added in v0.9.5
func (m *UserWantedChange) ValidateAll() error
ValidateAll checks the field values on UserWantedChange 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 UserWantedChangeMultiError, or nil if none found.
type UserWantedChangeMultiError ¶ added in v0.9.5
type UserWantedChangeMultiError []error
UserWantedChangeMultiError is an error wrapping multiple validation errors returned by UserWantedChange.ValidateAll() if the designated constraints aren't met.
func (UserWantedChangeMultiError) AllErrors ¶ added in v0.9.5
func (m UserWantedChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserWantedChangeMultiError) Error ¶ added in v0.9.5
func (m UserWantedChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserWantedChangeValidationError ¶ added in v0.9.5
type UserWantedChangeValidationError struct {
// contains filtered or unexported fields
}
UserWantedChangeValidationError is the validation error returned by UserWantedChange.Validate if the designated constraints aren't met.
func (UserWantedChangeValidationError) Cause ¶ added in v0.9.5
func (e UserWantedChangeValidationError) Cause() error
Cause function returns cause value.
func (UserWantedChangeValidationError) Error ¶ added in v0.9.5
func (e UserWantedChangeValidationError) Error() string
Error satisfies the builtin error interface
func (UserWantedChangeValidationError) ErrorName ¶ added in v0.9.5
func (e UserWantedChangeValidationError) ErrorName() string
ErrorName returns error name.
func (UserWantedChangeValidationError) Field ¶ added in v0.9.5
func (e UserWantedChangeValidationError) Field() string
Field function returns field value.
func (UserWantedChangeValidationError) Key ¶ added in v0.9.5
func (e UserWantedChangeValidationError) Key() bool
Key function returns key value.
func (UserWantedChangeValidationError) Reason ¶ added in v0.9.5
func (e UserWantedChangeValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- activity.go
- activity.pb.dbscanner.go
- activity.pb.go
- activity.pb.sanitizer.go
- activity.pb.validate.go
- job_props.go
- job_props.pb.dbscanner.go
- job_props.pb.go
- job_props.pb.sanitizer.go
- job_props.pb.validate.go
- job_settings.go
- job_settings.pb.dbscanner.go
- job_settings.pb.go
- job_settings.pb.sanitizer.go
- job_settings.pb.validate.go
- jobs.go
- jobs.pb.go
- jobs.pb.sanitizer.go
- jobs.pb.validate.go
- labels.go
- labels.pb.dbscanner.go
- labels.pb.go
- labels.pb.sanitizer.go
- labels.pb.validate.go
- licenses.pb.go
- licenses.pb.sanitizer.go
- licenses.pb.validate.go
- props.go
- props.pb.go
- props.pb.sanitizer.go
- props.pb.validate.go
- users.go
- users.pb.go
- users.pb.sanitizer.go
- users.pb.validate.go