Documentation
¶
Index ¶
Constants ¶
const GetValue_Operation = `
query GetValue {
getValue {
value
}
}
`
The query or mutation executed by GetValue.
const SetValue_Operation = `
mutation SetValue ($value: ValueInput!) {
setValue(input: $value) {
value
}
}
`
The query or mutation executed by SetValue.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetValueGetValueValueOutput ¶
type GetValueGetValueValueOutput struct {
Value string `json:"value"`
}
GetValueGetValueValueOutput includes the requested fields of the GraphQL type ValueOutput.
func (*GetValueGetValueValueOutput) GetValue ¶
func (v *GetValueGetValueValueOutput) GetValue() string
GetValue returns GetValueGetValueValueOutput.Value, and is useful for accessing the field via an interface.
type GetValueResponse ¶
type GetValueResponse struct {
GetValue GetValueGetValueValueOutput `json:"getValue"`
}
GetValueResponse is returned by GetValue on success.
func (*GetValueResponse) GetGetValue ¶
func (v *GetValueResponse) GetGetValue() GetValueGetValueValueOutput
GetGetValue returns GetValueResponse.GetValue, and is useful for accessing the field via an interface.
type SetValueResponse ¶
type SetValueResponse struct {
SetValue SetValueSetValueValueOutput `json:"setValue"`
}
SetValueResponse is returned by SetValue on success.
func SetValue ¶
func SetValue( ctx_ context.Context, client_ graphql.Client, value ValueInput, ) (*SetValueResponse, error)
func (*SetValueResponse) GetSetValue ¶
func (v *SetValueResponse) GetSetValue() SetValueSetValueValueOutput
GetSetValue returns SetValueResponse.SetValue, and is useful for accessing the field via an interface.
type SetValueSetValueValueOutput ¶
type SetValueSetValueValueOutput struct {
Value string `json:"value"`
}
SetValueSetValueValueOutput includes the requested fields of the GraphQL type ValueOutput.
func (*SetValueSetValueValueOutput) GetValue ¶
func (v *SetValueSetValueValueOutput) GetValue() string
GetValue returns SetValueSetValueValueOutput.Value, and is useful for accessing the field via an interface.
type ValueInput ¶
type ValueInput struct {
Value string `json:"value"`
}
func (*ValueInput) GetValue ¶
func (v *ValueInput) GetValue() string
GetValue returns ValueInput.Value, and is useful for accessing the field via an interface.