users

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTheme              = "defaultTheme"
	DefaultLivemapMarkerColor = "#5c7aff"

	DefaultEmployeeRoleFormat  = "%s Personal"
	DefaultGradeRoleFormat     = "[%grade%] %grade_label%"
	DefaultUnemployedRoleName  = "Citizen"
	DefaultJobsAbsenceRoleName = "Absent"

	DefaultQualificationsRoleFormat = "%name% Qualification"
)
View Source
const (
	DefaultJobAbsencePastDays   = 7
	DefaultJobAbsenceFutureDays = 93 // ~3 months
)

Variables

View Source
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.

View Source
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.

View Source
var File_resources_users_activity_proto protoreflect.FileDescriptor
View Source
var File_resources_users_job_props_proto protoreflect.FileDescriptor
View Source
var File_resources_users_job_settings_proto protoreflect.FileDescriptor
View Source
var File_resources_users_jobs_proto protoreflect.FileDescriptor
View Source
var File_resources_users_labels_proto protoreflect.FileDescriptor
View Source
var File_resources_users_licenses_proto protoreflect.FileDescriptor
View Source
var File_resources_users_props_proto protoreflect.FileDescriptor
View Source
var File_resources_users_users_proto protoreflect.FileDescriptor

Functions

func CreateUserActivities added in v0.9.5

func CreateUserActivities(ctx context.Context, tx qrm.DB, activities ...*UserActivity) error

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

Cause function returns cause value.

func (CitizenLabelValidationError) Error added in v0.9.5

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

Field function returns field value.

func (CitizenLabelValidationError) Key added in v0.9.5

Key function returns key value.

func (CitizenLabelValidationError) Reason added in v0.9.5

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 GetUserLabels(ctx context.Context, tx qrm.DB, userId int32, jobs []string) (*CitizenLabels, error)

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.

func (*CitizenLabels) Value added in v0.9.5

func (x *CitizenLabels) Value() (driver.Value, error)

Value marshals the CitizenLabels value into driver.Valuer.

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

Cause function returns cause value.

func (CitizenLabelsValidationError) Error added in v0.9.5

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

Field function returns field value.

func (CitizenLabelsValidationError) Key added in v0.9.5

Key function returns key value.

func (CitizenLabelsValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (DiscordSyncChangeValidationError) Error

Error satisfies the builtin error interface

func (DiscordSyncChangeValidationError) ErrorName

ErrorName returns error name.

func (DiscordSyncChangeValidationError) Field

Field function returns field value.

func (DiscordSyncChangeValidationError) Key

Key function returns key value.

func (DiscordSyncChangeValidationError) Reason

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.

func (*DiscordSyncChanges) Value

func (x *DiscordSyncChanges) Value() (driver.Value, error)

Value marshals the DiscordSyncChanges value into driver.Valuer.

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

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

Cause function returns cause value.

func (DiscordSyncChangesValidationError) Error

Error satisfies the builtin error interface

func (DiscordSyncChangesValidationError) ErrorName

ErrorName returns error name.

func (DiscordSyncChangesValidationError) Field

Field function returns field value.

func (DiscordSyncChangesValidationError) Key

Key function returns key value.

func (DiscordSyncChangesValidationError) Reason

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.

func (*DiscordSyncSettings) Value

func (x *DiscordSyncSettings) Value() (driver.Value, error)

Value marshals the DiscordSyncSettings value into driver.Valuer.

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

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

Cause function returns cause value.

func (DiscordSyncSettingsValidationError) Error

Error satisfies the builtin error interface

func (DiscordSyncSettingsValidationError) ErrorName

ErrorName returns error name.

func (DiscordSyncSettingsValidationError) Field

Field function returns field value.

func (DiscordSyncSettingsValidationError) Key

Key function returns key value.

func (DiscordSyncSettingsValidationError) Reason

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

Cause function returns cause value.

func (GroupMappingValidationError) Error

Error satisfies the builtin error interface

func (GroupMappingValidationError) ErrorName

func (e GroupMappingValidationError) ErrorName() string

ErrorName returns error name.

func (GroupMappingValidationError) Field

Field function returns field value.

func (GroupMappingValidationError) Key

Key function returns key value.

func (GroupMappingValidationError) Reason

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

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

Cause function returns cause value.

func (GroupSyncSettingsValidationError) Error

Error satisfies the builtin error interface

func (GroupSyncSettingsValidationError) ErrorName

ErrorName returns error name.

func (GroupSyncSettingsValidationError) Field

Field function returns field value.

func (GroupSyncSettingsValidationError) Key

Key function returns key value.

func (GroupSyncSettingsValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetGrades

func (x *Job) GetGrades() []*JobGrade

func (*Job) GetJob

func (x *Job) GetJob() string

func (*Job) GetLabel

func (x *Job) GetLabel() string

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) Merge added in v0.9.3

func (x *Job) Merge(in *Job) *Job

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) Sanitize added in v0.9.4

func (m *Job) Sanitize() error

func (*Job) SetJobLabel

func (x *Job) SetJobLabel(label string)

func (*Job) String

func (x *Job) String() string

func (*Job) Validate

func (m *Job) Validate() error

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

func (m *Job) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use JobGrade.ProtoReflect.Descriptor instead.

func (*JobGrade) GetGrade

func (x *JobGrade) GetGrade() int32

func (*JobGrade) GetJobName

func (x *JobGrade) GetJobName() string

func (*JobGrade) GetLabel

func (x *JobGrade) GetLabel() string

func (*JobGrade) ProtoMessage

func (*JobGrade) ProtoMessage()

func (*JobGrade) ProtoReflect

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

func (*JobGrade) Reset

func (x *JobGrade) Reset()

func (*JobGrade) Sanitize added in v0.9.4

func (m *JobGrade) Sanitize() error

func (*JobGrade) String

func (x *JobGrade) String() string

func (*JobGrade) Validate

func (m *JobGrade) Validate() error

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

func (m *JobGrade) ValidateAll() error

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 GetJobProps(ctx context.Context, tx qrm.DB, job string) (*JobProps, error)

func (*JobProps) Default

func (x *JobProps) Default(job string)

func (*JobProps) Descriptor deprecated

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

Deprecated: Use JobProps.ProtoReflect.Descriptor instead.

func (*JobProps) GetDiscordGuildId

func (x *JobProps) GetDiscordGuildId() string

func (*JobProps) GetDiscordLastSync

func (x *JobProps) GetDiscordLastSync() *timestamp.Timestamp

func (*JobProps) GetDiscordSyncChanges

func (x *JobProps) GetDiscordSyncChanges() *DiscordSyncChanges

func (*JobProps) GetDiscordSyncSettings

func (x *JobProps) GetDiscordSyncSettings() *DiscordSyncSettings

func (*JobProps) GetJob

func (x *JobProps) GetJob() string

func (*JobProps) GetJobLabel

func (x *JobProps) GetJobLabel() string

func (*JobProps) GetLivemapMarkerColor

func (x *JobProps) GetLivemapMarkerColor() string

func (*JobProps) GetLogoUrl

func (x *JobProps) GetLogoUrl() *filestore.File

func (*JobProps) GetMotd

func (x *JobProps) GetMotd() string

func (*JobProps) GetQuickButtons

func (x *JobProps) GetQuickButtons() *QuickButtons

func (*JobProps) GetRadioFrequency

func (x *JobProps) GetRadioFrequency() string

func (*JobProps) GetSettings

func (x *JobProps) GetSettings() *JobSettings

func (*JobProps) GetTheme

func (x *JobProps) GetTheme() string

func (*JobProps) ProtoMessage

func (*JobProps) ProtoMessage()

func (*JobProps) ProtoReflect

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

func (*JobProps) Reset

func (x *JobProps) Reset()

func (*JobProps) Sanitize added in v0.9.4

func (m *JobProps) Sanitize() error

func (*JobProps) SetJobLabel

func (x *JobProps) SetJobLabel(label string)

func (*JobProps) String

func (x *JobProps) String() string

func (*JobProps) Validate

func (m *JobProps) Validate() error

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

func (m *JobProps) ValidateAll() error

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.

func (*JobSettings) Value

func (x *JobSettings) Value() (driver.Value, error)

Value marshals the JobSettings value into driver.Valuer.

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

Cause function returns cause value.

func (JobSettingsValidationError) Error

Error satisfies the builtin error interface

func (JobSettingsValidationError) ErrorName

func (e JobSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (JobSettingsValidationError) Field

Field function returns field value.

func (JobSettingsValidationError) Key

Key function returns key value.

func (JobSettingsValidationError) Reason

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

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

Cause function returns cause value.

func (JobsAbsenceSettingsValidationError) Error

Error satisfies the builtin error interface

func (JobsAbsenceSettingsValidationError) ErrorName

ErrorName returns error name.

func (JobsAbsenceSettingsValidationError) Field

Field function returns field value.

func (JobsAbsenceSettingsValidationError) Key

Key function returns key value.

func (JobsAbsenceSettingsValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetLabel

func (x *License) GetLabel() string

func (*License) GetType

func (x *License) GetType() string

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

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

func (*License) Reset

func (x *License) Reset()

func (*License) Sanitize added in v0.9.4

func (m *License) Sanitize() error

func (*License) String

func (x *License) String() string

func (*License) Validate

func (m *License) Validate() error

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

func (m *License) ValidateAll() error

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.

func (*QuickButtons) Value

func (x *QuickButtons) Value() (driver.Value, error)

Value marshals the QuickButtons value into driver.Valuer.

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

Cause function returns cause value.

func (QuickButtonsValidationError) Error

Error satisfies the builtin error interface

func (QuickButtonsValidationError) ErrorName

func (e QuickButtonsValidationError) ErrorName() string

ErrorName returns error name.

func (QuickButtonsValidationError) Field

Field function returns field value.

func (QuickButtonsValidationError) Key

Key function returns key value.

func (QuickButtonsValidationError) Reason

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

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

Cause function returns cause value.

func (StatusLogSettingsValidationError) Error

Error satisfies the builtin error interface

func (StatusLogSettingsValidationError) ErrorName

ErrorName returns error name.

func (StatusLogSettingsValidationError) Field

Field function returns field value.

func (StatusLogSettingsValidationError) Key

Key function returns key value.

func (StatusLogSettingsValidationError) Reason

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) Colleague added in v0.9.4

func (x *User) Colleague() *jobs.Colleague

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() *filestore.File

func (*User) GetDateofbirth

func (x *User) GetDateofbirth() string

func (*User) GetFirstname

func (x *User) GetFirstname() string

func (*User) GetGroup added in v0.9.5

func (x *User) GetGroup() string

func (*User) GetHeight

func (x *User) GetHeight() string

func (*User) GetIdentifier

func (x *User) GetIdentifier() string

func (*User) GetJob

func (x *User) GetJob() string

func (*User) GetJobGrade

func (x *User) GetJobGrade() int32

func (*User) GetJobGradeLabel

func (x *User) GetJobGradeLabel() string

func (*User) GetJobLabel

func (x *User) GetJobLabel() string

func (*User) GetLastname

func (x *User) GetLastname() string

func (*User) GetLicenses

func (x *User) GetLicenses() []*License

func (*User) GetPhoneNumber

func (x *User) GetPhoneNumber() string

func (*User) GetPlaytime

func (x *User) GetPlaytime() int32

func (*User) GetProps

func (x *User) GetProps() *UserProps

func (*User) GetSex

func (x *User) GetSex() string

func (*User) GetUserId

func (x *User) GetUserId() int32

func (*User) GetVisum

func (x *User) GetVisum() int32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) Sanitize added in v0.9.4

func (m *User) Sanitize() error

func (*User) SetJob

func (x *User) SetJob(job string)

func (*User) SetJobGrade

func (x *User) SetJobGrade(grade int32)

func (*User) SetJobGradeLabel

func (x *User) SetJobGradeLabel(label string)

func (*User) SetJobLabel

func (x *User) SetJobLabel(label string)

func (*User) String

func (x *User) String() string

func (*User) UserShort

func (x *User) UserShort() *UserShort

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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.

func (*UserActivityData) Value added in v0.9.5

func (x *UserActivityData) Value() (driver.Value, error)

Value marshals the UserActivityData value into driver.Valuer.

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

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

Cause function returns cause value.

func (UserActivityDataValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserActivityDataValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserActivityDataValidationError) Field added in v0.9.5

Field function returns field value.

func (UserActivityDataValidationError) Key added in v0.9.5

Key function returns key value.

func (UserActivityDataValidationError) Reason added in v0.9.5

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) Enum

func (UserActivityType) EnumDescriptor deprecated

func (UserActivityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserActivityType.Descriptor instead.

func (UserActivityType) Number

func (UserActivityType) String

func (x UserActivityType) String() string

func (UserActivityType) Type

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

Cause function returns cause value.

func (UserActivityValidationError) Error

Error satisfies the builtin error interface

func (UserActivityValidationError) ErrorName

func (e UserActivityValidationError) ErrorName() string

ErrorName returns error name.

func (UserActivityValidationError) Field

Field function returns field value.

func (UserActivityValidationError) Key

Key function returns key value.

func (UserActivityValidationError) Reason

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

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

Cause function returns cause value.

func (UserDocumentRelationValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserDocumentRelationValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserDocumentRelationValidationError) Field added in v0.9.5

Field function returns field value.

func (UserDocumentRelationValidationError) Key added in v0.9.5

Key function returns key value.

func (UserDocumentRelationValidationError) Reason added in v0.9.5

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

Cause function returns cause value.

func (UserFineChangeValidationError) Error added in v0.9.5

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

Field function returns field value.

func (UserFineChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserFineChangeValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (UserInfoSyncSettingsValidationError) Error

Error satisfies the builtin error interface

func (UserInfoSyncSettingsValidationError) ErrorName

ErrorName returns error name.

func (UserInfoSyncSettingsValidationError) Field

Field function returns field value.

func (UserInfoSyncSettingsValidationError) Key

Key function returns key value.

func (UserInfoSyncSettingsValidationError) Reason

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) Enum

func (UserInfoSyncUnemployedMode) EnumDescriptor deprecated

func (UserInfoSyncUnemployedMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserInfoSyncUnemployedMode.Descriptor instead.

func (UserInfoSyncUnemployedMode) Number

func (UserInfoSyncUnemployedMode) String

func (UserInfoSyncUnemployedMode) Type

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

Cause function returns cause value.

func (UserJailChangeValidationError) Error added in v0.9.5

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

Field function returns field value.

func (UserJailChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserJailChangeValidationError) Reason added in v0.9.5

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

Cause function returns cause value.

func (UserJobChangeValidationError) Error added in v0.9.5

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

Field function returns field value.

func (UserJobChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserJobChangeValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (UserLabelsChangeValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserLabelsChangeValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserLabelsChangeValidationError) Field added in v0.9.5

Field function returns field value.

func (UserLabelsChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserLabelsChangeValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (UserLicenseChangeValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserLicenseChangeValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserLicenseChangeValidationError) Field added in v0.9.5

Field function returns field value.

func (UserLicenseChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserLicenseChangeValidationError) Reason added in v0.9.5

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

Cause function returns cause value.

func (UserLicensesValidationError) Error added in v0.9.5

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

Field function returns field value.

func (UserLicensesValidationError) Key added in v0.9.5

Key function returns key value.

func (UserLicensesValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (UserMugshotChangeValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserMugshotChangeValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserMugshotChangeValidationError) Field added in v0.9.5

Field function returns field value.

func (UserMugshotChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserMugshotChangeValidationError) Reason added in v0.9.5

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

Cause function returns cause value.

func (UserNameChangeValidationError) Error added in v0.9.5

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

Field function returns field value.

func (UserNameChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserNameChangeValidationError) Reason added in v0.9.5

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 GetUserProps(ctx context.Context, tx qrm.DB, userId int32, attrJobs []string) (*UserProps, error)

func (*UserProps) Default added in v0.9.5

func (x *UserProps) Default()

func (*UserProps) Descriptor deprecated

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

Deprecated: Use UserProps.ProtoReflect.Descriptor instead.

func (*UserProps) GetBloodType

func (x *UserProps) GetBloodType() string

func (*UserProps) GetEmail added in v0.9.4

func (x *UserProps) GetEmail() string

func (*UserProps) GetJob

func (x *UserProps) GetJob() *Job

func (*UserProps) GetJobGrade

func (x *UserProps) GetJobGrade() *JobGrade

func (*UserProps) GetJobGradeNumber

func (x *UserProps) GetJobGradeNumber() int32

func (*UserProps) GetJobName

func (x *UserProps) GetJobName() string

func (*UserProps) GetLabels added in v0.9.5

func (x *UserProps) GetLabels() *CitizenLabels

func (*UserProps) GetMugShot

func (x *UserProps) GetMugShot() *filestore.File

func (*UserProps) GetOpenFines

func (x *UserProps) GetOpenFines() int64

func (*UserProps) GetTrafficInfractionPoints

func (x *UserProps) GetTrafficInfractionPoints() uint32

func (*UserProps) GetUpdatedAt added in v0.9.4

func (x *UserProps) GetUpdatedAt() *timestamp.Timestamp

func (*UserProps) GetUserId

func (x *UserProps) GetUserId() int32

func (*UserProps) GetWanted

func (x *UserProps) GetWanted() bool

func (*UserProps) HandleChanges added in v0.9.5

func (x *UserProps) HandleChanges(ctx context.Context, tx qrm.DB, in *UserProps, sourceUserId *int32, reason string) ([]*UserActivity, error)

func (*UserProps) ProtoMessage

func (*UserProps) ProtoMessage()

func (*UserProps) ProtoReflect

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

func (*UserProps) Reset

func (x *UserProps) Reset()

func (*UserProps) Sanitize added in v0.9.4

func (m *UserProps) Sanitize() error

func (*UserProps) String

func (x *UserProps) String() string

func (*UserProps) Validate

func (m *UserProps) Validate() error

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

func (m *UserProps) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use UserShort.ProtoReflect.Descriptor instead.

func (*UserShort) GetAvatar

func (x *UserShort) GetAvatar() *filestore.File

func (*UserShort) GetDateofbirth

func (x *UserShort) GetDateofbirth() string

func (*UserShort) GetFirstname

func (x *UserShort) GetFirstname() string

func (*UserShort) GetIdentifier

func (x *UserShort) GetIdentifier() string

func (*UserShort) GetJob

func (x *UserShort) GetJob() string

func (*UserShort) GetJobGrade

func (x *UserShort) GetJobGrade() int32

func (*UserShort) GetJobGradeLabel

func (x *UserShort) GetJobGradeLabel() string

func (*UserShort) GetJobLabel

func (x *UserShort) GetJobLabel() string

func (*UserShort) GetLastname

func (x *UserShort) GetLastname() string

func (*UserShort) GetPhoneNumber

func (x *UserShort) GetPhoneNumber() string

func (*UserShort) GetUserId

func (x *UserShort) GetUserId() int32

func (*UserShort) ProtoMessage

func (*UserShort) ProtoMessage()

func (*UserShort) ProtoReflect

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

func (*UserShort) Reset

func (x *UserShort) Reset()

func (*UserShort) Sanitize added in v0.9.4

func (m *UserShort) Sanitize() error

func (*UserShort) SetJob

func (x *UserShort) SetJob(job string)

func (*UserShort) SetJobGrade

func (x *UserShort) SetJobGrade(grade int32)

func (*UserShort) SetJobGradeLabel

func (x *UserShort) SetJobGradeLabel(label string)

func (*UserShort) SetJobLabel

func (x *UserShort) SetJobLabel(label string)

func (*UserShort) String

func (x *UserShort) String() string

func (*UserShort) Validate

func (m *UserShort) Validate() error

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

func (m *UserShort) ValidateAll() error

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

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 (*UserTrafficInfractionPointsChange) GetOld added in v0.9.5

func (*UserTrafficInfractionPointsChange) ProtoMessage added in v0.9.5

func (*UserTrafficInfractionPointsChange) ProtoMessage()

func (*UserTrafficInfractionPointsChange) ProtoReflect added in v0.9.5

func (*UserTrafficInfractionPointsChange) Reset added in v0.9.5

func (*UserTrafficInfractionPointsChange) Sanitize added in v0.9.5

func (*UserTrafficInfractionPointsChange) String added in v0.9.5

func (*UserTrafficInfractionPointsChange) Validate added in v0.9.5

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

AllErrors returns a list of validation violation errors.

func (UserTrafficInfractionPointsChangeMultiError) Error added in v0.9.5

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

Cause function returns cause value.

func (UserTrafficInfractionPointsChangeValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserTrafficInfractionPointsChangeValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserTrafficInfractionPointsChangeValidationError) Field added in v0.9.5

Field function returns field value.

func (UserTrafficInfractionPointsChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserTrafficInfractionPointsChangeValidationError) Reason added in v0.9.5

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

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

Cause function returns cause value.

func (UserWantedChangeValidationError) Error added in v0.9.5

Error satisfies the builtin error interface

func (UserWantedChangeValidationError) ErrorName added in v0.9.5

ErrorName returns error name.

func (UserWantedChangeValidationError) Field added in v0.9.5

Field function returns field value.

func (UserWantedChangeValidationError) Key added in v0.9.5

Key function returns key value.

func (UserWantedChangeValidationError) Reason added in v0.9.5

Reason function returns reason value.

Jump to

Keyboard shortcuts

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