Documentation ¶
Index ¶
- type Client
- type ClientService
- type GraphqlCreateBadRequest
- type GraphqlCreateBadRequestBody
- type GraphqlCreateDefault
- type GraphqlCreateOK
- type GraphqlCreateOKBody
- type GraphqlCreateParams
- func (o *GraphqlCreateParams) SetContext(ctx context.Context)
- func (o *GraphqlCreateParams) SetData(data *models.GraphQLAPI)
- func (o *GraphqlCreateParams) SetHTTPClient(client *http.Client)
- func (o *GraphqlCreateParams) SetTimeout(timeout time.Duration)
- func (o *GraphqlCreateParams) WithContext(ctx context.Context) *GraphqlCreateParams
- func (o *GraphqlCreateParams) WithData(data *models.GraphQLAPI) *GraphqlCreateParams
- func (o *GraphqlCreateParams) WithHTTPClient(client *http.Client) *GraphqlCreateParams
- func (o *GraphqlCreateParams) WithTimeout(timeout time.Duration) *GraphqlCreateParams
- func (o *GraphqlCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GraphqlCreateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for graphql API
func (*Client) GraphqlCreate ¶
func (a *Client) GraphqlCreate(params *GraphqlCreateParams, authInfo runtime.ClientAuthInfoWriter) (*GraphqlCreateOK, error)
GraphqlCreate Query the database using a GraphQL query
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GraphqlCreate(params *GraphqlCreateParams, authInfo runtime.ClientAuthInfoWriter) (*GraphqlCreateOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new graphql API client.
type GraphqlCreateBadRequest ¶
type GraphqlCreateBadRequest struct {
Payload *GraphqlCreateBadRequestBody
}
GraphqlCreateBadRequest handles this case with default header values.
GraphqlCreateBadRequest graphql create bad request
func NewGraphqlCreateBadRequest ¶
func NewGraphqlCreateBadRequest() *GraphqlCreateBadRequest
NewGraphqlCreateBadRequest creates a GraphqlCreateBadRequest with default headers values
func (*GraphqlCreateBadRequest) Error ¶
func (o *GraphqlCreateBadRequest) Error() string
func (*GraphqlCreateBadRequest) GetPayload ¶
func (o *GraphqlCreateBadRequest) GetPayload() *GraphqlCreateBadRequestBody
type GraphqlCreateBadRequestBody ¶
type GraphqlCreateBadRequestBody struct {
// errors
Errors []interface{} `json:"errors"`
}
GraphqlCreateBadRequestBody graphql create bad request body swagger:model GraphqlCreateBadRequestBody
func (*GraphqlCreateBadRequestBody) MarshalBinary ¶
func (o *GraphqlCreateBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphqlCreateBadRequestBody) UnmarshalBinary ¶
func (o *GraphqlCreateBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphqlCreateDefault ¶
type GraphqlCreateDefault struct { Payload interface{} // contains filtered or unexported fields }
GraphqlCreateDefault handles this case with default header values.
GraphqlCreateDefault graphql create default
func NewGraphqlCreateDefault ¶
func NewGraphqlCreateDefault(code int) *GraphqlCreateDefault
NewGraphqlCreateDefault creates a GraphqlCreateDefault with default headers values
func (*GraphqlCreateDefault) Code ¶
func (o *GraphqlCreateDefault) Code() int
Code gets the status code for the graphql create default response
func (*GraphqlCreateDefault) Error ¶
func (o *GraphqlCreateDefault) Error() string
func (*GraphqlCreateDefault) GetPayload ¶
func (o *GraphqlCreateDefault) GetPayload() interface{}
type GraphqlCreateOK ¶
type GraphqlCreateOK struct {
Payload *GraphqlCreateOKBody
}
GraphqlCreateOK handles this case with default header values.
GraphqlCreateOK graphql create o k
func NewGraphqlCreateOK ¶
func NewGraphqlCreateOK() *GraphqlCreateOK
NewGraphqlCreateOK creates a GraphqlCreateOK with default headers values
func (*GraphqlCreateOK) Error ¶
func (o *GraphqlCreateOK) Error() string
func (*GraphqlCreateOK) GetPayload ¶
func (o *GraphqlCreateOK) GetPayload() *GraphqlCreateOKBody
type GraphqlCreateOKBody ¶
type GraphqlCreateOKBody struct {
// data
Data interface{} `json:"data,omitempty"`
}
GraphqlCreateOKBody graphql create o k body swagger:model GraphqlCreateOKBody
func (*GraphqlCreateOKBody) MarshalBinary ¶
func (o *GraphqlCreateOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GraphqlCreateOKBody) UnmarshalBinary ¶
func (o *GraphqlCreateOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GraphqlCreateParams ¶
type GraphqlCreateParams struct { /*Data*/ Data *models.GraphQLAPI Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GraphqlCreateParams contains all the parameters to send to the API endpoint for the graphql create operation typically these are written to a http.Request
func NewGraphqlCreateParams ¶
func NewGraphqlCreateParams() *GraphqlCreateParams
NewGraphqlCreateParams creates a new GraphqlCreateParams object with the default values initialized.
func NewGraphqlCreateParamsWithContext ¶
func NewGraphqlCreateParamsWithContext(ctx context.Context) *GraphqlCreateParams
NewGraphqlCreateParamsWithContext creates a new GraphqlCreateParams object with the default values initialized, and the ability to set a context for a request
func NewGraphqlCreateParamsWithHTTPClient ¶
func NewGraphqlCreateParamsWithHTTPClient(client *http.Client) *GraphqlCreateParams
NewGraphqlCreateParamsWithHTTPClient creates a new GraphqlCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGraphqlCreateParamsWithTimeout ¶
func NewGraphqlCreateParamsWithTimeout(timeout time.Duration) *GraphqlCreateParams
NewGraphqlCreateParamsWithTimeout creates a new GraphqlCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GraphqlCreateParams) SetContext ¶
func (o *GraphqlCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the graphql create params
func (*GraphqlCreateParams) SetData ¶
func (o *GraphqlCreateParams) SetData(data *models.GraphQLAPI)
SetData adds the data to the graphql create params
func (*GraphqlCreateParams) SetHTTPClient ¶
func (o *GraphqlCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the graphql create params
func (*GraphqlCreateParams) SetTimeout ¶
func (o *GraphqlCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the graphql create params
func (*GraphqlCreateParams) WithContext ¶
func (o *GraphqlCreateParams) WithContext(ctx context.Context) *GraphqlCreateParams
WithContext adds the context to the graphql create params
func (*GraphqlCreateParams) WithData ¶
func (o *GraphqlCreateParams) WithData(data *models.GraphQLAPI) *GraphqlCreateParams
WithData adds the data to the graphql create params
func (*GraphqlCreateParams) WithHTTPClient ¶
func (o *GraphqlCreateParams) WithHTTPClient(client *http.Client) *GraphqlCreateParams
WithHTTPClient adds the HTTPClient to the graphql create params
func (*GraphqlCreateParams) WithTimeout ¶
func (o *GraphqlCreateParams) WithTimeout(timeout time.Duration) *GraphqlCreateParams
WithTimeout adds the timeout to the graphql create params
func (*GraphqlCreateParams) WriteToRequest ¶
func (o *GraphqlCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GraphqlCreateReader ¶
type GraphqlCreateReader struct {
// contains filtered or unexported fields
}
GraphqlCreateReader is a Reader for the GraphqlCreate structure.
func (*GraphqlCreateReader) ReadResponse ¶
func (o *GraphqlCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.