Documentation
¶
Index ¶
- Constants
- Variables
- type StatusUnit
- type Unit
- func (x *Unit) ClearAccess()
- func (x *Unit) ClearAttributes()
- func (x *Unit) ClearCreatedAt()
- func (x *Unit) ClearDescription()
- func (x *Unit) ClearHomePostal()
- func (x *Unit) ClearIcon()
- func (x *Unit) ClearJobLabel()
- func (x *Unit) ClearStatus()
- func (x *Unit) ClearUpdatedAt()
- func (x *Unit) GetAccess() *access.UnitAccess
- func (x *Unit) GetAttributes() *UnitAttributes
- func (x *Unit) GetColor() string
- func (x *Unit) GetCreatedAt() *timestamp.Timestamp
- func (x *Unit) GetDescription() string
- func (x *Unit) GetHomePostal() string
- func (x *Unit) GetIcon() string
- func (x *Unit) GetId() int64
- func (x *Unit) GetInitials() string
- func (x *Unit) GetJob() string
- func (x *Unit) GetJobLabel() string
- func (x *Unit) GetName() string
- func (x *Unit) GetStatus() *UnitStatus
- func (x *Unit) GetUpdatedAt() *timestamp.Timestamp
- func (x *Unit) GetUsers() []*UnitAssignment
- func (x *Unit) HasAccess() bool
- func (x *Unit) HasAttributes() bool
- func (x *Unit) HasCreatedAt() bool
- func (x *Unit) HasDescription() bool
- func (x *Unit) HasHomePostal() bool
- func (x *Unit) HasIcon() bool
- func (x *Unit) HasJobLabel() bool
- func (x *Unit) HasStatus() bool
- func (x *Unit) HasUpdatedAt() bool
- func (x *Unit) Merge(in *Unit) *Unit
- func (*Unit) ProtoMessage()
- func (x *Unit) ProtoReflect() protoreflect.Message
- func (x *Unit) Reset()
- func (m *Unit) Sanitize() error
- func (x *Unit) SetAccess(v *access.UnitAccess)
- func (x *Unit) SetAttributes(v *UnitAttributes)
- func (x *Unit) SetColor(v string)
- func (x *Unit) SetCreatedAt(v *timestamp.Timestamp)
- func (x *Unit) SetDescription(v string)
- func (x *Unit) SetHomePostal(v string)
- func (x *Unit) SetIcon(v string)
- func (x *Unit) SetId(v int64)
- func (x *Unit) SetInitials(v string)
- func (x *Unit) SetJob(v string)
- func (x *Unit) SetJobLabel(v string)
- func (x *Unit) SetName(v string)
- func (x *Unit) SetStatus(v *UnitStatus)
- func (x *Unit) SetUpdatedAt(v *timestamp.Timestamp)
- func (x *Unit) SetUsers(v []*UnitAssignment)
- func (x *Unit) String() string
- type UnitAssignment
- func (x *UnitAssignment) ClearUser()
- func (x *UnitAssignment) GetUnitId() int64
- func (x *UnitAssignment) GetUser() *colleagues.Colleague
- func (x *UnitAssignment) GetUserId() int32
- func (x *UnitAssignment) HasUser() bool
- func (*UnitAssignment) ProtoMessage()
- func (x *UnitAssignment) ProtoReflect() protoreflect.Message
- func (x *UnitAssignment) Reset()
- func (m *UnitAssignment) Sanitize() error
- func (x *UnitAssignment) SetUnitId(v int64)
- func (x *UnitAssignment) SetUser(v *colleagues.Colleague)
- func (x *UnitAssignment) SetUserId(v int32)
- func (x *UnitAssignment) String() string
- type UnitAssignment_builder
- type UnitAssignments
- func (x *UnitAssignments) GetJob() string
- func (x *UnitAssignments) GetUnitId() int64
- func (x *UnitAssignments) GetUsers() []*UnitAssignment
- func (*UnitAssignments) ProtoMessage()
- func (x *UnitAssignments) ProtoReflect() protoreflect.Message
- func (x *UnitAssignments) Reset()
- func (m *UnitAssignments) Sanitize() error
- func (x *UnitAssignments) SetJob(v string)
- func (x *UnitAssignments) SetUnitId(v int64)
- func (x *UnitAssignments) SetUsers(v []*UnitAssignment)
- func (x *UnitAssignments) String() string
- type UnitAssignments_builder
- type UnitAttribute
- type UnitAttributes
- func (x *UnitAttributes) Add(attribute UnitAttribute) bool
- func (x *UnitAttributes) GetList() []UnitAttribute
- func (x *UnitAttributes) Has(attribute UnitAttribute) bool
- func (*UnitAttributes) ProtoMessage()
- func (x *UnitAttributes) ProtoReflect() protoreflect.Message
- func (x *UnitAttributes) Remove(attribute UnitAttribute) bool
- func (x *UnitAttributes) Reset()
- func (m *UnitAttributes) Sanitize() error
- func (x *UnitAttributes) Scan(value any) error
- func (x *UnitAttributes) SetList(v []UnitAttribute)
- func (x *UnitAttributes) String() string
- func (x *UnitAttributes) Value() (driver.Value, error)
- type UnitAttributes_builder
- type UnitStatus
- func (x *UnitStatus) ClearCode()
- func (x *UnitStatus) ClearCreatedAt()
- func (x *UnitStatus) ClearCreator()
- func (x *UnitStatus) ClearCreatorId()
- func (x *UnitStatus) ClearCreatorJob()
- func (x *UnitStatus) ClearPostal()
- func (x *UnitStatus) ClearReason()
- func (x *UnitStatus) ClearUnit()
- func (x *UnitStatus) ClearUser()
- func (x *UnitStatus) ClearUserId()
- func (x *UnitStatus) ClearX()
- func (x *UnitStatus) ClearY()
- func (x *UnitStatus) GetCode() string
- func (x *UnitStatus) GetCreatedAt() *timestamp.Timestamp
- func (x *UnitStatus) GetCreator() *colleagues.Colleague
- func (x *UnitStatus) GetCreatorId() int32
- func (x *UnitStatus) GetCreatorJob() string
- func (x *UnitStatus) GetId() int64
- func (x *UnitStatus) GetPostal() string
- func (x *UnitStatus) GetReason() string
- func (x *UnitStatus) GetStatus() StatusUnit
- func (x *UnitStatus) GetUnit() *Unit
- func (x *UnitStatus) GetUnitId() int64
- func (x *UnitStatus) GetUser() *colleagues.Colleague
- func (x *UnitStatus) GetUserId() int32
- func (x *UnitStatus) GetX() float64
- func (x *UnitStatus) GetY() float64
- func (x *UnitStatus) HasCode() bool
- func (x *UnitStatus) HasCreatedAt() bool
- func (x *UnitStatus) HasCreator() bool
- func (x *UnitStatus) HasCreatorId() bool
- func (x *UnitStatus) HasCreatorJob() bool
- func (x *UnitStatus) HasPostal() bool
- func (x *UnitStatus) HasReason() bool
- func (x *UnitStatus) HasUnit() bool
- func (x *UnitStatus) HasUser() bool
- func (x *UnitStatus) HasUserId() bool
- func (x *UnitStatus) HasX() bool
- func (x *UnitStatus) HasY() bool
- func (x *UnitStatus) Point() orb.Point
- func (*UnitStatus) ProtoMessage()
- func (x *UnitStatus) ProtoReflect() protoreflect.Message
- func (x *UnitStatus) Reset()
- func (m *UnitStatus) Sanitize() error
- func (x *UnitStatus) SetCode(v string)
- func (x *UnitStatus) SetCreatedAt(v *timestamp.Timestamp)
- func (x *UnitStatus) SetCreator(v *colleagues.Colleague)
- func (x *UnitStatus) SetCreatorId(v int32)
- func (x *UnitStatus) SetCreatorJob(v string)
- func (x *UnitStatus) SetId(v int64)
- func (x *UnitStatus) SetPostal(v string)
- func (x *UnitStatus) SetReason(v string)
- func (x *UnitStatus) SetStatus(v StatusUnit)
- func (x *UnitStatus) SetUnit(v *Unit)
- func (x *UnitStatus) SetUnitId(v int64)
- func (x *UnitStatus) SetUser(v *colleagues.Colleague)
- func (x *UnitStatus) SetUserId(v int32)
- func (x *UnitStatus) SetX(v float64)
- func (x *UnitStatus) SetY(v float64)
- func (x *UnitStatus) String() string
- type UnitStatus_builder
- type Unit_builder
Constants ¶
const DefaultUnitIcon = "MapMarkerIcon"
Variables ¶
var ( StatusUnit_name = map[int32]string{ 0: "STATUS_UNIT_UNSPECIFIED", 1: "STATUS_UNIT_UNKNOWN", 2: "STATUS_UNIT_USER_ADDED", 3: "STATUS_UNIT_USER_REMOVED", 4: "STATUS_UNIT_UNAVAILABLE", 5: "STATUS_UNIT_AVAILABLE", 6: "STATUS_UNIT_ON_BREAK", 7: "STATUS_UNIT_BUSY", } StatusUnit_value = map[string]int32{ "STATUS_UNIT_UNSPECIFIED": 0, "STATUS_UNIT_UNKNOWN": 1, "STATUS_UNIT_USER_ADDED": 2, "STATUS_UNIT_USER_REMOVED": 3, "STATUS_UNIT_UNAVAILABLE": 4, "STATUS_UNIT_AVAILABLE": 5, "STATUS_UNIT_ON_BREAK": 6, "STATUS_UNIT_BUSY": 7, } )
Enum value maps for StatusUnit.
var ( UnitAttribute_name = map[int32]string{ 0: "UNIT_ATTRIBUTE_UNSPECIFIED", 1: "UNIT_ATTRIBUTE_STATIC", 2: "UNIT_ATTRIBUTE_NO_DISPATCH_AUTO_ASSIGN", } UnitAttribute_value = map[string]int32{ "UNIT_ATTRIBUTE_UNSPECIFIED": 0, "UNIT_ATTRIBUTE_STATIC": 1, "UNIT_ATTRIBUTE_NO_DISPATCH_AUTO_ASSIGN": 2, } )
Enum value maps for UnitAttribute.
var File_resources_centrum_units_units_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StatusUnit ¶
type StatusUnit int32
const ( StatusUnit_STATUS_UNIT_UNSPECIFIED StatusUnit = 0 StatusUnit_STATUS_UNIT_UNKNOWN StatusUnit = 1 StatusUnit_STATUS_UNIT_USER_ADDED StatusUnit = 2 StatusUnit_STATUS_UNIT_USER_REMOVED StatusUnit = 3 StatusUnit_STATUS_UNIT_UNAVAILABLE StatusUnit = 4 StatusUnit_STATUS_UNIT_AVAILABLE StatusUnit = 5 StatusUnit_STATUS_UNIT_ON_BREAK StatusUnit = 6 StatusUnit_STATUS_UNIT_BUSY StatusUnit = 7 )
func (StatusUnit) Descriptor ¶
func (StatusUnit) Descriptor() protoreflect.EnumDescriptor
func (StatusUnit) Enum ¶
func (x StatusUnit) Enum() *StatusUnit
func (StatusUnit) Number ¶
func (x StatusUnit) Number() protoreflect.EnumNumber
func (StatusUnit) String ¶
func (x StatusUnit) String() string
func (StatusUnit) Type ¶
func (StatusUnit) Type() protoreflect.EnumType
type Unit ¶
type Unit struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id" sql:"primary_key"`
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"`
JobLabel *string `protobuf:"bytes,15,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
Initials string `protobuf:"bytes,6,opt,name=initials,proto3" json:"initials,omitempty"`
Color string `protobuf:"bytes,7,opt,name=color,proto3" json:"color,omitempty"`
Icon *string `protobuf:"bytes,16,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
Description *string `protobuf:"bytes,8,opt,name=description,proto3,oneof" json:"description,omitempty"`
Status *UnitStatus `protobuf:"bytes,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
Users []*UnitAssignment `protobuf:"bytes,11,rep,name=users,proto3" json:"users,omitempty"`
Attributes *UnitAttributes `protobuf:"bytes,12,opt,name=attributes,proto3,oneof" json:"attributes,omitempty"`
HomePostal *string `protobuf:"bytes,13,opt,name=home_postal,json=homePostal,proto3,oneof" json:"home_postal,omitempty"`
Access *access.UnitAccess `protobuf:"bytes,14,opt,name=access,proto3" json:"access,omitempty"`
// contains filtered or unexported fields
}
func (*Unit) ClearAccess ¶
func (x *Unit) ClearAccess()
func (*Unit) ClearAttributes ¶
func (x *Unit) ClearAttributes()
func (*Unit) ClearCreatedAt ¶
func (x *Unit) ClearCreatedAt()
func (*Unit) ClearDescription ¶
func (x *Unit) ClearDescription()
func (*Unit) ClearHomePostal ¶
func (x *Unit) ClearHomePostal()
func (*Unit) ClearJobLabel ¶
func (x *Unit) ClearJobLabel()
func (*Unit) ClearStatus ¶
func (x *Unit) ClearStatus()
func (*Unit) ClearUpdatedAt ¶
func (x *Unit) ClearUpdatedAt()
func (*Unit) GetAccess ¶
func (x *Unit) GetAccess() *access.UnitAccess
func (*Unit) GetAttributes ¶
func (x *Unit) GetAttributes() *UnitAttributes
func (*Unit) GetCreatedAt ¶
func (*Unit) GetDescription ¶
func (*Unit) GetHomePostal ¶
func (*Unit) GetInitials ¶
func (*Unit) GetJobLabel ¶
func (*Unit) GetStatus ¶
func (x *Unit) GetStatus() *UnitStatus
func (*Unit) GetUpdatedAt ¶
func (*Unit) GetUsers ¶
func (x *Unit) GetUsers() []*UnitAssignment
func (*Unit) HasAttributes ¶
func (*Unit) HasCreatedAt ¶
func (*Unit) HasDescription ¶
func (*Unit) HasHomePostal ¶
func (*Unit) HasJobLabel ¶
func (*Unit) HasUpdatedAt ¶
func (*Unit) ProtoMessage ¶
func (*Unit) ProtoMessage()
func (*Unit) ProtoReflect ¶
func (x *Unit) ProtoReflect() protoreflect.Message
func (*Unit) Sanitize ¶
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*Unit) SetAccess ¶
func (x *Unit) SetAccess(v *access.UnitAccess)
func (*Unit) SetAttributes ¶
func (x *Unit) SetAttributes(v *UnitAttributes)
func (*Unit) SetCreatedAt ¶
func (*Unit) SetDescription ¶
func (*Unit) SetHomePostal ¶
func (*Unit) SetInitials ¶
func (*Unit) SetJobLabel ¶
func (*Unit) SetStatus ¶
func (x *Unit) SetStatus(v *UnitStatus)
func (*Unit) SetUpdatedAt ¶
func (*Unit) SetUsers ¶
func (x *Unit) SetUsers(v []*UnitAssignment)
type UnitAssignment ¶
type UnitAssignment struct {
UnitId int64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty" alias:"unit_id" sql:"primary_key"`
UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"user_id" sql:"primary_key"`
User *colleagues.Colleague `protobuf:"bytes,3,opt,name=user,proto3,oneof" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*UnitAssignment) ClearUser ¶
func (x *UnitAssignment) ClearUser()
func (*UnitAssignment) GetUnitId ¶
func (x *UnitAssignment) GetUnitId() int64
func (*UnitAssignment) GetUser ¶
func (x *UnitAssignment) GetUser() *colleagues.Colleague
func (*UnitAssignment) GetUserId ¶
func (x *UnitAssignment) GetUserId() int32
func (*UnitAssignment) HasUser ¶
func (x *UnitAssignment) HasUser() bool
func (*UnitAssignment) ProtoMessage ¶
func (*UnitAssignment) ProtoMessage()
func (*UnitAssignment) ProtoReflect ¶
func (x *UnitAssignment) ProtoReflect() protoreflect.Message
func (*UnitAssignment) Reset ¶
func (x *UnitAssignment) Reset()
func (*UnitAssignment) Sanitize ¶
func (m *UnitAssignment) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*UnitAssignment) SetUnitId ¶
func (x *UnitAssignment) SetUnitId(v int64)
func (*UnitAssignment) SetUser ¶
func (x *UnitAssignment) SetUser(v *colleagues.Colleague)
func (*UnitAssignment) SetUserId ¶
func (x *UnitAssignment) SetUserId(v int32)
func (*UnitAssignment) String ¶
func (x *UnitAssignment) String() string
type UnitAssignment_builder ¶
type UnitAssignment_builder struct {
UnitId int64
UserId int32
User *colleagues.Colleague
// contains filtered or unexported fields
}
func (UnitAssignment_builder) Build ¶
func (b0 UnitAssignment_builder) Build() *UnitAssignment
type UnitAssignments ¶
type UnitAssignments struct {
UnitId int64 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
Job string `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
Users []*UnitAssignment `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*UnitAssignments) GetJob ¶
func (x *UnitAssignments) GetJob() string
func (*UnitAssignments) GetUnitId ¶
func (x *UnitAssignments) GetUnitId() int64
func (*UnitAssignments) GetUsers ¶
func (x *UnitAssignments) GetUsers() []*UnitAssignment
func (*UnitAssignments) ProtoMessage ¶
func (*UnitAssignments) ProtoMessage()
func (*UnitAssignments) ProtoReflect ¶
func (x *UnitAssignments) ProtoReflect() protoreflect.Message
func (*UnitAssignments) Reset ¶
func (x *UnitAssignments) Reset()
func (*UnitAssignments) Sanitize ¶
func (m *UnitAssignments) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*UnitAssignments) SetJob ¶
func (x *UnitAssignments) SetJob(v string)
func (*UnitAssignments) SetUnitId ¶
func (x *UnitAssignments) SetUnitId(v int64)
func (*UnitAssignments) SetUsers ¶
func (x *UnitAssignments) SetUsers(v []*UnitAssignment)
func (*UnitAssignments) String ¶
func (x *UnitAssignments) String() string
type UnitAssignments_builder ¶
type UnitAssignments_builder struct {
UnitId int64
Job string
Users []*UnitAssignment
// contains filtered or unexported fields
}
func (UnitAssignments_builder) Build ¶
func (b0 UnitAssignments_builder) Build() *UnitAssignments
type UnitAttribute ¶
type UnitAttribute int32
const ( UnitAttribute_UNIT_ATTRIBUTE_UNSPECIFIED UnitAttribute = 0 UnitAttribute_UNIT_ATTRIBUTE_STATIC UnitAttribute = 1 UnitAttribute_UNIT_ATTRIBUTE_NO_DISPATCH_AUTO_ASSIGN UnitAttribute = 2 )
func (UnitAttribute) Descriptor ¶
func (UnitAttribute) Descriptor() protoreflect.EnumDescriptor
func (UnitAttribute) Enum ¶
func (x UnitAttribute) Enum() *UnitAttribute
func (UnitAttribute) Number ¶
func (x UnitAttribute) Number() protoreflect.EnumNumber
func (UnitAttribute) String ¶
func (x UnitAttribute) String() string
func (UnitAttribute) Type ¶
func (UnitAttribute) Type() protoreflect.EnumType
type UnitAttributes ¶
type UnitAttributes struct {
List []UnitAttribute `protobuf:"varint,1,rep,packed,name=list,proto3,enum=resources.centrum.units.UnitAttribute" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*UnitAttributes) Add ¶
func (x *UnitAttributes) Add(attribute UnitAttribute) bool
func (*UnitAttributes) GetList ¶
func (x *UnitAttributes) GetList() []UnitAttribute
func (*UnitAttributes) Has ¶
func (x *UnitAttributes) Has(attribute UnitAttribute) bool
func (*UnitAttributes) ProtoMessage ¶
func (*UnitAttributes) ProtoMessage()
func (*UnitAttributes) ProtoReflect ¶
func (x *UnitAttributes) ProtoReflect() protoreflect.Message
func (*UnitAttributes) Remove ¶
func (x *UnitAttributes) Remove(attribute UnitAttribute) bool
func (*UnitAttributes) Reset ¶
func (x *UnitAttributes) Reset()
func (*UnitAttributes) Sanitize ¶
func (m *UnitAttributes) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*UnitAttributes) Scan ¶
func (x *UnitAttributes) Scan(value any) error
Scan implements driver.Valuer for protobuf UnitAttributes.
func (*UnitAttributes) SetList ¶
func (x *UnitAttributes) SetList(v []UnitAttribute)
func (*UnitAttributes) String ¶
func (x *UnitAttributes) String() string
type UnitAttributes_builder ¶
type UnitAttributes_builder struct {
List []UnitAttribute
// contains filtered or unexported fields
}
func (UnitAttributes_builder) Build ¶
func (b0 UnitAttributes_builder) Build() *UnitAttributes
type UnitStatus ¶
type UnitStatus struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id" sql:"primary_key"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"`
UnitId int64 `protobuf:"varint,3,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
Unit *Unit `protobuf:"bytes,4,opt,name=unit,proto3,oneof" json:"unit,omitempty"`
Status StatusUnit `protobuf:"varint,5,opt,name=status,proto3,enum=resources.centrum.units.StatusUnit" json:"status,omitempty"`
Reason *string `protobuf:"bytes,6,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
Code *string `protobuf:"bytes,7,opt,name=code,proto3,oneof" json:"code,omitempty"`
UserId *int32 `protobuf:"varint,8,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
User *colleagues.Colleague `protobuf:"bytes,9,opt,name=user,proto3,oneof" json:"user,omitempty"`
X *float64 `protobuf:"fixed64,10,opt,name=x,proto3,oneof" json:"x,omitempty"`
Y *float64 `protobuf:"fixed64,11,opt,name=y,proto3,oneof" json:"y,omitempty"`
Postal *string `protobuf:"bytes,12,opt,name=postal,proto3,oneof" json:"postal,omitempty"`
CreatorId *int32 `protobuf:"varint,13,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"`
Creator *colleagues.Colleague `protobuf:"bytes,14,opt,name=creator,proto3,oneof" json:"creator,omitempty"`
CreatorJob *string `protobuf:"bytes,15,opt,name=creator_job,json=creatorJob,proto3,oneof" json:"creator_job,omitempty"`
// contains filtered or unexported fields
}
func (*UnitStatus) ClearCode ¶
func (x *UnitStatus) ClearCode()
func (*UnitStatus) ClearCreatedAt ¶
func (x *UnitStatus) ClearCreatedAt()
func (*UnitStatus) ClearCreator ¶
func (x *UnitStatus) ClearCreator()
func (*UnitStatus) ClearCreatorId ¶
func (x *UnitStatus) ClearCreatorId()
func (*UnitStatus) ClearCreatorJob ¶
func (x *UnitStatus) ClearCreatorJob()
func (*UnitStatus) ClearPostal ¶
func (x *UnitStatus) ClearPostal()
func (*UnitStatus) ClearReason ¶
func (x *UnitStatus) ClearReason()
func (*UnitStatus) ClearUnit ¶
func (x *UnitStatus) ClearUnit()
func (*UnitStatus) ClearUser ¶
func (x *UnitStatus) ClearUser()
func (*UnitStatus) ClearUserId ¶
func (x *UnitStatus) ClearUserId()
func (*UnitStatus) ClearX ¶
func (x *UnitStatus) ClearX()
func (*UnitStatus) ClearY ¶
func (x *UnitStatus) ClearY()
func (*UnitStatus) GetCode ¶
func (x *UnitStatus) GetCode() string
func (*UnitStatus) GetCreatedAt ¶
func (x *UnitStatus) GetCreatedAt() *timestamp.Timestamp
func (*UnitStatus) GetCreator ¶
func (x *UnitStatus) GetCreator() *colleagues.Colleague
func (*UnitStatus) GetCreatorId ¶
func (x *UnitStatus) GetCreatorId() int32
func (*UnitStatus) GetCreatorJob ¶
func (x *UnitStatus) GetCreatorJob() string
func (*UnitStatus) GetId ¶
func (x *UnitStatus) GetId() int64
func (*UnitStatus) GetPostal ¶
func (x *UnitStatus) GetPostal() string
func (*UnitStatus) GetReason ¶
func (x *UnitStatus) GetReason() string
func (*UnitStatus) GetStatus ¶
func (x *UnitStatus) GetStatus() StatusUnit
func (*UnitStatus) GetUnit ¶
func (x *UnitStatus) GetUnit() *Unit
func (*UnitStatus) GetUnitId ¶
func (x *UnitStatus) GetUnitId() int64
func (*UnitStatus) GetUser ¶
func (x *UnitStatus) GetUser() *colleagues.Colleague
func (*UnitStatus) GetUserId ¶
func (x *UnitStatus) GetUserId() int32
func (*UnitStatus) GetX ¶
func (x *UnitStatus) GetX() float64
func (*UnitStatus) GetY ¶
func (x *UnitStatus) GetY() float64
func (*UnitStatus) HasCode ¶
func (x *UnitStatus) HasCode() bool
func (*UnitStatus) HasCreatedAt ¶
func (x *UnitStatus) HasCreatedAt() bool
func (*UnitStatus) HasCreator ¶
func (x *UnitStatus) HasCreator() bool
func (*UnitStatus) HasCreatorId ¶
func (x *UnitStatus) HasCreatorId() bool
func (*UnitStatus) HasCreatorJob ¶
func (x *UnitStatus) HasCreatorJob() bool
func (*UnitStatus) HasPostal ¶
func (x *UnitStatus) HasPostal() bool
func (*UnitStatus) HasReason ¶
func (x *UnitStatus) HasReason() bool
func (*UnitStatus) HasUnit ¶
func (x *UnitStatus) HasUnit() bool
func (*UnitStatus) HasUser ¶
func (x *UnitStatus) HasUser() bool
func (*UnitStatus) HasUserId ¶
func (x *UnitStatus) HasUserId() bool
func (*UnitStatus) HasX ¶
func (x *UnitStatus) HasX() bool
func (*UnitStatus) HasY ¶
func (x *UnitStatus) HasY() bool
func (*UnitStatus) Point ¶
func (x *UnitStatus) Point() orb.Point
func (*UnitStatus) ProtoMessage ¶
func (*UnitStatus) ProtoMessage()
func (*UnitStatus) ProtoReflect ¶
func (x *UnitStatus) ProtoReflect() protoreflect.Message
func (*UnitStatus) Reset ¶
func (x *UnitStatus) Reset()
func (*UnitStatus) Sanitize ¶
func (m *UnitStatus) Sanitize() error
Sanitize sanitizes the message's fields, in case of complex types it calls their Sanitize() method recursively.
func (*UnitStatus) SetCode ¶
func (x *UnitStatus) SetCode(v string)
func (*UnitStatus) SetCreatedAt ¶
func (x *UnitStatus) SetCreatedAt(v *timestamp.Timestamp)
func (*UnitStatus) SetCreator ¶
func (x *UnitStatus) SetCreator(v *colleagues.Colleague)
func (*UnitStatus) SetCreatorId ¶
func (x *UnitStatus) SetCreatorId(v int32)
func (*UnitStatus) SetCreatorJob ¶
func (x *UnitStatus) SetCreatorJob(v string)
func (*UnitStatus) SetId ¶
func (x *UnitStatus) SetId(v int64)
func (*UnitStatus) SetPostal ¶
func (x *UnitStatus) SetPostal(v string)
func (*UnitStatus) SetReason ¶
func (x *UnitStatus) SetReason(v string)
func (*UnitStatus) SetStatus ¶
func (x *UnitStatus) SetStatus(v StatusUnit)
func (*UnitStatus) SetUnit ¶
func (x *UnitStatus) SetUnit(v *Unit)
func (*UnitStatus) SetUnitId ¶
func (x *UnitStatus) SetUnitId(v int64)
func (*UnitStatus) SetUser ¶
func (x *UnitStatus) SetUser(v *colleagues.Colleague)
func (*UnitStatus) SetUserId ¶
func (x *UnitStatus) SetUserId(v int32)
func (*UnitStatus) SetX ¶
func (x *UnitStatus) SetX(v float64)
func (*UnitStatus) SetY ¶
func (x *UnitStatus) SetY(v float64)
func (*UnitStatus) String ¶
func (x *UnitStatus) String() string
type UnitStatus_builder ¶
type UnitStatus_builder struct {
Id int64
CreatedAt *timestamp.Timestamp
UnitId int64
Unit *Unit
Status StatusUnit
Reason *string
Code *string
UserId *int32
User *colleagues.Colleague
X *float64
Y *float64
Postal *string
CreatorId *int32
Creator *colleagues.Colleague
CreatorJob *string
// contains filtered or unexported fields
}
func (UnitStatus_builder) Build ¶
func (b0 UnitStatus_builder) Build() *UnitStatus
type Unit_builder ¶
type Unit_builder struct {
Id int64
CreatedAt *timestamp.Timestamp
UpdatedAt *timestamp.Timestamp
Job string
JobLabel *string
Name string
Initials string
Color string
Icon *string
Description *string
Status *UnitStatus
Users []*UnitAssignment
Attributes *UnitAttributes
HomePostal *string
Access *access.UnitAccess
// contains filtered or unexported fields
}
func (Unit_builder) Build ¶
func (b0 Unit_builder) Build() *Unit