Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGraph(params *CreateGraphParams, opts ...ClientOption) (*CreateGraphOK, error)
- func (a *Client) DeleteGraph(params *DeleteGraphParams, opts ...ClientOption) (*DeleteGraphOK, error)
- func (a *Client) GetGraphs(params *GetGraphsParams, opts ...ClientOption) (*GetGraphsOK, error)
- func (a *Client) GetGraphsConnection(params *GetGraphsConnectionParams, opts ...ClientOption) (*GetGraphsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGraph(params *UpdateGraphParams, opts ...ClientOption) (*UpdateGraphOK, error)
- type ClientOption
- type ClientService
- type CreateGraphBadRequest
- type CreateGraphInternalServerError
- type CreateGraphNotFound
- type CreateGraphOK
- type CreateGraphParams
- func (o *CreateGraphParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateGraphParams) SetContext(ctx context.Context)
- func (o *CreateGraphParams) SetDefaults()
- func (o *CreateGraphParams) SetHTTPClient(client *http.Client)
- func (o *CreateGraphParams) SetRequestBody(requestBody []*models.GraphCreationParams)
- func (o *CreateGraphParams) SetTimeout(timeout time.Duration)
- func (o *CreateGraphParams) WithContentLanguage(contentLanguage *string) *CreateGraphParams
- func (o *CreateGraphParams) WithContext(ctx context.Context) *CreateGraphParams
- func (o *CreateGraphParams) WithDefaults() *CreateGraphParams
- func (o *CreateGraphParams) WithHTTPClient(client *http.Client) *CreateGraphParams
- func (o *CreateGraphParams) WithRequestBody(requestBody []*models.GraphCreationParams) *CreateGraphParams
- func (o *CreateGraphParams) WithTimeout(timeout time.Duration) *CreateGraphParams
- func (o *CreateGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGraphReader
- type DeleteGraphBadRequest
- type DeleteGraphInternalServerError
- type DeleteGraphNotFound
- type DeleteGraphOK
- type DeleteGraphParams
- func (o *DeleteGraphParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteGraphParams) SetContext(ctx context.Context)
- func (o *DeleteGraphParams) SetDefaults()
- func (o *DeleteGraphParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGraphParams) SetRequestBody(requestBody *models.GraphDeletionParams)
- func (o *DeleteGraphParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGraphParams) WithContentLanguage(contentLanguage *string) *DeleteGraphParams
- func (o *DeleteGraphParams) WithContext(ctx context.Context) *DeleteGraphParams
- func (o *DeleteGraphParams) WithDefaults() *DeleteGraphParams
- func (o *DeleteGraphParams) WithHTTPClient(client *http.Client) *DeleteGraphParams
- func (o *DeleteGraphParams) WithRequestBody(requestBody *models.GraphDeletionParams) *DeleteGraphParams
- func (o *DeleteGraphParams) WithTimeout(timeout time.Duration) *DeleteGraphParams
- func (o *DeleteGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGraphReader
- type GetGraphsBadRequest
- type GetGraphsConnectionBadRequest
- type GetGraphsConnectionInternalServerError
- type GetGraphsConnectionNotFound
- type GetGraphsConnectionOK
- type GetGraphsConnectionParams
- func NewGetGraphsConnectionParams() *GetGraphsConnectionParams
- func NewGetGraphsConnectionParamsWithContext(ctx context.Context) *GetGraphsConnectionParams
- func NewGetGraphsConnectionParamsWithHTTPClient(client *http.Client) *GetGraphsConnectionParams
- func NewGetGraphsConnectionParamsWithTimeout(timeout time.Duration) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetGraphsConnectionParams) SetContext(ctx context.Context)
- func (o *GetGraphsConnectionParams) SetDefaults()
- func (o *GetGraphsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetGraphsConnectionParams) SetRequestBody(requestBody *models.GetGraphsConnectionRequestBody)
- func (o *GetGraphsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetGraphsConnectionParams) WithContentLanguage(contentLanguage *string) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WithContext(ctx context.Context) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WithDefaults() *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WithHTTPClient(client *http.Client) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WithRequestBody(requestBody *models.GetGraphsConnectionRequestBody) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WithTimeout(timeout time.Duration) *GetGraphsConnectionParams
- func (o *GetGraphsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGraphsConnectionReader
- type GetGraphsInternalServerError
- type GetGraphsNotFound
- type GetGraphsOK
- type GetGraphsParams
- func (o *GetGraphsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetGraphsParams) SetContext(ctx context.Context)
- func (o *GetGraphsParams) SetDefaults()
- func (o *GetGraphsParams) SetHTTPClient(client *http.Client)
- func (o *GetGraphsParams) SetRequestBody(requestBody *models.GetGraphsRequestBody)
- func (o *GetGraphsParams) SetTimeout(timeout time.Duration)
- func (o *GetGraphsParams) WithContentLanguage(contentLanguage *string) *GetGraphsParams
- func (o *GetGraphsParams) WithContext(ctx context.Context) *GetGraphsParams
- func (o *GetGraphsParams) WithDefaults() *GetGraphsParams
- func (o *GetGraphsParams) WithHTTPClient(client *http.Client) *GetGraphsParams
- func (o *GetGraphsParams) WithRequestBody(requestBody *models.GetGraphsRequestBody) *GetGraphsParams
- func (o *GetGraphsParams) WithTimeout(timeout time.Duration) *GetGraphsParams
- func (o *GetGraphsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGraphsReader
- type UpdateGraphBadRequest
- type UpdateGraphInternalServerError
- type UpdateGraphNotFound
- type UpdateGraphOK
- type UpdateGraphParams
- func (o *UpdateGraphParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateGraphParams) SetContext(ctx context.Context)
- func (o *UpdateGraphParams) SetDefaults()
- func (o *UpdateGraphParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGraphParams) SetRequestBody(requestBody *models.GraphUpdationParams)
- func (o *UpdateGraphParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGraphParams) WithContentLanguage(contentLanguage *string) *UpdateGraphParams
- func (o *UpdateGraphParams) WithContext(ctx context.Context) *UpdateGraphParams
- func (o *UpdateGraphParams) WithDefaults() *UpdateGraphParams
- func (o *UpdateGraphParams) WithHTTPClient(client *http.Client) *UpdateGraphParams
- func (o *UpdateGraphParams) WithRequestBody(requestBody *models.GraphUpdationParams) *UpdateGraphParams
- func (o *UpdateGraphParams) WithTimeout(timeout time.Duration) *UpdateGraphParams
- func (o *UpdateGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGraphReader
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 graph API
func (*Client) CreateGraph ¶
func (a *Client) CreateGraph(params *CreateGraphParams, opts ...ClientOption) (*CreateGraphOK, error)
CreateGraph create graph API
func (*Client) DeleteGraph ¶
func (a *Client) DeleteGraph(params *DeleteGraphParams, opts ...ClientOption) (*DeleteGraphOK, error)
DeleteGraph delete graph API
func (*Client) GetGraphs ¶
func (a *Client) GetGraphs(params *GetGraphsParams, opts ...ClientOption) (*GetGraphsOK, error)
GetGraphs get graphs API
func (*Client) GetGraphsConnection ¶
func (a *Client) GetGraphsConnection(params *GetGraphsConnectionParams, opts ...ClientOption) (*GetGraphsConnectionOK, error)
GetGraphsConnection get graphs connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGraph ¶
func (a *Client) UpdateGraph(params *UpdateGraphParams, opts ...ClientOption) (*UpdateGraphOK, error)
UpdateGraph update graph API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateGraph(params *CreateGraphParams, opts ...ClientOption) (*CreateGraphOK, error) DeleteGraph(params *DeleteGraphParams, opts ...ClientOption) (*DeleteGraphOK, error) GetGraphs(params *GetGraphsParams, opts ...ClientOption) (*GetGraphsOK, error) GetGraphsConnection(params *GetGraphsConnectionParams, opts ...ClientOption) (*GetGraphsConnectionOK, error) UpdateGraph(params *UpdateGraphParams, opts ...ClientOption) (*UpdateGraphOK, 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 graph API client.
type CreateGraphBadRequest ¶
CreateGraphBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateGraphBadRequest ¶
func NewCreateGraphBadRequest() *CreateGraphBadRequest
NewCreateGraphBadRequest creates a CreateGraphBadRequest with default headers values
func (*CreateGraphBadRequest) Error ¶
func (o *CreateGraphBadRequest) Error() string
func (*CreateGraphBadRequest) GetPayload ¶
func (o *CreateGraphBadRequest) GetPayload() *models.ErrorBody
type CreateGraphInternalServerError ¶
CreateGraphInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateGraphInternalServerError ¶
func NewCreateGraphInternalServerError() *CreateGraphInternalServerError
NewCreateGraphInternalServerError creates a CreateGraphInternalServerError with default headers values
func (*CreateGraphInternalServerError) Error ¶
func (o *CreateGraphInternalServerError) Error() string
func (*CreateGraphInternalServerError) GetPayload ¶
func (o *CreateGraphInternalServerError) GetPayload() *models.ErrorBody
type CreateGraphNotFound ¶
CreateGraphNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateGraphNotFound ¶
func NewCreateGraphNotFound() *CreateGraphNotFound
NewCreateGraphNotFound creates a CreateGraphNotFound with default headers values
func (*CreateGraphNotFound) Error ¶
func (o *CreateGraphNotFound) Error() string
func (*CreateGraphNotFound) GetPayload ¶
func (o *CreateGraphNotFound) GetPayload() *models.ErrorBody
type CreateGraphOK ¶
type CreateGraphOK struct {
Payload []*models.WithTaskGraph
}
CreateGraphOK describes a response with status code 200, with default header values.
Ok
func NewCreateGraphOK ¶
func NewCreateGraphOK() *CreateGraphOK
NewCreateGraphOK creates a CreateGraphOK with default headers values
func (*CreateGraphOK) Error ¶
func (o *CreateGraphOK) Error() string
func (*CreateGraphOK) GetPayload ¶
func (o *CreateGraphOK) GetPayload() []*models.WithTaskGraph
type CreateGraphParams ¶
type CreateGraphParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.GraphCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGraphParams contains all the parameters to send to the API endpoint
for the create graph operation. Typically these are written to a http.Request.
func NewCreateGraphParams ¶
func NewCreateGraphParams() *CreateGraphParams
NewCreateGraphParams creates a new CreateGraphParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateGraphParamsWithContext ¶
func NewCreateGraphParamsWithContext(ctx context.Context) *CreateGraphParams
NewCreateGraphParamsWithContext creates a new CreateGraphParams object with the ability to set a context for a request.
func NewCreateGraphParamsWithHTTPClient ¶
func NewCreateGraphParamsWithHTTPClient(client *http.Client) *CreateGraphParams
NewCreateGraphParamsWithHTTPClient creates a new CreateGraphParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGraphParamsWithTimeout ¶
func NewCreateGraphParamsWithTimeout(timeout time.Duration) *CreateGraphParams
NewCreateGraphParamsWithTimeout creates a new CreateGraphParams object with the ability to set a timeout on a request.
func (*CreateGraphParams) SetContentLanguage ¶
func (o *CreateGraphParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create graph params
func (*CreateGraphParams) SetContext ¶
func (o *CreateGraphParams) SetContext(ctx context.Context)
SetContext adds the context to the create graph params
func (*CreateGraphParams) SetDefaults ¶
func (o *CreateGraphParams) SetDefaults()
SetDefaults hydrates default values in the create graph params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGraphParams) SetHTTPClient ¶
func (o *CreateGraphParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create graph params
func (*CreateGraphParams) SetRequestBody ¶
func (o *CreateGraphParams) SetRequestBody(requestBody []*models.GraphCreationParams)
SetRequestBody adds the requestBody to the create graph params
func (*CreateGraphParams) SetTimeout ¶
func (o *CreateGraphParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create graph params
func (*CreateGraphParams) WithContentLanguage ¶
func (o *CreateGraphParams) WithContentLanguage(contentLanguage *string) *CreateGraphParams
WithContentLanguage adds the contentLanguage to the create graph params
func (*CreateGraphParams) WithContext ¶
func (o *CreateGraphParams) WithContext(ctx context.Context) *CreateGraphParams
WithContext adds the context to the create graph params
func (*CreateGraphParams) WithDefaults ¶
func (o *CreateGraphParams) WithDefaults() *CreateGraphParams
WithDefaults hydrates default values in the create graph params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGraphParams) WithHTTPClient ¶
func (o *CreateGraphParams) WithHTTPClient(client *http.Client) *CreateGraphParams
WithHTTPClient adds the HTTPClient to the create graph params
func (*CreateGraphParams) WithRequestBody ¶
func (o *CreateGraphParams) WithRequestBody(requestBody []*models.GraphCreationParams) *CreateGraphParams
WithRequestBody adds the requestBody to the create graph params
func (*CreateGraphParams) WithTimeout ¶
func (o *CreateGraphParams) WithTimeout(timeout time.Duration) *CreateGraphParams
WithTimeout adds the timeout to the create graph params
func (*CreateGraphParams) WriteToRequest ¶
func (o *CreateGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGraphReader ¶
type CreateGraphReader struct {
// contains filtered or unexported fields
}
CreateGraphReader is a Reader for the CreateGraph structure.
func (*CreateGraphReader) ReadResponse ¶
func (o *CreateGraphReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGraphBadRequest ¶
DeleteGraphBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteGraphBadRequest ¶
func NewDeleteGraphBadRequest() *DeleteGraphBadRequest
NewDeleteGraphBadRequest creates a DeleteGraphBadRequest with default headers values
func (*DeleteGraphBadRequest) Error ¶
func (o *DeleteGraphBadRequest) Error() string
func (*DeleteGraphBadRequest) GetPayload ¶
func (o *DeleteGraphBadRequest) GetPayload() *models.ErrorBody
type DeleteGraphInternalServerError ¶
DeleteGraphInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteGraphInternalServerError ¶
func NewDeleteGraphInternalServerError() *DeleteGraphInternalServerError
NewDeleteGraphInternalServerError creates a DeleteGraphInternalServerError with default headers values
func (*DeleteGraphInternalServerError) Error ¶
func (o *DeleteGraphInternalServerError) Error() string
func (*DeleteGraphInternalServerError) GetPayload ¶
func (o *DeleteGraphInternalServerError) GetPayload() *models.ErrorBody
type DeleteGraphNotFound ¶
DeleteGraphNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteGraphNotFound ¶
func NewDeleteGraphNotFound() *DeleteGraphNotFound
NewDeleteGraphNotFound creates a DeleteGraphNotFound with default headers values
func (*DeleteGraphNotFound) Error ¶
func (o *DeleteGraphNotFound) Error() string
func (*DeleteGraphNotFound) GetPayload ¶
func (o *DeleteGraphNotFound) GetPayload() *models.ErrorBody
type DeleteGraphOK ¶
type DeleteGraphOK struct {
Payload []*models.WithTaskDeleteGraph
}
DeleteGraphOK describes a response with status code 200, with default header values.
Ok
func NewDeleteGraphOK ¶
func NewDeleteGraphOK() *DeleteGraphOK
NewDeleteGraphOK creates a DeleteGraphOK with default headers values
func (*DeleteGraphOK) Error ¶
func (o *DeleteGraphOK) Error() string
func (*DeleteGraphOK) GetPayload ¶
func (o *DeleteGraphOK) GetPayload() []*models.WithTaskDeleteGraph
type DeleteGraphParams ¶
type DeleteGraphParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GraphDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGraphParams contains all the parameters to send to the API endpoint
for the delete graph operation. Typically these are written to a http.Request.
func NewDeleteGraphParams ¶
func NewDeleteGraphParams() *DeleteGraphParams
NewDeleteGraphParams creates a new DeleteGraphParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteGraphParamsWithContext ¶
func NewDeleteGraphParamsWithContext(ctx context.Context) *DeleteGraphParams
NewDeleteGraphParamsWithContext creates a new DeleteGraphParams object with the ability to set a context for a request.
func NewDeleteGraphParamsWithHTTPClient ¶
func NewDeleteGraphParamsWithHTTPClient(client *http.Client) *DeleteGraphParams
NewDeleteGraphParamsWithHTTPClient creates a new DeleteGraphParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGraphParamsWithTimeout ¶
func NewDeleteGraphParamsWithTimeout(timeout time.Duration) *DeleteGraphParams
NewDeleteGraphParamsWithTimeout creates a new DeleteGraphParams object with the ability to set a timeout on a request.
func (*DeleteGraphParams) SetContentLanguage ¶
func (o *DeleteGraphParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete graph params
func (*DeleteGraphParams) SetContext ¶
func (o *DeleteGraphParams) SetContext(ctx context.Context)
SetContext adds the context to the delete graph params
func (*DeleteGraphParams) SetDefaults ¶
func (o *DeleteGraphParams) SetDefaults()
SetDefaults hydrates default values in the delete graph params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGraphParams) SetHTTPClient ¶
func (o *DeleteGraphParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete graph params
func (*DeleteGraphParams) SetRequestBody ¶
func (o *DeleteGraphParams) SetRequestBody(requestBody *models.GraphDeletionParams)
SetRequestBody adds the requestBody to the delete graph params
func (*DeleteGraphParams) SetTimeout ¶
func (o *DeleteGraphParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete graph params
func (*DeleteGraphParams) WithContentLanguage ¶
func (o *DeleteGraphParams) WithContentLanguage(contentLanguage *string) *DeleteGraphParams
WithContentLanguage adds the contentLanguage to the delete graph params
func (*DeleteGraphParams) WithContext ¶
func (o *DeleteGraphParams) WithContext(ctx context.Context) *DeleteGraphParams
WithContext adds the context to the delete graph params
func (*DeleteGraphParams) WithDefaults ¶
func (o *DeleteGraphParams) WithDefaults() *DeleteGraphParams
WithDefaults hydrates default values in the delete graph params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGraphParams) WithHTTPClient ¶
func (o *DeleteGraphParams) WithHTTPClient(client *http.Client) *DeleteGraphParams
WithHTTPClient adds the HTTPClient to the delete graph params
func (*DeleteGraphParams) WithRequestBody ¶
func (o *DeleteGraphParams) WithRequestBody(requestBody *models.GraphDeletionParams) *DeleteGraphParams
WithRequestBody adds the requestBody to the delete graph params
func (*DeleteGraphParams) WithTimeout ¶
func (o *DeleteGraphParams) WithTimeout(timeout time.Duration) *DeleteGraphParams
WithTimeout adds the timeout to the delete graph params
func (*DeleteGraphParams) WriteToRequest ¶
func (o *DeleteGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGraphReader ¶
type DeleteGraphReader struct {
// contains filtered or unexported fields
}
DeleteGraphReader is a Reader for the DeleteGraph structure.
func (*DeleteGraphReader) ReadResponse ¶
func (o *DeleteGraphReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGraphsBadRequest ¶
GetGraphsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGraphsBadRequest ¶
func NewGetGraphsBadRequest() *GetGraphsBadRequest
NewGetGraphsBadRequest creates a GetGraphsBadRequest with default headers values
func (*GetGraphsBadRequest) Error ¶
func (o *GetGraphsBadRequest) Error() string
func (*GetGraphsBadRequest) GetPayload ¶
func (o *GetGraphsBadRequest) GetPayload() *models.ErrorBody
type GetGraphsConnectionBadRequest ¶
GetGraphsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGraphsConnectionBadRequest ¶
func NewGetGraphsConnectionBadRequest() *GetGraphsConnectionBadRequest
NewGetGraphsConnectionBadRequest creates a GetGraphsConnectionBadRequest with default headers values
func (*GetGraphsConnectionBadRequest) Error ¶
func (o *GetGraphsConnectionBadRequest) Error() string
func (*GetGraphsConnectionBadRequest) GetPayload ¶
func (o *GetGraphsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetGraphsConnectionInternalServerError ¶
GetGraphsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetGraphsConnectionInternalServerError ¶
func NewGetGraphsConnectionInternalServerError() *GetGraphsConnectionInternalServerError
NewGetGraphsConnectionInternalServerError creates a GetGraphsConnectionInternalServerError with default headers values
func (*GetGraphsConnectionInternalServerError) Error ¶
func (o *GetGraphsConnectionInternalServerError) Error() string
func (*GetGraphsConnectionInternalServerError) GetPayload ¶
func (o *GetGraphsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetGraphsConnectionNotFound ¶
GetGraphsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGraphsConnectionNotFound ¶
func NewGetGraphsConnectionNotFound() *GetGraphsConnectionNotFound
NewGetGraphsConnectionNotFound creates a GetGraphsConnectionNotFound with default headers values
func (*GetGraphsConnectionNotFound) Error ¶
func (o *GetGraphsConnectionNotFound) Error() string
func (*GetGraphsConnectionNotFound) GetPayload ¶
func (o *GetGraphsConnectionNotFound) GetPayload() *models.ErrorBody
type GetGraphsConnectionOK ¶
type GetGraphsConnectionOK struct {
Payload *models.GraphConnection
}
GetGraphsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetGraphsConnectionOK ¶
func NewGetGraphsConnectionOK() *GetGraphsConnectionOK
NewGetGraphsConnectionOK creates a GetGraphsConnectionOK with default headers values
func (*GetGraphsConnectionOK) Error ¶
func (o *GetGraphsConnectionOK) Error() string
func (*GetGraphsConnectionOK) GetPayload ¶
func (o *GetGraphsConnectionOK) GetPayload() *models.GraphConnection
type GetGraphsConnectionParams ¶
type GetGraphsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetGraphsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGraphsConnectionParams contains all the parameters to send to the API endpoint
for the get graphs connection operation. Typically these are written to a http.Request.
func NewGetGraphsConnectionParams ¶
func NewGetGraphsConnectionParams() *GetGraphsConnectionParams
NewGetGraphsConnectionParams creates a new GetGraphsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGraphsConnectionParamsWithContext ¶
func NewGetGraphsConnectionParamsWithContext(ctx context.Context) *GetGraphsConnectionParams
NewGetGraphsConnectionParamsWithContext creates a new GetGraphsConnectionParams object with the ability to set a context for a request.
func NewGetGraphsConnectionParamsWithHTTPClient ¶
func NewGetGraphsConnectionParamsWithHTTPClient(client *http.Client) *GetGraphsConnectionParams
NewGetGraphsConnectionParamsWithHTTPClient creates a new GetGraphsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetGraphsConnectionParamsWithTimeout ¶
func NewGetGraphsConnectionParamsWithTimeout(timeout time.Duration) *GetGraphsConnectionParams
NewGetGraphsConnectionParamsWithTimeout creates a new GetGraphsConnectionParams object with the ability to set a timeout on a request.
func (*GetGraphsConnectionParams) SetContentLanguage ¶
func (o *GetGraphsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get graphs connection params
func (*GetGraphsConnectionParams) SetContext ¶
func (o *GetGraphsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get graphs connection params
func (*GetGraphsConnectionParams) SetDefaults ¶
func (o *GetGraphsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get graphs connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetGraphsConnectionParams) SetHTTPClient ¶
func (o *GetGraphsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get graphs connection params
func (*GetGraphsConnectionParams) SetRequestBody ¶
func (o *GetGraphsConnectionParams) SetRequestBody(requestBody *models.GetGraphsConnectionRequestBody)
SetRequestBody adds the requestBody to the get graphs connection params
func (*GetGraphsConnectionParams) SetTimeout ¶
func (o *GetGraphsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get graphs connection params
func (*GetGraphsConnectionParams) WithContentLanguage ¶
func (o *GetGraphsConnectionParams) WithContentLanguage(contentLanguage *string) *GetGraphsConnectionParams
WithContentLanguage adds the contentLanguage to the get graphs connection params
func (*GetGraphsConnectionParams) WithContext ¶
func (o *GetGraphsConnectionParams) WithContext(ctx context.Context) *GetGraphsConnectionParams
WithContext adds the context to the get graphs connection params
func (*GetGraphsConnectionParams) WithDefaults ¶
func (o *GetGraphsConnectionParams) WithDefaults() *GetGraphsConnectionParams
WithDefaults hydrates default values in the get graphs connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetGraphsConnectionParams) WithHTTPClient ¶
func (o *GetGraphsConnectionParams) WithHTTPClient(client *http.Client) *GetGraphsConnectionParams
WithHTTPClient adds the HTTPClient to the get graphs connection params
func (*GetGraphsConnectionParams) WithRequestBody ¶
func (o *GetGraphsConnectionParams) WithRequestBody(requestBody *models.GetGraphsConnectionRequestBody) *GetGraphsConnectionParams
WithRequestBody adds the requestBody to the get graphs connection params
func (*GetGraphsConnectionParams) WithTimeout ¶
func (o *GetGraphsConnectionParams) WithTimeout(timeout time.Duration) *GetGraphsConnectionParams
WithTimeout adds the timeout to the get graphs connection params
func (*GetGraphsConnectionParams) WriteToRequest ¶
func (o *GetGraphsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGraphsConnectionReader ¶
type GetGraphsConnectionReader struct {
// contains filtered or unexported fields
}
GetGraphsConnectionReader is a Reader for the GetGraphsConnection structure.
func (*GetGraphsConnectionReader) ReadResponse ¶
func (o *GetGraphsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGraphsInternalServerError ¶
GetGraphsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetGraphsInternalServerError ¶
func NewGetGraphsInternalServerError() *GetGraphsInternalServerError
NewGetGraphsInternalServerError creates a GetGraphsInternalServerError with default headers values
func (*GetGraphsInternalServerError) Error ¶
func (o *GetGraphsInternalServerError) Error() string
func (*GetGraphsInternalServerError) GetPayload ¶
func (o *GetGraphsInternalServerError) GetPayload() *models.ErrorBody
type GetGraphsNotFound ¶
GetGraphsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGraphsNotFound ¶
func NewGetGraphsNotFound() *GetGraphsNotFound
NewGetGraphsNotFound creates a GetGraphsNotFound with default headers values
func (*GetGraphsNotFound) Error ¶
func (o *GetGraphsNotFound) Error() string
func (*GetGraphsNotFound) GetPayload ¶
func (o *GetGraphsNotFound) GetPayload() *models.ErrorBody
type GetGraphsOK ¶
GetGraphsOK describes a response with status code 200, with default header values.
Ok
func NewGetGraphsOK ¶
func NewGetGraphsOK() *GetGraphsOK
NewGetGraphsOK creates a GetGraphsOK with default headers values
func (*GetGraphsOK) Error ¶
func (o *GetGraphsOK) Error() string
func (*GetGraphsOK) GetPayload ¶
func (o *GetGraphsOK) GetPayload() []*models.Graph
type GetGraphsParams ¶
type GetGraphsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetGraphsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGraphsParams contains all the parameters to send to the API endpoint
for the get graphs operation. Typically these are written to a http.Request.
func NewGetGraphsParams ¶
func NewGetGraphsParams() *GetGraphsParams
NewGetGraphsParams creates a new GetGraphsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGraphsParamsWithContext ¶
func NewGetGraphsParamsWithContext(ctx context.Context) *GetGraphsParams
NewGetGraphsParamsWithContext creates a new GetGraphsParams object with the ability to set a context for a request.
func NewGetGraphsParamsWithHTTPClient ¶
func NewGetGraphsParamsWithHTTPClient(client *http.Client) *GetGraphsParams
NewGetGraphsParamsWithHTTPClient creates a new GetGraphsParams object with the ability to set a custom HTTPClient for a request.
func NewGetGraphsParamsWithTimeout ¶
func NewGetGraphsParamsWithTimeout(timeout time.Duration) *GetGraphsParams
NewGetGraphsParamsWithTimeout creates a new GetGraphsParams object with the ability to set a timeout on a request.
func (*GetGraphsParams) SetContentLanguage ¶
func (o *GetGraphsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get graphs params
func (*GetGraphsParams) SetContext ¶
func (o *GetGraphsParams) SetContext(ctx context.Context)
SetContext adds the context to the get graphs params
func (*GetGraphsParams) SetDefaults ¶
func (o *GetGraphsParams) SetDefaults()
SetDefaults hydrates default values in the get graphs params (not the query body).
All values with no default are reset to their zero value.
func (*GetGraphsParams) SetHTTPClient ¶
func (o *GetGraphsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get graphs params
func (*GetGraphsParams) SetRequestBody ¶
func (o *GetGraphsParams) SetRequestBody(requestBody *models.GetGraphsRequestBody)
SetRequestBody adds the requestBody to the get graphs params
func (*GetGraphsParams) SetTimeout ¶
func (o *GetGraphsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get graphs params
func (*GetGraphsParams) WithContentLanguage ¶
func (o *GetGraphsParams) WithContentLanguage(contentLanguage *string) *GetGraphsParams
WithContentLanguage adds the contentLanguage to the get graphs params
func (*GetGraphsParams) WithContext ¶
func (o *GetGraphsParams) WithContext(ctx context.Context) *GetGraphsParams
WithContext adds the context to the get graphs params
func (*GetGraphsParams) WithDefaults ¶
func (o *GetGraphsParams) WithDefaults() *GetGraphsParams
WithDefaults hydrates default values in the get graphs params (not the query body).
All values with no default are reset to their zero value.
func (*GetGraphsParams) WithHTTPClient ¶
func (o *GetGraphsParams) WithHTTPClient(client *http.Client) *GetGraphsParams
WithHTTPClient adds the HTTPClient to the get graphs params
func (*GetGraphsParams) WithRequestBody ¶
func (o *GetGraphsParams) WithRequestBody(requestBody *models.GetGraphsRequestBody) *GetGraphsParams
WithRequestBody adds the requestBody to the get graphs params
func (*GetGraphsParams) WithTimeout ¶
func (o *GetGraphsParams) WithTimeout(timeout time.Duration) *GetGraphsParams
WithTimeout adds the timeout to the get graphs params
func (*GetGraphsParams) WriteToRequest ¶
func (o *GetGraphsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGraphsReader ¶
type GetGraphsReader struct {
// contains filtered or unexported fields
}
GetGraphsReader is a Reader for the GetGraphs structure.
func (*GetGraphsReader) ReadResponse ¶
func (o *GetGraphsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGraphBadRequest ¶
UpdateGraphBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateGraphBadRequest ¶
func NewUpdateGraphBadRequest() *UpdateGraphBadRequest
NewUpdateGraphBadRequest creates a UpdateGraphBadRequest with default headers values
func (*UpdateGraphBadRequest) Error ¶
func (o *UpdateGraphBadRequest) Error() string
func (*UpdateGraphBadRequest) GetPayload ¶
func (o *UpdateGraphBadRequest) GetPayload() *models.ErrorBody
type UpdateGraphInternalServerError ¶
UpdateGraphInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateGraphInternalServerError ¶
func NewUpdateGraphInternalServerError() *UpdateGraphInternalServerError
NewUpdateGraphInternalServerError creates a UpdateGraphInternalServerError with default headers values
func (*UpdateGraphInternalServerError) Error ¶
func (o *UpdateGraphInternalServerError) Error() string
func (*UpdateGraphInternalServerError) GetPayload ¶
func (o *UpdateGraphInternalServerError) GetPayload() *models.ErrorBody
type UpdateGraphNotFound ¶
UpdateGraphNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateGraphNotFound ¶
func NewUpdateGraphNotFound() *UpdateGraphNotFound
NewUpdateGraphNotFound creates a UpdateGraphNotFound with default headers values
func (*UpdateGraphNotFound) Error ¶
func (o *UpdateGraphNotFound) Error() string
func (*UpdateGraphNotFound) GetPayload ¶
func (o *UpdateGraphNotFound) GetPayload() *models.ErrorBody
type UpdateGraphOK ¶
type UpdateGraphOK struct {
Payload []*models.WithTaskGraph
}
UpdateGraphOK describes a response with status code 200, with default header values.
Ok
func NewUpdateGraphOK ¶
func NewUpdateGraphOK() *UpdateGraphOK
NewUpdateGraphOK creates a UpdateGraphOK with default headers values
func (*UpdateGraphOK) Error ¶
func (o *UpdateGraphOK) Error() string
func (*UpdateGraphOK) GetPayload ¶
func (o *UpdateGraphOK) GetPayload() []*models.WithTaskGraph
type UpdateGraphParams ¶
type UpdateGraphParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GraphUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGraphParams contains all the parameters to send to the API endpoint
for the update graph operation. Typically these are written to a http.Request.
func NewUpdateGraphParams ¶
func NewUpdateGraphParams() *UpdateGraphParams
NewUpdateGraphParams creates a new UpdateGraphParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateGraphParamsWithContext ¶
func NewUpdateGraphParamsWithContext(ctx context.Context) *UpdateGraphParams
NewUpdateGraphParamsWithContext creates a new UpdateGraphParams object with the ability to set a context for a request.
func NewUpdateGraphParamsWithHTTPClient ¶
func NewUpdateGraphParamsWithHTTPClient(client *http.Client) *UpdateGraphParams
NewUpdateGraphParamsWithHTTPClient creates a new UpdateGraphParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGraphParamsWithTimeout ¶
func NewUpdateGraphParamsWithTimeout(timeout time.Duration) *UpdateGraphParams
NewUpdateGraphParamsWithTimeout creates a new UpdateGraphParams object with the ability to set a timeout on a request.
func (*UpdateGraphParams) SetContentLanguage ¶
func (o *UpdateGraphParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update graph params
func (*UpdateGraphParams) SetContext ¶
func (o *UpdateGraphParams) SetContext(ctx context.Context)
SetContext adds the context to the update graph params
func (*UpdateGraphParams) SetDefaults ¶
func (o *UpdateGraphParams) SetDefaults()
SetDefaults hydrates default values in the update graph params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGraphParams) SetHTTPClient ¶
func (o *UpdateGraphParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update graph params
func (*UpdateGraphParams) SetRequestBody ¶
func (o *UpdateGraphParams) SetRequestBody(requestBody *models.GraphUpdationParams)
SetRequestBody adds the requestBody to the update graph params
func (*UpdateGraphParams) SetTimeout ¶
func (o *UpdateGraphParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update graph params
func (*UpdateGraphParams) WithContentLanguage ¶
func (o *UpdateGraphParams) WithContentLanguage(contentLanguage *string) *UpdateGraphParams
WithContentLanguage adds the contentLanguage to the update graph params
func (*UpdateGraphParams) WithContext ¶
func (o *UpdateGraphParams) WithContext(ctx context.Context) *UpdateGraphParams
WithContext adds the context to the update graph params
func (*UpdateGraphParams) WithDefaults ¶
func (o *UpdateGraphParams) WithDefaults() *UpdateGraphParams
WithDefaults hydrates default values in the update graph params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGraphParams) WithHTTPClient ¶
func (o *UpdateGraphParams) WithHTTPClient(client *http.Client) *UpdateGraphParams
WithHTTPClient adds the HTTPClient to the update graph params
func (*UpdateGraphParams) WithRequestBody ¶
func (o *UpdateGraphParams) WithRequestBody(requestBody *models.GraphUpdationParams) *UpdateGraphParams
WithRequestBody adds the requestBody to the update graph params
func (*UpdateGraphParams) WithTimeout ¶
func (o *UpdateGraphParams) WithTimeout(timeout time.Duration) *UpdateGraphParams
WithTimeout adds the timeout to the update graph params
func (*UpdateGraphParams) WriteToRequest ¶
func (o *UpdateGraphParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGraphReader ¶
type UpdateGraphReader struct {
// contains filtered or unexported fields
}
UpdateGraphReader is a Reader for the UpdateGraph structure.
func (*UpdateGraphReader) ReadResponse ¶
func (o *UpdateGraphReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.