graph

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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

type CreateGraphBadRequest struct {
	Payload *models.ErrorBody
}
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 added in v1.10.0

type CreateGraphInternalServerError struct {
	Payload *models.ErrorBody
}
CreateGraphInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateGraphInternalServerError added in v1.10.0

func NewCreateGraphInternalServerError() *CreateGraphInternalServerError

NewCreateGraphInternalServerError creates a CreateGraphInternalServerError with default headers values

func (*CreateGraphInternalServerError) Error added in v1.10.0

func (*CreateGraphInternalServerError) GetPayload added in v1.10.0

type CreateGraphNotFound added in v1.10.0

type CreateGraphNotFound struct {
	Payload *models.ErrorBody
}
CreateGraphNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateGraphNotFound added in v1.10.0

func NewCreateGraphNotFound() *CreateGraphNotFound

NewCreateGraphNotFound creates a CreateGraphNotFound with default headers values

func (*CreateGraphNotFound) Error added in v1.10.0

func (o *CreateGraphNotFound) Error() string

func (*CreateGraphNotFound) GetPayload added in v1.10.0

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

type DeleteGraphBadRequest struct {
	Payload *models.ErrorBody
}
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 added in v1.10.0

type DeleteGraphInternalServerError struct {
	Payload *models.ErrorBody
}
DeleteGraphInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteGraphInternalServerError added in v1.10.0

func NewDeleteGraphInternalServerError() *DeleteGraphInternalServerError

NewDeleteGraphInternalServerError creates a DeleteGraphInternalServerError with default headers values

func (*DeleteGraphInternalServerError) Error added in v1.10.0

func (*DeleteGraphInternalServerError) GetPayload added in v1.10.0

type DeleteGraphNotFound added in v1.10.0

type DeleteGraphNotFound struct {
	Payload *models.ErrorBody
}
DeleteGraphNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteGraphNotFound added in v1.10.0

func NewDeleteGraphNotFound() *DeleteGraphNotFound

NewDeleteGraphNotFound creates a DeleteGraphNotFound with default headers values

func (*DeleteGraphNotFound) Error added in v1.10.0

func (o *DeleteGraphNotFound) Error() string

func (*DeleteGraphNotFound) GetPayload added in v1.10.0

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

type GetGraphsBadRequest struct {
	Payload *models.ErrorBody
}
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

type GetGraphsConnectionBadRequest struct {
	Payload *models.ErrorBody
}
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 (*GetGraphsConnectionBadRequest) GetPayload

type GetGraphsConnectionInternalServerError added in v1.10.0

type GetGraphsConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetGraphsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetGraphsConnectionInternalServerError added in v1.10.0

func NewGetGraphsConnectionInternalServerError() *GetGraphsConnectionInternalServerError

NewGetGraphsConnectionInternalServerError creates a GetGraphsConnectionInternalServerError with default headers values

func (*GetGraphsConnectionInternalServerError) Error added in v1.10.0

func (*GetGraphsConnectionInternalServerError) GetPayload added in v1.10.0

type GetGraphsConnectionNotFound added in v1.10.0

type GetGraphsConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetGraphsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetGraphsConnectionNotFound added in v1.10.0

func NewGetGraphsConnectionNotFound() *GetGraphsConnectionNotFound

NewGetGraphsConnectionNotFound creates a GetGraphsConnectionNotFound with default headers values

func (*GetGraphsConnectionNotFound) Error added in v1.10.0

func (*GetGraphsConnectionNotFound) GetPayload added in v1.10.0

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

WithContext adds the context to the get graphs connection params

func (*GetGraphsConnectionParams) WithDefaults

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

WithRequestBody adds the requestBody to the get graphs connection params

func (*GetGraphsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get graphs connection params

func (*GetGraphsConnectionParams) WriteToRequest

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 added in v1.10.0

type GetGraphsInternalServerError struct {
	Payload *models.ErrorBody
}
GetGraphsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetGraphsInternalServerError added in v1.10.0

func NewGetGraphsInternalServerError() *GetGraphsInternalServerError

NewGetGraphsInternalServerError creates a GetGraphsInternalServerError with default headers values

func (*GetGraphsInternalServerError) Error added in v1.10.0

func (*GetGraphsInternalServerError) GetPayload added in v1.10.0

type GetGraphsNotFound added in v1.10.0

type GetGraphsNotFound struct {
	Payload *models.ErrorBody
}
GetGraphsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetGraphsNotFound added in v1.10.0

func NewGetGraphsNotFound() *GetGraphsNotFound

NewGetGraphsNotFound creates a GetGraphsNotFound with default headers values

func (*GetGraphsNotFound) Error added in v1.10.0

func (o *GetGraphsNotFound) Error() string

func (*GetGraphsNotFound) GetPayload added in v1.10.0

func (o *GetGraphsNotFound) GetPayload() *models.ErrorBody

type GetGraphsOK

type GetGraphsOK struct {
	Payload []*models.Graph
}
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

type UpdateGraphBadRequest struct {
	Payload *models.ErrorBody
}
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 added in v1.10.0

type UpdateGraphInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateGraphInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateGraphInternalServerError added in v1.10.0

func NewUpdateGraphInternalServerError() *UpdateGraphInternalServerError

NewUpdateGraphInternalServerError creates a UpdateGraphInternalServerError with default headers values

func (*UpdateGraphInternalServerError) Error added in v1.10.0

func (*UpdateGraphInternalServerError) GetPayload added in v1.10.0

type UpdateGraphNotFound added in v1.10.0

type UpdateGraphNotFound struct {
	Payload *models.ErrorBody
}
UpdateGraphNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateGraphNotFound added in v1.10.0

func NewUpdateGraphNotFound() *UpdateGraphNotFound

NewUpdateGraphNotFound creates a UpdateGraphNotFound with default headers values

func (*UpdateGraphNotFound) Error added in v1.10.0

func (o *UpdateGraphNotFound) Error() string

func (*UpdateGraphNotFound) GetPayload added in v1.10.0

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.

Jump to

Keyboard shortcuts

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