relationv1

package
v0.4.44 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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: "",
})
View Source
var File_relation_v1_library_proto protoreflect.FileDescriptor
View Source
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) Argument

func (*Borrow) Argument() graphql.FieldConfigArgument

Argument ...

func (*Borrow) Descriptor deprecated

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

Deprecated: Use Borrow.ProtoReflect.Descriptor instead.

func (*Borrow) GetFrom

func (x *Borrow) GetFrom() string

func (*Borrow) GetKey

func (x *Borrow) GetKey() string

func (*Borrow) GetTo

func (x *Borrow) GetTo() string

func (*Borrow) Object

func (*Borrow) Object() *graphql.Object

Object ...

func (*Borrow) Output

func (*Borrow) Output() graphql.Output

Output ...

func (*Borrow) ProtoMessage

func (*Borrow) ProtoMessage()

func (*Borrow) ProtoReflect

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

func (*Borrow) Reset

func (x *Borrow) Reset()

func (*Borrow) Schema

func (*Borrow) Schema() map[string]interface{}

Schema ...

func (*Borrow) String

func (x *Borrow) String() string

func (*Borrow) UnmarshalJSON

func (o *Borrow) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Borrow) UnmarshalMap

func (o *Borrow) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*Borrow) Validate added in v0.4.44

func (m *Borrow) Validate() error

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

func (m *Borrow) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetDate added in v0.4.41

func (x *Member) GetDate() *v1.Date

func (*Member) GetDateTime added in v0.4.41

func (x *Member) GetDateTime() *v1.DateTime

func (*Member) GetFrom added in v0.4.29

func (x *Member) GetFrom() string

func (*Member) GetKey added in v0.4.29

func (x *Member) GetKey() string

func (*Member) GetMonthlyFee added in v0.4.29

func (x *Member) GetMonthlyFee() int64

func (*Member) GetTime added in v0.4.41

func (x *Member) GetTime() *v1.Time

func (*Member) GetTo added in v0.4.29

func (x *Member) GetTo() string

func (*Member) Object added in v0.4.29

func (*Member) Object() *graphql.Object

Object ...

func (*Member) Output added in v0.4.29

func (*Member) Output() graphql.Output

Output ...

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) Reset added in v0.4.29

func (x *Member) Reset()

func (*Member) Schema added in v0.4.29

func (*Member) Schema() map[string]interface{}

Schema ...

func (*Member) String added in v0.4.29

func (x *Member) String() string

func (*Member) UnmarshalJSON added in v0.4.29

func (o *Member) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Member) UnmarshalMap added in v0.4.29

func (o *Member) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*Member) Validate added in v0.4.44

func (m *Member) Validate() error

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

func (m *Member) ValidateAll() error

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.

Jump to

Keyboard shortcuts

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