Documentation
¶
Index ¶
- Variables
- type ACCESS_LEVEL
- func (ACCESS_LEVEL) Descriptor() protoreflect.EnumDescriptor
- func (x ACCESS_LEVEL) Enum() *ACCESS_LEVEL
- func (ACCESS_LEVEL) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACCESS_LEVEL) Number() protoreflect.EnumNumber
- func (x ACCESS_LEVEL) String() string
- func (ACCESS_LEVEL) Type() protoreflect.EnumType
- type DOC_CONTENT_TYPE
- func (DOC_CONTENT_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x DOC_CONTENT_TYPE) Enum() *DOC_CONTENT_TYPE
- func (DOC_CONTENT_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x DOC_CONTENT_TYPE) Number() protoreflect.EnumNumber
- func (x DOC_CONTENT_TYPE) String() string
- func (DOC_CONTENT_TYPE) Type() protoreflect.EnumType
- type DOC_REFERENCE
- func (DOC_REFERENCE) Descriptor() protoreflect.EnumDescriptor
- func (x DOC_REFERENCE) Enum() *DOC_REFERENCE
- func (DOC_REFERENCE) EnumDescriptor() ([]byte, []int)deprecated
- func (x DOC_REFERENCE) Number() protoreflect.EnumNumber
- func (x DOC_REFERENCE) String() string
- func (DOC_REFERENCE) Type() protoreflect.EnumType
- type DOC_RELATION
- func (DOC_RELATION) Descriptor() protoreflect.EnumDescriptor
- func (x DOC_RELATION) Enum() *DOC_RELATION
- func (DOC_RELATION) EnumDescriptor() ([]byte, []int)deprecated
- func (x DOC_RELATION) Number() protoreflect.EnumNumber
- func (x DOC_RELATION) String() string
- func (DOC_RELATION) Type() protoreflect.EnumType
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetCategory() *DocumentCategory
- func (x *Document) GetCategoryId() uint64
- func (x *Document) GetClosed() bool
- func (x *Document) GetContent() string
- func (x *Document) GetContentType() DOC_CONTENT_TYPE
- func (x *Document) GetCreatedAt() *timestamp.Timestamp
- func (x *Document) GetCreator() *users.UserShort
- func (x *Document) GetCreatorId() int32
- func (x *Document) GetData() string
- func (x *Document) GetId() uint64
- func (x *Document) GetPublic() bool
- func (x *Document) GetState() string
- func (x *Document) GetTitle() string
- func (x *Document) GetUpdatedAt() *timestamp.Timestamp
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) SetCategory(cat *DocumentCategory)
- 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 (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 DocumentCategory
- func (*DocumentCategory) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentCategory) GetDescription() string
- func (x *DocumentCategory) GetId() uint64
- func (x *DocumentCategory) GetJob() string
- func (x *DocumentCategory) GetName() string
- func (*DocumentCategory) ProtoMessage()
- func (x *DocumentCategory) ProtoReflect() protoreflect.Message
- func (x *DocumentCategory) Reset()
- func (x *DocumentCategory) String() string
- func (m *DocumentCategory) Validate() error
- func (m *DocumentCategory) ValidateAll() error
- type DocumentCategoryMultiError
- type DocumentCategoryValidationError
- func (e DocumentCategoryValidationError) Cause() error
- func (e DocumentCategoryValidationError) Error() string
- func (e DocumentCategoryValidationError) ErrorName() string
- func (e DocumentCategoryValidationError) Field() string
- func (e DocumentCategoryValidationError) Key() bool
- func (e DocumentCategoryValidationError) Reason() string
- type DocumentComment
- func (*DocumentComment) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentComment) GetComment() string
- func (x *DocumentComment) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentComment) GetCreator() *users.UserShort
- func (x *DocumentComment) GetCreatorId() int32
- func (x *DocumentComment) GetDocumentId() uint64
- func (x *DocumentComment) GetId() uint64
- func (x *DocumentComment) GetUpdatedAt() *timestamp.Timestamp
- func (*DocumentComment) ProtoMessage()
- func (x *DocumentComment) ProtoReflect() protoreflect.Message
- func (x *DocumentComment) Reset()
- func (x *DocumentComment) String() string
- func (m *DocumentComment) Validate() error
- func (m *DocumentComment) ValidateAll() error
- type DocumentCommentMultiError
- type DocumentCommentValidationError
- func (e DocumentCommentValidationError) Cause() error
- func (e DocumentCommentValidationError) Error() string
- func (e DocumentCommentValidationError) ErrorName() string
- func (e DocumentCommentValidationError) Field() string
- func (e DocumentCommentValidationError) Key() bool
- func (e DocumentCommentValidationError) Reason() string
- type DocumentJobAccess
- func (*DocumentJobAccess) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentJobAccess) GetAccess() ACCESS_LEVEL
- func (x *DocumentJobAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentJobAccess) GetDocumentId() uint64
- 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) GetUpdatedAt() *timestamp.Timestamp
- func (*DocumentJobAccess) ProtoMessage()
- func (x *DocumentJobAccess) ProtoReflect() protoreflect.Message
- func (x *DocumentJobAccess) Reset()
- func (x *DocumentJobAccess) SetJobGradeLabel(label string)
- func (x *DocumentJobAccess) SetJobLabel(label string)
- 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() DOC_REFERENCE
- 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 (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() DOC_RELATION
- 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 (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() *DocumentCategory
- func (x *DocumentShort) GetCategoryId() uint64
- func (x *DocumentShort) GetClosed() bool
- func (x *DocumentShort) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentShort) GetCreator() *users.UserShort
- func (x *DocumentShort) GetCreatorId() int32
- func (x *DocumentShort) GetId() uint64
- func (x *DocumentShort) GetState() string
- func (x *DocumentShort) GetTitle() string
- func (x *DocumentShort) GetUpdatedAt() *timestamp.Timestamp
- func (*DocumentShort) ProtoMessage()
- func (x *DocumentShort) ProtoReflect() protoreflect.Message
- func (x *DocumentShort) Reset()
- func (x *DocumentShort) SetCategory(cat *DocumentCategory)
- 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() ACCESS_LEVEL
- func (x *DocumentUserAccess) GetCreatedAt() *timestamp.Timestamp
- func (x *DocumentUserAccess) GetDocumentId() uint64
- func (x *DocumentUserAccess) GetId() uint64
- func (x *DocumentUserAccess) GetUpdatedAt() *timestamp.Timestamp
- 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 (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() int64
- func (x *ObjectSpecs) GetMin() int64
- func (x *ObjectSpecs) GetRequired() bool
- func (*ObjectSpecs) ProtoMessage()
- func (x *ObjectSpecs) ProtoReflect() protoreflect.Message
- func (x *ObjectSpecs) Reset()
- 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 Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetCategory() *DocumentCategory
- func (x *Template) GetContent() string
- func (x *Template) GetContentAccess() *DocumentAccess
- func (x *Template) GetContentTitle() string
- func (x *Template) GetCreatedAt() *timestamp.Timestamp
- func (x *Template) GetCreator() *users.UserShort
- func (x *Template) GetCreatorId() int32
- func (x *Template) GetDescription() string
- func (x *Template) GetId() uint64
- func (x *Template) GetJob() string
- func (x *Template) GetJobAccess() []*TemplateJobAccess
- func (x *Template) GetSchema() *TemplateSchema
- func (x *Template) GetTitle() string
- func (x *Template) GetUpdatedAt() *timestamp.Timestamp
- func (x *Template) GetWeight() uint32
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- 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.User
- func (x *TemplateData) GetVehicles() []*vehicles.Vehicle
- func (*TemplateData) ProtoMessage()
- func (x *TemplateData) ProtoReflect() protoreflect.Message
- func (x *TemplateData) Reset()
- 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() ACCESS_LEVEL
- 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) GetTemplateId() uint64
- func (x *TemplateJobAccess) GetUpdatedAt() *timestamp.Timestamp
- func (*TemplateJobAccess) ProtoMessage()
- func (x *TemplateJobAccess) ProtoReflect() protoreflect.Message
- func (x *TemplateJobAccess) Reset()
- 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 (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 (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() *DocumentCategory
- func (x *TemplateShort) GetCreatedAt() *timestamp.Timestamp
- func (x *TemplateShort) GetCreator() *users.UserShort
- func (x *TemplateShort) GetCreatorId() int32
- func (x *TemplateShort) GetDescription() 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 (*TemplateShort) ProtoMessage()
- func (x *TemplateShort) ProtoReflect() protoreflect.Message
- func (x *TemplateShort) Reset()
- 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 TemplateValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ACCESS_LEVEL_name = map[int32]string{ 0: "BLOCKED", 1: "VIEW", 2: "COMMENT", 3: "ACCESS", 4: "EDIT", } ACCESS_LEVEL_value = map[string]int32{ "BLOCKED": 0, "VIEW": 1, "COMMENT": 2, "ACCESS": 3, "EDIT": 4, } )
Enum value maps for ACCESS_LEVEL.
var ( DOC_CONTENT_TYPE_name = map[int32]string{ 0: "HTML", 1: "PLAIN", } DOC_CONTENT_TYPE_value = map[string]int32{ "HTML": 0, "PLAIN": 1, } )
Enum value maps for DOC_CONTENT_TYPE.
var ( DOC_REFERENCE_name = map[int32]string{ 0: "LINKED", 1: "SOLVES", 2: "CLOSES", 3: "DEPRECATES", } DOC_REFERENCE_value = map[string]int32{ "LINKED": 0, "SOLVES": 1, "CLOSES": 2, "DEPRECATES": 3, } )
Enum value maps for DOC_REFERENCE.
var ( DOC_RELATION_name = map[int32]string{ 0: "MENTIONED", 1: "TARGETS", 2: "CAUSED", } DOC_RELATION_value = map[string]int32{ "MENTIONED": 0, "TARGETS": 1, "CAUSED": 2, } )
Enum value maps for DOC_RELATION.
var File_resources_documents_access_proto protoreflect.FileDescriptor
var File_resources_documents_category_proto protoreflect.FileDescriptor
var File_resources_documents_documents_proto protoreflect.FileDescriptor
var File_resources_documents_templates_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ACCESS_LEVEL ¶
type ACCESS_LEVEL int32
const ( ACCESS_LEVEL_BLOCKED ACCESS_LEVEL = 0 ACCESS_LEVEL_VIEW ACCESS_LEVEL = 1 ACCESS_LEVEL_COMMENT ACCESS_LEVEL = 2 ACCESS_LEVEL_ACCESS ACCESS_LEVEL = 3 ACCESS_LEVEL_EDIT ACCESS_LEVEL = 4 )
func (ACCESS_LEVEL) Descriptor ¶
func (ACCESS_LEVEL) Descriptor() protoreflect.EnumDescriptor
func (ACCESS_LEVEL) Enum ¶
func (x ACCESS_LEVEL) Enum() *ACCESS_LEVEL
func (ACCESS_LEVEL) EnumDescriptor
deprecated
func (ACCESS_LEVEL) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACCESS_LEVEL.Descriptor instead.
func (ACCESS_LEVEL) Number ¶
func (x ACCESS_LEVEL) Number() protoreflect.EnumNumber
func (ACCESS_LEVEL) String ¶
func (x ACCESS_LEVEL) String() string
func (ACCESS_LEVEL) Type ¶
func (ACCESS_LEVEL) Type() protoreflect.EnumType
type DOC_CONTENT_TYPE ¶
type DOC_CONTENT_TYPE int32
const ( DOC_CONTENT_TYPE_HTML DOC_CONTENT_TYPE = 0 DOC_CONTENT_TYPE_PLAIN DOC_CONTENT_TYPE = 1 )
func (DOC_CONTENT_TYPE) Descriptor ¶
func (DOC_CONTENT_TYPE) Descriptor() protoreflect.EnumDescriptor
func (DOC_CONTENT_TYPE) Enum ¶
func (x DOC_CONTENT_TYPE) Enum() *DOC_CONTENT_TYPE
func (DOC_CONTENT_TYPE) EnumDescriptor
deprecated
func (DOC_CONTENT_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use DOC_CONTENT_TYPE.Descriptor instead.
func (DOC_CONTENT_TYPE) Number ¶
func (x DOC_CONTENT_TYPE) Number() protoreflect.EnumNumber
func (DOC_CONTENT_TYPE) String ¶
func (x DOC_CONTENT_TYPE) String() string
func (DOC_CONTENT_TYPE) Type ¶
func (DOC_CONTENT_TYPE) Type() protoreflect.EnumType
type DOC_REFERENCE ¶
type DOC_REFERENCE int32
const ( DOC_REFERENCE_LINKED DOC_REFERENCE = 0 DOC_REFERENCE_SOLVES DOC_REFERENCE = 1 DOC_REFERENCE_CLOSES DOC_REFERENCE = 2 DOC_REFERENCE_DEPRECATES DOC_REFERENCE = 3 )
func (DOC_REFERENCE) Descriptor ¶
func (DOC_REFERENCE) Descriptor() protoreflect.EnumDescriptor
func (DOC_REFERENCE) Enum ¶
func (x DOC_REFERENCE) Enum() *DOC_REFERENCE
func (DOC_REFERENCE) EnumDescriptor
deprecated
func (DOC_REFERENCE) EnumDescriptor() ([]byte, []int)
Deprecated: Use DOC_REFERENCE.Descriptor instead.
func (DOC_REFERENCE) Number ¶
func (x DOC_REFERENCE) Number() protoreflect.EnumNumber
func (DOC_REFERENCE) String ¶
func (x DOC_REFERENCE) String() string
func (DOC_REFERENCE) Type ¶
func (DOC_REFERENCE) Type() protoreflect.EnumType
type DOC_RELATION ¶
type DOC_RELATION int32
const ( DOC_RELATION_MENTIONED DOC_RELATION = 0 DOC_RELATION_TARGETS DOC_RELATION = 1 DOC_RELATION_CAUSED DOC_RELATION = 2 )
func (DOC_RELATION) Descriptor ¶
func (DOC_RELATION) Descriptor() protoreflect.EnumDescriptor
func (DOC_RELATION) Enum ¶
func (x DOC_RELATION) Enum() *DOC_RELATION
func (DOC_RELATION) EnumDescriptor
deprecated
func (DOC_RELATION) EnumDescriptor() ([]byte, []int)
Deprecated: Use DOC_RELATION.Descriptor instead.
func (DOC_RELATION) Number ¶
func (x DOC_RELATION) Number() protoreflect.EnumNumber
func (DOC_RELATION) String ¶
func (x DOC_RELATION) String() string
func (DOC_RELATION) Type ¶
func (DOC_RELATION) Type() protoreflect.EnumType
type Document ¶
type Document 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" json:"created_at,omitempty" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" CategoryId *uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id" Category *DocumentCategory `protobuf:"bytes,5,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" ContentType DOC_CONTENT_TYPE `` // @gotags: alias:"content_type" /* 158-byte string literal not displayed */ Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content" Data string `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty" alias:"data"` // @gotags: alias:"data" CreatorId *int32 `protobuf:"varint,10,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id" Creator *users.UserShort `protobuf:"bytes,11,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Closed bool `protobuf:"varint,13,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed" Public bool `protobuf:"varint,14,opt,name=public,proto3" json:"public,omitempty" alias:"public"` // @gotags: alias:"public" // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) GetCategory ¶
func (x *Document) GetCategory() *DocumentCategory
func (*Document) GetCategoryId ¶
func (*Document) GetContent ¶
func (*Document) GetContentType ¶
func (x *Document) GetContentType() DOC_CONTENT_TYPE
func (*Document) GetCreatedAt ¶
func (*Document) GetCreator ¶
func (*Document) GetCreatorId ¶
func (*Document) GetUpdatedAt ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
func (*Document) SetCategory ¶
func (x *Document) SetCategory(cat *DocumentCategory)
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) Scan ¶
func (x *DocumentAccess) Scan(value any) error
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 DocumentCategory ¶
type DocumentCategory struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" alias:"id"` // @gotags: alias:"id" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" alias:"name"` // @gotags: alias:"name" Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty" alias:"description"` // @gotags: alias:"description" Job *string `protobuf:"bytes,4,opt,name=job,proto3,oneof" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" // contains filtered or unexported fields }
func (*DocumentCategory) Descriptor
deprecated
func (*DocumentCategory) Descriptor() ([]byte, []int)
Deprecated: Use DocumentCategory.ProtoReflect.Descriptor instead.
func (*DocumentCategory) GetDescription ¶
func (x *DocumentCategory) GetDescription() string
func (*DocumentCategory) GetId ¶
func (x *DocumentCategory) GetId() uint64
func (*DocumentCategory) GetJob ¶
func (x *DocumentCategory) GetJob() string
func (*DocumentCategory) GetName ¶
func (x *DocumentCategory) GetName() string
func (*DocumentCategory) ProtoMessage ¶
func (*DocumentCategory) ProtoMessage()
func (*DocumentCategory) ProtoReflect ¶
func (x *DocumentCategory) ProtoReflect() protoreflect.Message
func (*DocumentCategory) Reset ¶
func (x *DocumentCategory) Reset()
func (*DocumentCategory) String ¶
func (x *DocumentCategory) String() string
func (*DocumentCategory) Validate ¶
func (m *DocumentCategory) Validate() error
Validate checks the field values on DocumentCategory 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 (*DocumentCategory) ValidateAll ¶
func (m *DocumentCategory) ValidateAll() error
ValidateAll checks the field values on DocumentCategory 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 DocumentCategoryMultiError, or nil if none found.
type DocumentCategoryMultiError ¶
type DocumentCategoryMultiError []error
DocumentCategoryMultiError is an error wrapping multiple validation errors returned by DocumentCategory.ValidateAll() if the designated constraints aren't met.
func (DocumentCategoryMultiError) AllErrors ¶
func (m DocumentCategoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentCategoryMultiError) Error ¶
func (m DocumentCategoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentCategoryValidationError ¶
type DocumentCategoryValidationError struct {
// contains filtered or unexported fields
}
DocumentCategoryValidationError is the validation error returned by DocumentCategory.Validate if the designated constraints aren't met.
func (DocumentCategoryValidationError) Cause ¶
func (e DocumentCategoryValidationError) Cause() error
Cause function returns cause value.
func (DocumentCategoryValidationError) Error ¶
func (e DocumentCategoryValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentCategoryValidationError) ErrorName ¶
func (e DocumentCategoryValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentCategoryValidationError) Field ¶
func (e DocumentCategoryValidationError) Field() string
Field function returns field value.
func (DocumentCategoryValidationError) Key ¶
func (e DocumentCategoryValidationError) Key() bool
Key function returns key value.
func (DocumentCategoryValidationError) Reason ¶
func (e DocumentCategoryValidationError) Reason() string
Reason function returns reason value.
type DocumentComment ¶
type DocumentComment 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" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" DocumentId uint64 `protobuf:"varint,4,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty" alias:"comment"` // @gotags: alias:"comment" CreatorId *int32 `protobuf:"varint,6,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id" Creator *users.UserShort `protobuf:"bytes,7,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" // contains filtered or unexported fields }
func (*DocumentComment) Descriptor
deprecated
func (*DocumentComment) Descriptor() ([]byte, []int)
Deprecated: Use DocumentComment.ProtoReflect.Descriptor instead.
func (*DocumentComment) GetComment ¶
func (x *DocumentComment) GetComment() string
func (*DocumentComment) GetCreatedAt ¶
func (x *DocumentComment) GetCreatedAt() *timestamp.Timestamp
func (*DocumentComment) GetCreator ¶
func (x *DocumentComment) GetCreator() *users.UserShort
func (*DocumentComment) GetCreatorId ¶
func (x *DocumentComment) GetCreatorId() int32
func (*DocumentComment) GetDocumentId ¶
func (x *DocumentComment) GetDocumentId() uint64
func (*DocumentComment) GetId ¶
func (x *DocumentComment) GetId() uint64
func (*DocumentComment) GetUpdatedAt ¶
func (x *DocumentComment) GetUpdatedAt() *timestamp.Timestamp
func (*DocumentComment) ProtoMessage ¶
func (*DocumentComment) ProtoMessage()
func (*DocumentComment) ProtoReflect ¶
func (x *DocumentComment) ProtoReflect() protoreflect.Message
func (*DocumentComment) Reset ¶
func (x *DocumentComment) Reset()
func (*DocumentComment) String ¶
func (x *DocumentComment) String() string
func (*DocumentComment) Validate ¶
func (m *DocumentComment) Validate() error
Validate checks the field values on DocumentComment 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 (*DocumentComment) ValidateAll ¶
func (m *DocumentComment) ValidateAll() error
ValidateAll checks the field values on DocumentComment 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 DocumentCommentMultiError, or nil if none found.
type DocumentCommentMultiError ¶
type DocumentCommentMultiError []error
DocumentCommentMultiError is an error wrapping multiple validation errors returned by DocumentComment.ValidateAll() if the designated constraints aren't met.
func (DocumentCommentMultiError) AllErrors ¶
func (m DocumentCommentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DocumentCommentMultiError) Error ¶
func (m DocumentCommentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DocumentCommentValidationError ¶
type DocumentCommentValidationError struct {
// contains filtered or unexported fields
}
DocumentCommentValidationError is the validation error returned by DocumentComment.Validate if the designated constraints aren't met.
func (DocumentCommentValidationError) Cause ¶
func (e DocumentCommentValidationError) Cause() error
Cause function returns cause value.
func (DocumentCommentValidationError) Error ¶
func (e DocumentCommentValidationError) Error() string
Error satisfies the builtin error interface
func (DocumentCommentValidationError) ErrorName ¶
func (e DocumentCommentValidationError) ErrorName() string
ErrorName returns error name.
func (DocumentCommentValidationError) Field ¶
func (e DocumentCommentValidationError) Field() string
Field function returns field value.
func (DocumentCommentValidationError) Key ¶
func (e DocumentCommentValidationError) Key() bool
Key function returns key value.
func (DocumentCommentValidationError) Reason ¶
func (e DocumentCommentValidationError) Reason() string
Reason function returns reason value.
type DocumentJobAccess ¶
type DocumentJobAccess 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" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" DocumentId uint64 `protobuf:"varint,4,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobLabel *string `protobuf:"bytes,6,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label" MinimumGrade int32 `protobuf:"varint,7,opt,name=minimumGrade,proto3" json:"minimumGrade,omitempty" alias:"minimum_grade"` // @gotags: alias:"minimum_grade" JobGradeLabel *string `` // @gotags: alias:"job_grade_label" /* 132-byte string literal not displayed */ Access ACCESS_LEVEL `protobuf:"varint,9,opt,name=access,proto3,enum=resources.documents.ACCESS_LEVEL" json:"access,omitempty" alias:"access"` // @gotags: alias:"access" // 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() ACCESS_LEVEL
func (*DocumentJobAccess) GetCreatedAt ¶
func (x *DocumentJobAccess) GetCreatedAt() *timestamp.Timestamp
func (*DocumentJobAccess) GetDocumentId ¶
func (x *DocumentJobAccess) GetDocumentId() uint64
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) GetUpdatedAt ¶
func (x *DocumentJobAccess) GetUpdatedAt() *timestamp.Timestamp
func (*DocumentJobAccess) ProtoMessage ¶
func (*DocumentJobAccess) ProtoMessage()
func (*DocumentJobAccess) ProtoReflect ¶
func (x *DocumentJobAccess) ProtoReflect() protoreflect.Message
func (*DocumentJobAccess) Reset ¶
func (x *DocumentJobAccess) Reset()
func (*DocumentJobAccess) SetJobGradeLabel ¶
func (x *DocumentJobAccess) SetJobGradeLabel(label string)
func (*DocumentJobAccess) SetJobLabel ¶
func (x *DocumentJobAccess) SetJobLabel(label string)
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" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty" alias:"created_at"` // @gotags: alias:"created_at" 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 DOC_REFERENCE `` // @gotags: alias:"reference" /* 129-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" alias:"creator_id"` // @gotags: alias:"creator_id" 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() DOC_REFERENCE
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) 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" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty" alias:"created_at"` // @gotags: alias:"created_at" DocumentId uint64 `protobuf:"varint,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" 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 DOC_RELATION `protobuf:"varint,7,opt,name=relation,proto3,enum=resources.documents.DOC_RELATION" 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() DOC_RELATION
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) 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" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" CategoryId *uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3,oneof" json:"category_id,omitempty" alias:"category_id"` // @gotags: alias:"category_id" Category *DocumentCategory `protobuf:"bytes,5,opt,name=category,proto3,oneof" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" CreatorId *int32 `protobuf:"varint,7,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id" Creator *users.UserShort `protobuf:"bytes,8,opt,name=creator,proto3,oneof" json:"creator,omitempty" alias:"creator"` // @gotags: alias:"creator" State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty" alias:"state"` // @gotags: alias:"state" Closed bool `protobuf:"varint,10,opt,name=closed,proto3" json:"closed,omitempty" alias:"closed"` // @gotags: alias:"closed" // 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() *DocumentCategory
func (*DocumentShort) GetCategoryId ¶
func (x *DocumentShort) GetCategoryId() uint64
func (*DocumentShort) GetClosed ¶
func (x *DocumentShort) GetClosed() bool
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) GetId ¶
func (x *DocumentShort) GetId() uint64
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) ProtoMessage ¶
func (*DocumentShort) ProtoMessage()
func (*DocumentShort) ProtoReflect ¶
func (x *DocumentShort) ProtoReflect() protoreflect.Message
func (*DocumentShort) Reset ¶
func (x *DocumentShort) Reset()
func (*DocumentShort) SetCategory ¶
func (x *DocumentShort) SetCategory(cat *DocumentCategory)
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" alias:"id"` // @gotags: alias:"id" CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" DocumentId uint64 `protobuf:"varint,4,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty" alias:"document_id"` // @gotags: alias:"document_id" UserId int32 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" alias:"user_id"` // @gotags: alias:"user_id" User *users.UserShort `protobuf:"bytes,6,opt,name=user,proto3,oneof" json:"user,omitempty"` Access ACCESS_LEVEL `protobuf:"varint,7,opt,name=access,proto3,enum=resources.documents.ACCESS_LEVEL" json:"access,omitempty" alias:"access"` // @gotags: alias:"access" // 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() ACCESS_LEVEL
func (*DocumentUserAccess) GetCreatedAt ¶
func (x *DocumentUserAccess) GetCreatedAt() *timestamp.Timestamp
func (*DocumentUserAccess) GetDocumentId ¶
func (x *DocumentUserAccess) GetDocumentId() uint64
func (*DocumentUserAccess) GetId ¶
func (x *DocumentUserAccess) GetId() uint64
func (*DocumentUserAccess) GetUpdatedAt ¶
func (x *DocumentUserAccess) GetUpdatedAt() *timestamp.Timestamp
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) 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 *int64 `protobuf:"varint,2,opt,name=min,proto3,oneof" json:"min,omitempty"` Max *int64 `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() int64
func (*ObjectSpecs) GetMin ¶
func (x *ObjectSpecs) GetMin() int64
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) 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 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" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" Category *DocumentCategory `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" alias:"weight"` // @gotags: alias:"weight" Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty" alias:"description"` // @gotags: alias:"description" ContentTitle string `protobuf:"bytes,8,opt,name=content_title,json=contentTitle,proto3" json:"content_title,omitempty" alias:"content_title"` // @gotags: alias:"content_title" Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty" alias:"content"` // @gotags: alias:"content" Schema *TemplateSchema `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"` // @gotags: alias:"schema" CreatorId *int32 `protobuf:"varint,11,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id" Creator *users.UserShort `protobuf:"bytes,12,opt,name=creator,proto3,oneof" json:"creator,omitempty"` Job *string `protobuf:"bytes,13,opt,name=job,proto3,oneof" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobAccess []*TemplateJobAccess `protobuf:"bytes,14,rep,name=job_access,json=jobAccess,proto3" json:"job_access,omitempty"` ContentAccess *DocumentAccess `protobuf:"bytes,15,opt,name=content_access,json=contentAccess,proto3" json:"content_access,omitempty" alias:"access"` // @gotags: alias:"access" // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetCategory ¶
func (x *Template) GetCategory() *DocumentCategory
func (*Template) GetContent ¶
func (*Template) GetContentAccess ¶
func (x *Template) GetContentAccess() *DocumentAccess
func (*Template) GetContentTitle ¶
func (*Template) GetCreatedAt ¶
func (*Template) GetCreator ¶
func (*Template) GetCreatorId ¶
func (*Template) GetDescription ¶
func (*Template) GetJobAccess ¶
func (x *Template) GetJobAccess() []*TemplateJobAccess
func (*Template) GetSchema ¶
func (x *Template) GetSchema() *TemplateSchema
func (*Template) GetUpdatedAt ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
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.User `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.User
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) 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" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" TemplateId uint64 `protobuf:"varint,4,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty" alias:"template_id"` // @gotags: alias:"template_id" Job string `protobuf:"bytes,5,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" JobLabel *string `protobuf:"bytes,6,opt,name=job_label,json=jobLabel,proto3,oneof" json:"job_label,omitempty" alias:"job_label"` // @gotags: alias:"job_label" MinimumGrade int32 `protobuf:"varint,7,opt,name=minimumGrade,proto3" json:"minimumGrade,omitempty" alias:"minimum_grade"` // @gotags: alias:"minimum_grade" JobGradeLabel *string `` // @gotags: alias:"job_grade_label" /* 132-byte string literal not displayed */ Access ACCESS_LEVEL `protobuf:"varint,9,opt,name=access,proto3,enum=resources.documents.ACCESS_LEVEL" json:"access,omitempty" alias:"access"` // @gotags: alias:"access" // 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() ACCESS_LEVEL
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) GetTemplateId ¶
func (x *TemplateJobAccess) GetTemplateId() uint64
func (*TemplateJobAccess) GetUpdatedAt ¶
func (x *TemplateJobAccess) GetUpdatedAt() *timestamp.Timestamp
func (*TemplateJobAccess) ProtoMessage ¶
func (*TemplateJobAccess) ProtoMessage()
func (*TemplateJobAccess) ProtoReflect ¶
func (x *TemplateJobAccess) ProtoReflect() protoreflect.Message
func (*TemplateJobAccess) Reset ¶
func (x *TemplateJobAccess) Reset()
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) 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) Scan ¶
func (x *TemplateSchema) Scan(value any) error
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" alias:"created_at"` // @gotags: alias:"created_at" UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty" alias:"updated_at"` // @gotags: alias:"updated_at" Weight uint32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty" alias:"weight"` // @gotags: alias:"weight" Category *DocumentCategory `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty" alias:"category"` // @gotags: alias:"category" Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty" alias:"title"` // @gotags: alias:"title" Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty" alias:"description"` // @gotags: alias:"description" Schema *TemplateSchema `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty" alias:"schema"` // @gotags: alias:"schema" CreatorId *int32 `protobuf:"varint,9,opt,name=creator_id,json=creatorId,proto3,oneof" json:"creator_id,omitempty" alias:"creator_id"` // @gotags: alias:"creator_id" Creator *users.UserShort `protobuf:"bytes,10,opt,name=creator,proto3,oneof" json:"creator,omitempty"` Job string `protobuf:"bytes,11,opt,name=job,proto3" json:"job,omitempty" alias:"job"` // @gotags: alias:"job" // 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() *DocumentCategory
func (*TemplateShort) GetCreatedAt ¶
func (x *TemplateShort) GetCreatedAt() *timestamp.Timestamp
func (*TemplateShort) GetCreator ¶
func (x *TemplateShort) GetCreator() *users.UserShort
func (*TemplateShort) GetCreatorId ¶
func (x *TemplateShort) GetCreatorId() int32
func (*TemplateShort) GetDescription ¶
func (x *TemplateShort) GetDescription() 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) ProtoMessage ¶
func (*TemplateShort) ProtoMessage()
func (*TemplateShort) ProtoReflect ¶
func (x *TemplateShort) ProtoReflect() protoreflect.Message
func (*TemplateShort) Reset ¶
func (x *TemplateShort) Reset()
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 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.