Documentation ¶
Index ¶
- Variables
- func DocumentAccessHasDuplicates(access *DocumentAccess) bool
- func TemplateAccessHasDuplicates(jobs []*TemplateJobAccess) bool
- type AccessLevel
- func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AccessLevel) Enum() *AccessLevel
- func (AccessLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessLevel) Number() protoreflect.EnumNumber
- func (x AccessLevel) String() string
- func (AccessLevel) Type() protoreflect.EnumType
- type AutoCloseSettings
- func (*AutoCloseSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AutoCloseSettings) GetDuration() *durationpb.Duration
- func (x *AutoCloseSettings) GetMessage() string
- func (*AutoCloseSettings) ProtoMessage()
- func (x *AutoCloseSettings) ProtoReflect() protoreflect.Message
- func (x *AutoCloseSettings) Reset()
- func (m *AutoCloseSettings) Sanitize() error
- func (x *AutoCloseSettings) String() string
- func (m *AutoCloseSettings) Validate() error
- func (m *AutoCloseSettings) ValidateAll() error
- type AutoCloseSettingsMultiError
- type AutoCloseSettingsValidationError
- func (e AutoCloseSettingsValidationError) Cause() error
- func (e AutoCloseSettingsValidationError) Error() string
- func (e AutoCloseSettingsValidationError) ErrorName() string
- func (e AutoCloseSettingsValidationError) Field() string
- func (e AutoCloseSettingsValidationError) Key() bool
- func (e AutoCloseSettingsValidationError) Reason() string
- type Category
- func (*Category) Descriptor() ([]byte, []int)deprecated
- func (x *Category) GetColor() string
- func (x *Category) GetDescription() string
- func (x *Category) GetIcon() string
- func (x *Category) GetId() uint64
- func (x *Category) GetJob() string
- func (x *Category) GetName() string
- func (x *Category) Merge(in *Category) *Category
- func (*Category) ProtoMessage()
- func (x *Category) ProtoReflect() protoreflect.Message
- func (x *Category) Reset()
- func (m *Category) Sanitize() error
- func (x *Category) String() string
- func (m *Category) Validate() error
- func (m *Category) ValidateAll() error
- type CategoryMultiError
- type CategoryValidationError
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetContent() *content.Content
- func (x *Comment) GetCreatedAt() *timestamp.Timestamp
- func (x *Comment) GetCreator() *users.UserShort
- func (x *Comment) GetCreatorId() int32
- func (x *Comment) GetCreatorJob() string
- func (x *Comment) GetDeletedAt() *timestamp.Timestamp
- func (x *Comment) GetDocumentId() uint64
- func (x *Comment) GetId() uint64
- func (x *Comment) GetUpdatedAt() *timestamp.Timestamp
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (m *Comment) Sanitize() error
- func (x *Comment) String() string
- func (m *Comment) Validate() error
- func (m *Comment) ValidateAll() error
- type CommentMultiError
- type CommentValidationError
- type DocAccessJobsDiff
- func (*DocAccessJobsDiff) Descriptor() ([]byte, []int)deprecated
- func (x *DocAccessJobsDiff) GetToCreate() []*DocumentJobAccess
- func (x *DocAccessJobsDiff) GetToDelete() []*DocumentJobAccess
- func (x *DocAccessJobsDiff) GetToUpdate() []*DocumentJobAccess
- func (*DocAccessJobsDiff) ProtoMessage()
- func (x *DocAccessJobsDiff) ProtoReflect() protoreflect.Message
- func (x *DocAccessJobsDiff) Reset()
- func (m *DocAccessJobsDiff) Sanitize() error
- func (x *DocAccessJobsDiff) String() string
- func (m *DocAccessJobsDiff) Validate() error
- func (m *DocAccessJobsDiff) ValidateAll() error
- type DocAccessJobsDiffMultiError
- type DocAccessJobsDiffValidationError
- func (e DocAccessJobsDiffValidationError) Cause() error
- func (e DocAccessJobsDiffValidationError) Error() string
- func (e DocAccessJobsDiffValidationError) ErrorName() string
- func (e DocAccessJobsDiffValidationError) Field() string
- func (e DocAccessJobsDiffValidationError) Key() bool
- func (e DocAccessJobsDiffValidationError) Reason() string
- type DocAccessRequested
- func (*DocAccessRequested) Descriptor() ([]byte, []int)deprecated
- func (x *DocAccessRequested) GetLevel() AccessLevel
- func (*DocAccessRequested) ProtoMessage()
- func (x *DocAccessRequested) ProtoReflect() protoreflect.Message
- func (x *DocAccessRequested) Reset()
- func (m *DocAccessRequested) Sanitize() error
- func (x *DocAccessRequested) String() string
- func (m *DocAccessRequested) Validate() error
- func (m *DocAccessRequested) ValidateAll() error
- type DocAccessRequestedMultiError
- type DocAccessRequestedValidationError
- func (e DocAccessRequestedValidationError) Cause() error
- func (e DocAccessRequestedValidationError) Error() string
- func (e DocAccessRequestedValidationError) ErrorName() string
- func (e DocAccessRequestedValidationError) Field() string
- func (e DocAccessRequestedValidationError) Key() bool
- func (e DocAccessRequestedValidationError) Reason() string
- type DocAccessUpdated
- func (*DocAccessUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *DocAccessUpdated) GetJobs() *DocAccessJobsDiff
- func (x *DocAccessUpdated) GetUsers() *DocAccessUsersDiff
- func (*DocAccessUpdated) ProtoMessage()
- func (x *DocAccessUpdated) ProtoReflect() protoreflect.Message
- func (x *DocAccessUpdated) Reset()
- func (m *DocAccessUpdated) Sanitize() error
- func (x *DocAccessUpdated) String() string
- func (m *DocAccessUpdated) Validate() error
- func (m *DocAccessUpdated) ValidateAll() error
- type DocAccessUpdatedMultiError
- type DocAccessUpdatedValidationError
- func (e DocAccessUpdatedValidationError) Cause() error
- func (e DocAccessUpdatedValidationError) Error() string
- func (e DocAccessUpdatedValidationError) ErrorName() string
- func (e DocAccessUpdatedValidationError) Field() string
- func (e DocAccessUpdatedValidationError) Key() bool
- func (e DocAccessUpdatedValidationError) Reason() string
- type DocAccessUsersDiff
- func (*DocAccessUsersDiff) Descriptor() ([]byte, []int)deprecated
- func (x *DocAccessUsersDiff) GetToCreate() []*DocumentUserAccess
- func (x *DocAccessUsersDiff) GetToDelete() []*DocumentUserAccess
- func (x *DocAccessUsersDiff) GetToUpdate() []*DocumentUserAccess
- func (*DocAccessUsersDiff) ProtoMessage()
- func (x *DocAccessUsersDiff) ProtoReflect() protoreflect.Message
- func (x *DocAccessUsersDiff) Reset()
- func (m *DocAccessUsersDiff) Sanitize() error
- func (x *DocAccessUsersDiff) String() string
- func (m *DocAccessUsersDiff) Validate() error
- func (m *DocAccessUsersDiff) ValidateAll() error
- type DocAccessUsersDiffMultiError
- type DocAccessUsersDiffValidationError
- func (e DocAccessUsersDiffValidationError) Cause() error
- func (e DocAccessUsersDiffValidationError) Error() string
- func (e DocAccessUsersDiffValidationError) ErrorName() string
- func (e DocAccessUsersDiffValidationError) Field() string
- func (e DocAccessUsersDiffValidationError) Key() bool
- func (e DocAccessUsersDiffValidationError) Reason() string
- type DocActivity
- func (*DocActivity) Descriptor() ([]byte, []int)deprecated
- func (x *DocActivity) GetActivityType() DocActivityType
- func (x *DocActivity) GetCreatedAt() *timestamp.Timestamp
- func (x *DocActivity) GetCreator() *users.UserShort
- func (x *DocActivity) GetCreatorId() int32
- func (x *DocActivity) GetCreatorJob() string
- func (x *DocActivity) GetCreatorJobLabel() string
- func (x *DocActivity) GetData() *DocActivityData
- func (x *DocActivity) GetDocumentId() uint64
- func (x *DocActivity) GetId() uint64
- func (x *DocActivity) GetReason() string
- func (*DocActivity) ProtoMessage()
- func (x *DocActivity) ProtoReflect() protoreflect.Message
- func (x *DocActivity) Reset()
- func (m *DocActivity) Sanitize() error
- func (x *DocActivity) String() string
- func (m *DocActivity) Validate() error
- func (m *DocActivity) ValidateAll() error
- type DocActivityData
- func (*DocActivityData) Descriptor() ([]byte, []int)deprecated
- func (x *DocActivityData) GetAccessRequested() *DocAccessRequested
- func (x *DocActivityData) GetAccessUpdated() *DocAccessUpdated
- func (m *DocActivityData) GetData() isDocActivityData_Data
- func (x *DocActivityData) GetOwnerChanged() *DocOwnerChanged
- func (x *DocActivityData) GetUpdated() *DocUpdated
- func (*DocActivityData) ProtoMessage()
- func (x *DocActivityData) ProtoReflect() protoreflect.Message
- func (x *DocActivityData) Reset()
- func (m *DocActivityData) Sanitize() error
- func (x *DocActivityData) Scan(value any) error
- func (x *DocActivityData) String() string
- func (m *DocActivityData) Validate() error
- func (m *DocActivityData) ValidateAll() error
- func (x *DocActivityData) Value() (driver.Value, error)
- type DocActivityDataMultiError
- type DocActivityDataValidationError
- func (e DocActivityDataValidationError) Cause() error
- func (e DocActivityDataValidationError) Error() string
- func (e DocActivityDataValidationError) ErrorName() string
- func (e DocActivityDataValidationError) Field() string
- func (e DocActivityDataValidationError) Key() bool
- func (e DocActivityDataValidationError) Reason() string
- type DocActivityData_AccessRequested
- type DocActivityData_AccessUpdated
- type DocActivityData_OwnerChanged
- type DocActivityData_Updated
- type DocActivityMultiError
- type DocActivityType
- func (DocActivityType) Descriptor() protoreflect.EnumDescriptor
- func (x DocActivityType) Enum() *DocActivityType
- func (DocActivityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocActivityType) Number() protoreflect.EnumNumber
- func (x DocActivityType) String() string
- func (DocActivityType) Type() protoreflect.EnumType
- type DocActivityValidationError
- func (e DocActivityValidationError) Cause() error
- func (e DocActivityValidationError) Error() string
- func (e DocActivityValidationError) ErrorName() string
- func (e DocActivityValidationError) Field() string
- func (e DocActivityValidationError) Key() bool
- func (e DocActivityValidationError) Reason() string
- type DocOwnerChanged
- func (*DocOwnerChanged) Descriptor() ([]byte, []int)deprecated
- func (x *DocOwnerChanged) GetNewOwner() *users.UserShort
- func (x *DocOwnerChanged) GetNewOwnerId() int32
- func (*DocOwnerChanged) ProtoMessage()
- func (x *DocOwnerChanged) ProtoReflect() protoreflect.Message
- func (x *DocOwnerChanged) Reset()
- func (m *DocOwnerChanged) Sanitize() error
- func (x *DocOwnerChanged) String() string
- func (m *DocOwnerChanged) Validate() error
- func (m *DocOwnerChanged) ValidateAll() error
- type DocOwnerChangedMultiError
- type DocOwnerChangedValidationError
- func (e DocOwnerChangedValidationError) Cause() error
- func (e DocOwnerChangedValidationError) Error() string
- func (e DocOwnerChangedValidationError) ErrorName() string
- func (e DocOwnerChangedValidationError) Field() string
- func (e DocOwnerChangedValidationError) Key() bool
- func (e DocOwnerChangedValidationError) Reason() string
- type DocReference
- func (DocReference) Descriptor() protoreflect.EnumDescriptor
- func (x DocReference) Enum() *DocReference
- func (DocReference) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocReference) Number() protoreflect.EnumNumber
- func (x DocReference) String() string
- func (DocReference) Type() protoreflect.EnumType
- type DocRelation
- func (DocRelation) Descriptor() protoreflect.EnumDescriptor
- func (x DocRelation) Enum() *DocRelation
- func (DocRelation) EnumDescriptor() ([]byte, []int)deprecated
- func (x DocRelation) Number() protoreflect.EnumNumber
- func (x DocRelation) String() string
- func (DocRelation) Type() protoreflect.EnumType
- type DocRequest
- func (*DocRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DocRequest) GetAccepted() bool
- func (x *DocRequest) GetCreatedAt() *timestamp.Timestamp
- func (x *DocRequest) GetCreator() *users.UserShort
- func (x *DocRequest) GetCreatorId() int32
- func (x *DocRequest) GetCreatorJob() string
- func (x *DocRequest) GetCreatorJobLabel() string
- func (x *DocRequest) GetData() *DocActivityData
- func (x *DocRequest) GetDocumentId() uint64
- func (x *DocRequest) GetId() uint64
- func (x *DocRequest) GetReason() string
- func (x *DocRequest) GetRequestType() DocActivityType
- func (x *DocRequest) GetUpdatedAt() *timestamp.Timestamp
- func (*DocRequest) ProtoMessage()
- func (x *DocRequest) ProtoReflect() protoreflect.Message
- func (x *DocRequest) Reset()
- func (m *DocRequest) Sanitize() error
- func (x *DocRequest) String() string
- func (m *DocRequest) Validate() error
- func (m *DocRequest) ValidateAll() error
- type DocRequestMultiError
- type DocRequestValidationError
- type DocUpdated
- func (*DocUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *DocUpdated) GetContentDiff() string
- func (x *DocUpdated) GetStateDiff() string
- func (x *DocUpdated) GetTitleDiff() string
- func (*DocUpdated) ProtoMessage()
- func (x *DocUpdated) ProtoReflect() protoreflect.Message
- func (x *DocUpdated) Reset()
- func (m *DocUpdated) Sanitize() error
- func (x *DocUpdated) String() string
- func (m *DocUpdated) Validate() error
- func (m *DocUpdated) ValidateAll() error
- type DocUpdatedMultiError
- type DocUpdatedValidationError
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetCategory() *Category
- func (x *Document) GetCategoryId() uint64
- func (x *Document) GetClosed() bool
- func (x *Document) GetContent() *content.Content
- func (x *Document) GetContentType() content.ContentType
- func (x *Document) GetCreatedAt() *timestamp.Timestamp
- func (x *Document) GetCreator() *users.UserShort
- func (x *Document) GetCreatorId() int32
- func (x *Document) GetCreatorJob() string
- func (x *Document) GetCreatorJobLabel() string
- func (x *Document) GetData() string
- func (x *Document) GetDeletedAt() *timestamp.Timestamp
- func (x *Document) GetId() uint64
- func (x *Document) GetPinned() bool
- func (x *Document) GetPublic() bool
- func (x *Document) GetState() string
- func (x *Document) GetTemplateId() uint64
- func (x *Document) GetTitle() string
- func (x *Document) GetUpdatedAt() *timestamp.Timestamp
- func (x *Document) GetWorkflowState() *WorkflowState
- func (x *Document) GetWorkflowUser() *WorkflowUserState
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (m *Document) Sanitize() error
- func (x *Document) SetCategory(cat *Category)
- func (x *Document) String() string
- func (m *Document) Validate() error
- func (m *Document) ValidateAll() error
- type DocumentAccess
- func (*DocumentAccess) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentAccess) GetJobs() []*DocumentJobAccess
- func (x *DocumentAccess) GetUsers() []*DocumentUserAccess
- func (*DocumentAccess) ProtoMessage()
- func (x *DocumentAccess) ProtoReflect() protoreflect.Message
- func (x *DocumentAccess) Reset()
- func (m *DocumentAccess) Sanitize() error
- func (x *DocumentAccess) Scan(value any) error
- func (x *DocumentAccess) String() string
- func (m *DocumentAccess) Validate() error
- func (m *DocumentAccess) ValidateAll() error
- func (x *DocumentAccess) Value() (driver.Value, error)
- type DocumentAccessMultiError
- type DocumentAccessValidationError
- func (e DocumentAccessValidationError) Cause() error
- func (e DocumentAccessValidationError) Error() string
- func (e DocumentAccessValidationError) ErrorName() string
- func (e DocumentAccessValidationError) Field() string
- func (e DocumentAccessValidationError) Key() bool
- func (e DocumentAccessValidationError) Reason() string
- type DocumentJobAccess
- func (*DocumentJobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentJobAccess) GetAccess() AccessLevel
- func (x *DocumentJobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentJobAccess) GetId() uint64
- func (x *DocumentJobAccess) GetJob() string
- func (x *DocumentJobAccess) GetJobGrade() int32
- func (x *DocumentJobAccess) GetJobGradeLabel() string
- func (x *DocumentJobAccess) GetJobLabel() string
- func (x *DocumentJobAccess) GetMinimumGrade() int32
- func (x *DocumentJobAccess) GetRequired() bool
- func (x *DocumentJobAccess) GetTargetId() uint64
- func (*DocumentJobAccess) ProtoMessage()
- func (x *DocumentJobAccess) ProtoReflect() protoreflect.Message
- func (x *DocumentJobAccess) Reset()
- func (m *DocumentJobAccess) Sanitize() error
- func (x *DocumentJobAccess) SetAccess(access AccessLevel)
- func (x *DocumentJobAccess) SetJob(job string)
- func (x *DocumentJobAccess) SetJobGrade(grade int32)
- func (x *DocumentJobAccess) SetJobGradeLabel(label string)
- func (x *DocumentJobAccess) SetJobLabel(label string)
- func (x *DocumentJobAccess) SetMinimumGrade(grade int32)
- func (x *DocumentJobAccess) String() string
- func (m *DocumentJobAccess) Validate() error
- func (m *DocumentJobAccess) ValidateAll() error
- type DocumentJobAccessMultiError
- type DocumentJobAccessValidationError
- func (e DocumentJobAccessValidationError) Cause() error
- func (e DocumentJobAccessValidationError) Error() string
- func (e DocumentJobAccessValidationError) ErrorName() string
- func (e DocumentJobAccessValidationError) Field() string
- func (e DocumentJobAccessValidationError) Key() bool
- func (e DocumentJobAccessValidationError) Reason() string
- type DocumentMultiError
- type DocumentReference
- func (*DocumentReference) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentReference) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentReference) GetCreator() *users.UserShort
- func (x *DocumentReference) GetCreatorId() int32
- func (x *DocumentReference) GetId() uint64
- func (x *DocumentReference) GetReference() DocReference
- func (x *DocumentReference) GetSourceDocument() *DocumentShort
- func (x *DocumentReference) GetSourceDocumentId() uint64
- func (x *DocumentReference) GetTargetDocument() *DocumentShort
- func (x *DocumentReference) GetTargetDocumentId() uint64
- func (*DocumentReference) ProtoMessage()
- func (x *DocumentReference) ProtoReflect() protoreflect.Message
- func (x *DocumentReference) Reset()
- func (m *DocumentReference) Sanitize() error
- func (x *DocumentReference) String() string
- func (m *DocumentReference) Validate() error
- func (m *DocumentReference) ValidateAll() error
- type DocumentReferenceMultiError
- type DocumentReferenceValidationError
- func (e DocumentReferenceValidationError) Cause() error
- func (e DocumentReferenceValidationError) Error() string
- func (e DocumentReferenceValidationError) ErrorName() string
- func (e DocumentReferenceValidationError) Field() string
- func (e DocumentReferenceValidationError) Key() bool
- func (e DocumentReferenceValidationError) Reason() string
- type DocumentRelation
- func (*DocumentRelation) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentRelation) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentRelation) GetDocument() *DocumentShort
- func (x *DocumentRelation) GetDocumentId() uint64
- func (x *DocumentRelation) GetId() uint64
- func (x *DocumentRelation) GetRelation() DocRelation
- func (x *DocumentRelation) GetSourceUser() *users.UserShort
- func (x *DocumentRelation) GetSourceUserId() int32
- func (x *DocumentRelation) GetTargetUser() *users.UserShort
- func (x *DocumentRelation) GetTargetUserId() int32
- func (*DocumentRelation) ProtoMessage()
- func (x *DocumentRelation) ProtoReflect() protoreflect.Message
- func (x *DocumentRelation) Reset()
- func (m *DocumentRelation) Sanitize() error
- func (x *DocumentRelation) String() string
- func (m *DocumentRelation) Validate() error
- func (m *DocumentRelation) ValidateAll() error
- type DocumentRelationMultiError
- type DocumentRelationValidationError
- func (e DocumentRelationValidationError) Cause() error
- func (e DocumentRelationValidationError) Error() string
- func (e DocumentRelationValidationError) ErrorName() string
- func (e DocumentRelationValidationError) Field() string
- func (e DocumentRelationValidationError) Key() bool
- func (e DocumentRelationValidationError) Reason() string
- type DocumentShort
- func (*DocumentShort) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentShort) GetCategory() *Category
- func (x *DocumentShort) GetCategoryId() uint64
- func (x *DocumentShort) GetClosed() bool
- func (x *DocumentShort) GetContent() *content.Content
- func (x *DocumentShort) GetContentType() content.ContentType
- func (x *DocumentShort) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentShort) GetCreator() *users.UserShort
- func (x *DocumentShort) GetCreatorId() int32
- func (x *DocumentShort) GetCreatorJob() string
- func (x *DocumentShort) GetCreatorJobLabel() string
- func (x *DocumentShort) GetDeletedAt() *timestamp.Timestamp
- func (x *DocumentShort) GetId() uint64
- func (x *DocumentShort) GetPublic() bool
- func (x *DocumentShort) GetState() string
- func (x *DocumentShort) GetTitle() string
- func (x *DocumentShort) GetUpdatedAt() *timestamp.Timestamp
- func (x *DocumentShort) GetWorkflowState() *WorkflowState
- func (x *DocumentShort) GetWorkflowUser() *WorkflowUserState
- func (*DocumentShort) ProtoMessage()
- func (x *DocumentShort) ProtoReflect() protoreflect.Message
- func (x *DocumentShort) Reset()
- func (m *DocumentShort) Sanitize() error
- func (x *DocumentShort) SetCategory(cat *Category)
- func (x *DocumentShort) String() string
- func (m *DocumentShort) Validate() error
- func (m *DocumentShort) ValidateAll() error
- type DocumentShortMultiError
- type DocumentShortValidationError
- func (e DocumentShortValidationError) Cause() error
- func (e DocumentShortValidationError) Error() string
- func (e DocumentShortValidationError) ErrorName() string
- func (e DocumentShortValidationError) Field() string
- func (e DocumentShortValidationError) Key() bool
- func (e DocumentShortValidationError) Reason() string
- type DocumentUserAccess
- func (*DocumentUserAccess) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentUserAccess) GetAccess() AccessLevel
- func (x *DocumentUserAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentUserAccess) GetId() uint64
- func (x *DocumentUserAccess) GetRequired() bool
- func (x *DocumentUserAccess) GetTargetId() uint64
- func (x *DocumentUserAccess) GetUser() *users.UserShort
- func (x *DocumentUserAccess) GetUserId() int32
- func (*DocumentUserAccess) ProtoMessage()
- func (x *DocumentUserAccess) ProtoReflect() protoreflect.Message
- func (x *DocumentUserAccess) Reset()
- func (m *DocumentUserAccess) Sanitize() error
- func (x *DocumentUserAccess) SetAccess(access AccessLevel)
- func (x *DocumentUserAccess) SetUserId(id int32)
- func (x *DocumentUserAccess) String() string
- func (m *DocumentUserAccess) Validate() error
- func (m *DocumentUserAccess) ValidateAll() error
- type DocumentUserAccessMultiError
- type DocumentUserAccessValidationError
- func (e DocumentUserAccessValidationError) Cause() error
- func (e DocumentUserAccessValidationError) Error() string
- func (e DocumentUserAccessValidationError) ErrorName() string
- func (e DocumentUserAccessValidationError) Field() string
- func (e DocumentUserAccessValidationError) Key() bool
- func (e DocumentUserAccessValidationError) Reason() string
- type DocumentValidationError
- type ObjectSpecs
- func (*ObjectSpecs) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectSpecs) GetMax() int32
- func (x *ObjectSpecs) GetMin() int32
- func (x *ObjectSpecs) GetRequired() bool
- func (*ObjectSpecs) ProtoMessage()
- func (x *ObjectSpecs) ProtoReflect() protoreflect.Message
- func (x *ObjectSpecs) Reset()
- func (m *ObjectSpecs) Sanitize() error
- func (x *ObjectSpecs) String() string
- func (m *ObjectSpecs) Validate() error
- func (m *ObjectSpecs) ValidateAll() error
- type ObjectSpecsMultiError
- type ObjectSpecsValidationError
- func (e ObjectSpecsValidationError) Cause() error
- func (e ObjectSpecsValidationError) Error() string
- func (e ObjectSpecsValidationError) ErrorName() string
- func (e ObjectSpecsValidationError) Field() string
- func (e ObjectSpecsValidationError) Key() bool
- func (e ObjectSpecsValidationError) Reason() string
- type Reminder
- func (*Reminder) Descriptor() ([]byte, []int)deprecated
- func (x *Reminder) GetDuration() *durationpb.Duration
- func (x *Reminder) GetMessage() string
- func (*Reminder) ProtoMessage()
- func (x *Reminder) ProtoReflect() protoreflect.Message
- func (x *Reminder) Reset()
- func (m *Reminder) Sanitize() error
- func (x *Reminder) String() string
- func (m *Reminder) Validate() error
- func (m *Reminder) ValidateAll() error
- type ReminderMultiError
- type ReminderSettings
- func (*ReminderSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ReminderSettings) GetReminders() []*Reminder
- func (*ReminderSettings) ProtoMessage()
- func (x *ReminderSettings) ProtoReflect() protoreflect.Message
- func (x *ReminderSettings) Reset()
- func (m *ReminderSettings) Sanitize() error
- func (x *ReminderSettings) String() string
- func (m *ReminderSettings) Validate() error
- func (m *ReminderSettings) ValidateAll() error
- type ReminderSettingsMultiError
- type ReminderSettingsValidationError
- func (e ReminderSettingsValidationError) Cause() error
- func (e ReminderSettingsValidationError) Error() string
- func (e ReminderSettingsValidationError) ErrorName() string
- func (e ReminderSettingsValidationError) Field() string
- func (e ReminderSettingsValidationError) Key() bool
- func (e ReminderSettingsValidationError) Reason() string
- type ReminderValidationError
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetCategory() *Category
- func (x *Template) GetColor() string
- func (x *Template) GetContent() string
- func (x *Template) GetContentAccess() *DocumentAccess
- func (x *Template) GetContentTitle() string
- func (x *Template) GetCreatedAt() *timestamp.Timestamp
- func (x *Template) GetCreatorJob() string
- func (x *Template) GetCreatorJobLabel() string
- func (x *Template) GetDescription() string
- func (x *Template) GetIcon() string
- func (x *Template) GetId() uint64
- func (x *Template) GetJob() string
- func (x *Template) GetJobAccess() []*TemplateJobAccess
- func (x *Template) GetSchema() *TemplateSchema
- func (x *Template) GetState() string
- func (x *Template) GetTitle() string
- func (x *Template) GetUpdatedAt() *timestamp.Timestamp
- func (x *Template) GetWeight() uint32
- func (x *Template) GetWorkflow() *Workflow
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (m *Template) Sanitize() error
- func (x *Template) SetJobLabel(label string)
- func (x *Template) String() string
- func (m *Template) Validate() error
- func (m *Template) ValidateAll() error
- type TemplateData
- func (*TemplateData) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateData) GetActiveChar() *users.User
- func (x *TemplateData) GetDocuments() []*DocumentShort
- func (x *TemplateData) GetUsers() []*users.UserShort
- func (x *TemplateData) GetVehicles() []*vehicles.Vehicle
- func (*TemplateData) ProtoMessage()
- func (x *TemplateData) ProtoReflect() protoreflect.Message
- func (x *TemplateData) Reset()
- func (m *TemplateData) Sanitize() error
- func (x *TemplateData) String() string
- func (m *TemplateData) Validate() error
- func (m *TemplateData) ValidateAll() error
- type TemplateDataMultiError
- type TemplateDataValidationError
- func (e TemplateDataValidationError) Cause() error
- func (e TemplateDataValidationError) Error() string
- func (e TemplateDataValidationError) ErrorName() string
- func (e TemplateDataValidationError) Field() string
- func (e TemplateDataValidationError) Key() bool
- func (e TemplateDataValidationError) Reason() string
- type TemplateJobAccess
- func (*TemplateJobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateJobAccess) GetAccess() AccessLevel
- func (x *TemplateJobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *TemplateJobAccess) GetId() uint64
- func (x *TemplateJobAccess) GetJob() string
- func (x *TemplateJobAccess) GetJobGradeLabel() string
- func (x *TemplateJobAccess) GetJobLabel() string
- func (x *TemplateJobAccess) GetMinimumGrade() int32
- func (x *TemplateJobAccess) GetTargetId() uint64
- func (*TemplateJobAccess) ProtoMessage()
- func (x *TemplateJobAccess) ProtoReflect() protoreflect.Message
- func (x *TemplateJobAccess) Reset()
- func (m *TemplateJobAccess) Sanitize() error
- func (x *TemplateJobAccess) SetAccess(access AccessLevel)
- func (x *TemplateJobAccess) SetMinimumGrade(grade int32)
- func (x *TemplateJobAccess) String() string
- func (m *TemplateJobAccess) Validate() error
- func (m *TemplateJobAccess) ValidateAll() error
- type TemplateJobAccessMultiError
- type TemplateJobAccessValidationError
- func (e TemplateJobAccessValidationError) Cause() error
- func (e TemplateJobAccessValidationError) Error() string
- func (e TemplateJobAccessValidationError) ErrorName() string
- func (e TemplateJobAccessValidationError) Field() string
- func (e TemplateJobAccessValidationError) Key() bool
- func (e TemplateJobAccessValidationError) Reason() string
- type TemplateMultiError
- type TemplateRequirements
- func (*TemplateRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateRequirements) GetDocuments() *ObjectSpecs
- func (x *TemplateRequirements) GetUsers() *ObjectSpecs
- func (x *TemplateRequirements) GetVehicles() *ObjectSpecs
- func (*TemplateRequirements) ProtoMessage()
- func (x *TemplateRequirements) ProtoReflect() protoreflect.Message
- func (x *TemplateRequirements) Reset()
- func (m *TemplateRequirements) Sanitize() error
- func (x *TemplateRequirements) String() string
- func (m *TemplateRequirements) Validate() error
- func (m *TemplateRequirements) ValidateAll() error
- type TemplateRequirementsMultiError
- type TemplateRequirementsValidationError
- func (e TemplateRequirementsValidationError) Cause() error
- func (e TemplateRequirementsValidationError) Error() string
- func (e TemplateRequirementsValidationError) ErrorName() string
- func (e TemplateRequirementsValidationError) Field() string
- func (e TemplateRequirementsValidationError) Key() bool
- func (e TemplateRequirementsValidationError) Reason() string
- type TemplateSchema
- func (*TemplateSchema) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateSchema) GetRequirements() *TemplateRequirements
- func (*TemplateSchema) ProtoMessage()
- func (x *TemplateSchema) ProtoReflect() protoreflect.Message
- func (x *TemplateSchema) Reset()
- func (m *TemplateSchema) Sanitize() error
- func (x *TemplateSchema) Scan(value any) error
- func (x *TemplateSchema) String() string
- func (m *TemplateSchema) Validate() error
- func (m *TemplateSchema) ValidateAll() error
- func (x *TemplateSchema) Value() (driver.Value, error)
- type TemplateSchemaMultiError
- type TemplateSchemaValidationError
- func (e TemplateSchemaValidationError) Cause() error
- func (e TemplateSchemaValidationError) Error() string
- func (e TemplateSchemaValidationError) ErrorName() string
- func (e TemplateSchemaValidationError) Field() string
- func (e TemplateSchemaValidationError) Key() bool
- func (e TemplateSchemaValidationError) Reason() string
- type TemplateShort
- func (*TemplateShort) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateShort) GetCategory() *Category
- func (x *TemplateShort) GetColor() string
- func (x *TemplateShort) GetCreatedAt() *timestamp.Timestamp
- func (x *TemplateShort) GetCreatorJob() string
- func (x *TemplateShort) GetCreatorJobLabel() string
- func (x *TemplateShort) GetDescription() string
- func (x *TemplateShort) GetIcon() string
- func (x *TemplateShort) GetId() uint64
- func (x *TemplateShort) GetJob() string
- func (x *TemplateShort) GetSchema() *TemplateSchema
- func (x *TemplateShort) GetTitle() string
- func (x *TemplateShort) GetUpdatedAt() *timestamp.Timestamp
- func (x *TemplateShort) GetWeight() uint32
- func (x *TemplateShort) GetWorkflow() *Workflow
- func (*TemplateShort) ProtoMessage()
- func (x *TemplateShort) ProtoReflect() protoreflect.Message
- func (x *TemplateShort) Reset()
- func (m *TemplateShort) Sanitize() error
- func (x *TemplateShort) SetJobLabel(label string)
- func (x *TemplateShort) String() string
- func (m *TemplateShort) Validate() error
- func (m *TemplateShort) ValidateAll() error
- type TemplateShortMultiError
- type TemplateShortValidationError
- func (e TemplateShortValidationError) Cause() error
- func (e TemplateShortValidationError) Error() string
- func (e TemplateShortValidationError) ErrorName() string
- func (e TemplateShortValidationError) Field() string
- func (e TemplateShortValidationError) Key() bool
- func (e TemplateShortValidationError) Reason() string
- type TemplateUserAccess
- func (*TemplateUserAccess) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateUserAccess) GetAccess() AccessLevel
- func (x *TemplateUserAccess) GetId() uint64
- func (x *TemplateUserAccess) GetTargetId() uint64
- func (x *TemplateUserAccess) GetUserId() int32
- func (*TemplateUserAccess) ProtoMessage()
- func (x *TemplateUserAccess) ProtoReflect() protoreflect.Message
- func (x *TemplateUserAccess) Reset()
- func (m *TemplateUserAccess) Sanitize() error
- func (x *TemplateUserAccess) SetAccess(access AccessLevel)
- func (x *TemplateUserAccess) SetUserId(userId int32)
- func (x *TemplateUserAccess) String() string
- func (m *TemplateUserAccess) Validate() error
- func (m *TemplateUserAccess) ValidateAll() error
- type TemplateUserAccessMultiError
- type TemplateUserAccessValidationError
- func (e TemplateUserAccessValidationError) Cause() error
- func (e TemplateUserAccessValidationError) Error() string
- func (e TemplateUserAccessValidationError) ErrorName() string
- func (e TemplateUserAccessValidationError) Field() string
- func (e TemplateUserAccessValidationError) Key() bool
- func (e TemplateUserAccessValidationError) Reason() string
- type TemplateValidationError
- type Workflow
- func (*Workflow) Descriptor() ([]byte, []int)deprecated
- func (x *Workflow) GetAutoClose() bool
- func (x *Workflow) GetAutoCloseSettings() *AutoCloseSettings
- func (x *Workflow) GetReminder() bool
- func (x *Workflow) GetReminderSettings() *ReminderSettings
- func (*Workflow) ProtoMessage()
- func (x *Workflow) ProtoReflect() protoreflect.Message
- func (x *Workflow) Reset()
- func (m *Workflow) Sanitize() error
- func (x *Workflow) Scan(value any) error
- func (x *Workflow) String() string
- func (m *Workflow) Validate() error
- func (m *Workflow) ValidateAll() error
- func (x *Workflow) Value() (driver.Value, error)
- type WorkflowCronData
- func (*WorkflowCronData) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowCronData) GetLastDocId() uint64
- func (*WorkflowCronData) ProtoMessage()
- func (x *WorkflowCronData) ProtoReflect() protoreflect.Message
- func (x *WorkflowCronData) Reset()
- func (m *WorkflowCronData) Sanitize() error
- func (x *WorkflowCronData) String() string
- func (m *WorkflowCronData) Validate() error
- func (m *WorkflowCronData) ValidateAll() error
- type WorkflowCronDataMultiError
- type WorkflowCronDataValidationError
- func (e WorkflowCronDataValidationError) Cause() error
- func (e WorkflowCronDataValidationError) Error() string
- func (e WorkflowCronDataValidationError) ErrorName() string
- func (e WorkflowCronDataValidationError) Field() string
- func (e WorkflowCronDataValidationError) Key() bool
- func (e WorkflowCronDataValidationError) Reason() string
- type WorkflowMultiError
- type WorkflowState
- func (*WorkflowState) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowState) GetAutoCloseTime() *timestamp.Timestamp
- func (x *WorkflowState) GetDocument() *DocumentShort
- func (x *WorkflowState) GetDocumentId() uint64
- func (x *WorkflowState) GetNextReminderCount() int32
- func (x *WorkflowState) GetNextReminderTime() *timestamp.Timestamp
- func (x *WorkflowState) GetWorkflow() *Workflow
- func (*WorkflowState) ProtoMessage()
- func (x *WorkflowState) ProtoReflect() protoreflect.Message
- func (x *WorkflowState) Reset()
- func (m *WorkflowState) Sanitize() error
- func (x *WorkflowState) String() string
- func (m *WorkflowState) Validate() error
- func (m *WorkflowState) ValidateAll() error
- type WorkflowStateMultiError
- type WorkflowStateValidationError
- func (e WorkflowStateValidationError) Cause() error
- func (e WorkflowStateValidationError) Error() string
- func (e WorkflowStateValidationError) ErrorName() string
- func (e WorkflowStateValidationError) Field() string
- func (e WorkflowStateValidationError) Key() bool
- func (e WorkflowStateValidationError) Reason() string
- type WorkflowUserState
- func (*WorkflowUserState) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowUserState) GetDocument() *DocumentShort
- func (x *WorkflowUserState) GetDocumentId() uint64
- func (x *WorkflowUserState) GetManualReminderMessage() string
- func (x *WorkflowUserState) GetManualReminderTime() *timestamp.Timestamp
- func (x *WorkflowUserState) GetUserId() int32
- func (x *WorkflowUserState) GetWorkflow() *Workflow
- func (*WorkflowUserState) ProtoMessage()
- func (x *WorkflowUserState) ProtoReflect() protoreflect.Message
- func (x *WorkflowUserState) Reset()
- func (m *WorkflowUserState) Sanitize() error
- func (x *WorkflowUserState) String() string
- func (m *WorkflowUserState) Validate() error
- func (m *WorkflowUserState) ValidateAll() error
- type WorkflowUserStateMultiError
- type WorkflowUserStateValidationError
- func (e WorkflowUserStateValidationError) Cause() error
- func (e WorkflowUserStateValidationError) Error() string
- func (e WorkflowUserStateValidationError) ErrorName() string
- func (e WorkflowUserStateValidationError) Field() string
- func (e WorkflowUserStateValidationError) Key() bool
- func (e WorkflowUserStateValidationError) Reason() string
- type WorkflowValidationError
Constants ¶
This section is empty.
Variables ¶
var ( AccessLevel_name = map[int32]string{ 0: "ACCESS_LEVEL_UNSPECIFIED", 1: "ACCESS_LEVEL_BLOCKED", 2: "ACCESS_LEVEL_VIEW", 3: "ACCESS_LEVEL_COMMENT", 4: "ACCESS_LEVEL_STATUS", 5: "ACCESS_LEVEL_ACCESS", 6: "ACCESS_LEVEL_EDIT", } AccessLevel_value = map[string]int32{ "ACCESS_LEVEL_UNSPECIFIED": 0, "ACCESS_LEVEL_BLOCKED": 1, "ACCESS_LEVEL_VIEW": 2, "ACCESS_LEVEL_COMMENT": 3, "ACCESS_LEVEL_STATUS": 4, "ACCESS_LEVEL_ACCESS": 5, "ACCESS_LEVEL_EDIT": 6, } )
Enum value maps for AccessLevel.
var ( DocActivityType_name = map[int32]string{ 0: "DOC_ACTIVITY_TYPE_UNSPECIFIED", 1: "DOC_ACTIVITY_TYPE_CREATED", 2: "DOC_ACTIVITY_TYPE_STATUS_OPEN", 3: "DOC_ACTIVITY_TYPE_STATUS_CLOSED", 4: "DOC_ACTIVITY_TYPE_UPDATED", 5: "DOC_ACTIVITY_TYPE_RELATIONS_UPDATED", 6: "DOC_ACTIVITY_TYPE_REFERENCES_UPDATED", 7: "DOC_ACTIVITY_TYPE_ACCESS_UPDATED", 8: "DOC_ACTIVITY_TYPE_OWNER_CHANGED", 9: "DOC_ACTIVITY_TYPE_DELETED", 10: "DOC_ACTIVITY_TYPE_COMMENT_ADDED", 11: "DOC_ACTIVITY_TYPE_COMMENT_UPDATED", 12: "DOC_ACTIVITY_TYPE_COMMENT_DELETED", 13: "DOC_ACTIVITY_TYPE_REQUESTED_ACCESS", 14: "DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE", 15: "DOC_ACTIVITY_TYPE_REQUESTED_OPENING", 16: "DOC_ACTIVITY_TYPE_REQUESTED_UPDATE", 17: "DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE", 18: "DOC_ACTIVITY_TYPE_REQUESTED_DELETION", } DocActivityType_value = map[string]int32{ "DOC_ACTIVITY_TYPE_UNSPECIFIED": 0, "DOC_ACTIVITY_TYPE_CREATED": 1, "DOC_ACTIVITY_TYPE_STATUS_OPEN": 2, "DOC_ACTIVITY_TYPE_STATUS_CLOSED": 3, "DOC_ACTIVITY_TYPE_UPDATED": 4, "DOC_ACTIVITY_TYPE_RELATIONS_UPDATED": 5, "DOC_ACTIVITY_TYPE_REFERENCES_UPDATED": 6, "DOC_ACTIVITY_TYPE_ACCESS_UPDATED": 7, "DOC_ACTIVITY_TYPE_OWNER_CHANGED": 8, "DOC_ACTIVITY_TYPE_DELETED": 9, "DOC_ACTIVITY_TYPE_COMMENT_ADDED": 10, "DOC_ACTIVITY_TYPE_COMMENT_UPDATED": 11, "DOC_ACTIVITY_TYPE_COMMENT_DELETED": 12, "DOC_ACTIVITY_TYPE_REQUESTED_ACCESS": 13, "DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE": 14, "DOC_ACTIVITY_TYPE_REQUESTED_OPENING": 15, "DOC_ACTIVITY_TYPE_REQUESTED_UPDATE": 16, "DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE": 17, "DOC_ACTIVITY_TYPE_REQUESTED_DELETION": 18, } )
Enum value maps for DocActivityType.
var ( DocReference_name = map[int32]string{ 0: "DOC_REFERENCE_UNSPECIFIED", 1: "DOC_REFERENCE_LINKED", 2: "DOC_REFERENCE_SOLVES", 3: "DOC_REFERENCE_CLOSES", 4: "DOC_REFERENCE_DEPRECATES", } DocReference_value = map[string]int32{ "DOC_REFERENCE_UNSPECIFIED": 0, "DOC_REFERENCE_LINKED": 1, "DOC_REFERENCE_SOLVES": 2, "DOC_REFERENCE_CLOSES": 3, "DOC_REFERENCE_DEPRECATES": 4, } )
Enum value maps for DocReference.
var ( DocRelation_name = map[int32]string{ 0: "DOC_RELATION_UNSPECIFIED", 1: "DOC_RELATION_MENTIONED", 2: "DOC_RELATION_TARGETS", 3: "DOC_RELATION_CAUSED", } DocRelation_value = map[string]int32{ "DOC_RELATION_UNSPECIFIED": 0, "DOC_RELATION_MENTIONED": 1, "DOC_RELATION_TARGETS": 2, "DOC_RELATION_CAUSED": 3, } )
Enum value maps for DocRelation.
var File_resources_documents_access_proto protoreflect.FileDescriptor
var File_resources_documents_activity_proto protoreflect.FileDescriptor
var File_resources_documents_category_proto protoreflect.FileDescriptor
var File_resources_documents_comment_proto protoreflect.FileDescriptor
var File_resources_documents_documents_proto protoreflect.FileDescriptor
var File_resources_documents_requests_proto protoreflect.FileDescriptor
var File_resources_documents_templates_proto protoreflect.FileDescriptor
var File_resources_documents_workflow_proto protoreflect.FileDescriptor
Functions ¶
func DocumentAccessHasDuplicates ¶
func DocumentAccessHasDuplicates(access *DocumentAccess) bool
func TemplateAccessHasDuplicates ¶
func TemplateAccessHasDuplicates(jobs []*TemplateJobAccess) bool
Types ¶
type AccessLevel ¶
type AccessLevel int32
const ( AccessLevel_ACCESS_LEVEL_UNSPECIFIED AccessLevel = 0 AccessLevel_ACCESS_LEVEL_BLOCKED AccessLevel = 1 AccessLevel_ACCESS_LEVEL_VIEW AccessLevel = 2 AccessLevel_ACCESS_LEVEL_COMMENT AccessLevel = 3 AccessLevel_ACCESS_LEVEL_STATUS AccessLevel = 4 AccessLevel_ACCESS_LEVEL_ACCESS AccessLevel = 5 AccessLevel_ACCESS_LEVEL_EDIT AccessLevel = 6 )
func (AccessLevel) Descriptor ¶
func (AccessLevel) Descriptor() protoreflect.EnumDescriptor
func (AccessLevel) Enum ¶
func (x AccessLevel) Enum() *AccessLevel
func (AccessLevel) EnumDescriptor
deprecated
func (AccessLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessLevel.Descriptor instead.
func (AccessLevel) Number ¶
func (x AccessLevel) Number() protoreflect.EnumNumber
func (AccessLevel) String ¶
func (x AccessLevel) String() string
func (AccessLevel) Type ¶
func (AccessLevel) Type() protoreflect.EnumType
type AutoCloseSettings ¶ added in v0.9.4
type AutoCloseSettings struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*AutoCloseSettings) Descriptor
deprecated
added in
v0.9.4
func (*AutoCloseSettings) Descriptor() ([]byte, []int)
Deprecated: Use AutoCloseSettings.ProtoReflect.Descriptor instead.
func (*AutoCloseSettings) GetDuration ¶ added in v0.9.4
func (x *AutoCloseSettings) GetDuration() *durationpb.Duration
func (*AutoCloseSettings) GetMessage ¶ added in v0.9.4
func (x *AutoCloseSettings) GetMessage() string
func (*AutoCloseSettings) ProtoMessage ¶ added in v0.9.4
func (*AutoCloseSettings) ProtoMessage()
func (*AutoCloseSettings) ProtoReflect ¶ added in v0.9.4
func (x *AutoCloseSettings) ProtoReflect() protoreflect.Message
func (*AutoCloseSettings) Reset ¶ added in v0.9.4
func (x *AutoCloseSettings) Reset()
func (*AutoCloseSettings) Sanitize ¶ added in v0.9.4
func (m *AutoCloseSettings) Sanitize() error
func (*AutoCloseSettings) String ¶ added in v0.9.4
func (x *AutoCloseSettings) String() string
func (*AutoCloseSettings) Validate ¶ added in v0.9.4
func (m *AutoCloseSettings) Validate() error
Validate checks the field values on AutoCloseSettings 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 (*AutoCloseSettings) ValidateAll ¶ added in v0.9.4
func (m *AutoCloseSettings) ValidateAll() error
ValidateAll checks the field values on AutoCloseSettings 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 AutoCloseSettingsMultiError, or nil if none found.
type AutoCloseSettingsMultiError ¶ added in v0.9.4
type AutoCloseSettingsMultiError []error
AutoCloseSettingsMultiError is an error wrapping multiple validation errors returned by AutoCloseSettings.ValidateAll() if the designated constraints aren't met.
func (AutoCloseSettingsMultiError) AllErrors ¶ added in v0.9.4
func (m AutoCloseSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AutoCloseSettingsMultiError) Error ¶ added in v0.9.4
func (m AutoCloseSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AutoCloseSettingsValidationError ¶ added in v0.9.4
type AutoCloseSettingsValidationError struct {
// contains filtered or unexported fields
}
AutoCloseSettingsValidationError is the validation error returned by AutoCloseSettings.Validate if the designated constraints aren't met.
func (AutoCloseSettingsValidationError) Cause ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) Cause() error
Cause function returns cause value.
func (AutoCloseSettingsValidationError) Error ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (AutoCloseSettingsValidationError) ErrorName ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (AutoCloseSettingsValidationError) Field ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) Field() string
Field function returns field value.
func (AutoCloseSettingsValidationError) Key ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) Key() bool
Key function returns key value.
func (AutoCloseSettingsValidationError) Reason ¶ added in v0.9.4
func (e AutoCloseSettingsValidationError) Reason() string
Reason function returns reason value.
type Category ¶
type Category struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // @sanitize Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // @sanitize Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` Job *string `protobuf:"bytes,4,opt,name=job,proto3,oneof" json:"job,omitempty"` // @sanitize: method=StripTags Color *string `protobuf:"bytes,5,opt,name=color,proto3,oneof" json:"color,omitempty"` // @sanitize: method=StripTags Icon *string `protobuf:"bytes,6,opt,name=icon,proto3,oneof" json:"icon,omitempty"` // contains filtered or unexported fields }
func (*Category) Descriptor
deprecated
func (*Category) GetDescription ¶
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) ProtoReflect ¶
func (x *Category) ProtoReflect() protoreflect.Message
func (*Category) Validate ¶
Validate checks the field values on Category 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 (*Category) ValidateAll ¶
ValidateAll checks the field values on Category 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 CategoryMultiError, or nil if none found.
type CategoryMultiError ¶
type CategoryMultiError []error
CategoryMultiError is an error wrapping multiple validation errors returned by Category.ValidateAll() if the designated constraints aren't met.
func (CategoryMultiError) AllErrors ¶
func (m CategoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CategoryMultiError) Error ¶
func (m CategoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CategoryValidationError ¶
type CategoryValidationError struct {
// contains filtered or unexported fields
}
CategoryValidationError is the validation error returned by Category.Validate if the designated constraints aren't met.
func (CategoryValidationError) Cause ¶
func (e CategoryValidationError) Cause() error
Cause function returns cause value.
func (CategoryValidationError) Error ¶
func (e CategoryValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryValidationError) ErrorName ¶
func (e CategoryValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryValidationError) Field ¶
func (e CategoryValidationError) Field() string
Field function returns field value.
func (CategoryValidationError) Key ¶
func (e CategoryValidationError) Key() bool
Key function returns key value.
func (CategoryValidationError) Reason ¶
func (e CategoryValidationError) Reason() string
Reason function returns reason value.
type Comment ¶
type Comment struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: 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"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` DocumentId uint64 `protobuf:"varint,5,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` Content *content.Content `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` CreatorId *int32 `protobuf:"varint,7,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,8,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" CreatorJob string `protobuf:"bytes,9,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetContent ¶ added in v0.9.4
func (*Comment) GetCreatedAt ¶
func (*Comment) GetCreator ¶
func (*Comment) GetCreatorId ¶
func (*Comment) GetCreatorJob ¶
func (*Comment) GetDeletedAt ¶
func (*Comment) GetDocumentId ¶
func (*Comment) GetUpdatedAt ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
func (*Comment) Validate ¶
Validate checks the field values on Comment 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 (*Comment) ValidateAll ¶
ValidateAll checks the field values on Comment 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 CommentMultiError, or nil if none found.
type CommentMultiError ¶
type CommentMultiError []error
CommentMultiError is an error wrapping multiple validation errors returned by Comment.ValidateAll() if the designated constraints aren't met.
func (CommentMultiError) AllErrors ¶
func (m CommentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommentMultiError) Error ¶
func (m CommentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommentValidationError ¶
type CommentValidationError struct {
// contains filtered or unexported fields
}
CommentValidationError is the validation error returned by Comment.Validate if the designated constraints aren't met.
func (CommentValidationError) Cause ¶
func (e CommentValidationError) Cause() error
Cause function returns cause value.
func (CommentValidationError) Error ¶
func (e CommentValidationError) Error() string
Error satisfies the builtin error interface
func (CommentValidationError) ErrorName ¶
func (e CommentValidationError) ErrorName() string
ErrorName returns error name.
func (CommentValidationError) Field ¶
func (e CommentValidationError) Field() string
Field function returns field value.
func (CommentValidationError) Key ¶
func (e CommentValidationError) Key() bool
Key function returns key value.
func (CommentValidationError) Reason ¶
func (e CommentValidationError) Reason() string
Reason function returns reason value.
type DocAccessJobsDiff ¶ added in v0.9.4
type DocAccessJobsDiff struct { ToCreate []*DocumentJobAccess `protobuf:"bytes,1,rep,name=to_create,json=toCreate,proto3" json:"to_create,omitempty"` ToUpdate []*DocumentJobAccess `protobuf:"bytes,2,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"` ToDelete []*DocumentJobAccess `protobuf:"bytes,3,rep,name=to_delete,json=toDelete,proto3" json:"to_delete,omitempty"` // contains filtered or unexported fields }
func (*DocAccessJobsDiff) Descriptor
deprecated
added in
v0.9.4
func (*DocAccessJobsDiff) Descriptor() ([]byte, []int)
Deprecated: Use DocAccessJobsDiff.ProtoReflect.Descriptor instead.
func (*DocAccessJobsDiff) GetToCreate ¶ added in v0.9.4
func (x *DocAccessJobsDiff) GetToCreate() []*DocumentJobAccess
func (*DocAccessJobsDiff) GetToDelete ¶ added in v0.9.4
func (x *DocAccessJobsDiff) GetToDelete() []*DocumentJobAccess
func (*DocAccessJobsDiff) GetToUpdate ¶ added in v0.9.4
func (x *DocAccessJobsDiff) GetToUpdate() []*DocumentJobAccess
func (*DocAccessJobsDiff) ProtoMessage ¶ added in v0.9.4
func (*DocAccessJobsDiff) ProtoMessage()
func (*DocAccessJobsDiff) ProtoReflect ¶ added in v0.9.4
func (x *DocAccessJobsDiff) ProtoReflect() protoreflect.Message
func (*DocAccessJobsDiff) Reset ¶ added in v0.9.4
func (x *DocAccessJobsDiff) Reset()
func (*DocAccessJobsDiff) Sanitize ¶ added in v0.9.4
func (m *DocAccessJobsDiff) Sanitize() error
func (*DocAccessJobsDiff) String ¶ added in v0.9.4
func (x *DocAccessJobsDiff) String() string
func (*DocAccessJobsDiff) Validate ¶ added in v0.9.4
func (m *DocAccessJobsDiff) Validate() error
Validate checks the field values on DocAccessJobsDiff 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 (*DocAccessJobsDiff) ValidateAll ¶ added in v0.9.4
func (m *DocAccessJobsDiff) ValidateAll() error
ValidateAll checks the field values on DocAccessJobsDiff 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 DocAccessJobsDiffMultiError, or nil if none found.
type DocAccessJobsDiffMultiError ¶ added in v0.9.4
type DocAccessJobsDiffMultiError []error
DocAccessJobsDiffMultiError is an error wrapping multiple validation errors returned by DocAccessJobsDiff.ValidateAll() if the designated constraints aren't met.
func (DocAccessJobsDiffMultiError) AllErrors ¶ added in v0.9.4
func (m DocAccessJobsDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocAccessJobsDiffMultiError) Error ¶ added in v0.9.4
func (m DocAccessJobsDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocAccessJobsDiffValidationError ¶ added in v0.9.4
type DocAccessJobsDiffValidationError struct {
// contains filtered or unexported fields
}
DocAccessJobsDiffValidationError is the validation error returned by DocAccessJobsDiff.Validate if the designated constraints aren't met.
func (DocAccessJobsDiffValidationError) Cause ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) Cause() error
Cause function returns cause value.
func (DocAccessJobsDiffValidationError) Error ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) Error() string
Error satisfies the builtin error interface
func (DocAccessJobsDiffValidationError) ErrorName ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) ErrorName() string
ErrorName returns error name.
func (DocAccessJobsDiffValidationError) Field ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) Field() string
Field function returns field value.
func (DocAccessJobsDiffValidationError) Key ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) Key() bool
Key function returns key value.
func (DocAccessJobsDiffValidationError) Reason ¶ added in v0.9.4
func (e DocAccessJobsDiffValidationError) Reason() string
Reason function returns reason value.
type DocAccessRequested ¶
type DocAccessRequested struct { Level AccessLevel `protobuf:"varint,1,opt,name=level,proto3,enum=resources.documents.AccessLevel" json:"level,omitempty"` // contains filtered or unexported fields }
func (*DocAccessRequested) Descriptor
deprecated
func (*DocAccessRequested) Descriptor() ([]byte, []int)
Deprecated: Use DocAccessRequested.ProtoReflect.Descriptor instead.
func (*DocAccessRequested) GetLevel ¶
func (x *DocAccessRequested) GetLevel() AccessLevel
func (*DocAccessRequested) ProtoMessage ¶
func (*DocAccessRequested) ProtoMessage()
func (*DocAccessRequested) ProtoReflect ¶
func (x *DocAccessRequested) ProtoReflect() protoreflect.Message
func (*DocAccessRequested) Reset ¶
func (x *DocAccessRequested) Reset()
func (*DocAccessRequested) Sanitize ¶ added in v0.9.4
func (m *DocAccessRequested) Sanitize() error
func (*DocAccessRequested) String ¶
func (x *DocAccessRequested) String() string
func (*DocAccessRequested) Validate ¶
func (m *DocAccessRequested) Validate() error
Validate checks the field values on DocAccessRequested 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 (*DocAccessRequested) ValidateAll ¶
func (m *DocAccessRequested) ValidateAll() error
ValidateAll checks the field values on DocAccessRequested 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 DocAccessRequestedMultiError, or nil if none found.
type DocAccessRequestedMultiError ¶
type DocAccessRequestedMultiError []error
DocAccessRequestedMultiError is an error wrapping multiple validation errors returned by DocAccessRequested.ValidateAll() if the designated constraints aren't met.
func (DocAccessRequestedMultiError) AllErrors ¶
func (m DocAccessRequestedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocAccessRequestedMultiError) Error ¶
func (m DocAccessRequestedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocAccessRequestedValidationError ¶
type DocAccessRequestedValidationError struct {
// contains filtered or unexported fields
}
DocAccessRequestedValidationError is the validation error returned by DocAccessRequested.Validate if the designated constraints aren't met.
func (DocAccessRequestedValidationError) Cause ¶
func (e DocAccessRequestedValidationError) Cause() error
Cause function returns cause value.
func (DocAccessRequestedValidationError) Error ¶
func (e DocAccessRequestedValidationError) Error() string
Error satisfies the builtin error interface
func (DocAccessRequestedValidationError) ErrorName ¶
func (e DocAccessRequestedValidationError) ErrorName() string
ErrorName returns error name.
func (DocAccessRequestedValidationError) Field ¶
func (e DocAccessRequestedValidationError) Field() string
Field function returns field value.
func (DocAccessRequestedValidationError) Key ¶
func (e DocAccessRequestedValidationError) Key() bool
Key function returns key value.
func (DocAccessRequestedValidationError) Reason ¶
func (e DocAccessRequestedValidationError) Reason() string
Reason function returns reason value.
type DocAccessUpdated ¶ added in v0.9.4
type DocAccessUpdated struct { Jobs *DocAccessJobsDiff `protobuf:"bytes,1,opt,name=jobs,proto3" json:"jobs,omitempty"` Users *DocAccessUsersDiff `protobuf:"bytes,2,opt,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*DocAccessUpdated) Descriptor
deprecated
added in
v0.9.4
func (*DocAccessUpdated) Descriptor() ([]byte, []int)
Deprecated: Use DocAccessUpdated.ProtoReflect.Descriptor instead.
func (*DocAccessUpdated) GetJobs ¶ added in v0.9.4
func (x *DocAccessUpdated) GetJobs() *DocAccessJobsDiff
func (*DocAccessUpdated) GetUsers ¶ added in v0.9.4
func (x *DocAccessUpdated) GetUsers() *DocAccessUsersDiff
func (*DocAccessUpdated) ProtoMessage ¶ added in v0.9.4
func (*DocAccessUpdated) ProtoMessage()
func (*DocAccessUpdated) ProtoReflect ¶ added in v0.9.4
func (x *DocAccessUpdated) ProtoReflect() protoreflect.Message
func (*DocAccessUpdated) Reset ¶ added in v0.9.4
func (x *DocAccessUpdated) Reset()
func (*DocAccessUpdated) Sanitize ¶ added in v0.9.4
func (m *DocAccessUpdated) Sanitize() error
func (*DocAccessUpdated) String ¶ added in v0.9.4
func (x *DocAccessUpdated) String() string
func (*DocAccessUpdated) Validate ¶ added in v0.9.4
func (m *DocAccessUpdated) Validate() error
Validate checks the field values on DocAccessUpdated 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 (*DocAccessUpdated) ValidateAll ¶ added in v0.9.4
func (m *DocAccessUpdated) ValidateAll() error
ValidateAll checks the field values on DocAccessUpdated 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 DocAccessUpdatedMultiError, or nil if none found.
type DocAccessUpdatedMultiError ¶ added in v0.9.4
type DocAccessUpdatedMultiError []error
DocAccessUpdatedMultiError is an error wrapping multiple validation errors returned by DocAccessUpdated.ValidateAll() if the designated constraints aren't met.
func (DocAccessUpdatedMultiError) AllErrors ¶ added in v0.9.4
func (m DocAccessUpdatedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocAccessUpdatedMultiError) Error ¶ added in v0.9.4
func (m DocAccessUpdatedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocAccessUpdatedValidationError ¶ added in v0.9.4
type DocAccessUpdatedValidationError struct {
// contains filtered or unexported fields
}
DocAccessUpdatedValidationError is the validation error returned by DocAccessUpdated.Validate if the designated constraints aren't met.
func (DocAccessUpdatedValidationError) Cause ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) Cause() error
Cause function returns cause value.
func (DocAccessUpdatedValidationError) Error ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) Error() string
Error satisfies the builtin error interface
func (DocAccessUpdatedValidationError) ErrorName ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) ErrorName() string
ErrorName returns error name.
func (DocAccessUpdatedValidationError) Field ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) Field() string
Field function returns field value.
func (DocAccessUpdatedValidationError) Key ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) Key() bool
Key function returns key value.
func (DocAccessUpdatedValidationError) Reason ¶ added in v0.9.4
func (e DocAccessUpdatedValidationError) Reason() string
Reason function returns reason value.
type DocAccessUsersDiff ¶ added in v0.9.4
type DocAccessUsersDiff struct { ToCreate []*DocumentUserAccess `protobuf:"bytes,1,rep,name=to_create,json=toCreate,proto3" json:"to_create,omitempty"` ToUpdate []*DocumentUserAccess `protobuf:"bytes,2,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"` ToDelete []*DocumentUserAccess `protobuf:"bytes,3,rep,name=to_delete,json=toDelete,proto3" json:"to_delete,omitempty"` // contains filtered or unexported fields }
func (*DocAccessUsersDiff) Descriptor
deprecated
added in
v0.9.4
func (*DocAccessUsersDiff) Descriptor() ([]byte, []int)
Deprecated: Use DocAccessUsersDiff.ProtoReflect.Descriptor instead.
func (*DocAccessUsersDiff) GetToCreate ¶ added in v0.9.4
func (x *DocAccessUsersDiff) GetToCreate() []*DocumentUserAccess
func (*DocAccessUsersDiff) GetToDelete ¶ added in v0.9.4
func (x *DocAccessUsersDiff) GetToDelete() []*DocumentUserAccess
func (*DocAccessUsersDiff) GetToUpdate ¶ added in v0.9.4
func (x *DocAccessUsersDiff) GetToUpdate() []*DocumentUserAccess
func (*DocAccessUsersDiff) ProtoMessage ¶ added in v0.9.4
func (*DocAccessUsersDiff) ProtoMessage()
func (*DocAccessUsersDiff) ProtoReflect ¶ added in v0.9.4
func (x *DocAccessUsersDiff) ProtoReflect() protoreflect.Message
func (*DocAccessUsersDiff) Reset ¶ added in v0.9.4
func (x *DocAccessUsersDiff) Reset()
func (*DocAccessUsersDiff) Sanitize ¶ added in v0.9.4
func (m *DocAccessUsersDiff) Sanitize() error
func (*DocAccessUsersDiff) String ¶ added in v0.9.4
func (x *DocAccessUsersDiff) String() string
func (*DocAccessUsersDiff) Validate ¶ added in v0.9.4
func (m *DocAccessUsersDiff) Validate() error
Validate checks the field values on DocAccessUsersDiff 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 (*DocAccessUsersDiff) ValidateAll ¶ added in v0.9.4
func (m *DocAccessUsersDiff) ValidateAll() error
ValidateAll checks the field values on DocAccessUsersDiff 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 DocAccessUsersDiffMultiError, or nil if none found.
type DocAccessUsersDiffMultiError ¶ added in v0.9.4
type DocAccessUsersDiffMultiError []error
DocAccessUsersDiffMultiError is an error wrapping multiple validation errors returned by DocAccessUsersDiff.ValidateAll() if the designated constraints aren't met.
func (DocAccessUsersDiffMultiError) AllErrors ¶ added in v0.9.4
func (m DocAccessUsersDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocAccessUsersDiffMultiError) Error ¶ added in v0.9.4
func (m DocAccessUsersDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocAccessUsersDiffValidationError ¶ added in v0.9.4
type DocAccessUsersDiffValidationError struct {
// contains filtered or unexported fields
}
DocAccessUsersDiffValidationError is the validation error returned by DocAccessUsersDiff.Validate if the designated constraints aren't met.
func (DocAccessUsersDiffValidationError) Cause ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) Cause() error
Cause function returns cause value.
func (DocAccessUsersDiffValidationError) Error ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) Error() string
Error satisfies the builtin error interface
func (DocAccessUsersDiffValidationError) ErrorName ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) ErrorName() string
ErrorName returns error name.
func (DocAccessUsersDiffValidationError) Field ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) Field() string
Field function returns field value.
func (DocAccessUsersDiffValidationError) Key ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) Key() bool
Key function returns key value.
func (DocAccessUsersDiffValidationError) Reason ¶ added in v0.9.4
func (e DocAccessUsersDiffValidationError) Reason() string
Reason function returns reason value.
type DocActivity ¶
type DocActivity struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DocumentId uint64 `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` ActivityType DocActivityType `` /* 139-byte string literal not displayed */ CreatorId *int32 `protobuf:"varint,5,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,6,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" CreatorJob string `protobuf:"bytes,7,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` CreatorJobLabel *string `protobuf:"bytes,8,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` Reason *string `protobuf:"bytes,9,opt,name=reason,proto3,oneof" json:"reason,omitempty"` Data *DocActivityData `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DocActivity) Descriptor
deprecated
func (*DocActivity) Descriptor() ([]byte, []int)
Deprecated: Use DocActivity.ProtoReflect.Descriptor instead.
func (*DocActivity) GetActivityType ¶
func (x *DocActivity) GetActivityType() DocActivityType
func (*DocActivity) GetCreatedAt ¶
func (x *DocActivity) GetCreatedAt() *timestamp.Timestamp
func (*DocActivity) GetCreator ¶
func (x *DocActivity) GetCreator() *users.UserShort
func (*DocActivity) GetCreatorId ¶
func (x *DocActivity) GetCreatorId() int32
func (*DocActivity) GetCreatorJob ¶
func (x *DocActivity) GetCreatorJob() string
func (*DocActivity) GetCreatorJobLabel ¶
func (x *DocActivity) GetCreatorJobLabel() string
func (*DocActivity) GetData ¶
func (x *DocActivity) GetData() *DocActivityData
func (*DocActivity) GetDocumentId ¶
func (x *DocActivity) GetDocumentId() uint64
func (*DocActivity) GetId ¶
func (x *DocActivity) GetId() uint64
func (*DocActivity) GetReason ¶
func (x *DocActivity) GetReason() string
func (*DocActivity) ProtoMessage ¶
func (*DocActivity) ProtoMessage()
func (*DocActivity) ProtoReflect ¶
func (x *DocActivity) ProtoReflect() protoreflect.Message
func (*DocActivity) Reset ¶
func (x *DocActivity) Reset()
func (*DocActivity) Sanitize ¶ added in v0.9.4
func (m *DocActivity) Sanitize() error
func (*DocActivity) String ¶
func (x *DocActivity) String() string
func (*DocActivity) Validate ¶
func (m *DocActivity) Validate() error
Validate checks the field values on DocActivity 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 (*DocActivity) ValidateAll ¶
func (m *DocActivity) ValidateAll() error
ValidateAll checks the field values on DocActivity 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 DocActivityMultiError, or nil if none found.
type DocActivityData ¶
type DocActivityData struct { // Types that are assignable to Data: // // *DocActivityData_Updated // *DocActivityData_OwnerChanged // *DocActivityData_AccessUpdated // *DocActivityData_AccessRequested Data isDocActivityData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*DocActivityData) Descriptor
deprecated
func (*DocActivityData) Descriptor() ([]byte, []int)
Deprecated: Use DocActivityData.ProtoReflect.Descriptor instead.
func (*DocActivityData) GetAccessRequested ¶
func (x *DocActivityData) GetAccessRequested() *DocAccessRequested
func (*DocActivityData) GetAccessUpdated ¶
func (x *DocActivityData) GetAccessUpdated() *DocAccessUpdated
func (*DocActivityData) GetData ¶
func (m *DocActivityData) GetData() isDocActivityData_Data
func (*DocActivityData) GetOwnerChanged ¶
func (x *DocActivityData) GetOwnerChanged() *DocOwnerChanged
func (*DocActivityData) GetUpdated ¶
func (x *DocActivityData) GetUpdated() *DocUpdated
func (*DocActivityData) ProtoMessage ¶
func (*DocActivityData) ProtoMessage()
func (*DocActivityData) ProtoReflect ¶
func (x *DocActivityData) ProtoReflect() protoreflect.Message
func (*DocActivityData) Reset ¶
func (x *DocActivityData) Reset()
func (*DocActivityData) Sanitize ¶ added in v0.9.4
func (m *DocActivityData) Sanitize() error
func (*DocActivityData) Scan ¶
func (x *DocActivityData) Scan(value any) error
Scan implements driver.Valuer for protobuf DocActivityData.
func (*DocActivityData) String ¶
func (x *DocActivityData) String() string
func (*DocActivityData) Validate ¶
func (m *DocActivityData) Validate() error
Validate checks the field values on DocActivityData 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 (*DocActivityData) ValidateAll ¶
func (m *DocActivityData) ValidateAll() error
ValidateAll checks the field values on DocActivityData 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 DocActivityDataMultiError, or nil if none found.
type DocActivityDataMultiError ¶
type DocActivityDataMultiError []error
DocActivityDataMultiError is an error wrapping multiple validation errors returned by DocActivityData.ValidateAll() if the designated constraints aren't met.
func (DocActivityDataMultiError) AllErrors ¶
func (m DocActivityDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocActivityDataMultiError) Error ¶
func (m DocActivityDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocActivityDataValidationError ¶
type DocActivityDataValidationError struct {
// contains filtered or unexported fields
}
DocActivityDataValidationError is the validation error returned by DocActivityData.Validate if the designated constraints aren't met.
func (DocActivityDataValidationError) Cause ¶
func (e DocActivityDataValidationError) Cause() error
Cause function returns cause value.
func (DocActivityDataValidationError) Error ¶
func (e DocActivityDataValidationError) Error() string
Error satisfies the builtin error interface
func (DocActivityDataValidationError) ErrorName ¶
func (e DocActivityDataValidationError) ErrorName() string
ErrorName returns error name.
func (DocActivityDataValidationError) Field ¶
func (e DocActivityDataValidationError) Field() string
Field function returns field value.
func (DocActivityDataValidationError) Key ¶
func (e DocActivityDataValidationError) Key() bool
Key function returns key value.
func (DocActivityDataValidationError) Reason ¶
func (e DocActivityDataValidationError) Reason() string
Reason function returns reason value.
type DocActivityData_AccessRequested ¶
type DocActivityData_AccessRequested struct {
AccessRequested *DocAccessRequested `protobuf:"bytes,5,opt,name=access_requested,json=accessRequested,proto3,oneof"`
}
type DocActivityData_AccessUpdated ¶
type DocActivityData_AccessUpdated struct {
AccessUpdated *DocAccessUpdated `protobuf:"bytes,4,opt,name=access_updated,json=accessUpdated,proto3,oneof"`
}
type DocActivityData_OwnerChanged ¶
type DocActivityData_OwnerChanged struct {
OwnerChanged *DocOwnerChanged `protobuf:"bytes,2,opt,name=owner_changed,json=ownerChanged,proto3,oneof"`
}
type DocActivityData_Updated ¶
type DocActivityData_Updated struct {
Updated *DocUpdated `protobuf:"bytes,1,opt,name=updated,proto3,oneof"`
}
type DocActivityMultiError ¶
type DocActivityMultiError []error
DocActivityMultiError is an error wrapping multiple validation errors returned by DocActivity.ValidateAll() if the designated constraints aren't met.
func (DocActivityMultiError) AllErrors ¶
func (m DocActivityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocActivityMultiError) Error ¶
func (m DocActivityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocActivityType ¶
type DocActivityType int32
const ( DocActivityType_DOC_ACTIVITY_TYPE_UNSPECIFIED DocActivityType = 0 // Base DocActivityType_DOC_ACTIVITY_TYPE_CREATED DocActivityType = 1 DocActivityType_DOC_ACTIVITY_TYPE_STATUS_OPEN DocActivityType = 2 DocActivityType_DOC_ACTIVITY_TYPE_STATUS_CLOSED DocActivityType = 3 DocActivityType_DOC_ACTIVITY_TYPE_UPDATED DocActivityType = 4 DocActivityType_DOC_ACTIVITY_TYPE_RELATIONS_UPDATED DocActivityType = 5 DocActivityType_DOC_ACTIVITY_TYPE_REFERENCES_UPDATED DocActivityType = 6 DocActivityType_DOC_ACTIVITY_TYPE_ACCESS_UPDATED DocActivityType = 7 DocActivityType_DOC_ACTIVITY_TYPE_OWNER_CHANGED DocActivityType = 8 DocActivityType_DOC_ACTIVITY_TYPE_DELETED DocActivityType = 9 // Comments DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_ADDED DocActivityType = 10 DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_UPDATED DocActivityType = 11 DocActivityType_DOC_ACTIVITY_TYPE_COMMENT_DELETED DocActivityType = 12 // Requests DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_ACCESS DocActivityType = 13 DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE DocActivityType = 14 DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_OPENING DocActivityType = 15 DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_UPDATE DocActivityType = 16 DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE DocActivityType = 17 DocActivityType_DOC_ACTIVITY_TYPE_REQUESTED_DELETION DocActivityType = 18 )
func (DocActivityType) Descriptor ¶
func (DocActivityType) Descriptor() protoreflect.EnumDescriptor
func (DocActivityType) Enum ¶
func (x DocActivityType) Enum() *DocActivityType
func (DocActivityType) EnumDescriptor
deprecated
func (DocActivityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocActivityType.Descriptor instead.
func (DocActivityType) Number ¶
func (x DocActivityType) Number() protoreflect.EnumNumber
func (DocActivityType) String ¶
func (x DocActivityType) String() string
func (DocActivityType) Type ¶
func (DocActivityType) Type() protoreflect.EnumType
type DocActivityValidationError ¶
type DocActivityValidationError struct {
// contains filtered or unexported fields
}
DocActivityValidationError is the validation error returned by DocActivity.Validate if the designated constraints aren't met.
func (DocActivityValidationError) Cause ¶
func (e DocActivityValidationError) Cause() error
Cause function returns cause value.
func (DocActivityValidationError) Error ¶
func (e DocActivityValidationError) Error() string
Error satisfies the builtin error interface
func (DocActivityValidationError) ErrorName ¶
func (e DocActivityValidationError) ErrorName() string
ErrorName returns error name.
func (DocActivityValidationError) Field ¶
func (e DocActivityValidationError) Field() string
Field function returns field value.
func (DocActivityValidationError) Key ¶
func (e DocActivityValidationError) Key() bool
Key function returns key value.
func (DocActivityValidationError) Reason ¶
func (e DocActivityValidationError) Reason() string
Reason function returns reason value.
type DocOwnerChanged ¶
type DocOwnerChanged struct { NewOwnerId int32 `protobuf:"varint,1,opt,name=new_owner_id,json=newOwnerId,proto3" json:"new_owner_id,omitempty"` NewOwner *users.UserShort `protobuf:"bytes,2,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` // contains filtered or unexported fields }
func (*DocOwnerChanged) Descriptor
deprecated
func (*DocOwnerChanged) Descriptor() ([]byte, []int)
Deprecated: Use DocOwnerChanged.ProtoReflect.Descriptor instead.
func (*DocOwnerChanged) GetNewOwner ¶
func (x *DocOwnerChanged) GetNewOwner() *users.UserShort
func (*DocOwnerChanged) GetNewOwnerId ¶
func (x *DocOwnerChanged) GetNewOwnerId() int32
func (*DocOwnerChanged) ProtoMessage ¶
func (*DocOwnerChanged) ProtoMessage()
func (*DocOwnerChanged) ProtoReflect ¶
func (x *DocOwnerChanged) ProtoReflect() protoreflect.Message
func (*DocOwnerChanged) Reset ¶
func (x *DocOwnerChanged) Reset()
func (*DocOwnerChanged) Sanitize ¶ added in v0.9.4
func (m *DocOwnerChanged) Sanitize() error
func (*DocOwnerChanged) String ¶
func (x *DocOwnerChanged) String() string
func (*DocOwnerChanged) Validate ¶
func (m *DocOwnerChanged) Validate() error
Validate checks the field values on DocOwnerChanged 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 (*DocOwnerChanged) ValidateAll ¶
func (m *DocOwnerChanged) ValidateAll() error
ValidateAll checks the field values on DocOwnerChanged 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 DocOwnerChangedMultiError, or nil if none found.
type DocOwnerChangedMultiError ¶
type DocOwnerChangedMultiError []error
DocOwnerChangedMultiError is an error wrapping multiple validation errors returned by DocOwnerChanged.ValidateAll() if the designated constraints aren't met.
func (DocOwnerChangedMultiError) AllErrors ¶
func (m DocOwnerChangedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocOwnerChangedMultiError) Error ¶
func (m DocOwnerChangedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocOwnerChangedValidationError ¶
type DocOwnerChangedValidationError struct {
// contains filtered or unexported fields
}
DocOwnerChangedValidationError is the validation error returned by DocOwnerChanged.Validate if the designated constraints aren't met.
func (DocOwnerChangedValidationError) Cause ¶
func (e DocOwnerChangedValidationError) Cause() error
Cause function returns cause value.
func (DocOwnerChangedValidationError) Error ¶
func (e DocOwnerChangedValidationError) Error() string
Error satisfies the builtin error interface
func (DocOwnerChangedValidationError) ErrorName ¶
func (e DocOwnerChangedValidationError) ErrorName() string
ErrorName returns error name.
func (DocOwnerChangedValidationError) Field ¶
func (e DocOwnerChangedValidationError) Field() string
Field function returns field value.
func (DocOwnerChangedValidationError) Key ¶
func (e DocOwnerChangedValidationError) Key() bool
Key function returns key value.
func (DocOwnerChangedValidationError) Reason ¶
func (e DocOwnerChangedValidationError) Reason() string
Reason function returns reason value.
type DocReference ¶
type DocReference int32
const ( DocReference_DOC_REFERENCE_UNSPECIFIED DocReference = 0 DocReference_DOC_REFERENCE_LINKED DocReference = 1 DocReference_DOC_REFERENCE_SOLVES DocReference = 2 DocReference_DOC_REFERENCE_CLOSES DocReference = 3 DocReference_DOC_REFERENCE_DEPRECATES DocReference = 4 )
func (DocReference) Descriptor ¶
func (DocReference) Descriptor() protoreflect.EnumDescriptor
func (DocReference) Enum ¶
func (x DocReference) Enum() *DocReference
func (DocReference) EnumDescriptor
deprecated
func (DocReference) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocReference.Descriptor instead.
func (DocReference) Number ¶
func (x DocReference) Number() protoreflect.EnumNumber
func (DocReference) String ¶
func (x DocReference) String() string
func (DocReference) Type ¶
func (DocReference) Type() protoreflect.EnumType
type DocRelation ¶
type DocRelation int32
const ( DocRelation_DOC_RELATION_UNSPECIFIED DocRelation = 0 DocRelation_DOC_RELATION_MENTIONED DocRelation = 1 DocRelation_DOC_RELATION_TARGETS DocRelation = 2 DocRelation_DOC_RELATION_CAUSED DocRelation = 3 )
func (DocRelation) Descriptor ¶
func (DocRelation) Descriptor() protoreflect.EnumDescriptor
func (DocRelation) Enum ¶
func (x DocRelation) Enum() *DocRelation
func (DocRelation) EnumDescriptor
deprecated
func (DocRelation) EnumDescriptor() ([]byte, []int)
Deprecated: Use DocRelation.Descriptor instead.
func (DocRelation) Number ¶
func (x DocRelation) Number() protoreflect.EnumNumber
func (DocRelation) String ¶
func (x DocRelation) String() string
func (DocRelation) Type ¶
func (DocRelation) Type() protoreflect.EnumType
type DocRequest ¶
type DocRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DocumentId uint64 `protobuf:"varint,4,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` RequestType DocActivityType `` /* 136-byte string literal not displayed */ CreatorId *int32 `protobuf:"varint,6,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,7,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" CreatorJob string `protobuf:"bytes,8,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` CreatorJobLabel *string `protobuf:"bytes,9,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` Reason *string `protobuf:"bytes,10,opt,name=reason,proto3,oneof" json:"reason,omitempty"` Data *DocActivityData `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"` Accepted *bool `protobuf:"varint,12,opt,name=accepted,proto3,oneof" json:"accepted,omitempty"` // contains filtered or unexported fields }
func (*DocRequest) Descriptor
deprecated
func (*DocRequest) Descriptor() ([]byte, []int)
Deprecated: Use DocRequest.ProtoReflect.Descriptor instead.
func (*DocRequest) GetAccepted ¶
func (x *DocRequest) GetAccepted() bool
func (*DocRequest) GetCreatedAt ¶
func (x *DocRequest) GetCreatedAt() *timestamp.Timestamp
func (*DocRequest) GetCreator ¶
func (x *DocRequest) GetCreator() *users.UserShort
func (*DocRequest) GetCreatorId ¶
func (x *DocRequest) GetCreatorId() int32
func (*DocRequest) GetCreatorJob ¶
func (x *DocRequest) GetCreatorJob() string
func (*DocRequest) GetCreatorJobLabel ¶
func (x *DocRequest) GetCreatorJobLabel() string
func (*DocRequest) GetData ¶
func (x *DocRequest) GetData() *DocActivityData
func (*DocRequest) GetDocumentId ¶
func (x *DocRequest) GetDocumentId() uint64
func (*DocRequest) GetId ¶
func (x *DocRequest) GetId() uint64
func (*DocRequest) GetReason ¶
func (x *DocRequest) GetReason() string
func (*DocRequest) GetRequestType ¶
func (x *DocRequest) GetRequestType() DocActivityType
func (*DocRequest) GetUpdatedAt ¶
func (x *DocRequest) GetUpdatedAt() *timestamp.Timestamp
func (*DocRequest) ProtoMessage ¶
func (*DocRequest) ProtoMessage()
func (*DocRequest) ProtoReflect ¶
func (x *DocRequest) ProtoReflect() protoreflect.Message
func (*DocRequest) Reset ¶
func (x *DocRequest) Reset()
func (*DocRequest) Sanitize ¶ added in v0.9.4
func (m *DocRequest) Sanitize() error
func (*DocRequest) String ¶
func (x *DocRequest) String() string
func (*DocRequest) Validate ¶
func (m *DocRequest) Validate() error
Validate checks the field values on DocRequest 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 (*DocRequest) ValidateAll ¶
func (m *DocRequest) ValidateAll() error
ValidateAll checks the field values on DocRequest 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 DocRequestMultiError, or nil if none found.
type DocRequestMultiError ¶
type DocRequestMultiError []error
DocRequestMultiError is an error wrapping multiple validation errors returned by DocRequest.ValidateAll() if the designated constraints aren't met.
func (DocRequestMultiError) AllErrors ¶
func (m DocRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocRequestMultiError) Error ¶
func (m DocRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocRequestValidationError ¶
type DocRequestValidationError struct {
// contains filtered or unexported fields
}
DocRequestValidationError is the validation error returned by DocRequest.Validate if the designated constraints aren't met.
func (DocRequestValidationError) Cause ¶
func (e DocRequestValidationError) Cause() error
Cause function returns cause value.
func (DocRequestValidationError) Error ¶
func (e DocRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DocRequestValidationError) ErrorName ¶
func (e DocRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DocRequestValidationError) Field ¶
func (e DocRequestValidationError) Field() string
Field function returns field value.
func (DocRequestValidationError) Key ¶
func (e DocRequestValidationError) Key() bool
Key function returns key value.
func (DocRequestValidationError) Reason ¶
func (e DocRequestValidationError) Reason() string
Reason function returns reason value.
type DocUpdated ¶
type DocUpdated struct { TitleDiff *string `protobuf:"bytes,1,opt,name=title_diff,json=titleDiff,proto3,oneof" json:"title_diff,omitempty"` ContentDiff *string `protobuf:"bytes,2,opt,name=content_diff,json=contentDiff,proto3,oneof" json:"content_diff,omitempty"` StateDiff *string `protobuf:"bytes,3,opt,name=state_diff,json=stateDiff,proto3,oneof" json:"state_diff,omitempty"` // contains filtered or unexported fields }
func (*DocUpdated) Descriptor
deprecated
func (*DocUpdated) Descriptor() ([]byte, []int)
Deprecated: Use DocUpdated.ProtoReflect.Descriptor instead.
func (*DocUpdated) GetContentDiff ¶
func (x *DocUpdated) GetContentDiff() string
func (*DocUpdated) GetStateDiff ¶
func (x *DocUpdated) GetStateDiff() string
func (*DocUpdated) GetTitleDiff ¶
func (x *DocUpdated) GetTitleDiff() string
func (*DocUpdated) ProtoMessage ¶
func (*DocUpdated) ProtoMessage()
func (*DocUpdated) ProtoReflect ¶
func (x *DocUpdated) ProtoReflect() protoreflect.Message
func (*DocUpdated) Reset ¶
func (x *DocUpdated) Reset()
func (*DocUpdated) Sanitize ¶ added in v0.9.4
func (m *DocUpdated) Sanitize() error
func (*DocUpdated) String ¶
func (x *DocUpdated) String() string
func (*DocUpdated) Validate ¶
func (m *DocUpdated) Validate() error
Validate checks the field values on DocUpdated 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 (*DocUpdated) ValidateAll ¶
func (m *DocUpdated) ValidateAll() error
ValidateAll checks the field values on DocUpdated 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 DocUpdatedMultiError, or nil if none found.
type DocUpdatedMultiError ¶
type DocUpdatedMultiError []error
DocUpdatedMultiError is an error wrapping multiple validation errors returned by DocUpdated.ValidateAll() if the designated constraints aren't met.
func (DocUpdatedMultiError) AllErrors ¶
func (m DocUpdatedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocUpdatedMultiError) Error ¶
func (m DocUpdatedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocUpdatedValidationError ¶
type DocUpdatedValidationError struct {
// contains filtered or unexported fields
}
DocUpdatedValidationError is the validation error returned by DocUpdated.Validate if the designated constraints aren't met.
func (DocUpdatedValidationError) Cause ¶
func (e DocUpdatedValidationError) Cause() error
Cause function returns cause value.
func (DocUpdatedValidationError) Error ¶
func (e DocUpdatedValidationError) Error() string
Error satisfies the builtin error interface
func (DocUpdatedValidationError) ErrorName ¶
func (e DocUpdatedValidationError) ErrorName() string
ErrorName returns error name.
func (DocUpdatedValidationError) Field ¶
func (e DocUpdatedValidationError) Field() string
Field function returns field value.
func (DocUpdatedValidationError) Key ¶
func (e DocUpdatedValidationError) Key() bool
Key function returns key value.
func (DocUpdatedValidationError) Reason ¶
func (e DocUpdatedValidationError) Reason() string
Reason function returns reason value.
type Document ¶
type Document struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` CategoryId *uint64 `protobuf:"varint,5,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty"` Category *Category `protobuf:"bytes,6,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" // @sanitize Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` ContentType content.ContentType `` // @gotags: alias:"content_type" /* 158-byte string literal not displayed */ Content *content.Content `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` // @sanitize Data *string `protobuf:"bytes,10,opt,name=data,proto3,oneof" json:"data,omitempty" alias:"data"` // @gotags: alias:"data" CreatorId *int32 `protobuf:"varint,11,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,12,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" CreatorJob string `protobuf:"bytes,13,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` CreatorJobLabel *string `protobuf:"bytes,14,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` // @sanitize State string `protobuf:"bytes,15,opt,name=state,proto3" json:"state,omitempty"` Closed bool `protobuf:"varint,16,opt,name=closed,proto3" json:"closed,omitempty"` Public bool `protobuf:"varint,17,opt,name=public,proto3" json:"public,omitempty"` TemplateId *uint64 `protobuf:"varint,18,opt,name=template_id,json=templateId,proto3,oneof" json:"template_id,omitempty"` Pinned bool `protobuf:"varint,19,opt,name=pinned,proto3" json:"pinned,omitempty"` WorkflowState *WorkflowState `protobuf:"bytes,20,opt,name=workflow_state,json=workflowState,proto3,oneof" json:"workflow_state,omitempty"` WorkflowUser *WorkflowUserState `protobuf:"bytes,21,opt,name=workflow_user,json=workflowUser,proto3,oneof" json:"workflow_user,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) GetCategory ¶
func (*Document) GetCategoryId ¶
func (*Document) GetContent ¶
func (*Document) GetContentType ¶
func (x *Document) GetContentType() content.ContentType
func (*Document) GetCreatedAt ¶
func (*Document) GetCreator ¶
func (*Document) GetCreatorId ¶
func (*Document) GetCreatorJob ¶
func (*Document) GetCreatorJobLabel ¶ added in v0.9.4
func (*Document) GetDeletedAt ¶
func (*Document) GetTemplateId ¶
func (*Document) GetUpdatedAt ¶
func (*Document) GetWorkflowState ¶ added in v0.9.4
func (x *Document) GetWorkflowState() *WorkflowState
func (*Document) GetWorkflowUser ¶ added in v0.9.4
func (x *Document) GetWorkflowUser() *WorkflowUserState
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
func (*Document) SetCategory ¶
func (*Document) Validate ¶
Validate checks the field values on Document 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 (*Document) ValidateAll ¶
ValidateAll checks the field values on Document 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 DocumentMultiError, or nil if none found.
type DocumentAccess ¶
type DocumentAccess struct { Jobs []*DocumentJobAccess `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty" alias:"job_access"` // @gotags: alias:"job_access" Users []*DocumentUserAccess `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty" alias:"user_access"` // @gotags: alias:"user_access" // contains filtered or unexported fields }
func (*DocumentAccess) Descriptor
deprecated
func (*DocumentAccess) Descriptor() ([]byte, []int)
Deprecated: Use DocumentAccess.ProtoReflect.Descriptor instead.
func (*DocumentAccess) GetJobs ¶
func (x *DocumentAccess) GetJobs() []*DocumentJobAccess
func (*DocumentAccess) GetUsers ¶
func (x *DocumentAccess) GetUsers() []*DocumentUserAccess
func (*DocumentAccess) ProtoMessage ¶
func (*DocumentAccess) ProtoMessage()
func (*DocumentAccess) ProtoReflect ¶
func (x *DocumentAccess) ProtoReflect() protoreflect.Message
func (*DocumentAccess) Reset ¶
func (x *DocumentAccess) Reset()
func (*DocumentAccess) Sanitize ¶ added in v0.9.4
func (m *DocumentAccess) Sanitize() error
func (*DocumentAccess) Scan ¶
func (x *DocumentAccess) Scan(value any) error
Scan implements driver.Valuer for protobuf DocumentAccess.
func (*DocumentAccess) String ¶
func (x *DocumentAccess) String() string
func (*DocumentAccess) Validate ¶
func (m *DocumentAccess) Validate() error
Validate checks the field values on DocumentAccess 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 (*DocumentAccess) ValidateAll ¶
func (m *DocumentAccess) ValidateAll() error
ValidateAll checks the field values on DocumentAccess 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 DocumentAccessMultiError, or nil if none found.
type DocumentAccessMultiError ¶
type DocumentAccessMultiError []error
DocumentAccessMultiError is an error wrapping multiple validation errors returned by DocumentAccess.ValidateAll() if the designated constraints aren't met.
func (DocumentAccessMultiError) AllErrors ¶
func (m DocumentAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentAccessMultiError) Error ¶
func (m DocumentAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentAccessValidationError ¶
type DocumentAccessValidationError struct {
// contains filtered or unexported fields
}
DocumentAccessValidationError is the validation error returned by DocumentAccess.Validate if the designated constraints aren't met.
func (DocumentAccessValidationError) Cause ¶
func (e DocumentAccessValidationError) Cause() error
Cause function returns cause value.
func (DocumentAccessValidationError) Error ¶
func (e DocumentAccessValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentAccessValidationError) ErrorName ¶
func (e DocumentAccessValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentAccessValidationError) Field ¶
func (e DocumentAccessValidationError) Field() string
Field function returns field value.
func (DocumentAccessValidationError) Key ¶
func (e DocumentAccessValidationError) Key() bool
Key function returns key value.
func (DocumentAccessValidationError) Reason ¶
func (e DocumentAccessValidationError) Reason() string
Reason function returns reason value.
type DocumentJobAccess ¶
type DocumentJobAccess struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` TargetId uint64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` JobLabel *string `protobuf:"bytes,5,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"` MinimumGrade int32 `protobuf:"varint,6,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty"` JobGradeLabel *string `protobuf:"bytes,7,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"` Access AccessLevel `protobuf:"varint,8,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty"` Required *bool `protobuf:"varint,9,opt,name=required,proto3,oneof" json:"required,omitempty" alias:"required"` // @gotags: alias:"required" // contains filtered or unexported fields }
func (*DocumentJobAccess) Descriptor
deprecated
func (*DocumentJobAccess) Descriptor() ([]byte, []int)
Deprecated: Use DocumentJobAccess.ProtoReflect.Descriptor instead.
func (*DocumentJobAccess) GetAccess ¶
func (x *DocumentJobAccess) GetAccess() AccessLevel
func (*DocumentJobAccess) GetCreatedAt ¶
func (x *DocumentJobAccess) GetCreatedAt() *timestamp.Timestamp
func (*DocumentJobAccess) GetId ¶
func (x *DocumentJobAccess) GetId() uint64
func (*DocumentJobAccess) GetJob ¶
func (x *DocumentJobAccess) GetJob() string
func (*DocumentJobAccess) GetJobGrade ¶
func (x *DocumentJobAccess) GetJobGrade() int32
func (*DocumentJobAccess) GetJobGradeLabel ¶
func (x *DocumentJobAccess) GetJobGradeLabel() string
func (*DocumentJobAccess) GetJobLabel ¶
func (x *DocumentJobAccess) GetJobLabel() string
func (*DocumentJobAccess) GetMinimumGrade ¶
func (x *DocumentJobAccess) GetMinimumGrade() int32
func (*DocumentJobAccess) GetRequired ¶
func (x *DocumentJobAccess) GetRequired() bool
func (*DocumentJobAccess) GetTargetId ¶ added in v0.9.4
func (x *DocumentJobAccess) GetTargetId() uint64
func (*DocumentJobAccess) ProtoMessage ¶
func (*DocumentJobAccess) ProtoMessage()
func (*DocumentJobAccess) ProtoReflect ¶
func (x *DocumentJobAccess) ProtoReflect() protoreflect.Message
func (*DocumentJobAccess) Reset ¶
func (x *DocumentJobAccess) Reset()
func (*DocumentJobAccess) Sanitize ¶ added in v0.9.4
func (m *DocumentJobAccess) Sanitize() error
func (*DocumentJobAccess) SetAccess ¶ added in v0.9.4
func (x *DocumentJobAccess) SetAccess(access AccessLevel)
func (*DocumentJobAccess) SetJob ¶
func (x *DocumentJobAccess) SetJob(job string)
func (*DocumentJobAccess) SetJobGrade ¶
func (x *DocumentJobAccess) SetJobGrade(grade int32)
func (*DocumentJobAccess) SetJobGradeLabel ¶
func (x *DocumentJobAccess) SetJobGradeLabel(label string)
func (*DocumentJobAccess) SetJobLabel ¶
func (x *DocumentJobAccess) SetJobLabel(label string)
func (*DocumentJobAccess) SetMinimumGrade ¶ added in v0.9.4
func (x *DocumentJobAccess) SetMinimumGrade(grade int32)
func (*DocumentJobAccess) String ¶
func (x *DocumentJobAccess) String() string
func (*DocumentJobAccess) Validate ¶
func (m *DocumentJobAccess) Validate() error
Validate checks the field values on DocumentJobAccess 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 (*DocumentJobAccess) ValidateAll ¶
func (m *DocumentJobAccess) ValidateAll() error
ValidateAll checks the field values on DocumentJobAccess 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 DocumentJobAccessMultiError, or nil if none found.
type DocumentJobAccessMultiError ¶
type DocumentJobAccessMultiError []error
DocumentJobAccessMultiError is an error wrapping multiple validation errors returned by DocumentJobAccess.ValidateAll() if the designated constraints aren't met.
func (DocumentJobAccessMultiError) AllErrors ¶
func (m DocumentJobAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentJobAccessMultiError) Error ¶
func (m DocumentJobAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentJobAccessValidationError ¶
type DocumentJobAccessValidationError struct {
// contains filtered or unexported fields
}
DocumentJobAccessValidationError is the validation error returned by DocumentJobAccess.Validate if the designated constraints aren't met.
func (DocumentJobAccessValidationError) Cause ¶
func (e DocumentJobAccessValidationError) Cause() error
Cause function returns cause value.
func (DocumentJobAccessValidationError) Error ¶
func (e DocumentJobAccessValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentJobAccessValidationError) ErrorName ¶
func (e DocumentJobAccessValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentJobAccessValidationError) Field ¶
func (e DocumentJobAccessValidationError) Field() string
Field function returns field value.
func (DocumentJobAccessValidationError) Key ¶
func (e DocumentJobAccessValidationError) Key() bool
Key function returns key value.
func (DocumentJobAccessValidationError) Reason ¶
func (e DocumentJobAccessValidationError) Reason() string
Reason function returns reason value.
type DocumentMultiError ¶
type DocumentMultiError []error
DocumentMultiError is an error wrapping multiple validation errors returned by Document.ValidateAll() if the designated constraints aren't met.
func (DocumentMultiError) AllErrors ¶
func (m DocumentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentMultiError) Error ¶
func (m DocumentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentReference ¶
type DocumentReference struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` SourceDocumentId uint64 `` // @gotags: alias:"source_document_id" /* 139-byte string literal not displayed */ SourceDocument *DocumentShort `` // @gotags: alias:"source_document" /* 133-byte string literal not displayed */ Reference DocReference `` // @gotags: alias:"reference" /* 128-byte string literal not displayed */ TargetDocumentId uint64 `` // @gotags: alias:"target_document_id" /* 139-byte string literal not displayed */ TargetDocument *DocumentShort `` // @gotags: alias:"target_document" /* 133-byte string literal not displayed */ CreatorId *int32 `protobuf:"varint,8,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,9,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"ref_creator"` // @gotags: alias:"ref_creator" // contains filtered or unexported fields }
func (*DocumentReference) Descriptor
deprecated
func (*DocumentReference) Descriptor() ([]byte, []int)
Deprecated: Use DocumentReference.ProtoReflect.Descriptor instead.
func (*DocumentReference) GetCreatedAt ¶
func (x *DocumentReference) GetCreatedAt() *timestamp.Timestamp
func (*DocumentReference) GetCreator ¶
func (x *DocumentReference) GetCreator() *users.UserShort
func (*DocumentReference) GetCreatorId ¶
func (x *DocumentReference) GetCreatorId() int32
func (*DocumentReference) GetId ¶
func (x *DocumentReference) GetId() uint64
func (*DocumentReference) GetReference ¶
func (x *DocumentReference) GetReference() DocReference
func (*DocumentReference) GetSourceDocument ¶
func (x *DocumentReference) GetSourceDocument() *DocumentShort
func (*DocumentReference) GetSourceDocumentId ¶
func (x *DocumentReference) GetSourceDocumentId() uint64
func (*DocumentReference) GetTargetDocument ¶
func (x *DocumentReference) GetTargetDocument() *DocumentShort
func (*DocumentReference) GetTargetDocumentId ¶
func (x *DocumentReference) GetTargetDocumentId() uint64
func (*DocumentReference) ProtoMessage ¶
func (*DocumentReference) ProtoMessage()
func (*DocumentReference) ProtoReflect ¶
func (x *DocumentReference) ProtoReflect() protoreflect.Message
func (*DocumentReference) Reset ¶
func (x *DocumentReference) Reset()
func (*DocumentReference) Sanitize ¶ added in v0.9.4
func (m *DocumentReference) Sanitize() error
func (*DocumentReference) String ¶
func (x *DocumentReference) String() string
func (*DocumentReference) Validate ¶
func (m *DocumentReference) Validate() error
Validate checks the field values on DocumentReference 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 (*DocumentReference) ValidateAll ¶
func (m *DocumentReference) ValidateAll() error
ValidateAll checks the field values on DocumentReference 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 DocumentReferenceMultiError, or nil if none found.
type DocumentReferenceMultiError ¶
type DocumentReferenceMultiError []error
DocumentReferenceMultiError is an error wrapping multiple validation errors returned by DocumentReference.ValidateAll() if the designated constraints aren't met.
func (DocumentReferenceMultiError) AllErrors ¶
func (m DocumentReferenceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentReferenceMultiError) Error ¶
func (m DocumentReferenceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentReferenceValidationError ¶
type DocumentReferenceValidationError struct {
// contains filtered or unexported fields
}
DocumentReferenceValidationError is the validation error returned by DocumentReference.Validate if the designated constraints aren't met.
func (DocumentReferenceValidationError) Cause ¶
func (e DocumentReferenceValidationError) Cause() error
Cause function returns cause value.
func (DocumentReferenceValidationError) Error ¶
func (e DocumentReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentReferenceValidationError) ErrorName ¶
func (e DocumentReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentReferenceValidationError) Field ¶
func (e DocumentReferenceValidationError) Field() string
Field function returns field value.
func (DocumentReferenceValidationError) Key ¶
func (e DocumentReferenceValidationError) Key() bool
Key function returns key value.
func (DocumentReferenceValidationError) Reason ¶
func (e DocumentReferenceValidationError) Reason() string
Reason function returns reason value.
type DocumentRelation ¶
type DocumentRelation struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` DocumentId uint64 `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` Document *DocumentShort `protobuf:"bytes,4,opt,name=document,proto3,oneof" json:"document,omitempty" alias:"document"` // @gotags: alias:"document" SourceUserId int32 `protobuf:"varint,5,opt,name=source_user_id,json=sourceUserId,proto3" json:"source_user_id,omitempty" alias:"source_user_id"` // @gotags: alias:"source_user_id" SourceUser *users.UserShort `protobuf:"bytes,6,opt,name=source_user,json=sourceUser,proto3,oneof" json:"source_user,omitempty" alias:"source_user"` // @gotags: alias:"source_user" Relation DocRelation `protobuf:"varint,7,opt,name=relation,proto3,enum=resources.documents.DocRelation" json:"relation,omitempty" alias:"relation"` // @gotags: alias:"relation" TargetUserId int32 `protobuf:"varint,8,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty" alias:"target_user_id"` // @gotags: alias:"target_user_id" TargetUser *users.UserShort `protobuf:"bytes,9,opt,name=target_user,json=targetUser,proto3,oneof" json:"target_user,omitempty" alias:"target_user"` // @gotags: alias:"target_user" // contains filtered or unexported fields }
func (*DocumentRelation) Descriptor
deprecated
func (*DocumentRelation) Descriptor() ([]byte, []int)
Deprecated: Use DocumentRelation.ProtoReflect.Descriptor instead.
func (*DocumentRelation) GetCreatedAt ¶
func (x *DocumentRelation) GetCreatedAt() *timestamp.Timestamp
func (*DocumentRelation) GetDocument ¶
func (x *DocumentRelation) GetDocument() *DocumentShort
func (*DocumentRelation) GetDocumentId ¶
func (x *DocumentRelation) GetDocumentId() uint64
func (*DocumentRelation) GetId ¶
func (x *DocumentRelation) GetId() uint64
func (*DocumentRelation) GetRelation ¶
func (x *DocumentRelation) GetRelation() DocRelation
func (*DocumentRelation) GetSourceUser ¶
func (x *DocumentRelation) GetSourceUser() *users.UserShort
func (*DocumentRelation) GetSourceUserId ¶
func (x *DocumentRelation) GetSourceUserId() int32
func (*DocumentRelation) GetTargetUser ¶
func (x *DocumentRelation) GetTargetUser() *users.UserShort
func (*DocumentRelation) GetTargetUserId ¶
func (x *DocumentRelation) GetTargetUserId() int32
func (*DocumentRelation) ProtoMessage ¶
func (*DocumentRelation) ProtoMessage()
func (*DocumentRelation) ProtoReflect ¶
func (x *DocumentRelation) ProtoReflect() protoreflect.Message
func (*DocumentRelation) Reset ¶
func (x *DocumentRelation) Reset()
func (*DocumentRelation) Sanitize ¶ added in v0.9.4
func (m *DocumentRelation) Sanitize() error
func (*DocumentRelation) String ¶
func (x *DocumentRelation) String() string
func (*DocumentRelation) Validate ¶
func (m *DocumentRelation) Validate() error
Validate checks the field values on DocumentRelation 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 (*DocumentRelation) ValidateAll ¶
func (m *DocumentRelation) ValidateAll() error
ValidateAll checks the field values on DocumentRelation 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 DocumentRelationMultiError, or nil if none found.
type DocumentRelationMultiError ¶
type DocumentRelationMultiError []error
DocumentRelationMultiError is an error wrapping multiple validation errors returned by DocumentRelation.ValidateAll() if the designated constraints aren't met.
func (DocumentRelationMultiError) AllErrors ¶
func (m DocumentRelationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentRelationMultiError) Error ¶
func (m DocumentRelationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentRelationValidationError ¶
type DocumentRelationValidationError struct {
// contains filtered or unexported fields
}
DocumentRelationValidationError is the validation error returned by DocumentRelation.Validate if the designated constraints aren't met.
func (DocumentRelationValidationError) Cause ¶
func (e DocumentRelationValidationError) Cause() error
Cause function returns cause value.
func (DocumentRelationValidationError) Error ¶
func (e DocumentRelationValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentRelationValidationError) ErrorName ¶
func (e DocumentRelationValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentRelationValidationError) Field ¶
func (e DocumentRelationValidationError) Field() string
Field function returns field value.
func (DocumentRelationValidationError) Key ¶
func (e DocumentRelationValidationError) Key() bool
Key function returns key value.
func (DocumentRelationValidationError) Reason ¶
func (e DocumentRelationValidationError) Reason() string
Reason function returns reason value.
type DocumentShort ¶
type DocumentShort struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` DeletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deleted_at,omitempty"` CategoryId *uint64 `protobuf:"varint,5,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty"` Category *Category `protobuf:"bytes,6,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" // @sanitize Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` ContentType content.ContentType `` // @gotags: alias:"content_type" /* 158-byte string literal not displayed */ // @sanitize Content *content.Content `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` CreatorId *int32 `protobuf:"varint,10,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty"` Creator *users.UserShort `protobuf:"bytes,11,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" CreatorJob string `protobuf:"bytes,12,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty" alias:"creator_job"` // @gotags: alias:"creator_job" CreatorJobLabel *string `protobuf:"bytes,13,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` // @sanitize State string `protobuf:"bytes,14,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Closed bool `protobuf:"varint,15,opt,name=closed,proto3" json:"closed,omitempty"` Public bool `protobuf:"varint,16,opt,name=public,proto3" json:"public,omitempty"` WorkflowState *WorkflowState `protobuf:"bytes,20,opt,name=workflow_state,json=workflowState,proto3,oneof" json:"workflow_state,omitempty"` WorkflowUser *WorkflowUserState `protobuf:"bytes,21,opt,name=workflow_user,json=workflowUser,proto3,oneof" json:"workflow_user,omitempty"` // contains filtered or unexported fields }
func (*DocumentShort) Descriptor
deprecated
func (*DocumentShort) Descriptor() ([]byte, []int)
Deprecated: Use DocumentShort.ProtoReflect.Descriptor instead.
func (*DocumentShort) GetCategory ¶
func (x *DocumentShort) GetCategory() *Category
func (*DocumentShort) GetCategoryId ¶
func (x *DocumentShort) GetCategoryId() uint64
func (*DocumentShort) GetClosed ¶
func (x *DocumentShort) GetClosed() bool
func (*DocumentShort) GetContent ¶
func (x *DocumentShort) GetContent() *content.Content
func (*DocumentShort) GetContentType ¶
func (x *DocumentShort) GetContentType() content.ContentType
func (*DocumentShort) GetCreatedAt ¶
func (x *DocumentShort) GetCreatedAt() *timestamp.Timestamp
func (*DocumentShort) GetCreator ¶
func (x *DocumentShort) GetCreator() *users.UserShort
func (*DocumentShort) GetCreatorId ¶
func (x *DocumentShort) GetCreatorId() int32
func (*DocumentShort) GetCreatorJob ¶
func (x *DocumentShort) GetCreatorJob() string
func (*DocumentShort) GetCreatorJobLabel ¶ added in v0.9.4
func (x *DocumentShort) GetCreatorJobLabel() string
func (*DocumentShort) GetDeletedAt ¶
func (x *DocumentShort) GetDeletedAt() *timestamp.Timestamp
func (*DocumentShort) GetId ¶
func (x *DocumentShort) GetId() uint64
func (*DocumentShort) GetPublic ¶
func (x *DocumentShort) GetPublic() bool
func (*DocumentShort) GetState ¶
func (x *DocumentShort) GetState() string
func (*DocumentShort) GetTitle ¶
func (x *DocumentShort) GetTitle() string
func (*DocumentShort) GetUpdatedAt ¶
func (x *DocumentShort) GetUpdatedAt() *timestamp.Timestamp
func (*DocumentShort) GetWorkflowState ¶ added in v0.9.4
func (x *DocumentShort) GetWorkflowState() *WorkflowState
func (*DocumentShort) GetWorkflowUser ¶ added in v0.9.4
func (x *DocumentShort) GetWorkflowUser() *WorkflowUserState
func (*DocumentShort) ProtoMessage ¶
func (*DocumentShort) ProtoMessage()
func (*DocumentShort) ProtoReflect ¶
func (x *DocumentShort) ProtoReflect() protoreflect.Message
func (*DocumentShort) Reset ¶
func (x *DocumentShort) Reset()
func (*DocumentShort) Sanitize ¶
func (m *DocumentShort) Sanitize() error
func (*DocumentShort) SetCategory ¶
func (x *DocumentShort) SetCategory(cat *Category)
func (*DocumentShort) String ¶
func (x *DocumentShort) String() string
func (*DocumentShort) Validate ¶
func (m *DocumentShort) Validate() error
Validate checks the field values on DocumentShort 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 (*DocumentShort) ValidateAll ¶
func (m *DocumentShort) ValidateAll() error
ValidateAll checks the field values on DocumentShort 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 DocumentShortMultiError, or nil if none found.
type DocumentShortMultiError ¶
type DocumentShortMultiError []error
DocumentShortMultiError is an error wrapping multiple validation errors returned by DocumentShort.ValidateAll() if the designated constraints aren't met.
func (DocumentShortMultiError) AllErrors ¶
func (m DocumentShortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentShortMultiError) Error ¶
func (m DocumentShortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentShortValidationError ¶
type DocumentShortValidationError struct {
// contains filtered or unexported fields
}
DocumentShortValidationError is the validation error returned by DocumentShort.Validate if the designated constraints aren't met.
func (DocumentShortValidationError) Cause ¶
func (e DocumentShortValidationError) Cause() error
Cause function returns cause value.
func (DocumentShortValidationError) Error ¶
func (e DocumentShortValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentShortValidationError) ErrorName ¶
func (e DocumentShortValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentShortValidationError) Field ¶
func (e DocumentShortValidationError) Field() string
Field function returns field value.
func (DocumentShortValidationError) Key ¶
func (e DocumentShortValidationError) Key() bool
Key function returns key value.
func (DocumentShortValidationError) Reason ¶
func (e DocumentShortValidationError) Reason() string
Reason function returns reason value.
type DocumentUserAccess ¶
type DocumentUserAccess struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` TargetId uint64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *users.UserShort `protobuf:"bytes,5,opt,name=user,proto3,oneof" json:"user,omitempty"` Access AccessLevel `protobuf:"varint,6,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty"` Required *bool `protobuf:"varint,7,opt,name=required,proto3,oneof" json:"required,omitempty" alias:"required"` // @gotags: alias:"required" // contains filtered or unexported fields }
func (*DocumentUserAccess) Descriptor
deprecated
func (*DocumentUserAccess) Descriptor() ([]byte, []int)
Deprecated: Use DocumentUserAccess.ProtoReflect.Descriptor instead.
func (*DocumentUserAccess) GetAccess ¶
func (x *DocumentUserAccess) GetAccess() AccessLevel
func (*DocumentUserAccess) GetCreatedAt ¶
func (x *DocumentUserAccess) GetCreatedAt() *timestamp.Timestamp
func (*DocumentUserAccess) GetId ¶
func (x *DocumentUserAccess) GetId() uint64
func (*DocumentUserAccess) GetRequired ¶
func (x *DocumentUserAccess) GetRequired() bool
func (*DocumentUserAccess) GetTargetId ¶ added in v0.9.4
func (x *DocumentUserAccess) GetTargetId() uint64
func (*DocumentUserAccess) GetUser ¶
func (x *DocumentUserAccess) GetUser() *users.UserShort
func (*DocumentUserAccess) GetUserId ¶
func (x *DocumentUserAccess) GetUserId() int32
func (*DocumentUserAccess) ProtoMessage ¶
func (*DocumentUserAccess) ProtoMessage()
func (*DocumentUserAccess) ProtoReflect ¶
func (x *DocumentUserAccess) ProtoReflect() protoreflect.Message
func (*DocumentUserAccess) Reset ¶
func (x *DocumentUserAccess) Reset()
func (*DocumentUserAccess) Sanitize ¶ added in v0.9.4
func (m *DocumentUserAccess) Sanitize() error
func (*DocumentUserAccess) SetAccess ¶ added in v0.9.4
func (x *DocumentUserAccess) SetAccess(access AccessLevel)
func (*DocumentUserAccess) SetUserId ¶ added in v0.9.4
func (x *DocumentUserAccess) SetUserId(id int32)
func (*DocumentUserAccess) String ¶
func (x *DocumentUserAccess) String() string
func (*DocumentUserAccess) Validate ¶
func (m *DocumentUserAccess) Validate() error
Validate checks the field values on DocumentUserAccess 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 (*DocumentUserAccess) ValidateAll ¶
func (m *DocumentUserAccess) ValidateAll() error
ValidateAll checks the field values on DocumentUserAccess 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 DocumentUserAccessMultiError, or nil if none found.
type DocumentUserAccessMultiError ¶
type DocumentUserAccessMultiError []error
DocumentUserAccessMultiError is an error wrapping multiple validation errors returned by DocumentUserAccess.ValidateAll() if the designated constraints aren't met.
func (DocumentUserAccessMultiError) AllErrors ¶
func (m DocumentUserAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentUserAccessMultiError) Error ¶
func (m DocumentUserAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentUserAccessValidationError ¶
type DocumentUserAccessValidationError struct {
// contains filtered or unexported fields
}
DocumentUserAccessValidationError is the validation error returned by DocumentUserAccess.Validate if the designated constraints aren't met.
func (DocumentUserAccessValidationError) Cause ¶
func (e DocumentUserAccessValidationError) Cause() error
Cause function returns cause value.
func (DocumentUserAccessValidationError) Error ¶
func (e DocumentUserAccessValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentUserAccessValidationError) ErrorName ¶
func (e DocumentUserAccessValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentUserAccessValidationError) Field ¶
func (e DocumentUserAccessValidationError) Field() string
Field function returns field value.
func (DocumentUserAccessValidationError) Key ¶
func (e DocumentUserAccessValidationError) Key() bool
Key function returns key value.
func (DocumentUserAccessValidationError) Reason ¶
func (e DocumentUserAccessValidationError) Reason() string
Reason function returns reason value.
type DocumentValidationError ¶
type DocumentValidationError struct {
// contains filtered or unexported fields
}
DocumentValidationError is the validation error returned by Document.Validate if the designated constraints aren't met.
func (DocumentValidationError) Cause ¶
func (e DocumentValidationError) Cause() error
Cause function returns cause value.
func (DocumentValidationError) Error ¶
func (e DocumentValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentValidationError) ErrorName ¶
func (e DocumentValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentValidationError) Field ¶
func (e DocumentValidationError) Field() string
Field function returns field value.
func (DocumentValidationError) Key ¶
func (e DocumentValidationError) Key() bool
Key function returns key value.
func (DocumentValidationError) Reason ¶
func (e DocumentValidationError) Reason() string
Reason function returns reason value.
type ObjectSpecs ¶
type ObjectSpecs struct { Required *bool `protobuf:"varint,1,opt,name=required,proto3,oneof" json:"required,omitempty"` Min *int32 `protobuf:"varint,2,opt,name=min,proto3,oneof" json:"min,omitempty"` Max *int32 `protobuf:"varint,3,opt,name=max,proto3,oneof" json:"max,omitempty"` // contains filtered or unexported fields }
func (*ObjectSpecs) Descriptor
deprecated
func (*ObjectSpecs) Descriptor() ([]byte, []int)
Deprecated: Use ObjectSpecs.ProtoReflect.Descriptor instead.
func (*ObjectSpecs) GetMax ¶
func (x *ObjectSpecs) GetMax() int32
func (*ObjectSpecs) GetMin ¶
func (x *ObjectSpecs) GetMin() int32
func (*ObjectSpecs) GetRequired ¶
func (x *ObjectSpecs) GetRequired() bool
func (*ObjectSpecs) ProtoMessage ¶
func (*ObjectSpecs) ProtoMessage()
func (*ObjectSpecs) ProtoReflect ¶
func (x *ObjectSpecs) ProtoReflect() protoreflect.Message
func (*ObjectSpecs) Reset ¶
func (x *ObjectSpecs) Reset()
func (*ObjectSpecs) Sanitize ¶ added in v0.9.4
func (m *ObjectSpecs) Sanitize() error
func (*ObjectSpecs) String ¶
func (x *ObjectSpecs) String() string
func (*ObjectSpecs) Validate ¶
func (m *ObjectSpecs) Validate() error
Validate checks the field values on ObjectSpecs 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 (*ObjectSpecs) ValidateAll ¶
func (m *ObjectSpecs) ValidateAll() error
ValidateAll checks the field values on ObjectSpecs 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 ObjectSpecsMultiError, or nil if none found.
type ObjectSpecsMultiError ¶
type ObjectSpecsMultiError []error
ObjectSpecsMultiError is an error wrapping multiple validation errors returned by ObjectSpecs.ValidateAll() if the designated constraints aren't met.
func (ObjectSpecsMultiError) AllErrors ¶
func (m ObjectSpecsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectSpecsMultiError) Error ¶
func (m ObjectSpecsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ObjectSpecsValidationError ¶
type ObjectSpecsValidationError struct {
// contains filtered or unexported fields
}
ObjectSpecsValidationError is the validation error returned by ObjectSpecs.Validate if the designated constraints aren't met.
func (ObjectSpecsValidationError) Cause ¶
func (e ObjectSpecsValidationError) Cause() error
Cause function returns cause value.
func (ObjectSpecsValidationError) Error ¶
func (e ObjectSpecsValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectSpecsValidationError) ErrorName ¶
func (e ObjectSpecsValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectSpecsValidationError) Field ¶
func (e ObjectSpecsValidationError) Field() string
Field function returns field value.
func (ObjectSpecsValidationError) Key ¶
func (e ObjectSpecsValidationError) Key() bool
Key function returns key value.
func (ObjectSpecsValidationError) Reason ¶
func (e ObjectSpecsValidationError) Reason() string
Reason function returns reason value.
type Reminder ¶ added in v0.9.4
type Reminder struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Reminder) Descriptor
deprecated
added in
v0.9.4
func (*Reminder) GetDuration ¶ added in v0.9.4
func (x *Reminder) GetDuration() *durationpb.Duration
func (*Reminder) GetMessage ¶ added in v0.9.4
func (*Reminder) ProtoMessage ¶ added in v0.9.4
func (*Reminder) ProtoMessage()
func (*Reminder) ProtoReflect ¶ added in v0.9.4
func (x *Reminder) ProtoReflect() protoreflect.Message
func (*Reminder) Validate ¶ added in v0.9.4
Validate checks the field values on Reminder 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 (*Reminder) ValidateAll ¶ added in v0.9.4
ValidateAll checks the field values on Reminder 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 ReminderMultiError, or nil if none found.
type ReminderMultiError ¶ added in v0.9.4
type ReminderMultiError []error
ReminderMultiError is an error wrapping multiple validation errors returned by Reminder.ValidateAll() if the designated constraints aren't met.
func (ReminderMultiError) AllErrors ¶ added in v0.9.4
func (m ReminderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReminderMultiError) Error ¶ added in v0.9.4
func (m ReminderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReminderSettings ¶ added in v0.9.4
type ReminderSettings struct { Reminders []*Reminder `protobuf:"bytes,1,rep,name=reminders,proto3" json:"reminders,omitempty"` // contains filtered or unexported fields }
func (*ReminderSettings) Descriptor
deprecated
added in
v0.9.4
func (*ReminderSettings) Descriptor() ([]byte, []int)
Deprecated: Use ReminderSettings.ProtoReflect.Descriptor instead.
func (*ReminderSettings) GetReminders ¶ added in v0.9.4
func (x *ReminderSettings) GetReminders() []*Reminder
func (*ReminderSettings) ProtoMessage ¶ added in v0.9.4
func (*ReminderSettings) ProtoMessage()
func (*ReminderSettings) ProtoReflect ¶ added in v0.9.4
func (x *ReminderSettings) ProtoReflect() protoreflect.Message
func (*ReminderSettings) Reset ¶ added in v0.9.4
func (x *ReminderSettings) Reset()
func (*ReminderSettings) Sanitize ¶ added in v0.9.4
func (m *ReminderSettings) Sanitize() error
func (*ReminderSettings) String ¶ added in v0.9.4
func (x *ReminderSettings) String() string
func (*ReminderSettings) Validate ¶ added in v0.9.4
func (m *ReminderSettings) Validate() error
Validate checks the field values on ReminderSettings 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 (*ReminderSettings) ValidateAll ¶ added in v0.9.4
func (m *ReminderSettings) ValidateAll() error
ValidateAll checks the field values on ReminderSettings 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 ReminderSettingsMultiError, or nil if none found.
type ReminderSettingsMultiError ¶ added in v0.9.4
type ReminderSettingsMultiError []error
ReminderSettingsMultiError is an error wrapping multiple validation errors returned by ReminderSettings.ValidateAll() if the designated constraints aren't met.
func (ReminderSettingsMultiError) AllErrors ¶ added in v0.9.4
func (m ReminderSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReminderSettingsMultiError) Error ¶ added in v0.9.4
func (m ReminderSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReminderSettingsValidationError ¶ added in v0.9.4
type ReminderSettingsValidationError struct {
// contains filtered or unexported fields
}
ReminderSettingsValidationError is the validation error returned by ReminderSettings.Validate if the designated constraints aren't met.
func (ReminderSettingsValidationError) Cause ¶ added in v0.9.4
func (e ReminderSettingsValidationError) Cause() error
Cause function returns cause value.
func (ReminderSettingsValidationError) Error ¶ added in v0.9.4
func (e ReminderSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (ReminderSettingsValidationError) ErrorName ¶ added in v0.9.4
func (e ReminderSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (ReminderSettingsValidationError) Field ¶ added in v0.9.4
func (e ReminderSettingsValidationError) Field() string
Field function returns field value.
func (ReminderSettingsValidationError) Key ¶ added in v0.9.4
func (e ReminderSettingsValidationError) Key() bool
Key function returns key value.
func (ReminderSettingsValidationError) Reason ¶ added in v0.9.4
func (e ReminderSettingsValidationError) Reason() string
Reason function returns reason value.
type ReminderValidationError ¶ added in v0.9.4
type ReminderValidationError struct {
// contains filtered or unexported fields
}
ReminderValidationError is the validation error returned by Reminder.Validate if the designated constraints aren't met.
func (ReminderValidationError) Cause ¶ added in v0.9.4
func (e ReminderValidationError) Cause() error
Cause function returns cause value.
func (ReminderValidationError) Error ¶ added in v0.9.4
func (e ReminderValidationError) Error() string
Error satisfies the builtin error interface
func (ReminderValidationError) ErrorName ¶ added in v0.9.4
func (e ReminderValidationError) ErrorName() string
ErrorName returns error name.
func (ReminderValidationError) Field ¶ added in v0.9.4
func (e ReminderValidationError) Field() string
Field function returns field value.
func (ReminderValidationError) Key ¶ added in v0.9.4
func (e ReminderValidationError) Key() bool
Key function returns key value.
func (ReminderValidationError) Reason ¶ added in v0.9.4
func (e ReminderValidationError) Reason() string
Reason function returns reason value.
type Template ¶
type Template struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: 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"` Category *Category `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` // @sanitize Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // @sanitize Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // @sanitize: method=StripTags Color *string `protobuf:"bytes,8,opt,name=color,proto3,oneof" json:"color,omitempty"` // @sanitize: method=StripTags Icon *string `protobuf:"bytes,9,opt,name=icon,proto3,oneof" json:"icon,omitempty"` ContentTitle string `protobuf:"bytes,10,opt,name=content_title,json=contentTitle,proto3" json:"content_title,omitempty" alias:"content_title"` // @gotags: alias:"content_title" Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content" State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Schema *TemplateSchema `protobuf:"bytes,13,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"` // @gotags: alias:"schema" CreatorJob string `protobuf:"bytes,14,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` CreatorJobLabel *string `protobuf:"bytes,15,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` JobAccess []*TemplateJobAccess `protobuf:"bytes,16,rep,name=job_access,json=jobAccess,proto3" json:"job_access,omitempty"` ContentAccess *DocumentAccess `protobuf:"bytes,17,opt,name=content_access,json=contentAccess,proto3" json:"content_access,omitempty" alias:"access"` // @gotags: alias:"access" Workflow *Workflow `protobuf:"bytes,18,opt,name=workflow,proto3,oneof" json:"workflow,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetCategory ¶
func (*Template) GetContent ¶
func (*Template) GetContentAccess ¶
func (x *Template) GetContentAccess() *DocumentAccess
func (*Template) GetContentTitle ¶
func (*Template) GetCreatedAt ¶
func (*Template) GetCreatorJob ¶
func (*Template) GetCreatorJobLabel ¶
func (*Template) GetDescription ¶
func (*Template) GetJobAccess ¶
func (x *Template) GetJobAccess() []*TemplateJobAccess
func (*Template) GetSchema ¶
func (x *Template) GetSchema() *TemplateSchema
func (*Template) GetUpdatedAt ¶
func (*Template) GetWorkflow ¶ added in v0.9.4
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
func (*Template) SetJobLabel ¶
func (*Template) Validate ¶
Validate checks the field values on Template 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 (*Template) ValidateAll ¶
ValidateAll checks the field values on Template 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 TemplateMultiError, or nil if none found.
type TemplateData ¶
type TemplateData struct { ActiveChar *users.User `protobuf:"bytes,1,opt,name=activeChar,proto3" json:"activeChar,omitempty"` Documents []*DocumentShort `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"` Users []*users.UserShort `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` Vehicles []*vehicles.Vehicle `protobuf:"bytes,4,rep,name=vehicles,proto3" json:"vehicles,omitempty"` // contains filtered or unexported fields }
func (*TemplateData) Descriptor
deprecated
func (*TemplateData) Descriptor() ([]byte, []int)
Deprecated: Use TemplateData.ProtoReflect.Descriptor instead.
func (*TemplateData) GetActiveChar ¶
func (x *TemplateData) GetActiveChar() *users.User
func (*TemplateData) GetDocuments ¶
func (x *TemplateData) GetDocuments() []*DocumentShort
func (*TemplateData) GetUsers ¶
func (x *TemplateData) GetUsers() []*users.UserShort
func (*TemplateData) GetVehicles ¶
func (x *TemplateData) GetVehicles() []*vehicles.Vehicle
func (*TemplateData) ProtoMessage ¶
func (*TemplateData) ProtoMessage()
func (*TemplateData) ProtoReflect ¶
func (x *TemplateData) ProtoReflect() protoreflect.Message
func (*TemplateData) Reset ¶
func (x *TemplateData) Reset()
func (*TemplateData) Sanitize ¶ added in v0.9.4
func (m *TemplateData) Sanitize() error
func (*TemplateData) String ¶
func (x *TemplateData) String() string
func (*TemplateData) Validate ¶
func (m *TemplateData) Validate() error
Validate checks the field values on TemplateData 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 (*TemplateData) ValidateAll ¶
func (m *TemplateData) ValidateAll() error
ValidateAll checks the field values on TemplateData 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 TemplateDataMultiError, or nil if none found.
type TemplateDataMultiError ¶
type TemplateDataMultiError []error
TemplateDataMultiError is an error wrapping multiple validation errors returned by TemplateData.ValidateAll() if the designated constraints aren't met.
func (TemplateDataMultiError) AllErrors ¶
func (m TemplateDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateDataMultiError) Error ¶
func (m TemplateDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateDataValidationError ¶
type TemplateDataValidationError struct {
// contains filtered or unexported fields
}
TemplateDataValidationError is the validation error returned by TemplateData.Validate if the designated constraints aren't met.
func (TemplateDataValidationError) Cause ¶
func (e TemplateDataValidationError) Cause() error
Cause function returns cause value.
func (TemplateDataValidationError) Error ¶
func (e TemplateDataValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateDataValidationError) ErrorName ¶
func (e TemplateDataValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateDataValidationError) Field ¶
func (e TemplateDataValidationError) Field() string
Field function returns field value.
func (TemplateDataValidationError) Key ¶
func (e TemplateDataValidationError) Key() bool
Key function returns key value.
func (TemplateDataValidationError) Reason ¶
func (e TemplateDataValidationError) Reason() string
Reason function returns reason value.
type TemplateJobAccess ¶
type TemplateJobAccess struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` TargetId uint64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty" alias:"template_id"` // @gotags: alias:"template_id" Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"` JobLabel *string `protobuf:"bytes,5,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty"` MinimumGrade int32 `protobuf:"varint,6,opt,name=minimum_grade,json=minimumGrade,proto3" json:"minimum_grade,omitempty"` JobGradeLabel *string `protobuf:"bytes,7,opt,name=job_grade_label,json=jobGradeLabel,proto3,oneof" json:"job_grade_label,omitempty"` Access AccessLevel `protobuf:"varint,8,opt,name=access,proto3,enum=resources.documents.AccessLevel" json:"access,omitempty"` // contains filtered or unexported fields }
func (*TemplateJobAccess) Descriptor
deprecated
func (*TemplateJobAccess) Descriptor() ([]byte, []int)
Deprecated: Use TemplateJobAccess.ProtoReflect.Descriptor instead.
func (*TemplateJobAccess) GetAccess ¶
func (x *TemplateJobAccess) GetAccess() AccessLevel
func (*TemplateJobAccess) GetCreatedAt ¶
func (x *TemplateJobAccess) GetCreatedAt() *timestamp.Timestamp
func (*TemplateJobAccess) GetId ¶
func (x *TemplateJobAccess) GetId() uint64
func (*TemplateJobAccess) GetJob ¶
func (x *TemplateJobAccess) GetJob() string
func (*TemplateJobAccess) GetJobGradeLabel ¶
func (x *TemplateJobAccess) GetJobGradeLabel() string
func (*TemplateJobAccess) GetJobLabel ¶
func (x *TemplateJobAccess) GetJobLabel() string
func (*TemplateJobAccess) GetMinimumGrade ¶
func (x *TemplateJobAccess) GetMinimumGrade() int32
func (*TemplateJobAccess) GetTargetId ¶ added in v0.9.4
func (x *TemplateJobAccess) GetTargetId() uint64
func (*TemplateJobAccess) ProtoMessage ¶
func (*TemplateJobAccess) ProtoMessage()
func (*TemplateJobAccess) ProtoReflect ¶
func (x *TemplateJobAccess) ProtoReflect() protoreflect.Message
func (*TemplateJobAccess) Reset ¶
func (x *TemplateJobAccess) Reset()
func (*TemplateJobAccess) Sanitize ¶ added in v0.9.4
func (m *TemplateJobAccess) Sanitize() error
func (*TemplateJobAccess) SetAccess ¶ added in v0.9.4
func (x *TemplateJobAccess) SetAccess(access AccessLevel)
func (*TemplateJobAccess) SetMinimumGrade ¶ added in v0.9.4
func (x *TemplateJobAccess) SetMinimumGrade(grade int32)
func (*TemplateJobAccess) String ¶
func (x *TemplateJobAccess) String() string
func (*TemplateJobAccess) Validate ¶
func (m *TemplateJobAccess) Validate() error
Validate checks the field values on TemplateJobAccess 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 (*TemplateJobAccess) ValidateAll ¶
func (m *TemplateJobAccess) ValidateAll() error
ValidateAll checks the field values on TemplateJobAccess 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 TemplateJobAccessMultiError, or nil if none found.
type TemplateJobAccessMultiError ¶
type TemplateJobAccessMultiError []error
TemplateJobAccessMultiError is an error wrapping multiple validation errors returned by TemplateJobAccess.ValidateAll() if the designated constraints aren't met.
func (TemplateJobAccessMultiError) AllErrors ¶
func (m TemplateJobAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateJobAccessMultiError) Error ¶
func (m TemplateJobAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateJobAccessValidationError ¶
type TemplateJobAccessValidationError struct {
// contains filtered or unexported fields
}
TemplateJobAccessValidationError is the validation error returned by TemplateJobAccess.Validate if the designated constraints aren't met.
func (TemplateJobAccessValidationError) Cause ¶
func (e TemplateJobAccessValidationError) Cause() error
Cause function returns cause value.
func (TemplateJobAccessValidationError) Error ¶
func (e TemplateJobAccessValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateJobAccessValidationError) ErrorName ¶
func (e TemplateJobAccessValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateJobAccessValidationError) Field ¶
func (e TemplateJobAccessValidationError) Field() string
Field function returns field value.
func (TemplateJobAccessValidationError) Key ¶
func (e TemplateJobAccessValidationError) Key() bool
Key function returns key value.
func (TemplateJobAccessValidationError) Reason ¶
func (e TemplateJobAccessValidationError) Reason() string
Reason function returns reason value.
type TemplateMultiError ¶
type TemplateMultiError []error
TemplateMultiError is an error wrapping multiple validation errors returned by Template.ValidateAll() if the designated constraints aren't met.
func (TemplateMultiError) AllErrors ¶
func (m TemplateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateMultiError) Error ¶
func (m TemplateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateRequirements ¶
type TemplateRequirements struct { Documents *ObjectSpecs `protobuf:"bytes,1,opt,name=documents,proto3,oneof" json:"documents,omitempty"` Users *ObjectSpecs `protobuf:"bytes,2,opt,name=users,proto3,oneof" json:"users,omitempty"` Vehicles *ObjectSpecs `protobuf:"bytes,3,opt,name=vehicles,proto3,oneof" json:"vehicles,omitempty"` // contains filtered or unexported fields }
func (*TemplateRequirements) Descriptor
deprecated
func (*TemplateRequirements) Descriptor() ([]byte, []int)
Deprecated: Use TemplateRequirements.ProtoReflect.Descriptor instead.
func (*TemplateRequirements) GetDocuments ¶
func (x *TemplateRequirements) GetDocuments() *ObjectSpecs
func (*TemplateRequirements) GetUsers ¶
func (x *TemplateRequirements) GetUsers() *ObjectSpecs
func (*TemplateRequirements) GetVehicles ¶
func (x *TemplateRequirements) GetVehicles() *ObjectSpecs
func (*TemplateRequirements) ProtoMessage ¶
func (*TemplateRequirements) ProtoMessage()
func (*TemplateRequirements) ProtoReflect ¶
func (x *TemplateRequirements) ProtoReflect() protoreflect.Message
func (*TemplateRequirements) Reset ¶
func (x *TemplateRequirements) Reset()
func (*TemplateRequirements) Sanitize ¶ added in v0.9.4
func (m *TemplateRequirements) Sanitize() error
func (*TemplateRequirements) String ¶
func (x *TemplateRequirements) String() string
func (*TemplateRequirements) Validate ¶
func (m *TemplateRequirements) Validate() error
Validate checks the field values on TemplateRequirements 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 (*TemplateRequirements) ValidateAll ¶
func (m *TemplateRequirements) ValidateAll() error
ValidateAll checks the field values on TemplateRequirements 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 TemplateRequirementsMultiError, or nil if none found.
type TemplateRequirementsMultiError ¶
type TemplateRequirementsMultiError []error
TemplateRequirementsMultiError is an error wrapping multiple validation errors returned by TemplateRequirements.ValidateAll() if the designated constraints aren't met.
func (TemplateRequirementsMultiError) AllErrors ¶
func (m TemplateRequirementsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateRequirementsMultiError) Error ¶
func (m TemplateRequirementsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateRequirementsValidationError ¶
type TemplateRequirementsValidationError struct {
// contains filtered or unexported fields
}
TemplateRequirementsValidationError is the validation error returned by TemplateRequirements.Validate if the designated constraints aren't met.
func (TemplateRequirementsValidationError) Cause ¶
func (e TemplateRequirementsValidationError) Cause() error
Cause function returns cause value.
func (TemplateRequirementsValidationError) Error ¶
func (e TemplateRequirementsValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateRequirementsValidationError) ErrorName ¶
func (e TemplateRequirementsValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateRequirementsValidationError) Field ¶
func (e TemplateRequirementsValidationError) Field() string
Field function returns field value.
func (TemplateRequirementsValidationError) Key ¶
func (e TemplateRequirementsValidationError) Key() bool
Key function returns key value.
func (TemplateRequirementsValidationError) Reason ¶
func (e TemplateRequirementsValidationError) Reason() string
Reason function returns reason value.
type TemplateSchema ¶
type TemplateSchema struct { Requirements *TemplateRequirements `protobuf:"bytes,1,opt,name=requirements,proto3" json:"requirements,omitempty"` // contains filtered or unexported fields }
func (*TemplateSchema) Descriptor
deprecated
func (*TemplateSchema) Descriptor() ([]byte, []int)
Deprecated: Use TemplateSchema.ProtoReflect.Descriptor instead.
func (*TemplateSchema) GetRequirements ¶
func (x *TemplateSchema) GetRequirements() *TemplateRequirements
func (*TemplateSchema) ProtoMessage ¶
func (*TemplateSchema) ProtoMessage()
func (*TemplateSchema) ProtoReflect ¶
func (x *TemplateSchema) ProtoReflect() protoreflect.Message
func (*TemplateSchema) Reset ¶
func (x *TemplateSchema) Reset()
func (*TemplateSchema) Sanitize ¶ added in v0.9.4
func (m *TemplateSchema) Sanitize() error
func (*TemplateSchema) Scan ¶
func (x *TemplateSchema) Scan(value any) error
Scan implements driver.Valuer for protobuf TemplateSchema.
func (*TemplateSchema) String ¶
func (x *TemplateSchema) String() string
func (*TemplateSchema) Validate ¶
func (m *TemplateSchema) Validate() error
Validate checks the field values on TemplateSchema 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 (*TemplateSchema) ValidateAll ¶
func (m *TemplateSchema) ValidateAll() error
ValidateAll checks the field values on TemplateSchema 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 TemplateSchemaMultiError, or nil if none found.
type TemplateSchemaMultiError ¶
type TemplateSchemaMultiError []error
TemplateSchemaMultiError is an error wrapping multiple validation errors returned by TemplateSchema.ValidateAll() if the designated constraints aren't met.
func (TemplateSchemaMultiError) AllErrors ¶
func (m TemplateSchemaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateSchemaMultiError) Error ¶
func (m TemplateSchemaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateSchemaValidationError ¶
type TemplateSchemaValidationError struct {
// contains filtered or unexported fields
}
TemplateSchemaValidationError is the validation error returned by TemplateSchema.Validate if the designated constraints aren't met.
func (TemplateSchemaValidationError) Cause ¶
func (e TemplateSchemaValidationError) Cause() error
Cause function returns cause value.
func (TemplateSchemaValidationError) Error ¶
func (e TemplateSchemaValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateSchemaValidationError) ErrorName ¶
func (e TemplateSchemaValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateSchemaValidationError) Field ¶
func (e TemplateSchemaValidationError) Field() string
Field function returns field value.
func (TemplateSchemaValidationError) Key ¶
func (e TemplateSchemaValidationError) Key() bool
Key function returns key value.
func (TemplateSchemaValidationError) Reason ¶
func (e TemplateSchemaValidationError) Reason() string
Reason function returns reason value.
type TemplateShort ¶
type TemplateShort struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: 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"` Category *Category `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" Weight uint32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"` // @sanitize Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // @sanitize Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // @sanitize: method=StripTags Color *string `protobuf:"bytes,8,opt,name=color,proto3,oneof" json:"color,omitempty"` // @sanitize: method=StripTags Icon *string `protobuf:"bytes,9,opt,name=icon,proto3,oneof" json:"icon,omitempty"` Schema *TemplateSchema `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"` // @gotags: alias:"schema" CreatorJob string `protobuf:"bytes,11,opt,name=creator_job,json=creatorJob,proto3" json:"creator_job,omitempty"` CreatorJobLabel *string `protobuf:"bytes,12,opt,name=creator_job_label,json=creatorJobLabel,proto3,oneof" json:"creator_job_label,omitempty"` Workflow *Workflow `protobuf:"bytes,18,opt,name=workflow,proto3,oneof" json:"workflow,omitempty"` // contains filtered or unexported fields }
func (*TemplateShort) Descriptor
deprecated
func (*TemplateShort) Descriptor() ([]byte, []int)
Deprecated: Use TemplateShort.ProtoReflect.Descriptor instead.
func (*TemplateShort) GetCategory ¶
func (x *TemplateShort) GetCategory() *Category
func (*TemplateShort) GetColor ¶ added in v0.9.4
func (x *TemplateShort) GetColor() string
func (*TemplateShort) GetCreatedAt ¶
func (x *TemplateShort) GetCreatedAt() *timestamp.Timestamp
func (*TemplateShort) GetCreatorJob ¶
func (x *TemplateShort) GetCreatorJob() string
func (*TemplateShort) GetCreatorJobLabel ¶
func (x *TemplateShort) GetCreatorJobLabel() string
func (*TemplateShort) GetDescription ¶
func (x *TemplateShort) GetDescription() string
func (*TemplateShort) GetIcon ¶ added in v0.9.4
func (x *TemplateShort) GetIcon() string
func (*TemplateShort) GetId ¶
func (x *TemplateShort) GetId() uint64
func (*TemplateShort) GetJob ¶
func (x *TemplateShort) GetJob() string
func (*TemplateShort) GetSchema ¶
func (x *TemplateShort) GetSchema() *TemplateSchema
func (*TemplateShort) GetTitle ¶
func (x *TemplateShort) GetTitle() string
func (*TemplateShort) GetUpdatedAt ¶
func (x *TemplateShort) GetUpdatedAt() *timestamp.Timestamp
func (*TemplateShort) GetWeight ¶
func (x *TemplateShort) GetWeight() uint32
func (*TemplateShort) GetWorkflow ¶ added in v0.9.4
func (x *TemplateShort) GetWorkflow() *Workflow
func (*TemplateShort) ProtoMessage ¶
func (*TemplateShort) ProtoMessage()
func (*TemplateShort) ProtoReflect ¶
func (x *TemplateShort) ProtoReflect() protoreflect.Message
func (*TemplateShort) Reset ¶
func (x *TemplateShort) Reset()
func (*TemplateShort) Sanitize ¶
func (m *TemplateShort) Sanitize() error
func (*TemplateShort) SetJobLabel ¶
func (x *TemplateShort) SetJobLabel(label string)
func (*TemplateShort) String ¶
func (x *TemplateShort) String() string
func (*TemplateShort) Validate ¶
func (m *TemplateShort) Validate() error
Validate checks the field values on TemplateShort 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 (*TemplateShort) ValidateAll ¶
func (m *TemplateShort) ValidateAll() error
ValidateAll checks the field values on TemplateShort 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 TemplateShortMultiError, or nil if none found.
type TemplateShortMultiError ¶
type TemplateShortMultiError []error
TemplateShortMultiError is an error wrapping multiple validation errors returned by TemplateShort.ValidateAll() if the designated constraints aren't met.
func (TemplateShortMultiError) AllErrors ¶
func (m TemplateShortMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateShortMultiError) Error ¶
func (m TemplateShortMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateShortValidationError ¶
type TemplateShortValidationError struct {
// contains filtered or unexported fields
}
TemplateShortValidationError is the validation error returned by TemplateShort.Validate if the designated constraints aren't met.
func (TemplateShortValidationError) Cause ¶
func (e TemplateShortValidationError) Cause() error
Cause function returns cause value.
func (TemplateShortValidationError) Error ¶
func (e TemplateShortValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateShortValidationError) ErrorName ¶
func (e TemplateShortValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateShortValidationError) Field ¶
func (e TemplateShortValidationError) Field() string
Field function returns field value.
func (TemplateShortValidationError) Key ¶
func (e TemplateShortValidationError) Key() bool
Key function returns key value.
func (TemplateShortValidationError) Reason ¶
func (e TemplateShortValidationError) Reason() string
Reason function returns reason value.
type TemplateUserAccess ¶ added in v0.9.4
type TemplateUserAccess struct {
// contains filtered or unexported fields
}
Dummy - DO NOT USE!
func (*TemplateUserAccess) Descriptor
deprecated
added in
v0.9.4
func (*TemplateUserAccess) Descriptor() ([]byte, []int)
Deprecated: Use TemplateUserAccess.ProtoReflect.Descriptor instead.
func (*TemplateUserAccess) GetAccess ¶ added in v0.9.4
func (x *TemplateUserAccess) GetAccess() AccessLevel
func (*TemplateUserAccess) GetId ¶ added in v0.9.4
func (x *TemplateUserAccess) GetId() uint64
func (*TemplateUserAccess) GetTargetId ¶ added in v0.9.4
func (x *TemplateUserAccess) GetTargetId() uint64
func (*TemplateUserAccess) GetUserId ¶ added in v0.9.4
func (x *TemplateUserAccess) GetUserId() int32
func (*TemplateUserAccess) ProtoMessage ¶ added in v0.9.4
func (*TemplateUserAccess) ProtoMessage()
func (*TemplateUserAccess) ProtoReflect ¶ added in v0.9.4
func (x *TemplateUserAccess) ProtoReflect() protoreflect.Message
func (*TemplateUserAccess) Reset ¶ added in v0.9.4
func (x *TemplateUserAccess) Reset()
func (*TemplateUserAccess) Sanitize ¶ added in v0.9.4
func (m *TemplateUserAccess) Sanitize() error
func (*TemplateUserAccess) SetAccess ¶ added in v0.9.4
func (x *TemplateUserAccess) SetAccess(access AccessLevel)
func (*TemplateUserAccess) SetUserId ¶ added in v0.9.4
func (x *TemplateUserAccess) SetUserId(userId int32)
func (*TemplateUserAccess) String ¶ added in v0.9.4
func (x *TemplateUserAccess) String() string
func (*TemplateUserAccess) Validate ¶ added in v0.9.4
func (m *TemplateUserAccess) Validate() error
Validate checks the field values on TemplateUserAccess 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 (*TemplateUserAccess) ValidateAll ¶ added in v0.9.4
func (m *TemplateUserAccess) ValidateAll() error
ValidateAll checks the field values on TemplateUserAccess 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 TemplateUserAccessMultiError, or nil if none found.
type TemplateUserAccessMultiError ¶ added in v0.9.4
type TemplateUserAccessMultiError []error
TemplateUserAccessMultiError is an error wrapping multiple validation errors returned by TemplateUserAccess.ValidateAll() if the designated constraints aren't met.
func (TemplateUserAccessMultiError) AllErrors ¶ added in v0.9.4
func (m TemplateUserAccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TemplateUserAccessMultiError) Error ¶ added in v0.9.4
func (m TemplateUserAccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TemplateUserAccessValidationError ¶ added in v0.9.4
type TemplateUserAccessValidationError struct {
// contains filtered or unexported fields
}
TemplateUserAccessValidationError is the validation error returned by TemplateUserAccess.Validate if the designated constraints aren't met.
func (TemplateUserAccessValidationError) Cause ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) Cause() error
Cause function returns cause value.
func (TemplateUserAccessValidationError) Error ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateUserAccessValidationError) ErrorName ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateUserAccessValidationError) Field ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) Field() string
Field function returns field value.
func (TemplateUserAccessValidationError) Key ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) Key() bool
Key function returns key value.
func (TemplateUserAccessValidationError) Reason ¶ added in v0.9.4
func (e TemplateUserAccessValidationError) Reason() string
Reason function returns reason value.
type TemplateValidationError ¶
type TemplateValidationError struct {
// contains filtered or unexported fields
}
TemplateValidationError is the validation error returned by Template.Validate if the designated constraints aren't met.
func (TemplateValidationError) Cause ¶
func (e TemplateValidationError) Cause() error
Cause function returns cause value.
func (TemplateValidationError) Error ¶
func (e TemplateValidationError) Error() string
Error satisfies the builtin error interface
func (TemplateValidationError) ErrorName ¶
func (e TemplateValidationError) ErrorName() string
ErrorName returns error name.
func (TemplateValidationError) Field ¶
func (e TemplateValidationError) Field() string
Field function returns field value.
func (TemplateValidationError) Key ¶
func (e TemplateValidationError) Key() bool
Key function returns key value.
func (TemplateValidationError) Reason ¶
func (e TemplateValidationError) Reason() string
Reason function returns reason value.
type Workflow ¶ added in v0.9.4
type Workflow struct { Reminder bool `protobuf:"varint,1,opt,name=reminder,proto3" json:"reminder,omitempty"` ReminderSettings *ReminderSettings `protobuf:"bytes,2,opt,name=reminder_settings,json=reminderSettings,proto3" json:"reminder_settings,omitempty"` AutoClose bool `protobuf:"varint,3,opt,name=auto_close,json=autoClose,proto3" json:"auto_close,omitempty"` AutoCloseSettings *AutoCloseSettings `protobuf:"bytes,4,opt,name=auto_close_settings,json=autoCloseSettings,proto3" json:"auto_close_settings,omitempty"` // contains filtered or unexported fields }
func (*Workflow) Descriptor
deprecated
added in
v0.9.4
func (*Workflow) GetAutoClose ¶ added in v0.9.4
func (*Workflow) GetAutoCloseSettings ¶ added in v0.9.4
func (x *Workflow) GetAutoCloseSettings() *AutoCloseSettings
func (*Workflow) GetReminder ¶ added in v0.9.4
func (*Workflow) GetReminderSettings ¶ added in v0.9.4
func (x *Workflow) GetReminderSettings() *ReminderSettings
func (*Workflow) ProtoMessage ¶ added in v0.9.4
func (*Workflow) ProtoMessage()
func (*Workflow) ProtoReflect ¶ added in v0.9.4
func (x *Workflow) ProtoReflect() protoreflect.Message
func (*Workflow) Validate ¶ added in v0.9.4
Validate checks the field values on Workflow 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 (*Workflow) ValidateAll ¶ added in v0.9.4
ValidateAll checks the field values on Workflow 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 WorkflowMultiError, or nil if none found.
type WorkflowCronData ¶ added in v0.9.4
type WorkflowCronData struct { LastDocId uint64 `protobuf:"varint,1,opt,name=last_doc_id,json=lastDocId,proto3" json:"last_doc_id,omitempty"` // contains filtered or unexported fields }
func (*WorkflowCronData) Descriptor
deprecated
added in
v0.9.4
func (*WorkflowCronData) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowCronData.ProtoReflect.Descriptor instead.
func (*WorkflowCronData) GetLastDocId ¶ added in v0.9.4
func (x *WorkflowCronData) GetLastDocId() uint64
func (*WorkflowCronData) ProtoMessage ¶ added in v0.9.4
func (*WorkflowCronData) ProtoMessage()
func (*WorkflowCronData) ProtoReflect ¶ added in v0.9.4
func (x *WorkflowCronData) ProtoReflect() protoreflect.Message
func (*WorkflowCronData) Reset ¶ added in v0.9.4
func (x *WorkflowCronData) Reset()
func (*WorkflowCronData) Sanitize ¶ added in v0.9.4
func (m *WorkflowCronData) Sanitize() error
func (*WorkflowCronData) String ¶ added in v0.9.4
func (x *WorkflowCronData) String() string
func (*WorkflowCronData) Validate ¶ added in v0.9.4
func (m *WorkflowCronData) Validate() error
Validate checks the field values on WorkflowCronData 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 (*WorkflowCronData) ValidateAll ¶ added in v0.9.4
func (m *WorkflowCronData) ValidateAll() error
ValidateAll checks the field values on WorkflowCronData 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 WorkflowCronDataMultiError, or nil if none found.
type WorkflowCronDataMultiError ¶ added in v0.9.4
type WorkflowCronDataMultiError []error
WorkflowCronDataMultiError is an error wrapping multiple validation errors returned by WorkflowCronData.ValidateAll() if the designated constraints aren't met.
func (WorkflowCronDataMultiError) AllErrors ¶ added in v0.9.4
func (m WorkflowCronDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowCronDataMultiError) Error ¶ added in v0.9.4
func (m WorkflowCronDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowCronDataValidationError ¶ added in v0.9.4
type WorkflowCronDataValidationError struct {
// contains filtered or unexported fields
}
WorkflowCronDataValidationError is the validation error returned by WorkflowCronData.Validate if the designated constraints aren't met.
func (WorkflowCronDataValidationError) Cause ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) Cause() error
Cause function returns cause value.
func (WorkflowCronDataValidationError) Error ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowCronDataValidationError) ErrorName ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowCronDataValidationError) Field ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) Field() string
Field function returns field value.
func (WorkflowCronDataValidationError) Key ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) Key() bool
Key function returns key value.
func (WorkflowCronDataValidationError) Reason ¶ added in v0.9.4
func (e WorkflowCronDataValidationError) Reason() string
Reason function returns reason value.
type WorkflowMultiError ¶ added in v0.9.4
type WorkflowMultiError []error
WorkflowMultiError is an error wrapping multiple validation errors returned by Workflow.ValidateAll() if the designated constraints aren't met.
func (WorkflowMultiError) AllErrors ¶ added in v0.9.4
func (m WorkflowMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowMultiError) Error ¶ added in v0.9.4
func (m WorkflowMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowState ¶ added in v0.9.4
type WorkflowState struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` NextReminderTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=next_reminder_time,json=nextReminderTime,proto3,oneof" json:"next_reminder_time,omitempty"` NextReminderCount *int32 `protobuf:"varint,3,opt,name=next_reminder_count,json=nextReminderCount,proto3,oneof" json:"next_reminder_count,omitempty"` AutoCloseTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=auto_close_time,json=autoCloseTime,proto3,oneof" json:"auto_close_time,omitempty"` Workflow *Workflow `protobuf:"bytes,5,opt,name=workflow,proto3,oneof" json:"workflow,omitempty" alias:"workflow"` // @gotags: alias:"workflow" Document *DocumentShort `protobuf:"bytes,6,opt,name=document,proto3,oneof" json:"document,omitempty"` // contains filtered or unexported fields }
func (*WorkflowState) Descriptor
deprecated
added in
v0.9.4
func (*WorkflowState) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowState.ProtoReflect.Descriptor instead.
func (*WorkflowState) GetAutoCloseTime ¶ added in v0.9.4
func (x *WorkflowState) GetAutoCloseTime() *timestamp.Timestamp
func (*WorkflowState) GetDocument ¶ added in v0.9.4
func (x *WorkflowState) GetDocument() *DocumentShort
func (*WorkflowState) GetDocumentId ¶ added in v0.9.4
func (x *WorkflowState) GetDocumentId() uint64
func (*WorkflowState) GetNextReminderCount ¶ added in v0.9.4
func (x *WorkflowState) GetNextReminderCount() int32
func (*WorkflowState) GetNextReminderTime ¶ added in v0.9.4
func (x *WorkflowState) GetNextReminderTime() *timestamp.Timestamp
func (*WorkflowState) GetWorkflow ¶ added in v0.9.4
func (x *WorkflowState) GetWorkflow() *Workflow
func (*WorkflowState) ProtoMessage ¶ added in v0.9.4
func (*WorkflowState) ProtoMessage()
func (*WorkflowState) ProtoReflect ¶ added in v0.9.4
func (x *WorkflowState) ProtoReflect() protoreflect.Message
func (*WorkflowState) Reset ¶ added in v0.9.4
func (x *WorkflowState) Reset()
func (*WorkflowState) Sanitize ¶ added in v0.9.4
func (m *WorkflowState) Sanitize() error
func (*WorkflowState) String ¶ added in v0.9.4
func (x *WorkflowState) String() string
func (*WorkflowState) Validate ¶ added in v0.9.4
func (m *WorkflowState) Validate() error
Validate checks the field values on WorkflowState 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 (*WorkflowState) ValidateAll ¶ added in v0.9.4
func (m *WorkflowState) ValidateAll() error
ValidateAll checks the field values on WorkflowState 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 WorkflowStateMultiError, or nil if none found.
type WorkflowStateMultiError ¶ added in v0.9.4
type WorkflowStateMultiError []error
WorkflowStateMultiError is an error wrapping multiple validation errors returned by WorkflowState.ValidateAll() if the designated constraints aren't met.
func (WorkflowStateMultiError) AllErrors ¶ added in v0.9.4
func (m WorkflowStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowStateMultiError) Error ¶ added in v0.9.4
func (m WorkflowStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowStateValidationError ¶ added in v0.9.4
type WorkflowStateValidationError struct {
// contains filtered or unexported fields
}
WorkflowStateValidationError is the validation error returned by WorkflowState.Validate if the designated constraints aren't met.
func (WorkflowStateValidationError) Cause ¶ added in v0.9.4
func (e WorkflowStateValidationError) Cause() error
Cause function returns cause value.
func (WorkflowStateValidationError) Error ¶ added in v0.9.4
func (e WorkflowStateValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowStateValidationError) ErrorName ¶ added in v0.9.4
func (e WorkflowStateValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowStateValidationError) Field ¶ added in v0.9.4
func (e WorkflowStateValidationError) Field() string
Field function returns field value.
func (WorkflowStateValidationError) Key ¶ added in v0.9.4
func (e WorkflowStateValidationError) Key() bool
Key function returns key value.
func (WorkflowStateValidationError) Reason ¶ added in v0.9.4
func (e WorkflowStateValidationError) Reason() string
Reason function returns reason value.
type WorkflowUserState ¶ added in v0.9.4
type WorkflowUserState struct { DocumentId uint64 `protobuf:"varint,1,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ManualReminderTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=manual_reminder_time,json=manualReminderTime,proto3,oneof" json:"manual_reminder_time,omitempty"` ManualReminderMessage *string `` /* 132-byte string literal not displayed */ Workflow *Workflow `protobuf:"bytes,5,opt,name=workflow,proto3,oneof" json:"workflow,omitempty" alias:"workflow"` // @gotags: alias:"workflow" Document *DocumentShort `protobuf:"bytes,6,opt,name=document,proto3,oneof" json:"document,omitempty"` // contains filtered or unexported fields }
func (*WorkflowUserState) Descriptor
deprecated
added in
v0.9.4
func (*WorkflowUserState) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowUserState.ProtoReflect.Descriptor instead.
func (*WorkflowUserState) GetDocument ¶ added in v0.9.4
func (x *WorkflowUserState) GetDocument() *DocumentShort
func (*WorkflowUserState) GetDocumentId ¶ added in v0.9.4
func (x *WorkflowUserState) GetDocumentId() uint64
func (*WorkflowUserState) GetManualReminderMessage ¶ added in v0.9.4
func (x *WorkflowUserState) GetManualReminderMessage() string
func (*WorkflowUserState) GetManualReminderTime ¶ added in v0.9.4
func (x *WorkflowUserState) GetManualReminderTime() *timestamp.Timestamp
func (*WorkflowUserState) GetUserId ¶ added in v0.9.4
func (x *WorkflowUserState) GetUserId() int32
func (*WorkflowUserState) GetWorkflow ¶ added in v0.9.4
func (x *WorkflowUserState) GetWorkflow() *Workflow
func (*WorkflowUserState) ProtoMessage ¶ added in v0.9.4
func (*WorkflowUserState) ProtoMessage()
func (*WorkflowUserState) ProtoReflect ¶ added in v0.9.4
func (x *WorkflowUserState) ProtoReflect() protoreflect.Message
func (*WorkflowUserState) Reset ¶ added in v0.9.4
func (x *WorkflowUserState) Reset()
func (*WorkflowUserState) Sanitize ¶ added in v0.9.4
func (m *WorkflowUserState) Sanitize() error
func (*WorkflowUserState) String ¶ added in v0.9.4
func (x *WorkflowUserState) String() string
func (*WorkflowUserState) Validate ¶ added in v0.9.4
func (m *WorkflowUserState) Validate() error
Validate checks the field values on WorkflowUserState 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 (*WorkflowUserState) ValidateAll ¶ added in v0.9.4
func (m *WorkflowUserState) ValidateAll() error
ValidateAll checks the field values on WorkflowUserState 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 WorkflowUserStateMultiError, or nil if none found.
type WorkflowUserStateMultiError ¶ added in v0.9.4
type WorkflowUserStateMultiError []error
WorkflowUserStateMultiError is an error wrapping multiple validation errors returned by WorkflowUserState.ValidateAll() if the designated constraints aren't met.
func (WorkflowUserStateMultiError) AllErrors ¶ added in v0.9.4
func (m WorkflowUserStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WorkflowUserStateMultiError) Error ¶ added in v0.9.4
func (m WorkflowUserStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WorkflowUserStateValidationError ¶ added in v0.9.4
type WorkflowUserStateValidationError struct {
// contains filtered or unexported fields
}
WorkflowUserStateValidationError is the validation error returned by WorkflowUserState.Validate if the designated constraints aren't met.
func (WorkflowUserStateValidationError) Cause ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) Cause() error
Cause function returns cause value.
func (WorkflowUserStateValidationError) Error ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowUserStateValidationError) ErrorName ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowUserStateValidationError) Field ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) Field() string
Field function returns field value.
func (WorkflowUserStateValidationError) Key ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) Key() bool
Key function returns key value.
func (WorkflowUserStateValidationError) Reason ¶ added in v0.9.4
func (e WorkflowUserStateValidationError) Reason() string
Reason function returns reason value.
type WorkflowValidationError ¶ added in v0.9.4
type WorkflowValidationError struct {
// contains filtered or unexported fields
}
WorkflowValidationError is the validation error returned by Workflow.Validate if the designated constraints aren't met.
func (WorkflowValidationError) Cause ¶ added in v0.9.4
func (e WorkflowValidationError) Cause() error
Cause function returns cause value.
func (WorkflowValidationError) Error ¶ added in v0.9.4
func (e WorkflowValidationError) Error() string
Error satisfies the builtin error interface
func (WorkflowValidationError) ErrorName ¶ added in v0.9.4
func (e WorkflowValidationError) ErrorName() string
ErrorName returns error name.
func (WorkflowValidationError) Field ¶ added in v0.9.4
func (e WorkflowValidationError) Field() string
Field function returns field value.
func (WorkflowValidationError) Key ¶ added in v0.9.4
func (e WorkflowValidationError) Key() bool
Key function returns key value.
func (WorkflowValidationError) Reason ¶ added in v0.9.4
func (e WorkflowValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- access.go
- access.pb.go
- access.pb.sanitizer.go
- access.pb.validate.go
- activity.go
- activity.pb.go
- activity.pb.sanitizer.go
- activity.pb.validate.go
- category.go
- category.pb.go
- category.pb.sanitizer.go
- category.pb.validate.go
- comment.pb.go
- comment.pb.sanitizer.go
- comment.pb.validate.go
- documents.go
- documents.pb.go
- documents.pb.sanitizer.go
- documents.pb.validate.go
- requests.pb.go
- requests.pb.sanitizer.go
- requests.pb.validate.go
- templates.go
- templates.pb.go
- templates.pb.sanitizer.go
- templates.pb.validate.go
- workflow.go
- workflow.pb.go
- workflow.pb.sanitizer.go
- workflow.pb.validate.go