jobs

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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",
		6: "JOBS_USER_ACTIVITY_TYPE_NOTE",
	}
	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,
		"JOBS_USER_ACTIVITY_TYPE_NOTE":         6,
	}
)

Enum value maps for JobsUserActivityType.

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

View Source
var (
	TimeclockMode_name = map[int32]string{
		0: "TIMECLOCK_MODE_UNSPECIFIED",
		1: "TIMECLOCK_MODE_DAILY",
		2: "TIMECLOCK_MODE_WEEKLY",
		3: "TIMECLOCK_MODE_RANGE",
	}
	TimeclockMode_value = map[string]int32{
		"TIMECLOCK_MODE_UNSPECIFIED": 0,
		"TIMECLOCK_MODE_DAILY":       1,
		"TIMECLOCK_MODE_WEEKLY":      2,
		"TIMECLOCK_MODE_RANGE":       3,
	}
)

Enum value maps for TimeclockMode.

View Source
var (
	TimeclockUserMode_name = map[int32]string{
		0: "TIMECLOCK_USER_MODE_UNSPECIFIED",
		1: "TIMECLOCK_USER_MODE_SELF",
		2: "TIMECLOCK_USER_MODE_ALL",
	}
	TimeclockUserMode_value = map[string]int32{
		"TIMECLOCK_USER_MODE_UNSPECIFIED": 0,
		"TIMECLOCK_USER_MODE_SELF":        1,
		"TIMECLOCK_USER_MODE_ALL":         2,
	}
)

Enum value maps for TimeclockUserMode.

View Source
var File_resources_jobs_colleagues_proto protoreflect.FileDescriptor
View Source
var File_resources_jobs_conduct_proto protoreflect.FileDescriptor
View Source
var File_resources_jobs_timeclock_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Colleague

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,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"`
	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

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

Deprecated: Use Colleague.ProtoReflect.Descriptor instead.

func (*Colleague) GetAvatar

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

func (*Colleague) GetDateofbirth

func (x *Colleague) GetDateofbirth() string

func (*Colleague) GetFirstname

func (x *Colleague) GetFirstname() string

func (*Colleague) GetIdentifier

func (x *Colleague) GetIdentifier() string

func (*Colleague) GetJob

func (x *Colleague) GetJob() string

func (*Colleague) GetJobGrade

func (x *Colleague) GetJobGrade() int32

func (*Colleague) GetJobGradeLabel

func (x *Colleague) GetJobGradeLabel() string

func (*Colleague) GetJobLabel

func (x *Colleague) GetJobLabel() string

func (*Colleague) GetLastname

func (x *Colleague) GetLastname() string

func (*Colleague) GetPhoneNumber

func (x *Colleague) GetPhoneNumber() string

func (*Colleague) GetProps

func (x *Colleague) GetProps() *JobsUserProps

func (*Colleague) GetUserId

func (x *Colleague) GetUserId() int32

func (*Colleague) ProtoMessage

func (*Colleague) ProtoMessage()

func (*Colleague) ProtoReflect

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

func (*Colleague) Reset

func (x *Colleague) Reset()

func (*Colleague) SetJob

func (x *Colleague) SetJob(job string)

func (*Colleague) SetJobGrade

func (x *Colleague) SetJobGrade(grade int32)

func (*Colleague) SetJobGradeLabel

func (x *Colleague) SetJobGradeLabel(label string)

func (*Colleague) SetJobLabel

func (x *Colleague) SetJobLabel(label string)

func (*Colleague) String

func (x *Colleague) String() string

func (*Colleague) Validate

func (m *Colleague) Validate() error

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

func (m *Colleague) ValidateAll() error

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

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

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

Deprecated: Use ColleagueAbsenceDate.ProtoReflect.Descriptor instead.

func (*ColleagueAbsenceDate) GetAbsenceBegin

func (x *ColleagueAbsenceDate) GetAbsenceBegin() *timestamp.Timestamp

func (*ColleagueAbsenceDate) GetAbsenceEnd

func (x *ColleagueAbsenceDate) GetAbsenceEnd() *timestamp.Timestamp

func (*ColleagueAbsenceDate) ProtoMessage

func (*ColleagueAbsenceDate) ProtoMessage()

func (*ColleagueAbsenceDate) ProtoReflect

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

func (*ColleagueAbsenceDate) Reset

func (x *ColleagueAbsenceDate) Reset()

func (*ColleagueAbsenceDate) String

func (x *ColleagueAbsenceDate) String() string

func (*ColleagueAbsenceDate) Validate

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

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

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

func (m ColleagueAbsenceDateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ColleagueAbsenceDateMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ColleagueAbsenceDateValidationError

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

Cause function returns cause value.

func (ColleagueAbsenceDateValidationError) Error

Error satisfies the builtin error interface

func (ColleagueAbsenceDateValidationError) ErrorName

ErrorName returns error name.

func (ColleagueAbsenceDateValidationError) Field

Field function returns field value.

func (ColleagueAbsenceDateValidationError) Key

Key function returns key value.

func (ColleagueAbsenceDateValidationError) Reason

Reason function returns reason value.

type ColleagueGradeChange

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

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

Deprecated: Use ColleagueGradeChange.ProtoReflect.Descriptor instead.

func (*ColleagueGradeChange) GetGrade

func (x *ColleagueGradeChange) GetGrade() int32

func (*ColleagueGradeChange) GetGradeLabel

func (x *ColleagueGradeChange) GetGradeLabel() string

func (*ColleagueGradeChange) ProtoMessage

func (*ColleagueGradeChange) ProtoMessage()

func (*ColleagueGradeChange) ProtoReflect

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

func (*ColleagueGradeChange) Reset

func (x *ColleagueGradeChange) Reset()

func (*ColleagueGradeChange) String

func (x *ColleagueGradeChange) String() string

func (*ColleagueGradeChange) Validate

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

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

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

func (m ColleagueGradeChangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ColleagueGradeChangeMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ColleagueGradeChangeValidationError

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

Cause function returns cause value.

func (ColleagueGradeChangeValidationError) Error

Error satisfies the builtin error interface

func (ColleagueGradeChangeValidationError) ErrorName

ErrorName returns error name.

func (ColleagueGradeChangeValidationError) Field

Field function returns field value.

func (ColleagueGradeChangeValidationError) Key

Key function returns key value.

func (ColleagueGradeChangeValidationError) Reason

Reason function returns reason value.

type ColleagueMultiError

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

func (m ColleagueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ColleagueMultiError) Error

func (m ColleagueMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ColleagueValidationError

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

func (e ColleagueValidationError) Cause() error

Cause function returns cause value.

func (ColleagueValidationError) Error

func (e ColleagueValidationError) Error() string

Error satisfies the builtin error interface

func (ColleagueValidationError) ErrorName

func (e ColleagueValidationError) ErrorName() string

ErrorName returns error name.

func (ColleagueValidationError) Field

func (e ColleagueValidationError) Field() string

Field function returns field value.

func (ColleagueValidationError) Key

Key function returns key value.

func (ColleagueValidationError) Reason

func (e ColleagueValidationError) Reason() string

Reason function returns reason value.

type ConductEntry

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

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

Deprecated: Use ConductEntry.ProtoReflect.Descriptor instead.

func (*ConductEntry) GetCreatedAt

func (x *ConductEntry) GetCreatedAt() *timestamp.Timestamp

func (*ConductEntry) GetCreator

func (x *ConductEntry) GetCreator() *Colleague

func (*ConductEntry) GetCreatorId

func (x *ConductEntry) GetCreatorId() int32

func (*ConductEntry) GetExpiresAt

func (x *ConductEntry) GetExpiresAt() *timestamp.Timestamp

func (*ConductEntry) GetId

func (x *ConductEntry) GetId() uint64

func (*ConductEntry) GetJob

func (x *ConductEntry) GetJob() string

func (*ConductEntry) GetMessage

func (x *ConductEntry) GetMessage() string

func (*ConductEntry) GetTargetUser

func (x *ConductEntry) GetTargetUser() *Colleague

func (*ConductEntry) GetTargetUserId

func (x *ConductEntry) GetTargetUserId() int32

func (*ConductEntry) GetType

func (x *ConductEntry) GetType() ConductType

func (*ConductEntry) GetUpdatedAt

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

func (*ConductEntry) ProtoMessage

func (*ConductEntry) ProtoMessage()

func (*ConductEntry) ProtoReflect

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

func (*ConductEntry) Reset

func (x *ConductEntry) Reset()

func (*ConductEntry) Sanitize

func (m *ConductEntry) Sanitize() error

func (*ConductEntry) String

func (x *ConductEntry) String() string

func (*ConductEntry) Validate

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

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

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

func (m ConductEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConductEntryMultiError) Error

func (m ConductEntryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConductEntryValidationError

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

Cause function returns cause value.

func (ConductEntryValidationError) Error

Error satisfies the builtin error interface

func (ConductEntryValidationError) ErrorName

func (e ConductEntryValidationError) ErrorName() string

ErrorName returns error name.

func (ConductEntryValidationError) Field

Field function returns field value.

func (ConductEntryValidationError) Key

Key function returns key value.

func (ConductEntryValidationError) Reason

Reason function returns reason value.

type ConductType

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

func (ConductType) Enum

func (x ConductType) Enum() *ConductType

func (ConductType) EnumDescriptor deprecated

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

Deprecated: Use ConductType.Descriptor instead.

func (ConductType) Number

func (x ConductType) Number() protoreflect.EnumNumber

func (ConductType) String

func (x ConductType) String() string

func (ConductType) Type

type JobsUserActivity

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

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

Deprecated: Use JobsUserActivity.ProtoReflect.Descriptor instead.

func (*JobsUserActivity) GetActivityType

func (x *JobsUserActivity) GetActivityType() JobsUserActivityType

func (*JobsUserActivity) GetCreatedAt

func (x *JobsUserActivity) GetCreatedAt() *timestamp.Timestamp

func (*JobsUserActivity) GetData

func (x *JobsUserActivity) GetData() *JobsUserActivityData

func (*JobsUserActivity) GetId

func (x *JobsUserActivity) GetId() uint64

func (*JobsUserActivity) GetJob

func (x *JobsUserActivity) GetJob() string

func (*JobsUserActivity) GetReason

func (x *JobsUserActivity) GetReason() string

func (*JobsUserActivity) GetSourceUser

func (x *JobsUserActivity) GetSourceUser() *Colleague

func (*JobsUserActivity) GetSourceUserId

func (x *JobsUserActivity) GetSourceUserId() int32

func (*JobsUserActivity) GetTargetUser

func (x *JobsUserActivity) GetTargetUser() *Colleague

func (*JobsUserActivity) GetTargetUserId

func (x *JobsUserActivity) GetTargetUserId() int32

func (*JobsUserActivity) ProtoMessage

func (*JobsUserActivity) ProtoMessage()

func (*JobsUserActivity) ProtoReflect

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

func (*JobsUserActivity) Reset

func (x *JobsUserActivity) Reset()

func (*JobsUserActivity) Sanitize

func (m *JobsUserActivity) Sanitize() error

func (*JobsUserActivity) String

func (x *JobsUserActivity) String() string

func (*JobsUserActivity) Validate

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

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

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

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

Deprecated: Use JobsUserActivityData.ProtoReflect.Descriptor instead.

func (*JobsUserActivityData) GetAbsenceDate

func (x *JobsUserActivityData) GetAbsenceDate() *ColleagueAbsenceDate

func (*JobsUserActivityData) GetData

func (m *JobsUserActivityData) GetData() isJobsUserActivityData_Data

func (*JobsUserActivityData) GetGradeChange

func (x *JobsUserActivityData) GetGradeChange() *ColleagueGradeChange

func (*JobsUserActivityData) ProtoMessage

func (*JobsUserActivityData) ProtoMessage()

func (*JobsUserActivityData) ProtoReflect

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

func (*JobsUserActivityData) Reset

func (x *JobsUserActivityData) Reset()

func (*JobsUserActivityData) Scan

func (x *JobsUserActivityData) Scan(value any) error

Scan implements driver.Valuer for protobuf JobsUserActivityData.

func (*JobsUserActivityData) String

func (x *JobsUserActivityData) String() string

func (*JobsUserActivityData) Validate

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

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.

func (*JobsUserActivityData) Value

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

Value marshals the value into driver.Valuer.

type JobsUserActivityDataMultiError

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

func (m JobsUserActivityDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobsUserActivityDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type JobsUserActivityDataValidationError

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

Cause function returns cause value.

func (JobsUserActivityDataValidationError) Error

Error satisfies the builtin error interface

func (JobsUserActivityDataValidationError) ErrorName

ErrorName returns error name.

func (JobsUserActivityDataValidationError) Field

Field function returns field value.

func (JobsUserActivityDataValidationError) Key

Key function returns key value.

func (JobsUserActivityDataValidationError) Reason

Reason function returns reason value.

type JobsUserActivityData_AbsenceDate

type JobsUserActivityData_AbsenceDate struct {
	AbsenceDate *ColleagueAbsenceDate `protobuf:"bytes,1,opt,name=absence_date,json=absenceDate,proto3,oneof"`
}

type JobsUserActivityData_GradeChange

type JobsUserActivityData_GradeChange struct {
	GradeChange *ColleagueGradeChange `protobuf:"bytes,2,opt,name=grade_change,json=gradeChange,proto3,oneof"`
}

type JobsUserActivityMultiError

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

func (m JobsUserActivityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobsUserActivityMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type JobsUserActivityType

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
	JobsUserActivityType_JOBS_USER_ACTIVITY_TYPE_NOTE         JobsUserActivityType = 6
)

func (JobsUserActivityType) Descriptor

func (JobsUserActivityType) Enum

func (JobsUserActivityType) EnumDescriptor deprecated

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

Deprecated: Use JobsUserActivityType.Descriptor instead.

func (JobsUserActivityType) Number

func (JobsUserActivityType) String

func (x JobsUserActivityType) String() string

func (JobsUserActivityType) Type

type JobsUserActivityValidationError

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

Cause function returns cause value.

func (JobsUserActivityValidationError) Error

Error satisfies the builtin error interface

func (JobsUserActivityValidationError) ErrorName

ErrorName returns error name.

func (JobsUserActivityValidationError) Field

Field function returns field value.

func (JobsUserActivityValidationError) Key

Key function returns key value.

func (JobsUserActivityValidationError) Reason

Reason function returns reason value.

type JobsUserProps

type JobsUserProps struct {
	UserId       int32                `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Job          string               `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	AbsenceBegin *timestamp.Timestamp `protobuf:"bytes,3,opt,name=absence_begin,json=absenceBegin,proto3,oneof" json:"absence_begin,omitempty"`
	AbsenceEnd   *timestamp.Timestamp `protobuf:"bytes,4,opt,name=absence_end,json=absenceEnd,proto3,oneof" json:"absence_end,omitempty"`
	// @sanitize: method=StripTags
	Note *string `protobuf:"bytes,5,opt,name=note,proto3,oneof" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*JobsUserProps) Descriptor deprecated

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

Deprecated: Use JobsUserProps.ProtoReflect.Descriptor instead.

func (*JobsUserProps) GetAbsenceBegin

func (x *JobsUserProps) GetAbsenceBegin() *timestamp.Timestamp

func (*JobsUserProps) GetAbsenceEnd

func (x *JobsUserProps) GetAbsenceEnd() *timestamp.Timestamp

func (*JobsUserProps) GetJob

func (x *JobsUserProps) GetJob() string

func (*JobsUserProps) GetNote

func (x *JobsUserProps) GetNote() string

func (*JobsUserProps) GetUserId

func (x *JobsUserProps) GetUserId() int32

func (*JobsUserProps) ProtoMessage

func (*JobsUserProps) ProtoMessage()

func (*JobsUserProps) ProtoReflect

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

func (*JobsUserProps) Reset

func (x *JobsUserProps) Reset()

func (*JobsUserProps) Sanitize

func (m *JobsUserProps) Sanitize() error

func (*JobsUserProps) String

func (x *JobsUserProps) String() string

func (*JobsUserProps) Validate

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

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

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

func (m JobsUserPropsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobsUserPropsMultiError) Error

func (m JobsUserPropsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JobsUserPropsValidationError

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

Cause function returns cause value.

func (JobsUserPropsValidationError) Error

Error satisfies the builtin error interface

func (JobsUserPropsValidationError) ErrorName

func (e JobsUserPropsValidationError) ErrorName() string

ErrorName returns error name.

func (JobsUserPropsValidationError) Field

Field function returns field value.

func (JobsUserPropsValidationError) Key

Key function returns key value.

func (JobsUserPropsValidationError) Reason

Reason function returns reason value.

type TimeclockEntry

type TimeclockEntry struct {
	UserId    int32                `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" sql:"primary_key"` // @gotags: sql:"primary_key"
	Date      *timestamp.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty" sql:"primary_key"`                    // @gotags: sql:"primary_key"
	User      *Colleague           `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
	StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	EndTime   *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`
	SpentTime float32              `protobuf:"fixed32,6,opt,name=spent_time,json=spentTime,proto3" json:"spent_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeclockEntry) Descriptor deprecated

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

Deprecated: Use TimeclockEntry.ProtoReflect.Descriptor instead.

func (*TimeclockEntry) GetDate

func (x *TimeclockEntry) GetDate() *timestamp.Timestamp

func (*TimeclockEntry) GetEndTime

func (x *TimeclockEntry) GetEndTime() *timestamp.Timestamp

func (*TimeclockEntry) GetSpentTime

func (x *TimeclockEntry) GetSpentTime() float32

func (*TimeclockEntry) GetStartTime

func (x *TimeclockEntry) GetStartTime() *timestamp.Timestamp

func (*TimeclockEntry) GetUser

func (x *TimeclockEntry) GetUser() *Colleague

func (*TimeclockEntry) GetUserId

func (x *TimeclockEntry) GetUserId() int32

func (*TimeclockEntry) ProtoMessage

func (*TimeclockEntry) ProtoMessage()

func (*TimeclockEntry) ProtoReflect

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

func (*TimeclockEntry) Reset

func (x *TimeclockEntry) Reset()

func (*TimeclockEntry) String

func (x *TimeclockEntry) String() string

func (*TimeclockEntry) Validate

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

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

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

func (m TimeclockEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockEntryMultiError) Error

func (m TimeclockEntryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TimeclockEntryValidationError

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

Cause function returns cause value.

func (TimeclockEntryValidationError) Error

Error satisfies the builtin error interface

func (TimeclockEntryValidationError) ErrorName

func (e TimeclockEntryValidationError) ErrorName() string

ErrorName returns error name.

func (TimeclockEntryValidationError) Field

Field function returns field value.

func (TimeclockEntryValidationError) Key

Key function returns key value.

func (TimeclockEntryValidationError) Reason

Reason function returns reason value.

type TimeclockMode added in v0.9.3

type TimeclockMode int32
const (
	TimeclockMode_TIMECLOCK_MODE_UNSPECIFIED TimeclockMode = 0
	TimeclockMode_TIMECLOCK_MODE_DAILY       TimeclockMode = 1
	TimeclockMode_TIMECLOCK_MODE_WEEKLY      TimeclockMode = 2
	TimeclockMode_TIMECLOCK_MODE_RANGE       TimeclockMode = 3
)

func (TimeclockMode) Descriptor added in v0.9.3

func (TimeclockMode) Enum added in v0.9.3

func (x TimeclockMode) Enum() *TimeclockMode

func (TimeclockMode) EnumDescriptor deprecated added in v0.9.3

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

Deprecated: Use TimeclockMode.Descriptor instead.

func (TimeclockMode) Number added in v0.9.3

func (TimeclockMode) String added in v0.9.3

func (x TimeclockMode) String() string

func (TimeclockMode) Type added in v0.9.3

type TimeclockStats

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

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

Deprecated: Use TimeclockStats.ProtoReflect.Descriptor instead.

func (*TimeclockStats) GetJob

func (x *TimeclockStats) GetJob() string

func (*TimeclockStats) GetSpentTimeAvg

func (x *TimeclockStats) GetSpentTimeAvg() float32

func (*TimeclockStats) GetSpentTimeMax

func (x *TimeclockStats) GetSpentTimeMax() float32

func (*TimeclockStats) GetSpentTimeSum

func (x *TimeclockStats) GetSpentTimeSum() float32

func (*TimeclockStats) ProtoMessage

func (*TimeclockStats) ProtoMessage()

func (*TimeclockStats) ProtoReflect

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

func (*TimeclockStats) Reset

func (x *TimeclockStats) Reset()

func (*TimeclockStats) String

func (x *TimeclockStats) String() string

func (*TimeclockStats) Validate

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

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

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

func (m TimeclockStatsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockStatsMultiError) Error

func (m TimeclockStatsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TimeclockStatsValidationError

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

Cause function returns cause value.

func (TimeclockStatsValidationError) Error

Error satisfies the builtin error interface

func (TimeclockStatsValidationError) ErrorName

func (e TimeclockStatsValidationError) ErrorName() string

ErrorName returns error name.

func (TimeclockStatsValidationError) Field

Field function returns field value.

func (TimeclockStatsValidationError) Key

Key function returns key value.

func (TimeclockStatsValidationError) Reason

Reason function returns reason value.

type TimeclockUserMode added in v0.9.3

type TimeclockUserMode int32
const (
	TimeclockUserMode_TIMECLOCK_USER_MODE_UNSPECIFIED TimeclockUserMode = 0
	TimeclockUserMode_TIMECLOCK_USER_MODE_SELF        TimeclockUserMode = 1
	TimeclockUserMode_TIMECLOCK_USER_MODE_ALL         TimeclockUserMode = 2
)

func (TimeclockUserMode) Descriptor added in v0.9.3

func (TimeclockUserMode) Enum added in v0.9.3

func (TimeclockUserMode) EnumDescriptor deprecated added in v0.9.3

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

Deprecated: Use TimeclockUserMode.Descriptor instead.

func (TimeclockUserMode) Number added in v0.9.3

func (TimeclockUserMode) String added in v0.9.3

func (x TimeclockUserMode) String() string

func (TimeclockUserMode) Type added in v0.9.3

type TimeclockWeeklyStats

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

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

Deprecated: Use TimeclockWeeklyStats.ProtoReflect.Descriptor instead.

func (*TimeclockWeeklyStats) GetAvg

func (x *TimeclockWeeklyStats) GetAvg() float32

func (*TimeclockWeeklyStats) GetCalendarWeek

func (x *TimeclockWeeklyStats) GetCalendarWeek() int32

func (*TimeclockWeeklyStats) GetMax

func (x *TimeclockWeeklyStats) GetMax() float32

func (*TimeclockWeeklyStats) GetSum

func (x *TimeclockWeeklyStats) GetSum() float32

func (*TimeclockWeeklyStats) GetYear

func (x *TimeclockWeeklyStats) GetYear() int32

func (*TimeclockWeeklyStats) ProtoMessage

func (*TimeclockWeeklyStats) ProtoMessage()

func (*TimeclockWeeklyStats) ProtoReflect

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

func (*TimeclockWeeklyStats) Reset

func (x *TimeclockWeeklyStats) Reset()

func (*TimeclockWeeklyStats) String

func (x *TimeclockWeeklyStats) String() string

func (*TimeclockWeeklyStats) Validate

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

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

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

func (m TimeclockWeeklyStatsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeclockWeeklyStatsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TimeclockWeeklyStatsValidationError

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

Cause function returns cause value.

func (TimeclockWeeklyStatsValidationError) Error

Error satisfies the builtin error interface

func (TimeclockWeeklyStatsValidationError) ErrorName

ErrorName returns error name.

func (TimeclockWeeklyStatsValidationError) Field

Field function returns field value.

func (TimeclockWeeklyStatsValidationError) Key

Key function returns key value.

func (TimeclockWeeklyStatsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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