integration

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BooleanFilterInput

type BooleanFilterInput struct {
	And     []*bool             `json:"and"`
	Or      []*bool             `json:"or"`
	Not     *BooleanFilterInput `json:"not,omitempty"`
	Is      *bool               `json:"is"`
	Null    *bool               `json:"null"`
	NotNull *bool               `json:"notNull"`
}

Boolean Filter simple datatypes

func (*BooleanFilterInput) GetAnd

func (v *BooleanFilterInput) GetAnd() []*bool

GetAnd returns BooleanFilterInput.And, and is useful for accessing the field via an interface.

func (*BooleanFilterInput) GetIs

func (v *BooleanFilterInput) GetIs() *bool

GetIs returns BooleanFilterInput.Is, and is useful for accessing the field via an interface.

func (*BooleanFilterInput) GetNot

GetNot returns BooleanFilterInput.Not, and is useful for accessing the field via an interface.

func (*BooleanFilterInput) GetNotNull

func (v *BooleanFilterInput) GetNotNull() *bool

GetNotNull returns BooleanFilterInput.NotNull, and is useful for accessing the field via an interface.

func (*BooleanFilterInput) GetNull

func (v *BooleanFilterInput) GetNull() *bool

GetNull returns BooleanFilterInput.Null, and is useful for accessing the field via an interface.

func (*BooleanFilterInput) GetOr

func (v *BooleanFilterInput) GetOr() []*bool

GetOr returns BooleanFilterInput.Or, and is useful for accessing the field via an interface.

type CatFiltersInput

type CatFiltersInput struct {
	Id       *IDFilterInput      `json:"id,omitempty"`
	Name     *StringFilterInput  `json:"name,omitempty"`
	BirthDay *TimeFilterInput    `json:"birthDay,omitempty"`
	UserID   *IntFilterInput     `json:"userID,omitempty"`
	Alive    *BooleanFilterInput `json:"alive,omitempty"`
	And      []*CatFiltersInput  `json:"and,omitempty"`
	Or       []*CatFiltersInput  `json:"or,omitempty"`
	Not      *CatFiltersInput    `json:"not,omitempty"`
}

Filter input selection for Cat Can be used f.e.: by queryCat

func (*CatFiltersInput) GetAlive

func (v *CatFiltersInput) GetAlive() *BooleanFilterInput

GetAlive returns CatFiltersInput.Alive, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetAnd

func (v *CatFiltersInput) GetAnd() []*CatFiltersInput

GetAnd returns CatFiltersInput.And, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetBirthDay

func (v *CatFiltersInput) GetBirthDay() *TimeFilterInput

GetBirthDay returns CatFiltersInput.BirthDay, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetId

func (v *CatFiltersInput) GetId() *IDFilterInput

GetId returns CatFiltersInput.Id, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetName

func (v *CatFiltersInput) GetName() *StringFilterInput

GetName returns CatFiltersInput.Name, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetNot

func (v *CatFiltersInput) GetNot() *CatFiltersInput

GetNot returns CatFiltersInput.Not, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetOr

func (v *CatFiltersInput) GetOr() []*CatFiltersInput

GetOr returns CatFiltersInput.Or, and is useful for accessing the field via an interface.

func (*CatFiltersInput) GetUserID

func (v *CatFiltersInput) GetUserID() *IntFilterInput

GetUserID returns CatFiltersInput.UserID, and is useful for accessing the field via an interface.

type CatInput

type CatInput struct {
	Name     string    `json:"name"`
	BirthDay time.Time `json:"birthDay"`
	UserID   int       `json:"userID"`
	Alive    *bool     `json:"alive"`
}

Cat Input value to add new Cat

func (*CatInput) GetAlive

func (v *CatInput) GetAlive() *bool

GetAlive returns CatInput.Alive, and is useful for accessing the field via an interface.

func (*CatInput) GetBirthDay

func (v *CatInput) GetBirthDay() time.Time

GetBirthDay returns CatInput.BirthDay, and is useful for accessing the field via an interface.

func (*CatInput) GetName

func (v *CatInput) GetName() string

GetName returns CatInput.Name, and is useful for accessing the field via an interface.

func (*CatInput) GetUserID

func (v *CatInput) GetUserID() int

GetUserID returns CatInput.UserID, and is useful for accessing the field via an interface.

type CompanyFiltersInput

type CompanyFiltersInput struct {
	Id              *IDFilterInput         `json:"id,omitempty"`
	Name            *StringFilterInput     `json:"name,omitempty"`
	Description     *StringFilterInput     `json:"description,omitempty"`
	MotherCompanyID *IntFilterInput        `json:"motherCompanyID,omitempty"`
	MotherCompany   *CompanyFiltersInput   `json:"motherCompany,omitempty"`
	CreatedAt       *TimeFilterInput       `json:"createdAt,omitempty"`
	And             []*CompanyFiltersInput `json:"and,omitempty"`
	Or              []*CompanyFiltersInput `json:"or,omitempty"`
	Not             *CompanyFiltersInput   `json:"not,omitempty"`
}

Filter input selection for Company Can be used f.e.: by queryCompany

func (*CompanyFiltersInput) GetAnd

GetAnd returns CompanyFiltersInput.And, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetCreatedAt

func (v *CompanyFiltersInput) GetCreatedAt() *TimeFilterInput

GetCreatedAt returns CompanyFiltersInput.CreatedAt, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetDescription

func (v *CompanyFiltersInput) GetDescription() *StringFilterInput

GetDescription returns CompanyFiltersInput.Description, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetId

func (v *CompanyFiltersInput) GetId() *IDFilterInput

GetId returns CompanyFiltersInput.Id, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetMotherCompany

func (v *CompanyFiltersInput) GetMotherCompany() *CompanyFiltersInput

GetMotherCompany returns CompanyFiltersInput.MotherCompany, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetMotherCompanyID

func (v *CompanyFiltersInput) GetMotherCompanyID() *IntFilterInput

GetMotherCompanyID returns CompanyFiltersInput.MotherCompanyID, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetName

func (v *CompanyFiltersInput) GetName() *StringFilterInput

GetName returns CompanyFiltersInput.Name, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetNot

GetNot returns CompanyFiltersInput.Not, and is useful for accessing the field via an interface.

func (*CompanyFiltersInput) GetOr

GetOr returns CompanyFiltersInput.Or, and is useful for accessing the field via an interface.

type CompanyInput

type CompanyInput struct {
	Name            string        `json:"name"`
	Description     *string       `json:"description"`
	MotherCompanyID *int          `json:"motherCompanyID"`
	MotherCompany   *CompanyInput `json:"motherCompany,omitempty"`
}

Company Input value to add new Company

func (*CompanyInput) GetDescription

func (v *CompanyInput) GetDescription() *string

GetDescription returns CompanyInput.Description, and is useful for accessing the field via an interface.

func (*CompanyInput) GetMotherCompany

func (v *CompanyInput) GetMotherCompany() *CompanyInput

GetMotherCompany returns CompanyInput.MotherCompany, and is useful for accessing the field via an interface.

func (*CompanyInput) GetMotherCompanyID

func (v *CompanyInput) GetMotherCompanyID() *int

GetMotherCompanyID returns CompanyInput.MotherCompanyID, and is useful for accessing the field via an interface.

func (*CompanyInput) GetName

func (v *CompanyInput) GetName() string

GetName returns CompanyInput.Name, and is useful for accessing the field via an interface.

type DirectiveLocation

type DirectiveLocation string
const (
	DirectiveLocationQuery                DirectiveLocation = "QUERY"
	DirectiveLocationMutation             DirectiveLocation = "MUTATION"
	DirectiveLocationSubscription         DirectiveLocation = "SUBSCRIPTION"
	DirectiveLocationField                DirectiveLocation = "FIELD"
	DirectiveLocationFragmentDefinition   DirectiveLocation = "FRAGMENT_DEFINITION"
	DirectiveLocationFragmentSpread       DirectiveLocation = "FRAGMENT_SPREAD"
	DirectiveLocationInlineFragment       DirectiveLocation = "INLINE_FRAGMENT"
	DirectiveLocationVariableDefinition   DirectiveLocation = "VARIABLE_DEFINITION"
	DirectiveLocationSchema               DirectiveLocation = "SCHEMA"
	DirectiveLocationScalar               DirectiveLocation = "SCALAR"
	DirectiveLocationObject               DirectiveLocation = "OBJECT"
	DirectiveLocationFieldDefinition      DirectiveLocation = "FIELD_DEFINITION"
	DirectiveLocationArgumentDefinition   DirectiveLocation = "ARGUMENT_DEFINITION"
	DirectiveLocationInterface            DirectiveLocation = "INTERFACE"
	DirectiveLocationUnion                DirectiveLocation = "UNION"
	DirectiveLocationEnum                 DirectiveLocation = "ENUM"
	DirectiveLocationEnumValue            DirectiveLocation = "ENUM_VALUE"
	DirectiveLocationInputObject          DirectiveLocation = "INPUT_OBJECT"
	DirectiveLocationInputFieldDefinition DirectiveLocation = "INPUT_FIELD_DEFINITION"
)

type FullType

type FullType struct {
	Kind          TypeKind                         `json:"kind"`
	Name          *string                          `json:"name"`
	Description   *string                          `json:"description"`
	Fields        []*FullTypeFieldsField           `json:"fields"`
	InputFields   []*FullTypeInputFieldsInputValue `json:"inputFields"`
	Interfaces    []*FullTypeInterfacesType        `json:"interfaces"`
	EnumValues    []*FullTypeEnumValuesEnumValue   `json:"enumValues"`
	PossibleTypes []*FullTypePossibleTypesType     `json:"possibleTypes"`
}

FullType includes the GraphQL fields of __Type requested by the fragment FullType.

func (*FullType) GetDescription

func (v *FullType) GetDescription() *string

GetDescription returns FullType.Description, and is useful for accessing the field via an interface.

func (*FullType) GetEnumValues

func (v *FullType) GetEnumValues() []*FullTypeEnumValuesEnumValue

GetEnumValues returns FullType.EnumValues, and is useful for accessing the field via an interface.

func (*FullType) GetFields

func (v *FullType) GetFields() []*FullTypeFieldsField

GetFields returns FullType.Fields, and is useful for accessing the field via an interface.

func (*FullType) GetInputFields

func (v *FullType) GetInputFields() []*FullTypeInputFieldsInputValue

GetInputFields returns FullType.InputFields, and is useful for accessing the field via an interface.

func (*FullType) GetInterfaces

func (v *FullType) GetInterfaces() []*FullTypeInterfacesType

GetInterfaces returns FullType.Interfaces, and is useful for accessing the field via an interface.

func (*FullType) GetKind

func (v *FullType) GetKind() TypeKind

GetKind returns FullType.Kind, and is useful for accessing the field via an interface.

func (*FullType) GetName

func (v *FullType) GetName() *string

GetName returns FullType.Name, and is useful for accessing the field via an interface.

func (*FullType) GetPossibleTypes

func (v *FullType) GetPossibleTypes() []*FullTypePossibleTypesType

GetPossibleTypes returns FullType.PossibleTypes, and is useful for accessing the field via an interface.

type FullTypeEnumValuesEnumValue

type FullTypeEnumValuesEnumValue struct {
	Name              string  `json:"name"`
	Description       *string `json:"description"`
	IsDeprecated      bool    `json:"isDeprecated"`
	DeprecationReason *string `json:"deprecationReason"`
}

FullTypeEnumValuesEnumValue includes the requested fields of the GraphQL type __EnumValue.

func (*FullTypeEnumValuesEnumValue) GetDeprecationReason

func (v *FullTypeEnumValuesEnumValue) GetDeprecationReason() *string

GetDeprecationReason returns FullTypeEnumValuesEnumValue.DeprecationReason, and is useful for accessing the field via an interface.

func (*FullTypeEnumValuesEnumValue) GetDescription

func (v *FullTypeEnumValuesEnumValue) GetDescription() *string

GetDescription returns FullTypeEnumValuesEnumValue.Description, and is useful for accessing the field via an interface.

func (*FullTypeEnumValuesEnumValue) GetIsDeprecated

func (v *FullTypeEnumValuesEnumValue) GetIsDeprecated() bool

GetIsDeprecated returns FullTypeEnumValuesEnumValue.IsDeprecated, and is useful for accessing the field via an interface.

func (*FullTypeEnumValuesEnumValue) GetName

func (v *FullTypeEnumValuesEnumValue) GetName() string

GetName returns FullTypeEnumValuesEnumValue.Name, and is useful for accessing the field via an interface.

type FullTypeFieldsField

type FullTypeFieldsField struct {
	Name              string                               `json:"name"`
	Description       *string                              `json:"description"`
	Args              []*FullTypeFieldsFieldArgsInputValue `json:"args"`
	Type              *FullTypeFieldsFieldType             `json:"type"`
	IsDeprecated      bool                                 `json:"isDeprecated"`
	DeprecationReason *string                              `json:"deprecationReason"`
}

FullTypeFieldsField includes the requested fields of the GraphQL type __Field.

func (*FullTypeFieldsField) GetArgs

GetArgs returns FullTypeFieldsField.Args, and is useful for accessing the field via an interface.

func (*FullTypeFieldsField) GetDeprecationReason

func (v *FullTypeFieldsField) GetDeprecationReason() *string

GetDeprecationReason returns FullTypeFieldsField.DeprecationReason, and is useful for accessing the field via an interface.

func (*FullTypeFieldsField) GetDescription

func (v *FullTypeFieldsField) GetDescription() *string

GetDescription returns FullTypeFieldsField.Description, and is useful for accessing the field via an interface.

func (*FullTypeFieldsField) GetIsDeprecated

func (v *FullTypeFieldsField) GetIsDeprecated() bool

GetIsDeprecated returns FullTypeFieldsField.IsDeprecated, and is useful for accessing the field via an interface.

func (*FullTypeFieldsField) GetName

func (v *FullTypeFieldsField) GetName() string

GetName returns FullTypeFieldsField.Name, and is useful for accessing the field via an interface.

func (*FullTypeFieldsField) GetType

GetType returns FullTypeFieldsField.Type, and is useful for accessing the field via an interface.

type FullTypeFieldsFieldArgsInputValue

type FullTypeFieldsFieldArgsInputValue struct {
	InputValue `json:"-"`
}

FullTypeFieldsFieldArgsInputValue includes the requested fields of the GraphQL type __InputValue.

func (*FullTypeFieldsFieldArgsInputValue) GetDefaultValue

func (v *FullTypeFieldsFieldArgsInputValue) GetDefaultValue() *string

GetDefaultValue returns FullTypeFieldsFieldArgsInputValue.DefaultValue, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldArgsInputValue) GetDescription

func (v *FullTypeFieldsFieldArgsInputValue) GetDescription() *string

GetDescription returns FullTypeFieldsFieldArgsInputValue.Description, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldArgsInputValue) GetName

GetName returns FullTypeFieldsFieldArgsInputValue.Name, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldArgsInputValue) GetType

GetType returns FullTypeFieldsFieldArgsInputValue.Type, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldArgsInputValue) MarshalJSON

func (v *FullTypeFieldsFieldArgsInputValue) MarshalJSON() ([]byte, error)

func (*FullTypeFieldsFieldArgsInputValue) UnmarshalJSON

func (v *FullTypeFieldsFieldArgsInputValue) UnmarshalJSON(b []byte) error

type FullTypeFieldsFieldType

type FullTypeFieldsFieldType struct {
	TypeRef `json:"-"`
}

FullTypeFieldsFieldType includes the requested fields of the GraphQL type __Type.

func (*FullTypeFieldsFieldType) GetKind

func (v *FullTypeFieldsFieldType) GetKind() TypeKind

GetKind returns FullTypeFieldsFieldType.Kind, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldType) GetName

func (v *FullTypeFieldsFieldType) GetName() *string

GetName returns FullTypeFieldsFieldType.Name, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldType) GetOfType

func (v *FullTypeFieldsFieldType) GetOfType() *TypeRefOfType

GetOfType returns FullTypeFieldsFieldType.OfType, and is useful for accessing the field via an interface.

func (*FullTypeFieldsFieldType) MarshalJSON

func (v *FullTypeFieldsFieldType) MarshalJSON() ([]byte, error)

func (*FullTypeFieldsFieldType) UnmarshalJSON

func (v *FullTypeFieldsFieldType) UnmarshalJSON(b []byte) error

type FullTypeInputFieldsInputValue

type FullTypeInputFieldsInputValue struct {
	InputValue `json:"-"`
}

FullTypeInputFieldsInputValue includes the requested fields of the GraphQL type __InputValue.

func (*FullTypeInputFieldsInputValue) GetDefaultValue

func (v *FullTypeInputFieldsInputValue) GetDefaultValue() *string

GetDefaultValue returns FullTypeInputFieldsInputValue.DefaultValue, and is useful for accessing the field via an interface.

func (*FullTypeInputFieldsInputValue) GetDescription

func (v *FullTypeInputFieldsInputValue) GetDescription() *string

GetDescription returns FullTypeInputFieldsInputValue.Description, and is useful for accessing the field via an interface.

func (*FullTypeInputFieldsInputValue) GetName

GetName returns FullTypeInputFieldsInputValue.Name, and is useful for accessing the field via an interface.

func (*FullTypeInputFieldsInputValue) GetType

GetType returns FullTypeInputFieldsInputValue.Type, and is useful for accessing the field via an interface.

func (*FullTypeInputFieldsInputValue) MarshalJSON

func (v *FullTypeInputFieldsInputValue) MarshalJSON() ([]byte, error)

func (*FullTypeInputFieldsInputValue) UnmarshalJSON

func (v *FullTypeInputFieldsInputValue) UnmarshalJSON(b []byte) error

type FullTypeInterfacesType

type FullTypeInterfacesType struct {
	TypeRef `json:"-"`
}

FullTypeInterfacesType includes the requested fields of the GraphQL type __Type.

func (*FullTypeInterfacesType) GetKind

func (v *FullTypeInterfacesType) GetKind() TypeKind

GetKind returns FullTypeInterfacesType.Kind, and is useful for accessing the field via an interface.

func (*FullTypeInterfacesType) GetName

func (v *FullTypeInterfacesType) GetName() *string

GetName returns FullTypeInterfacesType.Name, and is useful for accessing the field via an interface.

func (*FullTypeInterfacesType) GetOfType

func (v *FullTypeInterfacesType) GetOfType() *TypeRefOfType

GetOfType returns FullTypeInterfacesType.OfType, and is useful for accessing the field via an interface.

func (*FullTypeInterfacesType) MarshalJSON

func (v *FullTypeInterfacesType) MarshalJSON() ([]byte, error)

func (*FullTypeInterfacesType) UnmarshalJSON

func (v *FullTypeInterfacesType) UnmarshalJSON(b []byte) error

type FullTypePossibleTypesType

type FullTypePossibleTypesType struct {
	TypeRef `json:"-"`
}

FullTypePossibleTypesType includes the requested fields of the GraphQL type __Type.

func (*FullTypePossibleTypesType) GetKind

func (v *FullTypePossibleTypesType) GetKind() TypeKind

GetKind returns FullTypePossibleTypesType.Kind, and is useful for accessing the field via an interface.

func (*FullTypePossibleTypesType) GetName

func (v *FullTypePossibleTypesType) GetName() *string

GetName returns FullTypePossibleTypesType.Name, and is useful for accessing the field via an interface.

func (*FullTypePossibleTypesType) GetOfType

func (v *FullTypePossibleTypesType) GetOfType() *TypeRefOfType

GetOfType returns FullTypePossibleTypesType.OfType, and is useful for accessing the field via an interface.

func (*FullTypePossibleTypesType) MarshalJSON

func (v *FullTypePossibleTypesType) MarshalJSON() ([]byte, error)

func (*FullTypePossibleTypesType) UnmarshalJSON

func (v *FullTypePossibleTypesType) UnmarshalJSON(b []byte) error

type IDFilterInput

type IDFilterInput struct {
	And     []*string      `json:"and"`
	Or      []*string      `json:"or"`
	Not     *IDFilterInput `json:"not,omitempty"`
	Eq      *string        `json:"eq"`
	Ne      *string        `json:"ne"`
	Null    *bool          `json:"null"`
	NotNull *bool          `json:"notNull"`
	In      []*string      `json:"in"`
	Notin   []*string      `json:"notin"`
}

ID Filter simple datatypes

func (*IDFilterInput) GetAnd

func (v *IDFilterInput) GetAnd() []*string

GetAnd returns IDFilterInput.And, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetEq

func (v *IDFilterInput) GetEq() *string

GetEq returns IDFilterInput.Eq, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetIn

func (v *IDFilterInput) GetIn() []*string

GetIn returns IDFilterInput.In, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetNe

func (v *IDFilterInput) GetNe() *string

GetNe returns IDFilterInput.Ne, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetNot

func (v *IDFilterInput) GetNot() *IDFilterInput

GetNot returns IDFilterInput.Not, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetNotNull

func (v *IDFilterInput) GetNotNull() *bool

GetNotNull returns IDFilterInput.NotNull, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetNotin

func (v *IDFilterInput) GetNotin() []*string

GetNotin returns IDFilterInput.Notin, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetNull

func (v *IDFilterInput) GetNull() *bool

GetNull returns IDFilterInput.Null, and is useful for accessing the field via an interface.

func (*IDFilterInput) GetOr

func (v *IDFilterInput) GetOr() []*string

GetOr returns IDFilterInput.Or, and is useful for accessing the field via an interface.

type InputValue

type InputValue struct {
	Name         string          `json:"name"`
	Description  *string         `json:"description"`
	Type         *InputValueType `json:"type"`
	DefaultValue *string         `json:"defaultValue"`
}

InputValue includes the GraphQL fields of __InputValue requested by the fragment InputValue.

func (*InputValue) GetDefaultValue

func (v *InputValue) GetDefaultValue() *string

GetDefaultValue returns InputValue.DefaultValue, and is useful for accessing the field via an interface.

func (*InputValue) GetDescription

func (v *InputValue) GetDescription() *string

GetDescription returns InputValue.Description, and is useful for accessing the field via an interface.

func (*InputValue) GetName

func (v *InputValue) GetName() string

GetName returns InputValue.Name, and is useful for accessing the field via an interface.

func (*InputValue) GetType

func (v *InputValue) GetType() *InputValueType

GetType returns InputValue.Type, and is useful for accessing the field via an interface.

type InputValueType

type InputValueType struct {
	TypeRef `json:"-"`
}

InputValueType includes the requested fields of the GraphQL type __Type.

func (*InputValueType) GetKind

func (v *InputValueType) GetKind() TypeKind

GetKind returns InputValueType.Kind, and is useful for accessing the field via an interface.

func (*InputValueType) GetName

func (v *InputValueType) GetName() *string

GetName returns InputValueType.Name, and is useful for accessing the field via an interface.

func (*InputValueType) GetOfType

func (v *InputValueType) GetOfType() *TypeRefOfType

GetOfType returns InputValueType.OfType, and is useful for accessing the field via an interface.

func (*InputValueType) MarshalJSON

func (v *InputValueType) MarshalJSON() ([]byte, error)

func (*InputValueType) UnmarshalJSON

func (v *InputValueType) UnmarshalJSON(b []byte) error

type IntFilterBetween

type IntFilterBetween struct {
	Start int `json:"start"`
	End   int `json:"end"`
}

Filter between start and end (start > value < end)

func (*IntFilterBetween) GetEnd

func (v *IntFilterBetween) GetEnd() int

GetEnd returns IntFilterBetween.End, and is useful for accessing the field via an interface.

func (*IntFilterBetween) GetStart

func (v *IntFilterBetween) GetStart() int

GetStart returns IntFilterBetween.Start, and is useful for accessing the field via an interface.

type IntFilterInput

type IntFilterInput struct {
	And     []*int            `json:"and"`
	Or      []*int            `json:"or"`
	Not     *IntFilterInput   `json:"not,omitempty"`
	Eq      *int              `json:"eq"`
	Ne      *int              `json:"ne"`
	Gt      *int              `json:"gt"`
	Gte     *int              `json:"gte"`
	Lt      *int              `json:"lt"`
	Lte     *int              `json:"lte"`
	Null    *bool             `json:"null"`
	NotNull *bool             `json:"notNull"`
	In      []*int            `json:"in"`
	NotIn   []*int            `json:"notIn"`
	Between *IntFilterBetween `json:"between,omitempty"`
}

Int Filter simple datatypes

func (*IntFilterInput) GetAnd

func (v *IntFilterInput) GetAnd() []*int

GetAnd returns IntFilterInput.And, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetBetween

func (v *IntFilterInput) GetBetween() *IntFilterBetween

GetBetween returns IntFilterInput.Between, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetEq

func (v *IntFilterInput) GetEq() *int

GetEq returns IntFilterInput.Eq, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetGt

func (v *IntFilterInput) GetGt() *int

GetGt returns IntFilterInput.Gt, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetGte

func (v *IntFilterInput) GetGte() *int

GetGte returns IntFilterInput.Gte, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetIn

func (v *IntFilterInput) GetIn() []*int

GetIn returns IntFilterInput.In, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetLt

func (v *IntFilterInput) GetLt() *int

GetLt returns IntFilterInput.Lt, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetLte

func (v *IntFilterInput) GetLte() *int

GetLte returns IntFilterInput.Lte, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetNe

func (v *IntFilterInput) GetNe() *int

GetNe returns IntFilterInput.Ne, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetNot

func (v *IntFilterInput) GetNot() *IntFilterInput

GetNot returns IntFilterInput.Not, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetNotIn

func (v *IntFilterInput) GetNotIn() []*int

GetNotIn returns IntFilterInput.NotIn, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetNotNull

func (v *IntFilterInput) GetNotNull() *bool

GetNotNull returns IntFilterInput.NotNull, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetNull

func (v *IntFilterInput) GetNull() *bool

GetNull returns IntFilterInput.Null, and is useful for accessing the field via an interface.

func (*IntFilterInput) GetOr

func (v *IntFilterInput) GetOr() []*int

GetOr returns IntFilterInput.Or, and is useful for accessing the field via an interface.

type IntrospectionQueryResponse

type IntrospectionQueryResponse struct {
	Schema *IntrospectionQuerySchema `json:"__schema"`
}

IntrospectionQueryResponse is returned by IntrospectionQuery on success.

func IntrospectionQuery

func IntrospectionQuery(
	ctx context.Context,
	client graphql.Client,
) (*IntrospectionQueryResponse, error)

func (*IntrospectionQueryResponse) GetSchema

GetSchema returns IntrospectionQueryResponse.Schema, and is useful for accessing the field via an interface.

type IntrospectionQuerySchema

type IntrospectionQuerySchema struct {
	QueryType        *IntrospectionQuerySchemaQueryType             `json:"queryType"`
	MutationType     *IntrospectionQuerySchemaMutationType          `json:"mutationType"`
	SubscriptionType *IntrospectionQuerySchemaSubscriptionType      `json:"subscriptionType"`
	Types            []*IntrospectionQuerySchemaTypesType           `json:"types"`
	Directives       []*IntrospectionQuerySchemaDirectivesDirective `json:"directives"`
}

IntrospectionQuerySchema includes the requested fields of the GraphQL type __Schema.

func (*IntrospectionQuerySchema) GetDirectives

GetDirectives returns IntrospectionQuerySchema.Directives, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchema) GetMutationType

GetMutationType returns IntrospectionQuerySchema.MutationType, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchema) GetQueryType

GetQueryType returns IntrospectionQuerySchema.QueryType, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchema) GetSubscriptionType

GetSubscriptionType returns IntrospectionQuerySchema.SubscriptionType, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchema) GetTypes

GetTypes returns IntrospectionQuerySchema.Types, and is useful for accessing the field via an interface.

type IntrospectionQuerySchemaDirectivesDirective

type IntrospectionQuerySchemaDirectivesDirective struct {
	Name        string                                                       `json:"name"`
	Description *string                                                      `json:"description"`
	Locations   []DirectiveLocation                                          `json:"locations"`
	Args        []*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue `json:"args"`
}

IntrospectionQuerySchemaDirectivesDirective includes the requested fields of the GraphQL type __Directive.

func (*IntrospectionQuerySchemaDirectivesDirective) GetArgs

GetArgs returns IntrospectionQuerySchemaDirectivesDirective.Args, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirective) GetDescription

GetDescription returns IntrospectionQuerySchemaDirectivesDirective.Description, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirective) GetLocations

GetLocations returns IntrospectionQuerySchemaDirectivesDirective.Locations, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirective) GetName

GetName returns IntrospectionQuerySchemaDirectivesDirective.Name, and is useful for accessing the field via an interface.

type IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue

type IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue struct {
	InputValue `json:"-"`
}

IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue includes the requested fields of the GraphQL type __InputValue.

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) GetDefaultValue

GetDefaultValue returns IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue.DefaultValue, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) GetDescription

GetDescription returns IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue.Description, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) GetName

GetName returns IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue.Name, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) GetType

GetType returns IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue.Type, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) MarshalJSON

func (*IntrospectionQuerySchemaDirectivesDirectiveArgsInputValue) UnmarshalJSON

type IntrospectionQuerySchemaMutationType

type IntrospectionQuerySchemaMutationType struct {
	Name *string `json:"name"`
}

IntrospectionQuerySchemaMutationType includes the requested fields of the GraphQL type __Type.

func (*IntrospectionQuerySchemaMutationType) GetName

GetName returns IntrospectionQuerySchemaMutationType.Name, and is useful for accessing the field via an interface.

type IntrospectionQuerySchemaQueryType

type IntrospectionQuerySchemaQueryType struct {
	Name *string `json:"name"`
}

IntrospectionQuerySchemaQueryType includes the requested fields of the GraphQL type __Type.

func (*IntrospectionQuerySchemaQueryType) GetName

GetName returns IntrospectionQuerySchemaQueryType.Name, and is useful for accessing the field via an interface.

type IntrospectionQuerySchemaSubscriptionType

type IntrospectionQuerySchemaSubscriptionType struct {
	Name *string `json:"name"`
}

IntrospectionQuerySchemaSubscriptionType includes the requested fields of the GraphQL type __Type.

func (*IntrospectionQuerySchemaSubscriptionType) GetName

GetName returns IntrospectionQuerySchemaSubscriptionType.Name, and is useful for accessing the field via an interface.

type IntrospectionQuerySchemaTypesType

type IntrospectionQuerySchemaTypesType struct {
	FullType `json:"-"`
}

IntrospectionQuerySchemaTypesType includes the requested fields of the GraphQL type __Type.

func (*IntrospectionQuerySchemaTypesType) GetDescription

func (v *IntrospectionQuerySchemaTypesType) GetDescription() *string

GetDescription returns IntrospectionQuerySchemaTypesType.Description, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetEnumValues

GetEnumValues returns IntrospectionQuerySchemaTypesType.EnumValues, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetFields

GetFields returns IntrospectionQuerySchemaTypesType.Fields, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetInputFields

GetInputFields returns IntrospectionQuerySchemaTypesType.InputFields, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetInterfaces

GetInterfaces returns IntrospectionQuerySchemaTypesType.Interfaces, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetKind

GetKind returns IntrospectionQuerySchemaTypesType.Kind, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetName

GetName returns IntrospectionQuerySchemaTypesType.Name, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) GetPossibleTypes

GetPossibleTypes returns IntrospectionQuerySchemaTypesType.PossibleTypes, and is useful for accessing the field via an interface.

func (*IntrospectionQuerySchemaTypesType) MarshalJSON

func (v *IntrospectionQuerySchemaTypesType) MarshalJSON() ([]byte, error)

func (*IntrospectionQuerySchemaTypesType) UnmarshalJSON

func (v *IntrospectionQuerySchemaTypesType) UnmarshalJSON(b []byte) error

type SmartPhoneFiltersInput added in v0.1.5

type SmartPhoneFiltersInput struct {
	Id          *IDFilterInput            `json:"id,omitempty"`
	Brand       *StringFilterInput        `json:"brand,omitempty"`
	Phonenumber *StringFilterInput        `json:"phonenumber,omitempty"`
	UserID      *IDFilterInput            `json:"userID,omitempty"`
	And         []*SmartPhoneFiltersInput `json:"and,omitempty"`
	Or          []*SmartPhoneFiltersInput `json:"or,omitempty"`
	Not         *SmartPhoneFiltersInput   `json:"not,omitempty"`
}

Filter input selection for SmartPhone Can be used f.e.: by querySmartPhone

func (*SmartPhoneFiltersInput) GetAnd added in v0.1.5

GetAnd returns SmartPhoneFiltersInput.And, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetBrand added in v0.1.5

GetBrand returns SmartPhoneFiltersInput.Brand, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetId added in v0.1.5

GetId returns SmartPhoneFiltersInput.Id, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetNot added in v0.1.5

GetNot returns SmartPhoneFiltersInput.Not, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetOr added in v0.1.5

GetOr returns SmartPhoneFiltersInput.Or, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetPhonenumber added in v0.1.5

func (v *SmartPhoneFiltersInput) GetPhonenumber() *StringFilterInput

GetPhonenumber returns SmartPhoneFiltersInput.Phonenumber, and is useful for accessing the field via an interface.

func (*SmartPhoneFiltersInput) GetUserID added in v0.1.5

func (v *SmartPhoneFiltersInput) GetUserID() *IDFilterInput

GetUserID returns SmartPhoneFiltersInput.UserID, and is useful for accessing the field via an interface.

type SmartPhoneInput added in v0.1.5

type SmartPhoneInput struct {
	Brand       string `json:"brand"`
	Phonenumber string `json:"phonenumber"`
	UserID      string `json:"userID"`
}

SmartPhone Input value to add new SmartPhone

func (*SmartPhoneInput) GetBrand added in v0.1.5

func (v *SmartPhoneInput) GetBrand() string

GetBrand returns SmartPhoneInput.Brand, and is useful for accessing the field via an interface.

func (*SmartPhoneInput) GetPhonenumber added in v0.1.5

func (v *SmartPhoneInput) GetPhonenumber() string

GetPhonenumber returns SmartPhoneInput.Phonenumber, and is useful for accessing the field via an interface.

func (*SmartPhoneInput) GetUserID added in v0.1.5

func (v *SmartPhoneInput) GetUserID() string

GetUserID returns SmartPhoneInput.UserID, and is useful for accessing the field via an interface.

type StringFilterInput

type StringFilterInput struct {
	And          []*string          `json:"and"`
	Or           []*string          `json:"or"`
	Not          *StringFilterInput `json:"not,omitempty"`
	Eq           *string            `json:"eq"`
	Eqi          *string            `json:"eqi"`
	Ne           *string            `json:"ne"`
	StartsWith   *string            `json:"startsWith"`
	EndsWith     *string            `json:"endsWith"`
	Contains     *string            `json:"contains"`
	NotContains  *string            `json:"notContains"`
	Containsi    *string            `json:"containsi"`
	NotContainsi *string            `json:"notContainsi"`
	Null         *bool              `json:"null"`
	NotNull      *bool              `json:"notNull"`
	In           []*string          `json:"in"`
	NotIn        []*string          `json:"notIn"`
}

String Filter simple datatypes

func (*StringFilterInput) GetAnd

func (v *StringFilterInput) GetAnd() []*string

GetAnd returns StringFilterInput.And, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetContains

func (v *StringFilterInput) GetContains() *string

GetContains returns StringFilterInput.Contains, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetContainsi

func (v *StringFilterInput) GetContainsi() *string

GetContainsi returns StringFilterInput.Containsi, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetEndsWith

func (v *StringFilterInput) GetEndsWith() *string

GetEndsWith returns StringFilterInput.EndsWith, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetEq

func (v *StringFilterInput) GetEq() *string

GetEq returns StringFilterInput.Eq, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetEqi

func (v *StringFilterInput) GetEqi() *string

GetEqi returns StringFilterInput.Eqi, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetIn

func (v *StringFilterInput) GetIn() []*string

GetIn returns StringFilterInput.In, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNe

func (v *StringFilterInput) GetNe() *string

GetNe returns StringFilterInput.Ne, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNot

func (v *StringFilterInput) GetNot() *StringFilterInput

GetNot returns StringFilterInput.Not, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNotContains

func (v *StringFilterInput) GetNotContains() *string

GetNotContains returns StringFilterInput.NotContains, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNotContainsi

func (v *StringFilterInput) GetNotContainsi() *string

GetNotContainsi returns StringFilterInput.NotContainsi, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNotIn

func (v *StringFilterInput) GetNotIn() []*string

GetNotIn returns StringFilterInput.NotIn, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNotNull

func (v *StringFilterInput) GetNotNull() *bool

GetNotNull returns StringFilterInput.NotNull, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetNull

func (v *StringFilterInput) GetNull() *bool

GetNull returns StringFilterInput.Null, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetOr

func (v *StringFilterInput) GetOr() []*string

GetOr returns StringFilterInput.Or, and is useful for accessing the field via an interface.

func (*StringFilterInput) GetStartsWith

func (v *StringFilterInput) GetStartsWith() *string

GetStartsWith returns StringFilterInput.StartsWith, and is useful for accessing the field via an interface.

type TimeFilterBetween

type TimeFilterBetween struct {
	Start time.Time `json:"start"`
	End   time.Time `json:"end"`
}

Filter between start and end (start > value < end)

func (*TimeFilterBetween) GetEnd

func (v *TimeFilterBetween) GetEnd() time.Time

GetEnd returns TimeFilterBetween.End, and is useful for accessing the field via an interface.

func (*TimeFilterBetween) GetStart

func (v *TimeFilterBetween) GetStart() time.Time

GetStart returns TimeFilterBetween.Start, and is useful for accessing the field via an interface.

type TimeFilterInput

type TimeFilterInput struct {
	And     []*time.Time       `json:"and"`
	Or      []*time.Time       `json:"or"`
	Not     *TimeFilterInput   `json:"not,omitempty"`
	Eq      *time.Time         `json:"eq"`
	Ne      *time.Time         `json:"ne"`
	Gt      *time.Time         `json:"gt"`
	Gte     *time.Time         `json:"gte"`
	Lt      *time.Time         `json:"lt"`
	Lte     *time.Time         `json:"lte"`
	Null    *bool              `json:"null"`
	NotNull *bool              `json:"notNull"`
	In      []*time.Time       `json:"in"`
	NotIn   []*time.Time       `json:"notIn"`
	Between *TimeFilterBetween `json:"between,omitempty"`
}

Time Filter simple datatypes

func (*TimeFilterInput) GetAnd

func (v *TimeFilterInput) GetAnd() []*time.Time

GetAnd returns TimeFilterInput.And, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetBetween

func (v *TimeFilterInput) GetBetween() *TimeFilterBetween

GetBetween returns TimeFilterInput.Between, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetEq

func (v *TimeFilterInput) GetEq() *time.Time

GetEq returns TimeFilterInput.Eq, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetGt

func (v *TimeFilterInput) GetGt() *time.Time

GetGt returns TimeFilterInput.Gt, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetGte

func (v *TimeFilterInput) GetGte() *time.Time

GetGte returns TimeFilterInput.Gte, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetIn

func (v *TimeFilterInput) GetIn() []*time.Time

GetIn returns TimeFilterInput.In, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetLt

func (v *TimeFilterInput) GetLt() *time.Time

GetLt returns TimeFilterInput.Lt, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetLte

func (v *TimeFilterInput) GetLte() *time.Time

GetLte returns TimeFilterInput.Lte, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetNe

func (v *TimeFilterInput) GetNe() *time.Time

GetNe returns TimeFilterInput.Ne, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetNot

func (v *TimeFilterInput) GetNot() *TimeFilterInput

GetNot returns TimeFilterInput.Not, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetNotIn

func (v *TimeFilterInput) GetNotIn() []*time.Time

GetNotIn returns TimeFilterInput.NotIn, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetNotNull

func (v *TimeFilterInput) GetNotNull() *bool

GetNotNull returns TimeFilterInput.NotNull, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetNull

func (v *TimeFilterInput) GetNull() *bool

GetNull returns TimeFilterInput.Null, and is useful for accessing the field via an interface.

func (*TimeFilterInput) GetOr

func (v *TimeFilterInput) GetOr() []*time.Time

GetOr returns TimeFilterInput.Or, and is useful for accessing the field via an interface.

type TodoFiltersInput

type TodoFiltersInput struct {
	Id        *IDFilterInput      `json:"id,omitempty"`
	Name      *StringFilterInput  `json:"name,omitempty"`
	Users     *UserFiltersInput   `json:"users,omitempty"`
	Owner     *UserFiltersInput   `json:"owner,omitempty"`
	OwnerID   *IDFilterInput      `json:"ownerID,omitempty"`
	CreatedAt *TimeFilterInput    `json:"createdAt,omitempty"`
	UpdatedAt *TimeFilterInput    `json:"updatedAt,omitempty"`
	DeletedAt *TimeFilterInput    `json:"deletedAt,omitempty"`
	Etype1    *StringFilterInput  `json:"etype1,omitempty"`
	Etype5    *StringFilterInput  `json:"etype5,omitempty"`
	And       []*TodoFiltersInput `json:"and,omitempty"`
	Or        []*TodoFiltersInput `json:"or,omitempty"`
	Not       *TodoFiltersInput   `json:"not,omitempty"`
}

Filter input selection for Todo Can be used f.e.: by queryTodo

func (*TodoFiltersInput) GetAnd

func (v *TodoFiltersInput) GetAnd() []*TodoFiltersInput

GetAnd returns TodoFiltersInput.And, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetCreatedAt

func (v *TodoFiltersInput) GetCreatedAt() *TimeFilterInput

GetCreatedAt returns TodoFiltersInput.CreatedAt, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetDeletedAt

func (v *TodoFiltersInput) GetDeletedAt() *TimeFilterInput

GetDeletedAt returns TodoFiltersInput.DeletedAt, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetEtype1 added in v0.2.0

func (v *TodoFiltersInput) GetEtype1() *StringFilterInput

GetEtype1 returns TodoFiltersInput.Etype1, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetEtype5 added in v0.2.0

func (v *TodoFiltersInput) GetEtype5() *StringFilterInput

GetEtype5 returns TodoFiltersInput.Etype5, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetId

func (v *TodoFiltersInput) GetId() *IDFilterInput

GetId returns TodoFiltersInput.Id, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetName

func (v *TodoFiltersInput) GetName() *StringFilterInput

GetName returns TodoFiltersInput.Name, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetNot

func (v *TodoFiltersInput) GetNot() *TodoFiltersInput

GetNot returns TodoFiltersInput.Not, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetOr

func (v *TodoFiltersInput) GetOr() []*TodoFiltersInput

GetOr returns TodoFiltersInput.Or, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetOwner

func (v *TodoFiltersInput) GetOwner() *UserFiltersInput

GetOwner returns TodoFiltersInput.Owner, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetOwnerID

func (v *TodoFiltersInput) GetOwnerID() *IDFilterInput

GetOwnerID returns TodoFiltersInput.OwnerID, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetUpdatedAt

func (v *TodoFiltersInput) GetUpdatedAt() *TimeFilterInput

GetUpdatedAt returns TodoFiltersInput.UpdatedAt, and is useful for accessing the field via an interface.

func (*TodoFiltersInput) GetUsers

func (v *TodoFiltersInput) GetUsers() *UserFiltersInput

GetUsers returns TodoFiltersInput.Users, and is useful for accessing the field via an interface.

type TodoInput

type TodoInput struct {
	Name    string    `json:"name"`
	Etype1  *TodoType `json:"etype1"`
	Etype5  TodoType  `json:"etype5"`
	Test123 *string   `json:"test123"`
}

Todo Input value to add new Todo

func (*TodoInput) GetEtype1 added in v0.1.4

func (v *TodoInput) GetEtype1() *TodoType

GetEtype1 returns TodoInput.Etype1, and is useful for accessing the field via an interface.

func (*TodoInput) GetEtype5 added in v0.1.4

func (v *TodoInput) GetEtype5() TodoType

GetEtype5 returns TodoInput.Etype5, and is useful for accessing the field via an interface.

func (*TodoInput) GetName

func (v *TodoInput) GetName() string

GetName returns TodoInput.Name, and is useful for accessing the field via an interface.

func (*TodoInput) GetTest123 added in v0.1.4

func (v *TodoInput) GetTest123() *string

GetTest123 returns TodoInput.Test123, and is useful for accessing the field via an interface.

type TodoType added in v0.1.4

type TodoType string
const (
	TodoTypeBug     TodoType = "Bug"
	TodoTypeFeature TodoType = "Feature"
)

type TypeKind

type TypeKind string
const (
	TypeKindScalar      TypeKind = "SCALAR"
	TypeKindObject      TypeKind = "OBJECT"
	TypeKindInterface   TypeKind = "INTERFACE"
	TypeKindUnion       TypeKind = "UNION"
	TypeKindEnum        TypeKind = "ENUM"
	TypeKindInputObject TypeKind = "INPUT_OBJECT"
	TypeKindList        TypeKind = "LIST"
	TypeKindNonNull     TypeKind = "NON_NULL"
)

type TypeRef

type TypeRef struct {
	Kind   TypeKind       `json:"kind"`
	Name   *string        `json:"name"`
	OfType *TypeRefOfType `json:"ofType"`
}

TypeRef includes the GraphQL fields of __Type requested by the fragment TypeRef.

func (*TypeRef) GetKind

func (v *TypeRef) GetKind() TypeKind

GetKind returns TypeRef.Kind, and is useful for accessing the field via an interface.

func (*TypeRef) GetName

func (v *TypeRef) GetName() *string

GetName returns TypeRef.Name, and is useful for accessing the field via an interface.

func (*TypeRef) GetOfType

func (v *TypeRef) GetOfType() *TypeRefOfType

GetOfType returns TypeRef.OfType, and is useful for accessing the field via an interface.

type TypeRefOfType

type TypeRefOfType struct {
	Kind   TypeKind             `json:"kind"`
	Name   *string              `json:"name"`
	OfType *TypeRefOfTypeOfType `json:"ofType"`
}

TypeRefOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfType) GetKind

func (v *TypeRefOfType) GetKind() TypeKind

GetKind returns TypeRefOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfType) GetName

func (v *TypeRefOfType) GetName() *string

GetName returns TypeRefOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfType) GetOfType

func (v *TypeRefOfType) GetOfType() *TypeRefOfTypeOfType

GetOfType returns TypeRefOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfType

type TypeRefOfTypeOfType struct {
	Kind   TypeKind                   `json:"kind"`
	Name   *string                    `json:"name"`
	OfType *TypeRefOfTypeOfTypeOfType `json:"ofType"`
}

TypeRefOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfType) GetKind

func (v *TypeRefOfTypeOfType) GetKind() TypeKind

GetKind returns TypeRefOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfType) GetName

func (v *TypeRefOfTypeOfType) GetName() *string

GetName returns TypeRefOfTypeOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfType) GetOfType

GetOfType returns TypeRefOfTypeOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfTypeOfType

type TypeRefOfTypeOfTypeOfType struct {
	Kind   TypeKind                         `json:"kind"`
	Name   *string                          `json:"name"`
	OfType *TypeRefOfTypeOfTypeOfTypeOfType `json:"ofType"`
}

TypeRefOfTypeOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfTypeOfType) GetKind

func (v *TypeRefOfTypeOfTypeOfType) GetKind() TypeKind

GetKind returns TypeRefOfTypeOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfType) GetName

func (v *TypeRefOfTypeOfTypeOfType) GetName() *string

GetName returns TypeRefOfTypeOfTypeOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfType) GetOfType

GetOfType returns TypeRefOfTypeOfTypeOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfTypeOfTypeOfType

type TypeRefOfTypeOfTypeOfTypeOfType struct {
	Kind   TypeKind                               `json:"kind"`
	Name   *string                                `json:"name"`
	OfType *TypeRefOfTypeOfTypeOfTypeOfTypeOfType `json:"ofType"`
}

TypeRefOfTypeOfTypeOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfTypeOfTypeOfType) GetKind

GetKind returns TypeRefOfTypeOfTypeOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfType) GetName

GetName returns TypeRefOfTypeOfTypeOfTypeOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfType) GetOfType

GetOfType returns TypeRefOfTypeOfTypeOfTypeOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfTypeOfTypeOfTypeOfType

type TypeRefOfTypeOfTypeOfTypeOfTypeOfType struct {
	Kind   TypeKind                                     `json:"kind"`
	Name   *string                                      `json:"name"`
	OfType *TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType `json:"ofType"`
}

TypeRefOfTypeOfTypeOfTypeOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfType) GetKind

GetKind returns TypeRefOfTypeOfTypeOfTypeOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfType) GetName

GetName returns TypeRefOfTypeOfTypeOfTypeOfTypeOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfType) GetOfType

GetOfType returns TypeRefOfTypeOfTypeOfTypeOfTypeOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType

type TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType struct {
	Kind   TypeKind                                           `json:"kind"`
	Name   *string                                            `json:"name"`
	OfType *TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType `json:"ofType"`
}

TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType) GetKind

GetKind returns TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType) GetName

GetName returns TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType.Name, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType) GetOfType

GetOfType returns TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfType.OfType, and is useful for accessing the field via an interface.

type TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType

type TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType struct {
	Kind TypeKind `json:"kind"`
	Name *string  `json:"name"`
}

TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType includes the requested fields of the GraphQL type __Type.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType) GetKind

GetKind returns TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType.Kind, and is useful for accessing the field via an interface.

func (*TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType) GetName

GetName returns TypeRefOfTypeOfTypeOfTypeOfTypeOfTypeOfTypeOfType.Name, and is useful for accessing the field via an interface.

type UserFiltersInput

type UserFiltersInput struct {
	Id           *IDFilterInput          `json:"id,omitempty"`
	Name         *StringFilterInput      `json:"name,omitempty"`
	CreatedAt    *TimeFilterInput        `json:"createdAt,omitempty"`
	UpdatedAt    *TimeFilterInput        `json:"updatedAt,omitempty"`
	DeletedAt    *TimeFilterInput        `json:"deletedAt,omitempty"`
	Cat          *CatFiltersInput        `json:"cat,omitempty"`
	CompanyID    *IntFilterInput         `json:"companyID,omitempty"`
	Company      *CompanyFiltersInput    `json:"company,omitempty"`
	SmartPhones  *SmartPhoneFiltersInput `json:"smartPhones,omitempty"`
	FavoritColor *StringFilterInput      `json:"favoritColor,omitempty"`
	Email        *StringFilterInput      `json:"email,omitempty"`
	And          []*UserFiltersInput     `json:"and,omitempty"`
	Or           []*UserFiltersInput     `json:"or,omitempty"`
	Not          *UserFiltersInput       `json:"not,omitempty"`
}

Filter input selection for User Can be used f.e.: by queryUser

func (*UserFiltersInput) GetAnd

func (v *UserFiltersInput) GetAnd() []*UserFiltersInput

GetAnd returns UserFiltersInput.And, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetCat

func (v *UserFiltersInput) GetCat() *CatFiltersInput

GetCat returns UserFiltersInput.Cat, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetCompany

func (v *UserFiltersInput) GetCompany() *CompanyFiltersInput

GetCompany returns UserFiltersInput.Company, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetCompanyID

func (v *UserFiltersInput) GetCompanyID() *IntFilterInput

GetCompanyID returns UserFiltersInput.CompanyID, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetCreatedAt

func (v *UserFiltersInput) GetCreatedAt() *TimeFilterInput

GetCreatedAt returns UserFiltersInput.CreatedAt, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetDeletedAt

func (v *UserFiltersInput) GetDeletedAt() *TimeFilterInput

GetDeletedAt returns UserFiltersInput.DeletedAt, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetEmail added in v0.2.0

func (v *UserFiltersInput) GetEmail() *StringFilterInput

GetEmail returns UserFiltersInput.Email, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetFavoritColor added in v0.3.0

func (v *UserFiltersInput) GetFavoritColor() *StringFilterInput

GetFavoritColor returns UserFiltersInput.FavoritColor, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetId

func (v *UserFiltersInput) GetId() *IDFilterInput

GetId returns UserFiltersInput.Id, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetName

func (v *UserFiltersInput) GetName() *StringFilterInput

GetName returns UserFiltersInput.Name, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetNot

func (v *UserFiltersInput) GetNot() *UserFiltersInput

GetNot returns UserFiltersInput.Not, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetOr

func (v *UserFiltersInput) GetOr() []*UserFiltersInput

GetOr returns UserFiltersInput.Or, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetSmartPhones added in v0.1.5

func (v *UserFiltersInput) GetSmartPhones() *SmartPhoneFiltersInput

GetSmartPhones returns UserFiltersInput.SmartPhones, and is useful for accessing the field via an interface.

func (*UserFiltersInput) GetUpdatedAt

func (v *UserFiltersInput) GetUpdatedAt() *TimeFilterInput

GetUpdatedAt returns UserFiltersInput.UpdatedAt, and is useful for accessing the field via an interface.

type UserInput

type UserInput struct {
	Name         string             `json:"name"`
	Cat          *CatInput          `json:"cat,omitempty"`
	CompanyID    *int               `json:"companyID"`
	Company      *CompanyInput      `json:"company,omitempty"`
	SmartPhones  []*SmartPhoneInput `json:"smartPhones,omitempty"`
	FavoritColor *string            `json:"favoritColor"`
	Email        string             `json:"email"`
}

User Input value to add new User

func (*UserInput) GetCat

func (v *UserInput) GetCat() *CatInput

GetCat returns UserInput.Cat, and is useful for accessing the field via an interface.

func (*UserInput) GetCompany

func (v *UserInput) GetCompany() *CompanyInput

GetCompany returns UserInput.Company, and is useful for accessing the field via an interface.

func (*UserInput) GetCompanyID

func (v *UserInput) GetCompanyID() *int

GetCompanyID returns UserInput.CompanyID, and is useful for accessing the field via an interface.

func (*UserInput) GetEmail added in v0.2.0

func (v *UserInput) GetEmail() string

GetEmail returns UserInput.Email, and is useful for accessing the field via an interface.

func (*UserInput) GetFavoritColor added in v0.3.0

func (v *UserInput) GetFavoritColor() *string

GetFavoritColor returns UserInput.FavoritColor, and is useful for accessing the field via an interface.

func (*UserInput) GetName

func (v *UserInput) GetName() string

GetName returns UserInput.Name, and is useful for accessing the field via an interface.

func (*UserInput) GetSmartPhones added in v0.1.5

func (v *UserInput) GetSmartPhones() []*SmartPhoneInput

GetSmartPhones returns UserInput.SmartPhones, and is useful for accessing the field via an interface.

type UserRef2TodosInput

type UserRef2TodosInput struct {
	Filter *TodoFiltersInput `json:"filter,omitempty"`
	Set    []string          `json:"set"`
}

Many 2 many input between Todo and User Filter to Select Todo and set to set list of User PrimaryKeys

func (*UserRef2TodosInput) GetFilter

func (v *UserRef2TodosInput) GetFilter() *TodoFiltersInput

GetFilter returns UserRef2TodosInput.Filter, and is useful for accessing the field via an interface.

func (*UserRef2TodosInput) GetSet

func (v *UserRef2TodosInput) GetSet() []string

GetSet returns UserRef2TodosInput.Set, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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