Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateView(params *CreateViewParams, opts ...ClientOption) (*CreateViewOK, error)
- func (a *Client) DeleteView(params *DeleteViewParams, opts ...ClientOption) (*DeleteViewOK, error)
- func (a *Client) GetViews(params *GetViewsParams, opts ...ClientOption) (*GetViewsOK, error)
- func (a *Client) GetViewsConnection(params *GetViewsConnectionParams, opts ...ClientOption) (*GetViewsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateView(params *UpdateViewParams, opts ...ClientOption) (*UpdateViewOK, error)
- type ClientOption
- type ClientService
- type CreateViewBadRequest
- type CreateViewInternalServerError
- type CreateViewNotFound
- type CreateViewOK
- type CreateViewParams
- func (o *CreateViewParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateViewParams) SetContext(ctx context.Context)
- func (o *CreateViewParams) SetDefaults()
- func (o *CreateViewParams) SetHTTPClient(client *http.Client)
- func (o *CreateViewParams) SetRequestBody(requestBody []*models.ViewCreationParams)
- func (o *CreateViewParams) SetTimeout(timeout time.Duration)
- func (o *CreateViewParams) WithContentLanguage(contentLanguage *string) *CreateViewParams
- func (o *CreateViewParams) WithContext(ctx context.Context) *CreateViewParams
- func (o *CreateViewParams) WithDefaults() *CreateViewParams
- func (o *CreateViewParams) WithHTTPClient(client *http.Client) *CreateViewParams
- func (o *CreateViewParams) WithRequestBody(requestBody []*models.ViewCreationParams) *CreateViewParams
- func (o *CreateViewParams) WithTimeout(timeout time.Duration) *CreateViewParams
- func (o *CreateViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateViewReader
- type DeleteViewBadRequest
- type DeleteViewInternalServerError
- type DeleteViewNotFound
- type DeleteViewOK
- type DeleteViewParams
- func (o *DeleteViewParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteViewParams) SetContext(ctx context.Context)
- func (o *DeleteViewParams) SetDefaults()
- func (o *DeleteViewParams) SetHTTPClient(client *http.Client)
- func (o *DeleteViewParams) SetRequestBody(requestBody *models.ViewDeletionParams)
- func (o *DeleteViewParams) SetTimeout(timeout time.Duration)
- func (o *DeleteViewParams) WithContentLanguage(contentLanguage *string) *DeleteViewParams
- func (o *DeleteViewParams) WithContext(ctx context.Context) *DeleteViewParams
- func (o *DeleteViewParams) WithDefaults() *DeleteViewParams
- func (o *DeleteViewParams) WithHTTPClient(client *http.Client) *DeleteViewParams
- func (o *DeleteViewParams) WithRequestBody(requestBody *models.ViewDeletionParams) *DeleteViewParams
- func (o *DeleteViewParams) WithTimeout(timeout time.Duration) *DeleteViewParams
- func (o *DeleteViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteViewReader
- type GetViewsBadRequest
- type GetViewsConnectionBadRequest
- type GetViewsConnectionInternalServerError
- type GetViewsConnectionNotFound
- type GetViewsConnectionOK
- type GetViewsConnectionParams
- func NewGetViewsConnectionParams() *GetViewsConnectionParams
- func NewGetViewsConnectionParamsWithContext(ctx context.Context) *GetViewsConnectionParams
- func NewGetViewsConnectionParamsWithHTTPClient(client *http.Client) *GetViewsConnectionParams
- func NewGetViewsConnectionParamsWithTimeout(timeout time.Duration) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetViewsConnectionParams) SetContext(ctx context.Context)
- func (o *GetViewsConnectionParams) SetDefaults()
- func (o *GetViewsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetViewsConnectionParams) SetRequestBody(requestBody *models.GetViewsConnectionRequestBody)
- func (o *GetViewsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetViewsConnectionParams) WithContentLanguage(contentLanguage *string) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WithContext(ctx context.Context) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WithDefaults() *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WithHTTPClient(client *http.Client) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WithRequestBody(requestBody *models.GetViewsConnectionRequestBody) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WithTimeout(timeout time.Duration) *GetViewsConnectionParams
- func (o *GetViewsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetViewsConnectionReader
- type GetViewsInternalServerError
- type GetViewsNotFound
- type GetViewsOK
- type GetViewsParams
- func (o *GetViewsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetViewsParams) SetContext(ctx context.Context)
- func (o *GetViewsParams) SetDefaults()
- func (o *GetViewsParams) SetHTTPClient(client *http.Client)
- func (o *GetViewsParams) SetRequestBody(requestBody *models.GetViewsRequestBody)
- func (o *GetViewsParams) SetTimeout(timeout time.Duration)
- func (o *GetViewsParams) WithContentLanguage(contentLanguage *string) *GetViewsParams
- func (o *GetViewsParams) WithContext(ctx context.Context) *GetViewsParams
- func (o *GetViewsParams) WithDefaults() *GetViewsParams
- func (o *GetViewsParams) WithHTTPClient(client *http.Client) *GetViewsParams
- func (o *GetViewsParams) WithRequestBody(requestBody *models.GetViewsRequestBody) *GetViewsParams
- func (o *GetViewsParams) WithTimeout(timeout time.Duration) *GetViewsParams
- func (o *GetViewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetViewsReader
- type UpdateViewBadRequest
- type UpdateViewInternalServerError
- type UpdateViewNotFound
- type UpdateViewOK
- type UpdateViewParams
- func (o *UpdateViewParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateViewParams) SetContext(ctx context.Context)
- func (o *UpdateViewParams) SetDefaults()
- func (o *UpdateViewParams) SetHTTPClient(client *http.Client)
- func (o *UpdateViewParams) SetRequestBody(requestBody *models.ViewUpdationParams)
- func (o *UpdateViewParams) SetTimeout(timeout time.Duration)
- func (o *UpdateViewParams) WithContentLanguage(contentLanguage *string) *UpdateViewParams
- func (o *UpdateViewParams) WithContext(ctx context.Context) *UpdateViewParams
- func (o *UpdateViewParams) WithDefaults() *UpdateViewParams
- func (o *UpdateViewParams) WithHTTPClient(client *http.Client) *UpdateViewParams
- func (o *UpdateViewParams) WithRequestBody(requestBody *models.ViewUpdationParams) *UpdateViewParams
- func (o *UpdateViewParams) WithTimeout(timeout time.Duration) *UpdateViewParams
- func (o *UpdateViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateViewReader
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 view API
func (*Client) CreateView ¶
func (a *Client) CreateView(params *CreateViewParams, opts ...ClientOption) (*CreateViewOK, error)
CreateView create view API
func (*Client) DeleteView ¶
func (a *Client) DeleteView(params *DeleteViewParams, opts ...ClientOption) (*DeleteViewOK, error)
DeleteView delete view API
func (*Client) GetViews ¶
func (a *Client) GetViews(params *GetViewsParams, opts ...ClientOption) (*GetViewsOK, error)
GetViews get views API
func (*Client) GetViewsConnection ¶
func (a *Client) GetViewsConnection(params *GetViewsConnectionParams, opts ...ClientOption) (*GetViewsConnectionOK, error)
GetViewsConnection get views connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateView ¶
func (a *Client) UpdateView(params *UpdateViewParams, opts ...ClientOption) (*UpdateViewOK, error)
UpdateView update view API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateView(params *CreateViewParams, opts ...ClientOption) (*CreateViewOK, error) DeleteView(params *DeleteViewParams, opts ...ClientOption) (*DeleteViewOK, error) GetViews(params *GetViewsParams, opts ...ClientOption) (*GetViewsOK, error) GetViewsConnection(params *GetViewsConnectionParams, opts ...ClientOption) (*GetViewsConnectionOK, error) UpdateView(params *UpdateViewParams, opts ...ClientOption) (*UpdateViewOK, 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 view API client.
type CreateViewBadRequest ¶
CreateViewBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateViewBadRequest ¶
func NewCreateViewBadRequest() *CreateViewBadRequest
NewCreateViewBadRequest creates a CreateViewBadRequest with default headers values
func (*CreateViewBadRequest) Error ¶
func (o *CreateViewBadRequest) Error() string
func (*CreateViewBadRequest) GetPayload ¶
func (o *CreateViewBadRequest) GetPayload() *models.ErrorBody
type CreateViewInternalServerError ¶
CreateViewInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateViewInternalServerError ¶
func NewCreateViewInternalServerError() *CreateViewInternalServerError
NewCreateViewInternalServerError creates a CreateViewInternalServerError with default headers values
func (*CreateViewInternalServerError) Error ¶
func (o *CreateViewInternalServerError) Error() string
func (*CreateViewInternalServerError) GetPayload ¶
func (o *CreateViewInternalServerError) GetPayload() *models.ErrorBody
type CreateViewNotFound ¶
CreateViewNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateViewNotFound ¶
func NewCreateViewNotFound() *CreateViewNotFound
NewCreateViewNotFound creates a CreateViewNotFound with default headers values
func (*CreateViewNotFound) Error ¶
func (o *CreateViewNotFound) Error() string
func (*CreateViewNotFound) GetPayload ¶
func (o *CreateViewNotFound) GetPayload() *models.ErrorBody
type CreateViewOK ¶
type CreateViewOK struct { XTowerRequestID string Payload []*models.WithTaskView }
CreateViewOK describes a response with status code 200, with default header values.
CreateViewOK create view o k
func NewCreateViewOK ¶
func NewCreateViewOK() *CreateViewOK
NewCreateViewOK creates a CreateViewOK with default headers values
func (*CreateViewOK) Error ¶
func (o *CreateViewOK) Error() string
func (*CreateViewOK) GetPayload ¶
func (o *CreateViewOK) GetPayload() []*models.WithTaskView
type CreateViewParams ¶
type CreateViewParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ViewCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateViewParams contains all the parameters to send to the API endpoint
for the create view operation. Typically these are written to a http.Request.
func NewCreateViewParams ¶
func NewCreateViewParams() *CreateViewParams
NewCreateViewParams creates a new CreateViewParams 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 NewCreateViewParamsWithContext ¶
func NewCreateViewParamsWithContext(ctx context.Context) *CreateViewParams
NewCreateViewParamsWithContext creates a new CreateViewParams object with the ability to set a context for a request.
func NewCreateViewParamsWithHTTPClient ¶
func NewCreateViewParamsWithHTTPClient(client *http.Client) *CreateViewParams
NewCreateViewParamsWithHTTPClient creates a new CreateViewParams object with the ability to set a custom HTTPClient for a request.
func NewCreateViewParamsWithTimeout ¶
func NewCreateViewParamsWithTimeout(timeout time.Duration) *CreateViewParams
NewCreateViewParamsWithTimeout creates a new CreateViewParams object with the ability to set a timeout on a request.
func (*CreateViewParams) SetContentLanguage ¶
func (o *CreateViewParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create view params
func (*CreateViewParams) SetContext ¶
func (o *CreateViewParams) SetContext(ctx context.Context)
SetContext adds the context to the create view params
func (*CreateViewParams) SetDefaults ¶
func (o *CreateViewParams) SetDefaults()
SetDefaults hydrates default values in the create view params (not the query body).
All values with no default are reset to their zero value.
func (*CreateViewParams) SetHTTPClient ¶
func (o *CreateViewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create view params
func (*CreateViewParams) SetRequestBody ¶
func (o *CreateViewParams) SetRequestBody(requestBody []*models.ViewCreationParams)
SetRequestBody adds the requestBody to the create view params
func (*CreateViewParams) SetTimeout ¶
func (o *CreateViewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create view params
func (*CreateViewParams) WithContentLanguage ¶
func (o *CreateViewParams) WithContentLanguage(contentLanguage *string) *CreateViewParams
WithContentLanguage adds the contentLanguage to the create view params
func (*CreateViewParams) WithContext ¶
func (o *CreateViewParams) WithContext(ctx context.Context) *CreateViewParams
WithContext adds the context to the create view params
func (*CreateViewParams) WithDefaults ¶
func (o *CreateViewParams) WithDefaults() *CreateViewParams
WithDefaults hydrates default values in the create view params (not the query body).
All values with no default are reset to their zero value.
func (*CreateViewParams) WithHTTPClient ¶
func (o *CreateViewParams) WithHTTPClient(client *http.Client) *CreateViewParams
WithHTTPClient adds the HTTPClient to the create view params
func (*CreateViewParams) WithRequestBody ¶
func (o *CreateViewParams) WithRequestBody(requestBody []*models.ViewCreationParams) *CreateViewParams
WithRequestBody adds the requestBody to the create view params
func (*CreateViewParams) WithTimeout ¶
func (o *CreateViewParams) WithTimeout(timeout time.Duration) *CreateViewParams
WithTimeout adds the timeout to the create view params
func (*CreateViewParams) WriteToRequest ¶
func (o *CreateViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateViewReader ¶
type CreateViewReader struct {
// contains filtered or unexported fields
}
CreateViewReader is a Reader for the CreateView structure.
func (*CreateViewReader) ReadResponse ¶
func (o *CreateViewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteViewBadRequest ¶
DeleteViewBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteViewBadRequest ¶
func NewDeleteViewBadRequest() *DeleteViewBadRequest
NewDeleteViewBadRequest creates a DeleteViewBadRequest with default headers values
func (*DeleteViewBadRequest) Error ¶
func (o *DeleteViewBadRequest) Error() string
func (*DeleteViewBadRequest) GetPayload ¶
func (o *DeleteViewBadRequest) GetPayload() *models.ErrorBody
type DeleteViewInternalServerError ¶
DeleteViewInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteViewInternalServerError ¶
func NewDeleteViewInternalServerError() *DeleteViewInternalServerError
NewDeleteViewInternalServerError creates a DeleteViewInternalServerError with default headers values
func (*DeleteViewInternalServerError) Error ¶
func (o *DeleteViewInternalServerError) Error() string
func (*DeleteViewInternalServerError) GetPayload ¶
func (o *DeleteViewInternalServerError) GetPayload() *models.ErrorBody
type DeleteViewNotFound ¶
DeleteViewNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteViewNotFound ¶
func NewDeleteViewNotFound() *DeleteViewNotFound
NewDeleteViewNotFound creates a DeleteViewNotFound with default headers values
func (*DeleteViewNotFound) Error ¶
func (o *DeleteViewNotFound) Error() string
func (*DeleteViewNotFound) GetPayload ¶
func (o *DeleteViewNotFound) GetPayload() *models.ErrorBody
type DeleteViewOK ¶
type DeleteViewOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteView }
DeleteViewOK describes a response with status code 200, with default header values.
DeleteViewOK delete view o k
func NewDeleteViewOK ¶
func NewDeleteViewOK() *DeleteViewOK
NewDeleteViewOK creates a DeleteViewOK with default headers values
func (*DeleteViewOK) Error ¶
func (o *DeleteViewOK) Error() string
func (*DeleteViewOK) GetPayload ¶
func (o *DeleteViewOK) GetPayload() []*models.WithTaskDeleteView
type DeleteViewParams ¶
type DeleteViewParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ViewDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteViewParams contains all the parameters to send to the API endpoint
for the delete view operation. Typically these are written to a http.Request.
func NewDeleteViewParams ¶
func NewDeleteViewParams() *DeleteViewParams
NewDeleteViewParams creates a new DeleteViewParams 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 NewDeleteViewParamsWithContext ¶
func NewDeleteViewParamsWithContext(ctx context.Context) *DeleteViewParams
NewDeleteViewParamsWithContext creates a new DeleteViewParams object with the ability to set a context for a request.
func NewDeleteViewParamsWithHTTPClient ¶
func NewDeleteViewParamsWithHTTPClient(client *http.Client) *DeleteViewParams
NewDeleteViewParamsWithHTTPClient creates a new DeleteViewParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteViewParamsWithTimeout ¶
func NewDeleteViewParamsWithTimeout(timeout time.Duration) *DeleteViewParams
NewDeleteViewParamsWithTimeout creates a new DeleteViewParams object with the ability to set a timeout on a request.
func (*DeleteViewParams) SetContentLanguage ¶
func (o *DeleteViewParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete view params
func (*DeleteViewParams) SetContext ¶
func (o *DeleteViewParams) SetContext(ctx context.Context)
SetContext adds the context to the delete view params
func (*DeleteViewParams) SetDefaults ¶
func (o *DeleteViewParams) SetDefaults()
SetDefaults hydrates default values in the delete view params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteViewParams) SetHTTPClient ¶
func (o *DeleteViewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete view params
func (*DeleteViewParams) SetRequestBody ¶
func (o *DeleteViewParams) SetRequestBody(requestBody *models.ViewDeletionParams)
SetRequestBody adds the requestBody to the delete view params
func (*DeleteViewParams) SetTimeout ¶
func (o *DeleteViewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete view params
func (*DeleteViewParams) WithContentLanguage ¶
func (o *DeleteViewParams) WithContentLanguage(contentLanguage *string) *DeleteViewParams
WithContentLanguage adds the contentLanguage to the delete view params
func (*DeleteViewParams) WithContext ¶
func (o *DeleteViewParams) WithContext(ctx context.Context) *DeleteViewParams
WithContext adds the context to the delete view params
func (*DeleteViewParams) WithDefaults ¶
func (o *DeleteViewParams) WithDefaults() *DeleteViewParams
WithDefaults hydrates default values in the delete view params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteViewParams) WithHTTPClient ¶
func (o *DeleteViewParams) WithHTTPClient(client *http.Client) *DeleteViewParams
WithHTTPClient adds the HTTPClient to the delete view params
func (*DeleteViewParams) WithRequestBody ¶
func (o *DeleteViewParams) WithRequestBody(requestBody *models.ViewDeletionParams) *DeleteViewParams
WithRequestBody adds the requestBody to the delete view params
func (*DeleteViewParams) WithTimeout ¶
func (o *DeleteViewParams) WithTimeout(timeout time.Duration) *DeleteViewParams
WithTimeout adds the timeout to the delete view params
func (*DeleteViewParams) WriteToRequest ¶
func (o *DeleteViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteViewReader ¶
type DeleteViewReader struct {
// contains filtered or unexported fields
}
DeleteViewReader is a Reader for the DeleteView structure.
func (*DeleteViewReader) ReadResponse ¶
func (o *DeleteViewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetViewsBadRequest ¶
GetViewsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetViewsBadRequest ¶
func NewGetViewsBadRequest() *GetViewsBadRequest
NewGetViewsBadRequest creates a GetViewsBadRequest with default headers values
func (*GetViewsBadRequest) Error ¶
func (o *GetViewsBadRequest) Error() string
func (*GetViewsBadRequest) GetPayload ¶
func (o *GetViewsBadRequest) GetPayload() *models.ErrorBody
type GetViewsConnectionBadRequest ¶
GetViewsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetViewsConnectionBadRequest ¶
func NewGetViewsConnectionBadRequest() *GetViewsConnectionBadRequest
NewGetViewsConnectionBadRequest creates a GetViewsConnectionBadRequest with default headers values
func (*GetViewsConnectionBadRequest) Error ¶
func (o *GetViewsConnectionBadRequest) Error() string
func (*GetViewsConnectionBadRequest) GetPayload ¶
func (o *GetViewsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetViewsConnectionInternalServerError ¶
type GetViewsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetViewsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetViewsConnectionInternalServerError ¶
func NewGetViewsConnectionInternalServerError() *GetViewsConnectionInternalServerError
NewGetViewsConnectionInternalServerError creates a GetViewsConnectionInternalServerError with default headers values
func (*GetViewsConnectionInternalServerError) Error ¶
func (o *GetViewsConnectionInternalServerError) Error() string
func (*GetViewsConnectionInternalServerError) GetPayload ¶
func (o *GetViewsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetViewsConnectionNotFound ¶
GetViewsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetViewsConnectionNotFound ¶
func NewGetViewsConnectionNotFound() *GetViewsConnectionNotFound
NewGetViewsConnectionNotFound creates a GetViewsConnectionNotFound with default headers values
func (*GetViewsConnectionNotFound) Error ¶
func (o *GetViewsConnectionNotFound) Error() string
func (*GetViewsConnectionNotFound) GetPayload ¶
func (o *GetViewsConnectionNotFound) GetPayload() *models.ErrorBody
type GetViewsConnectionOK ¶
type GetViewsConnectionOK struct { XTowerRequestID string Payload *models.ViewConnection }
GetViewsConnectionOK describes a response with status code 200, with default header values.
GetViewsConnectionOK get views connection o k
func NewGetViewsConnectionOK ¶
func NewGetViewsConnectionOK() *GetViewsConnectionOK
NewGetViewsConnectionOK creates a GetViewsConnectionOK with default headers values
func (*GetViewsConnectionOK) Error ¶
func (o *GetViewsConnectionOK) Error() string
func (*GetViewsConnectionOK) GetPayload ¶
func (o *GetViewsConnectionOK) GetPayload() *models.ViewConnection
type GetViewsConnectionParams ¶
type GetViewsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetViewsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetViewsConnectionParams contains all the parameters to send to the API endpoint
for the get views connection operation. Typically these are written to a http.Request.
func NewGetViewsConnectionParams ¶
func NewGetViewsConnectionParams() *GetViewsConnectionParams
NewGetViewsConnectionParams creates a new GetViewsConnectionParams 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 NewGetViewsConnectionParamsWithContext ¶
func NewGetViewsConnectionParamsWithContext(ctx context.Context) *GetViewsConnectionParams
NewGetViewsConnectionParamsWithContext creates a new GetViewsConnectionParams object with the ability to set a context for a request.
func NewGetViewsConnectionParamsWithHTTPClient ¶
func NewGetViewsConnectionParamsWithHTTPClient(client *http.Client) *GetViewsConnectionParams
NewGetViewsConnectionParamsWithHTTPClient creates a new GetViewsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetViewsConnectionParamsWithTimeout ¶
func NewGetViewsConnectionParamsWithTimeout(timeout time.Duration) *GetViewsConnectionParams
NewGetViewsConnectionParamsWithTimeout creates a new GetViewsConnectionParams object with the ability to set a timeout on a request.
func (*GetViewsConnectionParams) SetContentLanguage ¶
func (o *GetViewsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get views connection params
func (*GetViewsConnectionParams) SetContext ¶
func (o *GetViewsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get views connection params
func (*GetViewsConnectionParams) SetDefaults ¶
func (o *GetViewsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get views connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetViewsConnectionParams) SetHTTPClient ¶
func (o *GetViewsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get views connection params
func (*GetViewsConnectionParams) SetRequestBody ¶
func (o *GetViewsConnectionParams) SetRequestBody(requestBody *models.GetViewsConnectionRequestBody)
SetRequestBody adds the requestBody to the get views connection params
func (*GetViewsConnectionParams) SetTimeout ¶
func (o *GetViewsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get views connection params
func (*GetViewsConnectionParams) WithContentLanguage ¶
func (o *GetViewsConnectionParams) WithContentLanguage(contentLanguage *string) *GetViewsConnectionParams
WithContentLanguage adds the contentLanguage to the get views connection params
func (*GetViewsConnectionParams) WithContext ¶
func (o *GetViewsConnectionParams) WithContext(ctx context.Context) *GetViewsConnectionParams
WithContext adds the context to the get views connection params
func (*GetViewsConnectionParams) WithDefaults ¶
func (o *GetViewsConnectionParams) WithDefaults() *GetViewsConnectionParams
WithDefaults hydrates default values in the get views connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetViewsConnectionParams) WithHTTPClient ¶
func (o *GetViewsConnectionParams) WithHTTPClient(client *http.Client) *GetViewsConnectionParams
WithHTTPClient adds the HTTPClient to the get views connection params
func (*GetViewsConnectionParams) WithRequestBody ¶
func (o *GetViewsConnectionParams) WithRequestBody(requestBody *models.GetViewsConnectionRequestBody) *GetViewsConnectionParams
WithRequestBody adds the requestBody to the get views connection params
func (*GetViewsConnectionParams) WithTimeout ¶
func (o *GetViewsConnectionParams) WithTimeout(timeout time.Duration) *GetViewsConnectionParams
WithTimeout adds the timeout to the get views connection params
func (*GetViewsConnectionParams) WriteToRequest ¶
func (o *GetViewsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetViewsConnectionReader ¶
type GetViewsConnectionReader struct {
// contains filtered or unexported fields
}
GetViewsConnectionReader is a Reader for the GetViewsConnection structure.
func (*GetViewsConnectionReader) ReadResponse ¶
func (o *GetViewsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetViewsInternalServerError ¶
GetViewsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetViewsInternalServerError ¶
func NewGetViewsInternalServerError() *GetViewsInternalServerError
NewGetViewsInternalServerError creates a GetViewsInternalServerError with default headers values
func (*GetViewsInternalServerError) Error ¶
func (o *GetViewsInternalServerError) Error() string
func (*GetViewsInternalServerError) GetPayload ¶
func (o *GetViewsInternalServerError) GetPayload() *models.ErrorBody
type GetViewsNotFound ¶
GetViewsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetViewsNotFound ¶
func NewGetViewsNotFound() *GetViewsNotFound
NewGetViewsNotFound creates a GetViewsNotFound with default headers values
func (*GetViewsNotFound) Error ¶
func (o *GetViewsNotFound) Error() string
func (*GetViewsNotFound) GetPayload ¶
func (o *GetViewsNotFound) GetPayload() *models.ErrorBody
type GetViewsOK ¶
GetViewsOK describes a response with status code 200, with default header values.
GetViewsOK get views o k
func NewGetViewsOK ¶
func NewGetViewsOK() *GetViewsOK
NewGetViewsOK creates a GetViewsOK with default headers values
func (*GetViewsOK) Error ¶
func (o *GetViewsOK) Error() string
func (*GetViewsOK) GetPayload ¶
func (o *GetViewsOK) GetPayload() []*models.View
type GetViewsParams ¶
type GetViewsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetViewsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetViewsParams contains all the parameters to send to the API endpoint
for the get views operation. Typically these are written to a http.Request.
func NewGetViewsParams ¶
func NewGetViewsParams() *GetViewsParams
NewGetViewsParams creates a new GetViewsParams 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 NewGetViewsParamsWithContext ¶
func NewGetViewsParamsWithContext(ctx context.Context) *GetViewsParams
NewGetViewsParamsWithContext creates a new GetViewsParams object with the ability to set a context for a request.
func NewGetViewsParamsWithHTTPClient ¶
func NewGetViewsParamsWithHTTPClient(client *http.Client) *GetViewsParams
NewGetViewsParamsWithHTTPClient creates a new GetViewsParams object with the ability to set a custom HTTPClient for a request.
func NewGetViewsParamsWithTimeout ¶
func NewGetViewsParamsWithTimeout(timeout time.Duration) *GetViewsParams
NewGetViewsParamsWithTimeout creates a new GetViewsParams object with the ability to set a timeout on a request.
func (*GetViewsParams) SetContentLanguage ¶
func (o *GetViewsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get views params
func (*GetViewsParams) SetContext ¶
func (o *GetViewsParams) SetContext(ctx context.Context)
SetContext adds the context to the get views params
func (*GetViewsParams) SetDefaults ¶
func (o *GetViewsParams) SetDefaults()
SetDefaults hydrates default values in the get views params (not the query body).
All values with no default are reset to their zero value.
func (*GetViewsParams) SetHTTPClient ¶
func (o *GetViewsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get views params
func (*GetViewsParams) SetRequestBody ¶
func (o *GetViewsParams) SetRequestBody(requestBody *models.GetViewsRequestBody)
SetRequestBody adds the requestBody to the get views params
func (*GetViewsParams) SetTimeout ¶
func (o *GetViewsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get views params
func (*GetViewsParams) WithContentLanguage ¶
func (o *GetViewsParams) WithContentLanguage(contentLanguage *string) *GetViewsParams
WithContentLanguage adds the contentLanguage to the get views params
func (*GetViewsParams) WithContext ¶
func (o *GetViewsParams) WithContext(ctx context.Context) *GetViewsParams
WithContext adds the context to the get views params
func (*GetViewsParams) WithDefaults ¶
func (o *GetViewsParams) WithDefaults() *GetViewsParams
WithDefaults hydrates default values in the get views params (not the query body).
All values with no default are reset to their zero value.
func (*GetViewsParams) WithHTTPClient ¶
func (o *GetViewsParams) WithHTTPClient(client *http.Client) *GetViewsParams
WithHTTPClient adds the HTTPClient to the get views params
func (*GetViewsParams) WithRequestBody ¶
func (o *GetViewsParams) WithRequestBody(requestBody *models.GetViewsRequestBody) *GetViewsParams
WithRequestBody adds the requestBody to the get views params
func (*GetViewsParams) WithTimeout ¶
func (o *GetViewsParams) WithTimeout(timeout time.Duration) *GetViewsParams
WithTimeout adds the timeout to the get views params
func (*GetViewsParams) WriteToRequest ¶
func (o *GetViewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetViewsReader ¶
type GetViewsReader struct {
// contains filtered or unexported fields
}
GetViewsReader is a Reader for the GetViews structure.
func (*GetViewsReader) ReadResponse ¶
func (o *GetViewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateViewBadRequest ¶
UpdateViewBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateViewBadRequest ¶
func NewUpdateViewBadRequest() *UpdateViewBadRequest
NewUpdateViewBadRequest creates a UpdateViewBadRequest with default headers values
func (*UpdateViewBadRequest) Error ¶
func (o *UpdateViewBadRequest) Error() string
func (*UpdateViewBadRequest) GetPayload ¶
func (o *UpdateViewBadRequest) GetPayload() *models.ErrorBody
type UpdateViewInternalServerError ¶
UpdateViewInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateViewInternalServerError ¶
func NewUpdateViewInternalServerError() *UpdateViewInternalServerError
NewUpdateViewInternalServerError creates a UpdateViewInternalServerError with default headers values
func (*UpdateViewInternalServerError) Error ¶
func (o *UpdateViewInternalServerError) Error() string
func (*UpdateViewInternalServerError) GetPayload ¶
func (o *UpdateViewInternalServerError) GetPayload() *models.ErrorBody
type UpdateViewNotFound ¶
UpdateViewNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateViewNotFound ¶
func NewUpdateViewNotFound() *UpdateViewNotFound
NewUpdateViewNotFound creates a UpdateViewNotFound with default headers values
func (*UpdateViewNotFound) Error ¶
func (o *UpdateViewNotFound) Error() string
func (*UpdateViewNotFound) GetPayload ¶
func (o *UpdateViewNotFound) GetPayload() *models.ErrorBody
type UpdateViewOK ¶
type UpdateViewOK struct { XTowerRequestID string Payload []*models.WithTaskView }
UpdateViewOK describes a response with status code 200, with default header values.
UpdateViewOK update view o k
func NewUpdateViewOK ¶
func NewUpdateViewOK() *UpdateViewOK
NewUpdateViewOK creates a UpdateViewOK with default headers values
func (*UpdateViewOK) Error ¶
func (o *UpdateViewOK) Error() string
func (*UpdateViewOK) GetPayload ¶
func (o *UpdateViewOK) GetPayload() []*models.WithTaskView
type UpdateViewParams ¶
type UpdateViewParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ViewUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateViewParams contains all the parameters to send to the API endpoint
for the update view operation. Typically these are written to a http.Request.
func NewUpdateViewParams ¶
func NewUpdateViewParams() *UpdateViewParams
NewUpdateViewParams creates a new UpdateViewParams 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 NewUpdateViewParamsWithContext ¶
func NewUpdateViewParamsWithContext(ctx context.Context) *UpdateViewParams
NewUpdateViewParamsWithContext creates a new UpdateViewParams object with the ability to set a context for a request.
func NewUpdateViewParamsWithHTTPClient ¶
func NewUpdateViewParamsWithHTTPClient(client *http.Client) *UpdateViewParams
NewUpdateViewParamsWithHTTPClient creates a new UpdateViewParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateViewParamsWithTimeout ¶
func NewUpdateViewParamsWithTimeout(timeout time.Duration) *UpdateViewParams
NewUpdateViewParamsWithTimeout creates a new UpdateViewParams object with the ability to set a timeout on a request.
func (*UpdateViewParams) SetContentLanguage ¶
func (o *UpdateViewParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update view params
func (*UpdateViewParams) SetContext ¶
func (o *UpdateViewParams) SetContext(ctx context.Context)
SetContext adds the context to the update view params
func (*UpdateViewParams) SetDefaults ¶
func (o *UpdateViewParams) SetDefaults()
SetDefaults hydrates default values in the update view params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateViewParams) SetHTTPClient ¶
func (o *UpdateViewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update view params
func (*UpdateViewParams) SetRequestBody ¶
func (o *UpdateViewParams) SetRequestBody(requestBody *models.ViewUpdationParams)
SetRequestBody adds the requestBody to the update view params
func (*UpdateViewParams) SetTimeout ¶
func (o *UpdateViewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update view params
func (*UpdateViewParams) WithContentLanguage ¶
func (o *UpdateViewParams) WithContentLanguage(contentLanguage *string) *UpdateViewParams
WithContentLanguage adds the contentLanguage to the update view params
func (*UpdateViewParams) WithContext ¶
func (o *UpdateViewParams) WithContext(ctx context.Context) *UpdateViewParams
WithContext adds the context to the update view params
func (*UpdateViewParams) WithDefaults ¶
func (o *UpdateViewParams) WithDefaults() *UpdateViewParams
WithDefaults hydrates default values in the update view params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateViewParams) WithHTTPClient ¶
func (o *UpdateViewParams) WithHTTPClient(client *http.Client) *UpdateViewParams
WithHTTPClient adds the HTTPClient to the update view params
func (*UpdateViewParams) WithRequestBody ¶
func (o *UpdateViewParams) WithRequestBody(requestBody *models.ViewUpdationParams) *UpdateViewParams
WithRequestBody adds the requestBody to the update view params
func (*UpdateViewParams) WithTimeout ¶
func (o *UpdateViewParams) WithTimeout(timeout time.Duration) *UpdateViewParams
WithTimeout adds the timeout to the update view params
func (*UpdateViewParams) WriteToRequest ¶
func (o *UpdateViewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateViewReader ¶
type UpdateViewReader struct {
// contains filtered or unexported fields
}
UpdateViewReader is a Reader for the UpdateView structure.
func (*UpdateViewReader) ReadResponse ¶
func (o *UpdateViewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.