graph

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 string
}
CreateGraphBadRequest describes a response with status code 400, with default header values.

CreateGraphBadRequest create graph 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() string

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 string
}
DeleteGraphBadRequest describes a response with status code 400, with default header values.

DeleteGraphBadRequest delete graph 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() string

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 string
}
GetGraphsBadRequest describes a response with status code 400, with default header values.

GetGraphsBadRequest get graphs 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() string

type GetGraphsConnectionBadRequest

type GetGraphsConnectionBadRequest struct {
	Payload string
}
GetGraphsConnectionBadRequest describes a response with status code 400, with default header values.

GetGraphsConnectionBadRequest get graphs connection bad request

func NewGetGraphsConnectionBadRequest

func NewGetGraphsConnectionBadRequest() *GetGraphsConnectionBadRequest

NewGetGraphsConnectionBadRequest creates a GetGraphsConnectionBadRequest with default headers values

func (*GetGraphsConnectionBadRequest) Error

func (*GetGraphsConnectionBadRequest) GetPayload

func (o *GetGraphsConnectionBadRequest) GetPayload() string

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 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 string
}
UpdateGraphBadRequest describes a response with status code 400, with default header values.

UpdateGraphBadRequest update graph 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() string

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