Documentation
¶
Index ¶
- Variables
- type Borrow
- func (*Borrow) Argument() graphql.FieldConfigArgument
- func (*Borrow) Descriptor() ([]byte, []int)deprecated
- func (x *Borrow) GetFrom() string
- func (x *Borrow) GetKey() string
- func (x *Borrow) GetTo() string
- func (*Borrow) Object() *graphql.Object
- func (*Borrow) Output() graphql.Output
- func (*Borrow) ProtoMessage()
- func (x *Borrow) ProtoReflect() protoreflect.Message
- func (x *Borrow) Reset()
- func (*Borrow) Schema() map[string]interface{}
- func (x *Borrow) String() string
- func (o *Borrow) UnmarshalJSON(b []byte) error
- func (o *Borrow) UnmarshalMap(values map[string]interface{})
- func (m *Borrow) Validate() error
- func (m *Borrow) ValidateAll() error
- type BorrowMultiError
- type BorrowValidationError
- type Member
- func (*Member) Argument() graphql.FieldConfigArgument
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetDate() *v1.Date
- func (x *Member) GetDateTime() *v1.DateTime
- func (x *Member) GetFrom() string
- func (x *Member) GetKey() string
- func (x *Member) GetMonthlyFee() int64
- func (x *Member) GetTime() *v1.Time
- func (x *Member) GetTo() string
- func (*Member) Object() *graphql.Object
- func (*Member) Output() graphql.Output
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (*Member) Schema() map[string]interface{}
- func (x *Member) String() string
- func (o *Member) UnmarshalJSON(b []byte) error
- func (o *Member) UnmarshalMap(values map[string]interface{})
- func (m *Member) Validate() error
- func (m *Member) ValidateAll() error
- type MemberMultiError
- type MemberValidationError
Constants ¶
This section is empty.
Variables ¶
var Borrow_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Borrow_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "_from": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "_to": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var Borrow_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Borrow", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "_from": &graphql.Field{ Type: graphql.String, }, "_to": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var File_relation_v1_library_proto protoreflect.FileDescriptor
var Member_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Member_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "_from": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "_to": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "monthlyFee": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, "date": &graphql.InputObjectFieldConfig{ Type: v1.Date_Input, }, "time": &graphql.InputObjectFieldConfig{ Type: v1.Time_Input, }, "dateTime": &graphql.InputObjectFieldConfig{ Type: v1.DateTime_Input, }, }, })
var Member_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Member", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "_from": &graphql.Field{ Type: graphql.String, }, "_to": &graphql.Field{ Type: graphql.String, }, "monthlyFee": &graphql.Field{ Type: graphql.Int, }, "date": &graphql.Field{ Type: v1.Date_Object, }, "time": &graphql.Field{ Type: v1.Time_Object, }, "dateTime": &graphql.Field{ Type: v1.DateTime_Object, }, }, Description: "", })
Functions ¶
This section is empty.
Types ¶
type Borrow ¶
type Borrow struct {
Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
From string `protobuf:"bytes,2,opt,name=_from,proto3" json:"_from,omitempty"`
To string `protobuf:"bytes,3,opt,name=_to,proto3" json:"_to,omitempty"`
// contains filtered or unexported fields
}
func (*Borrow) Descriptor
deprecated
func (*Borrow) ProtoMessage ¶
func (*Borrow) ProtoMessage()
func (*Borrow) ProtoReflect ¶
func (x *Borrow) ProtoReflect() protoreflect.Message
func (*Borrow) UnmarshalMap ¶
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*Borrow) Validate ¶ added in v0.4.44
Validate checks the field values on Borrow 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 (*Borrow) ValidateAll ¶ added in v0.4.44
ValidateAll checks the field values on Borrow 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 BorrowMultiError, or nil if none found.
type BorrowMultiError ¶ added in v0.4.44
type BorrowMultiError []error
BorrowMultiError is an error wrapping multiple validation errors returned by Borrow.ValidateAll() if the designated constraints aren't met.
func (BorrowMultiError) AllErrors ¶ added in v0.4.44
func (m BorrowMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BorrowMultiError) Error ¶ added in v0.4.44
func (m BorrowMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BorrowValidationError ¶ added in v0.4.44
type BorrowValidationError struct {
// contains filtered or unexported fields
}
BorrowValidationError is the validation error returned by Borrow.Validate if the designated constraints aren't met.
func (BorrowValidationError) Cause ¶ added in v0.4.44
func (e BorrowValidationError) Cause() error
Cause function returns cause value.
func (BorrowValidationError) Error ¶ added in v0.4.44
func (e BorrowValidationError) Error() string
Error satisfies the builtin error interface
func (BorrowValidationError) ErrorName ¶ added in v0.4.44
func (e BorrowValidationError) ErrorName() string
ErrorName returns error name.
func (BorrowValidationError) Field ¶ added in v0.4.44
func (e BorrowValidationError) Field() string
Field function returns field value.
func (BorrowValidationError) Key ¶ added in v0.4.44
func (e BorrowValidationError) Key() bool
Key function returns key value.
func (BorrowValidationError) Reason ¶ added in v0.4.44
func (e BorrowValidationError) Reason() string
Reason function returns reason value.
type Member ¶ added in v0.4.29
type Member struct {
Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
From string `protobuf:"bytes,2,opt,name=_from,proto3" json:"_from,omitempty"`
To string `protobuf:"bytes,3,opt,name=_to,proto3" json:"_to,omitempty"`
MonthlyFee *int64 `protobuf:"varint,4,opt,name=monthlyFee,proto3,oneof" json:"monthlyFee,omitempty"`
Date *v1.Date `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
Time *v1.Time `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
DateTime *v1.DateTime `protobuf:"bytes,7,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
// contains filtered or unexported fields
}
func (*Member) Argument ¶ added in v0.4.29
func (*Member) Argument() graphql.FieldConfigArgument
Argument ...
func (*Member) Descriptor
deprecated
added in
v0.4.29
func (*Member) GetDateTime ¶ added in v0.4.41
func (*Member) GetMonthlyFee ¶ added in v0.4.29
func (*Member) ProtoMessage ¶ added in v0.4.29
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶ added in v0.4.29
func (x *Member) ProtoReflect() protoreflect.Message
func (*Member) UnmarshalJSON ¶ added in v0.4.29
UnmarshalJSON ...
func (*Member) UnmarshalMap ¶ added in v0.4.29
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*Member) Validate ¶ added in v0.4.44
Validate checks the field values on Member 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 (*Member) ValidateAll ¶ added in v0.4.44
ValidateAll checks the field values on Member 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 MemberMultiError, or nil if none found.
type MemberMultiError ¶ added in v0.4.44
type MemberMultiError []error
MemberMultiError is an error wrapping multiple validation errors returned by Member.ValidateAll() if the designated constraints aren't met.
func (MemberMultiError) AllErrors ¶ added in v0.4.44
func (m MemberMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemberMultiError) Error ¶ added in v0.4.44
func (m MemberMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemberValidationError ¶ added in v0.4.44
type MemberValidationError struct {
// contains filtered or unexported fields
}
MemberValidationError is the validation error returned by Member.Validate if the designated constraints aren't met.
func (MemberValidationError) Cause ¶ added in v0.4.44
func (e MemberValidationError) Cause() error
Cause function returns cause value.
func (MemberValidationError) Error ¶ added in v0.4.44
func (e MemberValidationError) Error() string
Error satisfies the builtin error interface
func (MemberValidationError) ErrorName ¶ added in v0.4.44
func (e MemberValidationError) ErrorName() string
ErrorName returns error name.
func (MemberValidationError) Field ¶ added in v0.4.44
func (e MemberValidationError) Field() string
Field function returns field value.
func (MemberValidationError) Key ¶ added in v0.4.44
func (e MemberValidationError) Key() bool
Key function returns key value.
func (MemberValidationError) Reason ¶ added in v0.4.44
func (e MemberValidationError) Reason() string
Reason function returns reason value.