Documentation ¶
Index ¶
- Variables
- type Colleague
- func (*Colleague) Descriptor() ([]byte, []int)deprecated
- func (x *Colleague) GetAvatar() *filestore.File
- func (x *Colleague) GetDateofbirth() string
- func (x *Colleague) GetFirstname() string
- func (x *Colleague) GetIdentifier() string
- func (x *Colleague) GetJob() string
- func (x *Colleague) GetJobGrade() int32
- func (x *Colleague) GetJobGradeLabel() string
- func (x *Colleague) GetJobLabel() string
- func (x *Colleague) GetLastname() string
- func (x *Colleague) GetPhoneNumber() string
- func (x *Colleague) GetProps() *JobsUserProps
- func (x *Colleague) GetUserId() int32
- func (*Colleague) ProtoMessage()
- func (x *Colleague) ProtoReflect() protoreflect.Message
- func (x *Colleague) Reset()
- func (x *Colleague) SetJob(job string)
- func (x *Colleague) SetJobGrade(grade int32)
- func (x *Colleague) SetJobGradeLabel(label string)
- func (x *Colleague) SetJobLabel(label string)
- func (x *Colleague) String() string
- func (m *Colleague) Validate() error
- func (m *Colleague) ValidateAll() error
- type ColleagueAbsenceDate
- func (*ColleagueAbsenceDate) Descriptor() ([]byte, []int)deprecated
- func (x *ColleagueAbsenceDate) GetAbsenceBegin() *timestamp.Timestamp
- func (x *ColleagueAbsenceDate) GetAbsenceEnd() *timestamp.Timestamp
- func (*ColleagueAbsenceDate) ProtoMessage()
- func (x *ColleagueAbsenceDate) ProtoReflect() protoreflect.Message
- func (x *ColleagueAbsenceDate) Reset()
- func (x *ColleagueAbsenceDate) String() string
- func (m *ColleagueAbsenceDate) Validate() error
- func (m *ColleagueAbsenceDate) ValidateAll() error
- type ColleagueAbsenceDateMultiError
- type ColleagueAbsenceDateValidationError
- func (e ColleagueAbsenceDateValidationError) Cause() error
- func (e ColleagueAbsenceDateValidationError) Error() string
- func (e ColleagueAbsenceDateValidationError) ErrorName() string
- func (e ColleagueAbsenceDateValidationError) Field() string
- func (e ColleagueAbsenceDateValidationError) Key() bool
- func (e ColleagueAbsenceDateValidationError) Reason() string
- type ColleagueGradeChange
- func (*ColleagueGradeChange) Descriptor() ([]byte, []int)deprecated
- func (x *ColleagueGradeChange) GetGrade() int32
- func (x *ColleagueGradeChange) GetGradeLabel() string
- func (*ColleagueGradeChange) ProtoMessage()
- func (x *ColleagueGradeChange) ProtoReflect() protoreflect.Message
- func (x *ColleagueGradeChange) Reset()
- func (x *ColleagueGradeChange) String() string
- func (m *ColleagueGradeChange) Validate() error
- func (m *ColleagueGradeChange) ValidateAll() error
- type ColleagueGradeChangeMultiError
- type ColleagueGradeChangeValidationError
- func (e ColleagueGradeChangeValidationError) Cause() error
- func (e ColleagueGradeChangeValidationError) Error() string
- func (e ColleagueGradeChangeValidationError) ErrorName() string
- func (e ColleagueGradeChangeValidationError) Field() string
- func (e ColleagueGradeChangeValidationError) Key() bool
- func (e ColleagueGradeChangeValidationError) Reason() string
- type ColleagueMultiError
- type ColleagueValidationError
- type ConductEntry
- func (*ConductEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
- func (x *ConductEntry) GetCreator() *Colleague
- func (x *ConductEntry) GetCreatorId() int32
- func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp
- func (x *ConductEntry) GetId() uint64
- func (x *ConductEntry) GetJob() string
- func (x *ConductEntry) GetMessage() string
- func (x *ConductEntry) GetTargetUser() *Colleague
- func (x *ConductEntry) GetTargetUserId() int32
- func (x *ConductEntry) GetType() ConductType
- func (x *ConductEntry) GetUpdatedAt() *timestamp.Timestamp
- func (*ConductEntry) ProtoMessage()
- func (x *ConductEntry) ProtoReflect() protoreflect.Message
- func (x *ConductEntry) Reset()
- func (m *ConductEntry) Sanitize() error
- func (x *ConductEntry) String() string
- func (m *ConductEntry) Validate() error
- func (m *ConductEntry) ValidateAll() error
- type ConductEntryMultiError
- type ConductEntryValidationError
- func (e ConductEntryValidationError) Cause() error
- func (e ConductEntryValidationError) Error() string
- func (e ConductEntryValidationError) ErrorName() string
- func (e ConductEntryValidationError) Field() string
- func (e ConductEntryValidationError) Key() bool
- func (e ConductEntryValidationError) Reason() string
- type ConductType
- func (ConductType) Descriptor() protoreflect.EnumDescriptor
- func (x ConductType) Enum() *ConductType
- func (ConductType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConductType) Number() protoreflect.EnumNumber
- func (x ConductType) String() string
- func (ConductType) Type() protoreflect.EnumType
- type JobsUserActivity
- func (*JobsUserActivity) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserActivity) GetActivityType() JobsUserActivityType
- func (x *JobsUserActivity) GetCreatedAt() *timestamp.Timestamp
- func (x *JobsUserActivity) GetData() *JobsUserActivityData
- func (x *JobsUserActivity) GetId() uint64
- func (x *JobsUserActivity) GetJob() string
- func (x *JobsUserActivity) GetReason() string
- func (x *JobsUserActivity) GetSourceUser() *Colleague
- func (x *JobsUserActivity) GetSourceUserId() int32
- func (x *JobsUserActivity) GetTargetUser() *Colleague
- func (x *JobsUserActivity) GetTargetUserId() int32
- func (*JobsUserActivity) ProtoMessage()
- func (x *JobsUserActivity) ProtoReflect() protoreflect.Message
- func (x *JobsUserActivity) Reset()
- func (m *JobsUserActivity) Sanitize() error
- func (x *JobsUserActivity) String() string
- func (m *JobsUserActivity) Validate() error
- func (m *JobsUserActivity) ValidateAll() error
- type JobsUserActivityData
- func (*JobsUserActivityData) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserActivityData) GetAbsenceDate() *ColleagueAbsenceDate
- func (m *JobsUserActivityData) GetData() isJobsUserActivityData_Data
- func (x *JobsUserActivityData) GetGradeChange() *ColleagueGradeChange
- func (*JobsUserActivityData) ProtoMessage()
- func (x *JobsUserActivityData) ProtoReflect() protoreflect.Message
- func (x *JobsUserActivityData) Reset()
- func (x *JobsUserActivityData) Scan(value any) error
- func (x *JobsUserActivityData) String() string
- func (m *JobsUserActivityData) Validate() error
- func (m *JobsUserActivityData) ValidateAll() error
- func (x *JobsUserActivityData) Value() (driver.Value, error)
- type JobsUserActivityDataMultiError
- type JobsUserActivityDataValidationError
- func (e JobsUserActivityDataValidationError) Cause() error
- func (e JobsUserActivityDataValidationError) Error() string
- func (e JobsUserActivityDataValidationError) ErrorName() string
- func (e JobsUserActivityDataValidationError) Field() string
- func (e JobsUserActivityDataValidationError) Key() bool
- func (e JobsUserActivityDataValidationError) Reason() string
- type JobsUserActivityData_AbsenceDate
- type JobsUserActivityData_GradeChange
- type JobsUserActivityMultiError
- type JobsUserActivityType
- func (JobsUserActivityType) Descriptor() protoreflect.EnumDescriptor
- func (x JobsUserActivityType) Enum() *JobsUserActivityType
- func (JobsUserActivityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x JobsUserActivityType) Number() protoreflect.EnumNumber
- func (x JobsUserActivityType) String() string
- func (JobsUserActivityType) Type() protoreflect.EnumType
- type JobsUserActivityValidationError
- func (e JobsUserActivityValidationError) Cause() error
- func (e JobsUserActivityValidationError) Error() string
- func (e JobsUserActivityValidationError) ErrorName() string
- func (e JobsUserActivityValidationError) Field() string
- func (e JobsUserActivityValidationError) Key() bool
- func (e JobsUserActivityValidationError) Reason() string
- type JobsUserProps
- func (*JobsUserProps) Descriptor() ([]byte, []int)deprecated
- func (x *JobsUserProps) GetAbsenceBegin() *timestamp.Timestamp
- func (x *JobsUserProps) GetAbsenceEnd() *timestamp.Timestamp
- func (x *JobsUserProps) GetUserId() int32
- func (*JobsUserProps) ProtoMessage()
- func (x *JobsUserProps) ProtoReflect() protoreflect.Message
- func (x *JobsUserProps) Reset()
- func (x *JobsUserProps) String() string
- func (m *JobsUserProps) Validate() error
- func (m *JobsUserProps) ValidateAll() error
- type JobsUserPropsMultiError
- type JobsUserPropsValidationError
- func (e JobsUserPropsValidationError) Cause() error
- func (e JobsUserPropsValidationError) Error() string
- func (e JobsUserPropsValidationError) ErrorName() string
- func (e JobsUserPropsValidationError) Field() string
- func (e JobsUserPropsValidationError) Key() bool
- func (e JobsUserPropsValidationError) Reason() string
- type TimeclockEntry
- func (*TimeclockEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockEntry) GetDate() *timestamp.Timestamp
- func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp
- func (x *TimeclockEntry) GetJob() string
- func (x *TimeclockEntry) GetSpentTime() float32
- func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
- func (x *TimeclockEntry) GetUser() *Colleague
- func (x *TimeclockEntry) GetUserId() int32
- func (*TimeclockEntry) ProtoMessage()
- func (x *TimeclockEntry) ProtoReflect() protoreflect.Message
- func (x *TimeclockEntry) Reset()
- func (x *TimeclockEntry) String() string
- func (m *TimeclockEntry) Validate() error
- func (m *TimeclockEntry) ValidateAll() error
- type TimeclockEntryMultiError
- type TimeclockEntryValidationError
- func (e TimeclockEntryValidationError) Cause() error
- func (e TimeclockEntryValidationError) Error() string
- func (e TimeclockEntryValidationError) ErrorName() string
- func (e TimeclockEntryValidationError) Field() string
- func (e TimeclockEntryValidationError) Key() bool
- func (e TimeclockEntryValidationError) Reason() string
- type TimeclockStats
- func (*TimeclockStats) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockStats) GetJob() string
- func (x *TimeclockStats) GetSpentTimeAvg() float32
- func (x *TimeclockStats) GetSpentTimeMax() float32
- func (x *TimeclockStats) GetSpentTimeSum() float32
- func (*TimeclockStats) ProtoMessage()
- func (x *TimeclockStats) ProtoReflect() protoreflect.Message
- func (x *TimeclockStats) Reset()
- func (x *TimeclockStats) String() string
- func (m *TimeclockStats) Validate() error
- func (m *TimeclockStats) ValidateAll() error
- type TimeclockStatsMultiError
- type TimeclockStatsValidationError
- func (e TimeclockStatsValidationError) Cause() error
- func (e TimeclockStatsValidationError) Error() string
- func (e TimeclockStatsValidationError) ErrorName() string
- func (e TimeclockStatsValidationError) Field() string
- func (e TimeclockStatsValidationError) Key() bool
- func (e TimeclockStatsValidationError) Reason() string
- type TimeclockWeeklyStats
- func (*TimeclockWeeklyStats) Descriptor() ([]byte, []int)deprecated
- func (x *TimeclockWeeklyStats) GetAvg() float32
- func (x *TimeclockWeeklyStats) GetCalendarWeek() int32
- func (x *TimeclockWeeklyStats) GetMax() float32
- func (x *TimeclockWeeklyStats) GetSum() float32
- func (x *TimeclockWeeklyStats) GetYear() int32
- func (*TimeclockWeeklyStats) ProtoMessage()
- func (x *TimeclockWeeklyStats) ProtoReflect() protoreflect.Message
- func (x *TimeclockWeeklyStats) Reset()
- func (x *TimeclockWeeklyStats) String() string
- func (m *TimeclockWeeklyStats) Validate() error
- func (m *TimeclockWeeklyStats) ValidateAll() error
- type TimeclockWeeklyStatsMultiError
- type TimeclockWeeklyStatsValidationError
- func (e TimeclockWeeklyStatsValidationError) Cause() error
- func (e TimeclockWeeklyStatsValidationError) Error() string
- func (e TimeclockWeeklyStatsValidationError) ErrorName() string
- func (e TimeclockWeeklyStatsValidationError) Field() string
- func (e TimeclockWeeklyStatsValidationError) Key() bool
- func (e TimeclockWeeklyStatsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( JobsUserActivityType_name = map[int32]string{ 0: "JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED", 1: "JOBS_USER_ACTIVITY_TYPE_HIRED", 2: "JOBS_USER_ACTIVITY_TYPE_FIRED", 3: "JOBS_USER_ACTIVITY_TYPE_PROMOTED", 4: "JOBS_USER_ACTIVITY_TYPE_DEMOTED", 5: "JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE", } JobsUserActivityType_value = map[string]int32{ "JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED": 0, "JOBS_USER_ACTIVITY_TYPE_HIRED": 1, "JOBS_USER_ACTIVITY_TYPE_FIRED": 2, "JOBS_USER_ACTIVITY_TYPE_PROMOTED": 3, "JOBS_USER_ACTIVITY_TYPE_DEMOTED": 4, "JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE": 5, } )
Enum value maps for JobsUserActivityType.
var ( ConductType_name = map[int32]string{ 0: "CONDUCT_TYPE_UNSPECIFIED", 1: "CONDUCT_TYPE_NEUTRAL", 2: "CONDUCT_TYPE_POSITIVE", 3: "CONDUCT_TYPE_NEGATIVE", 4: "CONDUCT_TYPE_WARNING", 5: "CONDUCT_TYPE_SUSPENSION", 6: "CONDUCT_TYPE_NOTE", } ConductType_value = map[string]int32{ "CONDUCT_TYPE_UNSPECIFIED": 0, "CONDUCT_TYPE_NEUTRAL": 1, "CONDUCT_TYPE_POSITIVE": 2, "CONDUCT_TYPE_NEGATIVE": 3, "CONDUCT_TYPE_WARNING": 4, "CONDUCT_TYPE_SUSPENSION": 5, "CONDUCT_TYPE_NOTE": 6, } )
Enum value maps for ConductType.
var File_resources_jobs_colleagues_proto protoreflect.FileDescriptor
var File_resources_jobs_conduct_proto protoreflect.FileDescriptor
var File_resources_jobs_timeclock_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Colleague ¶ added in v0.8.20
type Colleague 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" 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"` Props *JobsUserProps `protobuf:"bytes,18,opt,name=props,proto3" json:"props,omitempty" alias:"fivenet_jobs_user_props"` // @gotags: alias:"fivenet_jobs_user_props" // contains filtered or unexported fields }
func (*Colleague) Descriptor
deprecated
added in
v0.8.20
func (*Colleague) GetDateofbirth ¶ added in v0.8.20
func (*Colleague) GetFirstname ¶ added in v0.8.20
func (*Colleague) GetIdentifier ¶ added in v0.8.20
func (*Colleague) GetJobGrade ¶ added in v0.8.20
func (*Colleague) GetJobGradeLabel ¶ added in v0.8.20
func (*Colleague) GetJobLabel ¶ added in v0.8.20
func (*Colleague) GetLastname ¶ added in v0.8.20
func (*Colleague) GetPhoneNumber ¶ added in v0.8.20
func (*Colleague) GetProps ¶ added in v0.8.20
func (x *Colleague) GetProps() *JobsUserProps
func (*Colleague) ProtoMessage ¶ added in v0.8.20
func (*Colleague) ProtoMessage()
func (*Colleague) ProtoReflect ¶ added in v0.8.20
func (x *Colleague) ProtoReflect() protoreflect.Message
func (*Colleague) SetJobGrade ¶ added in v0.8.20
func (*Colleague) SetJobGradeLabel ¶ added in v0.8.20
func (*Colleague) SetJobLabel ¶ added in v0.8.20
func (*Colleague) Validate ¶ added in v0.8.20
Validate checks the field values on Colleague 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 (*Colleague) ValidateAll ¶ added in v0.8.20
ValidateAll checks the field values on Colleague 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 ColleagueMultiError, or nil if none found.
type ColleagueAbsenceDate ¶ added in v0.8.20
type ColleagueAbsenceDate struct { AbsenceBegin *timestamp.Timestamp `protobuf:"bytes,1,opt,name=absence_begin,json=absenceBegin,proto3" json:"absence_begin,omitempty"` AbsenceEnd *timestamp.Timestamp `protobuf:"bytes,2,opt,name=absence_end,json=absenceEnd,proto3" json:"absence_end,omitempty"` // contains filtered or unexported fields }
func (*ColleagueAbsenceDate) Descriptor
deprecated
added in
v0.8.20
func (*ColleagueAbsenceDate) Descriptor() ([]byte, []int)
Deprecated: Use ColleagueAbsenceDate.ProtoReflect.Descriptor instead.
func (*ColleagueAbsenceDate) GetAbsenceBegin ¶ added in v0.8.21
func (x *ColleagueAbsenceDate) GetAbsenceBegin() *timestamp.Timestamp
func (*ColleagueAbsenceDate) GetAbsenceEnd ¶ added in v0.8.21
func (x *ColleagueAbsenceDate) GetAbsenceEnd() *timestamp.Timestamp
func (*ColleagueAbsenceDate) ProtoMessage ¶ added in v0.8.20
func (*ColleagueAbsenceDate) ProtoMessage()
func (*ColleagueAbsenceDate) ProtoReflect ¶ added in v0.8.20
func (x *ColleagueAbsenceDate) ProtoReflect() protoreflect.Message
func (*ColleagueAbsenceDate) Reset ¶ added in v0.8.20
func (x *ColleagueAbsenceDate) Reset()
func (*ColleagueAbsenceDate) String ¶ added in v0.8.20
func (x *ColleagueAbsenceDate) String() string
func (*ColleagueAbsenceDate) Validate ¶ added in v0.8.20
func (m *ColleagueAbsenceDate) Validate() error
Validate checks the field values on ColleagueAbsenceDate 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 (*ColleagueAbsenceDate) ValidateAll ¶ added in v0.8.20
func (m *ColleagueAbsenceDate) ValidateAll() error
ValidateAll checks the field values on ColleagueAbsenceDate 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 ColleagueAbsenceDateMultiError, or nil if none found.
type ColleagueAbsenceDateMultiError ¶ added in v0.8.20
type ColleagueAbsenceDateMultiError []error
ColleagueAbsenceDateMultiError is an error wrapping multiple validation errors returned by ColleagueAbsenceDate.ValidateAll() if the designated constraints aren't met.
func (ColleagueAbsenceDateMultiError) AllErrors ¶ added in v0.8.20
func (m ColleagueAbsenceDateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueAbsenceDateMultiError) Error ¶ added in v0.8.20
func (m ColleagueAbsenceDateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueAbsenceDateValidationError ¶ added in v0.8.20
type ColleagueAbsenceDateValidationError struct {
// contains filtered or unexported fields
}
ColleagueAbsenceDateValidationError is the validation error returned by ColleagueAbsenceDate.Validate if the designated constraints aren't met.
func (ColleagueAbsenceDateValidationError) Cause ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) Cause() error
Cause function returns cause value.
func (ColleagueAbsenceDateValidationError) Error ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueAbsenceDateValidationError) ErrorName ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueAbsenceDateValidationError) Field ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) Field() string
Field function returns field value.
func (ColleagueAbsenceDateValidationError) Key ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) Key() bool
Key function returns key value.
func (ColleagueAbsenceDateValidationError) Reason ¶ added in v0.8.20
func (e ColleagueAbsenceDateValidationError) Reason() string
Reason function returns reason value.
type ColleagueGradeChange ¶ added in v0.8.20
type ColleagueGradeChange struct { Grade int32 `protobuf:"varint,1,opt,name=grade,proto3" json:"grade,omitempty"` GradeLabel string `protobuf:"bytes,2,opt,name=grade_label,json=gradeLabel,proto3" json:"grade_label,omitempty"` // contains filtered or unexported fields }
func (*ColleagueGradeChange) Descriptor
deprecated
added in
v0.8.20
func (*ColleagueGradeChange) Descriptor() ([]byte, []int)
Deprecated: Use ColleagueGradeChange.ProtoReflect.Descriptor instead.
func (*ColleagueGradeChange) GetGrade ¶ added in v0.8.20
func (x *ColleagueGradeChange) GetGrade() int32
func (*ColleagueGradeChange) GetGradeLabel ¶ added in v0.8.20
func (x *ColleagueGradeChange) GetGradeLabel() string
func (*ColleagueGradeChange) ProtoMessage ¶ added in v0.8.20
func (*ColleagueGradeChange) ProtoMessage()
func (*ColleagueGradeChange) ProtoReflect ¶ added in v0.8.20
func (x *ColleagueGradeChange) ProtoReflect() protoreflect.Message
func (*ColleagueGradeChange) Reset ¶ added in v0.8.20
func (x *ColleagueGradeChange) Reset()
func (*ColleagueGradeChange) String ¶ added in v0.8.20
func (x *ColleagueGradeChange) String() string
func (*ColleagueGradeChange) Validate ¶ added in v0.8.20
func (m *ColleagueGradeChange) Validate() error
Validate checks the field values on ColleagueGradeChange 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 (*ColleagueGradeChange) ValidateAll ¶ added in v0.8.20
func (m *ColleagueGradeChange) ValidateAll() error
ValidateAll checks the field values on ColleagueGradeChange 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 ColleagueGradeChangeMultiError, or nil if none found.
type ColleagueGradeChangeMultiError ¶ added in v0.8.20
type ColleagueGradeChangeMultiError []error
ColleagueGradeChangeMultiError is an error wrapping multiple validation errors returned by ColleagueGradeChange.ValidateAll() if the designated constraints aren't met.
func (ColleagueGradeChangeMultiError) AllErrors ¶ added in v0.8.20
func (m ColleagueGradeChangeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueGradeChangeMultiError) Error ¶ added in v0.8.20
func (m ColleagueGradeChangeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueGradeChangeValidationError ¶ added in v0.8.20
type ColleagueGradeChangeValidationError struct {
// contains filtered or unexported fields
}
ColleagueGradeChangeValidationError is the validation error returned by ColleagueGradeChange.Validate if the designated constraints aren't met.
func (ColleagueGradeChangeValidationError) Cause ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) Cause() error
Cause function returns cause value.
func (ColleagueGradeChangeValidationError) Error ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueGradeChangeValidationError) ErrorName ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueGradeChangeValidationError) Field ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) Field() string
Field function returns field value.
func (ColleagueGradeChangeValidationError) Key ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) Key() bool
Key function returns key value.
func (ColleagueGradeChangeValidationError) Reason ¶ added in v0.8.20
func (e ColleagueGradeChangeValidationError) Reason() string
Reason function returns reason value.
type ColleagueMultiError ¶ added in v0.8.20
type ColleagueMultiError []error
ColleagueMultiError is an error wrapping multiple validation errors returned by Colleague.ValidateAll() if the designated constraints aren't met.
func (ColleagueMultiError) AllErrors ¶ added in v0.8.20
func (m ColleagueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ColleagueMultiError) Error ¶ added in v0.8.20
func (m ColleagueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ColleagueValidationError ¶ added in v0.8.20
type ColleagueValidationError struct {
// contains filtered or unexported fields
}
ColleagueValidationError is the validation error returned by Colleague.Validate if the designated constraints aren't met.
func (ColleagueValidationError) Cause ¶ added in v0.8.20
func (e ColleagueValidationError) Cause() error
Cause function returns cause value.
func (ColleagueValidationError) Error ¶ added in v0.8.20
func (e ColleagueValidationError) Error() string
Error satisfies the builtin error interface
func (ColleagueValidationError) ErrorName ¶ added in v0.8.20
func (e ColleagueValidationError) ErrorName() string
ErrorName returns error name.
func (ColleagueValidationError) Field ¶ added in v0.8.20
func (e ColleagueValidationError) Field() string
Field function returns field value.
func (ColleagueValidationError) Key ¶ added in v0.8.20
func (e ColleagueValidationError) Key() bool
Key function returns key value.
func (ColleagueValidationError) Reason ¶ added in v0.8.20
func (e ColleagueValidationError) Reason() string
Reason function returns reason value.
type ConductEntry ¶ added in v0.8.0
type ConductEntry struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` Type ConductType `protobuf:"varint,5,opt,name=type,proto3,enum=resources.jobs.ConductType" json:"type,omitempty"` // @sanitize Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` ExpiresAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` TargetUserId int32 `protobuf:"varint,8,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` TargetUser *Colleague `protobuf:"bytes,9,opt,name=target_user,json=targetUser,proto3,oneof" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" CreatorId int32 `protobuf:"varint,10,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Creator *Colleague `protobuf:"bytes,11,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" // contains filtered or unexported fields }
func (*ConductEntry) Descriptor
deprecated
added in
v0.8.0
func (*ConductEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConductEntry.ProtoReflect.Descriptor instead.
func (*ConductEntry) GetCreatedAt ¶ added in v0.8.0
func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp
func (*ConductEntry) GetCreator ¶ added in v0.8.0
func (x *ConductEntry) GetCreator() *Colleague
func (*ConductEntry) GetCreatorId ¶ added in v0.8.0
func (x *ConductEntry) GetCreatorId() int32
func (*ConductEntry) GetExpiresAt ¶ added in v0.8.0
func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp
func (*ConductEntry) GetId ¶ added in v0.8.0
func (x *ConductEntry) GetId() uint64
func (*ConductEntry) GetJob ¶ added in v0.8.0
func (x *ConductEntry) GetJob() string
func (*ConductEntry) GetMessage ¶ added in v0.8.1
func (x *ConductEntry) GetMessage() string
func (*ConductEntry) GetTargetUser ¶ added in v0.8.0
func (x *ConductEntry) GetTargetUser() *Colleague
func (*ConductEntry) GetTargetUserId ¶ added in v0.8.0
func (x *ConductEntry) GetTargetUserId() int32
func (*ConductEntry) GetType ¶ added in v0.8.0
func (x *ConductEntry) GetType() ConductType
func (*ConductEntry) GetUpdatedAt ¶ added in v0.8.0
func (x *ConductEntry) GetUpdatedAt() *timestamp.Timestamp
func (*ConductEntry) ProtoMessage ¶ added in v0.8.0
func (*ConductEntry) ProtoMessage()
func (*ConductEntry) ProtoReflect ¶ added in v0.8.0
func (x *ConductEntry) ProtoReflect() protoreflect.Message
func (*ConductEntry) Reset ¶ added in v0.8.0
func (x *ConductEntry) Reset()
func (*ConductEntry) Sanitize ¶ added in v0.8.1
func (m *ConductEntry) Sanitize() error
func (*ConductEntry) String ¶ added in v0.8.0
func (x *ConductEntry) String() string
func (*ConductEntry) Validate ¶ added in v0.8.0
func (m *ConductEntry) Validate() error
Validate checks the field values on ConductEntry 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 (*ConductEntry) ValidateAll ¶ added in v0.8.0
func (m *ConductEntry) ValidateAll() error
ValidateAll checks the field values on ConductEntry 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 ConductEntryMultiError, or nil if none found.
type ConductEntryMultiError ¶ added in v0.8.0
type ConductEntryMultiError []error
ConductEntryMultiError is an error wrapping multiple validation errors returned by ConductEntry.ValidateAll() if the designated constraints aren't met.
func (ConductEntryMultiError) AllErrors ¶ added in v0.8.0
func (m ConductEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConductEntryMultiError) Error ¶ added in v0.8.0
func (m ConductEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConductEntryValidationError ¶ added in v0.8.0
type ConductEntryValidationError struct {
// contains filtered or unexported fields
}
ConductEntryValidationError is the validation error returned by ConductEntry.Validate if the designated constraints aren't met.
func (ConductEntryValidationError) Cause ¶ added in v0.8.0
func (e ConductEntryValidationError) Cause() error
Cause function returns cause value.
func (ConductEntryValidationError) Error ¶ added in v0.8.0
func (e ConductEntryValidationError) Error() string
Error satisfies the builtin error interface
func (ConductEntryValidationError) ErrorName ¶ added in v0.8.0
func (e ConductEntryValidationError) ErrorName() string
ErrorName returns error name.
func (ConductEntryValidationError) Field ¶ added in v0.8.0
func (e ConductEntryValidationError) Field() string
Field function returns field value.
func (ConductEntryValidationError) Key ¶ added in v0.8.0
func (e ConductEntryValidationError) Key() bool
Key function returns key value.
func (ConductEntryValidationError) Reason ¶ added in v0.8.0
func (e ConductEntryValidationError) Reason() string
Reason function returns reason value.
type ConductType ¶ added in v0.8.3
type ConductType int32
const ( ConductType_CONDUCT_TYPE_UNSPECIFIED ConductType = 0 ConductType_CONDUCT_TYPE_NEUTRAL ConductType = 1 ConductType_CONDUCT_TYPE_POSITIVE ConductType = 2 ConductType_CONDUCT_TYPE_NEGATIVE ConductType = 3 ConductType_CONDUCT_TYPE_WARNING ConductType = 4 ConductType_CONDUCT_TYPE_SUSPENSION ConductType = 5 ConductType_CONDUCT_TYPE_NOTE ConductType = 6 )
func (ConductType) Descriptor ¶ added in v0.8.3
func (ConductType) Descriptor() protoreflect.EnumDescriptor
func (ConductType) Enum ¶ added in v0.8.3
func (x ConductType) Enum() *ConductType
func (ConductType) EnumDescriptor
deprecated
added in
v0.8.3
func (ConductType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConductType.Descriptor instead.
func (ConductType) Number ¶ added in v0.8.3
func (x ConductType) Number() protoreflect.EnumNumber
func (ConductType) String ¶ added in v0.8.3
func (x ConductType) String() string
func (ConductType) Type ¶ added in v0.8.3
func (ConductType) Type() protoreflect.EnumType
type JobsUserActivity ¶ added in v0.8.20
type JobsUserActivity struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" sql:"primary_key" alias:"id"` // @gotags: sql:"primary_key" alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` SourceUserId int32 `protobuf:"varint,5,opt,name=source_user_id,json=sourceUserId,proto3" json:"source_user_id,omitempty"` SourceUser *Colleague `protobuf:"bytes,6,opt,name=source_user,json=sourceUser,proto3" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user" TargetUserId int32 `protobuf:"varint,7,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` TargetUser *Colleague `protobuf:"bytes,8,opt,name=target_user,json=targetUser,proto3" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" ActivityType JobsUserActivityType `` /* 139-byte string literal not displayed */ // @sanitize Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"` Data *JobsUserActivityData `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*JobsUserActivity) Descriptor
deprecated
added in
v0.8.20
func (*JobsUserActivity) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserActivity.ProtoReflect.Descriptor instead.
func (*JobsUserActivity) GetActivityType ¶ added in v0.8.20
func (x *JobsUserActivity) GetActivityType() JobsUserActivityType
func (*JobsUserActivity) GetCreatedAt ¶ added in v0.8.20
func (x *JobsUserActivity) GetCreatedAt() *timestamp.Timestamp
func (*JobsUserActivity) GetData ¶ added in v0.8.20
func (x *JobsUserActivity) GetData() *JobsUserActivityData
func (*JobsUserActivity) GetId ¶ added in v0.8.20
func (x *JobsUserActivity) GetId() uint64
func (*JobsUserActivity) GetJob ¶ added in v0.8.20
func (x *JobsUserActivity) GetJob() string
func (*JobsUserActivity) GetReason ¶ added in v0.8.20
func (x *JobsUserActivity) GetReason() string
func (*JobsUserActivity) GetSourceUser ¶ added in v0.8.20
func (x *JobsUserActivity) GetSourceUser() *Colleague
func (*JobsUserActivity) GetSourceUserId ¶ added in v0.8.20
func (x *JobsUserActivity) GetSourceUserId() int32
func (*JobsUserActivity) GetTargetUser ¶ added in v0.8.20
func (x *JobsUserActivity) GetTargetUser() *Colleague
func (*JobsUserActivity) GetTargetUserId ¶ added in v0.8.20
func (x *JobsUserActivity) GetTargetUserId() int32
func (*JobsUserActivity) ProtoMessage ¶ added in v0.8.20
func (*JobsUserActivity) ProtoMessage()
func (*JobsUserActivity) ProtoReflect ¶ added in v0.8.20
func (x *JobsUserActivity) ProtoReflect() protoreflect.Message
func (*JobsUserActivity) Reset ¶ added in v0.8.20
func (x *JobsUserActivity) Reset()
func (*JobsUserActivity) Sanitize ¶ added in v0.8.20
func (m *JobsUserActivity) Sanitize() error
func (*JobsUserActivity) String ¶ added in v0.8.20
func (x *JobsUserActivity) String() string
func (*JobsUserActivity) Validate ¶ added in v0.8.20
func (m *JobsUserActivity) Validate() error
Validate checks the field values on JobsUserActivity 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 (*JobsUserActivity) ValidateAll ¶ added in v0.8.20
func (m *JobsUserActivity) ValidateAll() error
ValidateAll checks the field values on JobsUserActivity 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 JobsUserActivityMultiError, or nil if none found.
type JobsUserActivityData ¶ added in v0.8.20
type JobsUserActivityData struct { // Types that are assignable to Data: // // *JobsUserActivityData_AbsenceDate // *JobsUserActivityData_GradeChange Data isJobsUserActivityData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*JobsUserActivityData) Descriptor
deprecated
added in
v0.8.20
func (*JobsUserActivityData) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserActivityData.ProtoReflect.Descriptor instead.
func (*JobsUserActivityData) GetAbsenceDate ¶ added in v0.8.20
func (x *JobsUserActivityData) GetAbsenceDate() *ColleagueAbsenceDate
func (*JobsUserActivityData) GetData ¶ added in v0.8.20
func (m *JobsUserActivityData) GetData() isJobsUserActivityData_Data
func (*JobsUserActivityData) GetGradeChange ¶ added in v0.8.20
func (x *JobsUserActivityData) GetGradeChange() *ColleagueGradeChange
func (*JobsUserActivityData) ProtoMessage ¶ added in v0.8.20
func (*JobsUserActivityData) ProtoMessage()
func (*JobsUserActivityData) ProtoReflect ¶ added in v0.8.20
func (x *JobsUserActivityData) ProtoReflect() protoreflect.Message
func (*JobsUserActivityData) Reset ¶ added in v0.8.20
func (x *JobsUserActivityData) Reset()
func (*JobsUserActivityData) Scan ¶ added in v0.8.20
func (x *JobsUserActivityData) Scan(value any) error
Scan implements driver.Valuer for protobuf JobsUserActivityData.
func (*JobsUserActivityData) String ¶ added in v0.8.20
func (x *JobsUserActivityData) String() string
func (*JobsUserActivityData) Validate ¶ added in v0.8.20
func (m *JobsUserActivityData) Validate() error
Validate checks the field values on JobsUserActivityData 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 (*JobsUserActivityData) ValidateAll ¶ added in v0.8.20
func (m *JobsUserActivityData) ValidateAll() error
ValidateAll checks the field values on JobsUserActivityData 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 JobsUserActivityDataMultiError, or nil if none found.
type JobsUserActivityDataMultiError ¶ added in v0.8.20
type JobsUserActivityDataMultiError []error
JobsUserActivityDataMultiError is an error wrapping multiple validation errors returned by JobsUserActivityData.ValidateAll() if the designated constraints aren't met.
func (JobsUserActivityDataMultiError) AllErrors ¶ added in v0.8.20
func (m JobsUserActivityDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserActivityDataMultiError) Error ¶ added in v0.8.20
func (m JobsUserActivityDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserActivityDataValidationError ¶ added in v0.8.20
type JobsUserActivityDataValidationError struct {
// contains filtered or unexported fields
}
JobsUserActivityDataValidationError is the validation error returned by JobsUserActivityData.Validate if the designated constraints aren't met.
func (JobsUserActivityDataValidationError) Cause ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) Cause() error
Cause function returns cause value.
func (JobsUserActivityDataValidationError) Error ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserActivityDataValidationError) ErrorName ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserActivityDataValidationError) Field ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) Field() string
Field function returns field value.
func (JobsUserActivityDataValidationError) Key ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) Key() bool
Key function returns key value.
func (JobsUserActivityDataValidationError) Reason ¶ added in v0.8.20
func (e JobsUserActivityDataValidationError) Reason() string
Reason function returns reason value.
type JobsUserActivityData_AbsenceDate ¶ added in v0.8.20
type JobsUserActivityData_AbsenceDate struct {
AbsenceDate *ColleagueAbsenceDate `protobuf:"bytes,1,opt,name=absence_date,json=absenceDate,proto3,oneof"`
}
type JobsUserActivityData_GradeChange ¶ added in v0.8.20
type JobsUserActivityData_GradeChange struct {
GradeChange *ColleagueGradeChange `protobuf:"bytes,2,opt,name=grade_change,json=gradeChange,proto3,oneof"`
}
type JobsUserActivityMultiError ¶ added in v0.8.20
type JobsUserActivityMultiError []error
JobsUserActivityMultiError is an error wrapping multiple validation errors returned by JobsUserActivity.ValidateAll() if the designated constraints aren't met.
func (JobsUserActivityMultiError) AllErrors ¶ added in v0.8.20
func (m JobsUserActivityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserActivityMultiError) Error ¶ added in v0.8.20
func (m JobsUserActivityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserActivityType ¶ added in v0.8.20
type JobsUserActivityType int32
const ( JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED JobsUserActivityType = 0 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_HIRED JobsUserActivityType = 1 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_FIRED JobsUserActivityType = 2 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_PROMOTED JobsUserActivityType = 3 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_DEMOTED JobsUserActivityType = 4 JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE JobsUserActivityType = 5 )
func (JobsUserActivityType) Descriptor ¶ added in v0.8.20
func (JobsUserActivityType) Descriptor() protoreflect.EnumDescriptor
func (JobsUserActivityType) Enum ¶ added in v0.8.20
func (x JobsUserActivityType) Enum() *JobsUserActivityType
func (JobsUserActivityType) EnumDescriptor
deprecated
added in
v0.8.20
func (JobsUserActivityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use JobsUserActivityType.Descriptor instead.
func (JobsUserActivityType) Number ¶ added in v0.8.20
func (x JobsUserActivityType) Number() protoreflect.EnumNumber
func (JobsUserActivityType) String ¶ added in v0.8.20
func (x JobsUserActivityType) String() string
func (JobsUserActivityType) Type ¶ added in v0.8.20
func (JobsUserActivityType) Type() protoreflect.EnumType
type JobsUserActivityValidationError ¶ added in v0.8.20
type JobsUserActivityValidationError struct {
// contains filtered or unexported fields
}
JobsUserActivityValidationError is the validation error returned by JobsUserActivity.Validate if the designated constraints aren't met.
func (JobsUserActivityValidationError) Cause ¶ added in v0.8.20
func (e JobsUserActivityValidationError) Cause() error
Cause function returns cause value.
func (JobsUserActivityValidationError) Error ¶ added in v0.8.20
func (e JobsUserActivityValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserActivityValidationError) ErrorName ¶ added in v0.8.20
func (e JobsUserActivityValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserActivityValidationError) Field ¶ added in v0.8.20
func (e JobsUserActivityValidationError) Field() string
Field function returns field value.
func (JobsUserActivityValidationError) Key ¶ added in v0.8.20
func (e JobsUserActivityValidationError) Key() bool
Key function returns key value.
func (JobsUserActivityValidationError) Reason ¶ added in v0.8.20
func (e JobsUserActivityValidationError) Reason() string
Reason function returns reason value.
type JobsUserProps ¶ added in v0.8.20
type JobsUserProps struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AbsenceBegin *timestamp.Timestamp `protobuf:"bytes,2,opt,name=absence_begin,json=absenceBegin,proto3,oneof" json:"absence_begin,omitempty"` AbsenceEnd *timestamp.Timestamp `protobuf:"bytes,3,opt,name=absence_end,json=absenceEnd,proto3,oneof" json:"absence_end,omitempty"` // contains filtered or unexported fields }
func (*JobsUserProps) Descriptor
deprecated
added in
v0.8.20
func (*JobsUserProps) Descriptor() ([]byte, []int)
Deprecated: Use JobsUserProps.ProtoReflect.Descriptor instead.
func (*JobsUserProps) GetAbsenceBegin ¶ added in v0.8.21
func (x *JobsUserProps) GetAbsenceBegin() *timestamp.Timestamp
func (*JobsUserProps) GetAbsenceEnd ¶ added in v0.8.21
func (x *JobsUserProps) GetAbsenceEnd() *timestamp.Timestamp
func (*JobsUserProps) GetUserId ¶ added in v0.8.20
func (x *JobsUserProps) GetUserId() int32
func (*JobsUserProps) ProtoMessage ¶ added in v0.8.20
func (*JobsUserProps) ProtoMessage()
func (*JobsUserProps) ProtoReflect ¶ added in v0.8.20
func (x *JobsUserProps) ProtoReflect() protoreflect.Message
func (*JobsUserProps) Reset ¶ added in v0.8.20
func (x *JobsUserProps) Reset()
func (*JobsUserProps) String ¶ added in v0.8.20
func (x *JobsUserProps) String() string
func (*JobsUserProps) Validate ¶ added in v0.8.20
func (m *JobsUserProps) Validate() error
Validate checks the field values on JobsUserProps 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 (*JobsUserProps) ValidateAll ¶ added in v0.8.20
func (m *JobsUserProps) ValidateAll() error
ValidateAll checks the field values on JobsUserProps 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 JobsUserPropsMultiError, or nil if none found.
type JobsUserPropsMultiError ¶ added in v0.8.20
type JobsUserPropsMultiError []error
JobsUserPropsMultiError is an error wrapping multiple validation errors returned by JobsUserProps.ValidateAll() if the designated constraints aren't met.
func (JobsUserPropsMultiError) AllErrors ¶ added in v0.8.20
func (m JobsUserPropsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobsUserPropsMultiError) Error ¶ added in v0.8.20
func (m JobsUserPropsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobsUserPropsValidationError ¶ added in v0.8.20
type JobsUserPropsValidationError struct {
// contains filtered or unexported fields
}
JobsUserPropsValidationError is the validation error returned by JobsUserProps.Validate if the designated constraints aren't met.
func (JobsUserPropsValidationError) Cause ¶ added in v0.8.20
func (e JobsUserPropsValidationError) Cause() error
Cause function returns cause value.
func (JobsUserPropsValidationError) Error ¶ added in v0.8.20
func (e JobsUserPropsValidationError) Error() string
Error satisfies the builtin error interface
func (JobsUserPropsValidationError) ErrorName ¶ added in v0.8.20
func (e JobsUserPropsValidationError) ErrorName() string
ErrorName returns error name.
func (JobsUserPropsValidationError) Field ¶ added in v0.8.20
func (e JobsUserPropsValidationError) Field() string
Field function returns field value.
func (JobsUserPropsValidationError) Key ¶ added in v0.8.20
func (e JobsUserPropsValidationError) Key() bool
Key function returns key value.
func (JobsUserPropsValidationError) Reason ¶ added in v0.8.20
func (e JobsUserPropsValidationError) Reason() string
Reason function returns reason value.
type TimeclockEntry ¶ added in v0.8.2
type TimeclockEntry struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` Date *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *Colleague `protobuf:"bytes,4,opt,name=user,proto3,oneof" json:"user,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` SpentTime float32 `protobuf:"fixed32,7,opt,name=spent_time,json=spentTime,proto3" json:"spent_time,omitempty"` // contains filtered or unexported fields }
func (*TimeclockEntry) Descriptor
deprecated
added in
v0.8.2
func (*TimeclockEntry) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockEntry.ProtoReflect.Descriptor instead.
func (*TimeclockEntry) GetDate ¶ added in v0.8.4
func (x *TimeclockEntry) GetDate() *timestamp.Timestamp
func (*TimeclockEntry) GetEndTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp
func (*TimeclockEntry) GetJob ¶ added in v0.8.4
func (x *TimeclockEntry) GetJob() string
func (*TimeclockEntry) GetSpentTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetSpentTime() float32
func (*TimeclockEntry) GetStartTime ¶ added in v0.8.4
func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp
func (*TimeclockEntry) GetUser ¶ added in v0.8.4
func (x *TimeclockEntry) GetUser() *Colleague
func (*TimeclockEntry) GetUserId ¶ added in v0.8.4
func (x *TimeclockEntry) GetUserId() int32
func (*TimeclockEntry) ProtoMessage ¶ added in v0.8.2
func (*TimeclockEntry) ProtoMessage()
func (*TimeclockEntry) ProtoReflect ¶ added in v0.8.2
func (x *TimeclockEntry) ProtoReflect() protoreflect.Message
func (*TimeclockEntry) Reset ¶ added in v0.8.2
func (x *TimeclockEntry) Reset()
func (*TimeclockEntry) String ¶ added in v0.8.2
func (x *TimeclockEntry) String() string
func (*TimeclockEntry) Validate ¶ added in v0.8.2
func (m *TimeclockEntry) Validate() error
Validate checks the field values on TimeclockEntry 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 (*TimeclockEntry) ValidateAll ¶ added in v0.8.2
func (m *TimeclockEntry) ValidateAll() error
ValidateAll checks the field values on TimeclockEntry 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 TimeclockEntryMultiError, or nil if none found.
type TimeclockEntryMultiError ¶ added in v0.8.2
type TimeclockEntryMultiError []error
TimeclockEntryMultiError is an error wrapping multiple validation errors returned by TimeclockEntry.ValidateAll() if the designated constraints aren't met.
func (TimeclockEntryMultiError) AllErrors ¶ added in v0.8.2
func (m TimeclockEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockEntryMultiError) Error ¶ added in v0.8.2
func (m TimeclockEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockEntryValidationError ¶ added in v0.8.2
type TimeclockEntryValidationError struct {
// contains filtered or unexported fields
}
TimeclockEntryValidationError is the validation error returned by TimeclockEntry.Validate if the designated constraints aren't met.
func (TimeclockEntryValidationError) Cause ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Cause() error
Cause function returns cause value.
func (TimeclockEntryValidationError) Error ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockEntryValidationError) ErrorName ¶ added in v0.8.2
func (e TimeclockEntryValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockEntryValidationError) Field ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Field() string
Field function returns field value.
func (TimeclockEntryValidationError) Key ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Key() bool
Key function returns key value.
func (TimeclockEntryValidationError) Reason ¶ added in v0.8.2
func (e TimeclockEntryValidationError) Reason() string
Reason function returns reason value.
type TimeclockStats ¶ added in v0.8.4
type TimeclockStats struct { Job string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` SpentTimeSum float32 `protobuf:"fixed32,2,opt,name=spent_time_sum,json=spentTimeSum,proto3" json:"spent_time_sum,omitempty"` SpentTimeAvg float32 `protobuf:"fixed32,3,opt,name=spent_time_avg,json=spentTimeAvg,proto3" json:"spent_time_avg,omitempty"` SpentTimeMax float32 `protobuf:"fixed32,4,opt,name=spent_time_max,json=spentTimeMax,proto3" json:"spent_time_max,omitempty"` // contains filtered or unexported fields }
func (*TimeclockStats) Descriptor
deprecated
added in
v0.8.4
func (*TimeclockStats) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockStats.ProtoReflect.Descriptor instead.
func (*TimeclockStats) GetJob ¶ added in v0.8.4
func (x *TimeclockStats) GetJob() string
func (*TimeclockStats) GetSpentTimeAvg ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeAvg() float32
func (*TimeclockStats) GetSpentTimeMax ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeMax() float32
func (*TimeclockStats) GetSpentTimeSum ¶ added in v0.8.4
func (x *TimeclockStats) GetSpentTimeSum() float32
func (*TimeclockStats) ProtoMessage ¶ added in v0.8.4
func (*TimeclockStats) ProtoMessage()
func (*TimeclockStats) ProtoReflect ¶ added in v0.8.4
func (x *TimeclockStats) ProtoReflect() protoreflect.Message
func (*TimeclockStats) Reset ¶ added in v0.8.4
func (x *TimeclockStats) Reset()
func (*TimeclockStats) String ¶ added in v0.8.4
func (x *TimeclockStats) String() string
func (*TimeclockStats) Validate ¶ added in v0.8.4
func (m *TimeclockStats) Validate() error
Validate checks the field values on TimeclockStats 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 (*TimeclockStats) ValidateAll ¶ added in v0.8.4
func (m *TimeclockStats) ValidateAll() error
ValidateAll checks the field values on TimeclockStats 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 TimeclockStatsMultiError, or nil if none found.
type TimeclockStatsMultiError ¶ added in v0.8.4
type TimeclockStatsMultiError []error
TimeclockStatsMultiError is an error wrapping multiple validation errors returned by TimeclockStats.ValidateAll() if the designated constraints aren't met.
func (TimeclockStatsMultiError) AllErrors ¶ added in v0.8.4
func (m TimeclockStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockStatsMultiError) Error ¶ added in v0.8.4
func (m TimeclockStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockStatsValidationError ¶ added in v0.8.4
type TimeclockStatsValidationError struct {
// contains filtered or unexported fields
}
TimeclockStatsValidationError is the validation error returned by TimeclockStats.Validate if the designated constraints aren't met.
func (TimeclockStatsValidationError) Cause ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Cause() error
Cause function returns cause value.
func (TimeclockStatsValidationError) Error ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockStatsValidationError) ErrorName ¶ added in v0.8.4
func (e TimeclockStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockStatsValidationError) Field ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Field() string
Field function returns field value.
func (TimeclockStatsValidationError) Key ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Key() bool
Key function returns key value.
func (TimeclockStatsValidationError) Reason ¶ added in v0.8.4
func (e TimeclockStatsValidationError) Reason() string
Reason function returns reason value.
type TimeclockWeeklyStats ¶ added in v0.8.19
type TimeclockWeeklyStats struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` CalendarWeek int32 `protobuf:"varint,2,opt,name=calendar_week,json=calendarWeek,proto3" json:"calendar_week,omitempty"` Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` Avg float32 `protobuf:"fixed32,4,opt,name=avg,proto3" json:"avg,omitempty"` Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*TimeclockWeeklyStats) Descriptor
deprecated
added in
v0.8.19
func (*TimeclockWeeklyStats) Descriptor() ([]byte, []int)
Deprecated: Use TimeclockWeeklyStats.ProtoReflect.Descriptor instead.
func (*TimeclockWeeklyStats) GetAvg ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) GetAvg() float32
func (*TimeclockWeeklyStats) GetCalendarWeek ¶ added in v0.8.21
func (x *TimeclockWeeklyStats) GetCalendarWeek() int32
func (*TimeclockWeeklyStats) GetMax ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) GetMax() float32
func (*TimeclockWeeklyStats) GetSum ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) GetSum() float32
func (*TimeclockWeeklyStats) GetYear ¶ added in v0.8.21
func (x *TimeclockWeeklyStats) GetYear() int32
func (*TimeclockWeeklyStats) ProtoMessage ¶ added in v0.8.19
func (*TimeclockWeeklyStats) ProtoMessage()
func (*TimeclockWeeklyStats) ProtoReflect ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) ProtoReflect() protoreflect.Message
func (*TimeclockWeeklyStats) Reset ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) Reset()
func (*TimeclockWeeklyStats) String ¶ added in v0.8.19
func (x *TimeclockWeeklyStats) String() string
func (*TimeclockWeeklyStats) Validate ¶ added in v0.8.19
func (m *TimeclockWeeklyStats) Validate() error
Validate checks the field values on TimeclockWeeklyStats 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 (*TimeclockWeeklyStats) ValidateAll ¶ added in v0.8.19
func (m *TimeclockWeeklyStats) ValidateAll() error
ValidateAll checks the field values on TimeclockWeeklyStats 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 TimeclockWeeklyStatsMultiError, or nil if none found.
type TimeclockWeeklyStatsMultiError ¶ added in v0.8.19
type TimeclockWeeklyStatsMultiError []error
TimeclockWeeklyStatsMultiError is an error wrapping multiple validation errors returned by TimeclockWeeklyStats.ValidateAll() if the designated constraints aren't met.
func (TimeclockWeeklyStatsMultiError) AllErrors ¶ added in v0.8.19
func (m TimeclockWeeklyStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeclockWeeklyStatsMultiError) Error ¶ added in v0.8.19
func (m TimeclockWeeklyStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeclockWeeklyStatsValidationError ¶ added in v0.8.19
type TimeclockWeeklyStatsValidationError struct {
// contains filtered or unexported fields
}
TimeclockWeeklyStatsValidationError is the validation error returned by TimeclockWeeklyStats.Validate if the designated constraints aren't met.
func (TimeclockWeeklyStatsValidationError) Cause ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) Cause() error
Cause function returns cause value.
func (TimeclockWeeklyStatsValidationError) Error ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeclockWeeklyStatsValidationError) ErrorName ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeclockWeeklyStatsValidationError) Field ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) Field() string
Field function returns field value.
func (TimeclockWeeklyStatsValidationError) Key ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) Key() bool
Key function returns key value.
func (TimeclockWeeklyStatsValidationError) Reason ¶ added in v0.8.19
func (e TimeclockWeeklyStatsValidationError) Reason() string
Reason function returns reason value.