view

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 12 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 view API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ViewBulkCopy

func (a *Client) ViewBulkCopy(params *ViewBulkCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewBulkCopyCreated, error)
ViewBulkCopy copies the specified auth zone and forward zone objects in the view

Use this method to bulk copy __AuthZone__ and __ForwardZone__ objects from one __View__ object to another __View__ object.

The __AuthZone__ object represents an authoritative zone. The __ForwardZone__ object represents a forwarding zone.

func (*Client) ViewCreate

func (a *Client) ViewCreate(params *ViewCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewCreateCreated, error)
ViewCreate creates the view object

Use this method to create a View object.

Named collection of DNS View settings.

func (*Client) ViewDelete

func (a *Client) ViewDelete(params *ViewDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewDeleteNoContent, error)
ViewDelete moves the view object to recyclebin

Use this method to move a View object to Recyclebin.

Named collection of DNS View settings.

func (*Client) ViewList

func (a *Client) ViewList(params *ViewListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewListOK, error)
ViewList lists view objects

Use this method to list View objects.

Named collection of DNS View settings.

func (*Client) ViewRead

func (a *Client) ViewRead(params *ViewReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewReadOK, error)
ViewRead reads the view object

Use this method to read a View object.

Named collection of DNS View settings.

func (*Client) ViewUpdate

func (a *Client) ViewUpdate(params *ViewUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewUpdateCreated, error)
ViewUpdate updates the view object

Use this method to update a View object.

Named collection of DNS View settings.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ViewBulkCopy(params *ViewBulkCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewBulkCopyCreated, error)

	ViewCreate(params *ViewCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewCreateCreated, error)

	ViewDelete(params *ViewDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewDeleteNoContent, error)

	ViewList(params *ViewListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewListOK, error)

	ViewRead(params *ViewReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewReadOK, error)

	ViewUpdate(params *ViewUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ViewUpdateCreated, 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 ViewBulkCopyCreated

type ViewBulkCopyCreated struct {
	Payload *models.ConfigBulkCopyViewResponse
}
ViewBulkCopyCreated describes a response with status code 201, with default header values.

POST operation response

func NewViewBulkCopyCreated

func NewViewBulkCopyCreated() *ViewBulkCopyCreated

NewViewBulkCopyCreated creates a ViewBulkCopyCreated with default headers values

func (*ViewBulkCopyCreated) Error

func (o *ViewBulkCopyCreated) Error() string

func (*ViewBulkCopyCreated) GetPayload

type ViewBulkCopyParams

type ViewBulkCopyParams struct {

	// Body.
	Body *models.ConfigBulkCopyView

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewBulkCopyParams contains all the parameters to send to the API endpoint

for the view bulk copy operation.

Typically these are written to a http.Request.

func NewViewBulkCopyParams

func NewViewBulkCopyParams() *ViewBulkCopyParams

NewViewBulkCopyParams creates a new ViewBulkCopyParams 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 NewViewBulkCopyParamsWithContext

func NewViewBulkCopyParamsWithContext(ctx context.Context) *ViewBulkCopyParams

NewViewBulkCopyParamsWithContext creates a new ViewBulkCopyParams object with the ability to set a context for a request.

func NewViewBulkCopyParamsWithHTTPClient

func NewViewBulkCopyParamsWithHTTPClient(client *http.Client) *ViewBulkCopyParams

NewViewBulkCopyParamsWithHTTPClient creates a new ViewBulkCopyParams object with the ability to set a custom HTTPClient for a request.

func NewViewBulkCopyParamsWithTimeout

func NewViewBulkCopyParamsWithTimeout(timeout time.Duration) *ViewBulkCopyParams

NewViewBulkCopyParamsWithTimeout creates a new ViewBulkCopyParams object with the ability to set a timeout on a request.

func (*ViewBulkCopyParams) SetBody

func (o *ViewBulkCopyParams) SetBody(body *models.ConfigBulkCopyView)

SetBody adds the body to the view bulk copy params

func (*ViewBulkCopyParams) SetContext

func (o *ViewBulkCopyParams) SetContext(ctx context.Context)

SetContext adds the context to the view bulk copy params

func (*ViewBulkCopyParams) SetDefaults

func (o *ViewBulkCopyParams) SetDefaults()

SetDefaults hydrates default values in the view bulk copy params (not the query body).

All values with no default are reset to their zero value.

func (*ViewBulkCopyParams) SetHTTPClient

func (o *ViewBulkCopyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view bulk copy params

func (*ViewBulkCopyParams) SetTimeout

func (o *ViewBulkCopyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view bulk copy params

func (*ViewBulkCopyParams) WithBody

WithBody adds the body to the view bulk copy params

func (*ViewBulkCopyParams) WithContext

WithContext adds the context to the view bulk copy params

func (*ViewBulkCopyParams) WithDefaults

func (o *ViewBulkCopyParams) WithDefaults() *ViewBulkCopyParams

WithDefaults hydrates default values in the view bulk copy params (not the query body).

All values with no default are reset to their zero value.

func (*ViewBulkCopyParams) WithHTTPClient

func (o *ViewBulkCopyParams) WithHTTPClient(client *http.Client) *ViewBulkCopyParams

WithHTTPClient adds the HTTPClient to the view bulk copy params

func (*ViewBulkCopyParams) WithTimeout

func (o *ViewBulkCopyParams) WithTimeout(timeout time.Duration) *ViewBulkCopyParams

WithTimeout adds the timeout to the view bulk copy params

func (*ViewBulkCopyParams) WriteToRequest

func (o *ViewBulkCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewBulkCopyReader

type ViewBulkCopyReader struct {
	// contains filtered or unexported fields
}

ViewBulkCopyReader is a Reader for the ViewBulkCopy structure.

func (*ViewBulkCopyReader) ReadResponse

func (o *ViewBulkCopyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ViewCreateCreated

type ViewCreateCreated struct {
	Payload *models.ConfigCreateViewResponse
}
ViewCreateCreated describes a response with status code 201, with default header values.

POST operation response

func NewViewCreateCreated

func NewViewCreateCreated() *ViewCreateCreated

NewViewCreateCreated creates a ViewCreateCreated with default headers values

func (*ViewCreateCreated) Error

func (o *ViewCreateCreated) Error() string

func (*ViewCreateCreated) GetPayload

type ViewCreateParams

type ViewCreateParams struct {

	// Body.
	Body *models.ConfigView

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewCreateParams contains all the parameters to send to the API endpoint

for the view create operation.

Typically these are written to a http.Request.

func NewViewCreateParams

func NewViewCreateParams() *ViewCreateParams

NewViewCreateParams creates a new ViewCreateParams 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 NewViewCreateParamsWithContext

func NewViewCreateParamsWithContext(ctx context.Context) *ViewCreateParams

NewViewCreateParamsWithContext creates a new ViewCreateParams object with the ability to set a context for a request.

func NewViewCreateParamsWithHTTPClient

func NewViewCreateParamsWithHTTPClient(client *http.Client) *ViewCreateParams

NewViewCreateParamsWithHTTPClient creates a new ViewCreateParams object with the ability to set a custom HTTPClient for a request.

func NewViewCreateParamsWithTimeout

func NewViewCreateParamsWithTimeout(timeout time.Duration) *ViewCreateParams

NewViewCreateParamsWithTimeout creates a new ViewCreateParams object with the ability to set a timeout on a request.

func (*ViewCreateParams) SetBody

func (o *ViewCreateParams) SetBody(body *models.ConfigView)

SetBody adds the body to the view create params

func (*ViewCreateParams) SetContext

func (o *ViewCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the view create params

func (*ViewCreateParams) SetDefaults

func (o *ViewCreateParams) SetDefaults()

SetDefaults hydrates default values in the view create params (not the query body).

All values with no default are reset to their zero value.

func (*ViewCreateParams) SetHTTPClient

func (o *ViewCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view create params

func (*ViewCreateParams) SetTimeout

func (o *ViewCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view create params

func (*ViewCreateParams) WithBody

func (o *ViewCreateParams) WithBody(body *models.ConfigView) *ViewCreateParams

WithBody adds the body to the view create params

func (*ViewCreateParams) WithContext

func (o *ViewCreateParams) WithContext(ctx context.Context) *ViewCreateParams

WithContext adds the context to the view create params

func (*ViewCreateParams) WithDefaults

func (o *ViewCreateParams) WithDefaults() *ViewCreateParams

WithDefaults hydrates default values in the view create params (not the query body).

All values with no default are reset to their zero value.

func (*ViewCreateParams) WithHTTPClient

func (o *ViewCreateParams) WithHTTPClient(client *http.Client) *ViewCreateParams

WithHTTPClient adds the HTTPClient to the view create params

func (*ViewCreateParams) WithTimeout

func (o *ViewCreateParams) WithTimeout(timeout time.Duration) *ViewCreateParams

WithTimeout adds the timeout to the view create params

func (*ViewCreateParams) WriteToRequest

func (o *ViewCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewCreateReader

type ViewCreateReader struct {
	// contains filtered or unexported fields
}

ViewCreateReader is a Reader for the ViewCreate structure.

func (*ViewCreateReader) ReadResponse

func (o *ViewCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ViewDeleteNoContent

type ViewDeleteNoContent struct {
}
ViewDeleteNoContent describes a response with status code 204, with default header values.

No Content

func NewViewDeleteNoContent

func NewViewDeleteNoContent() *ViewDeleteNoContent

NewViewDeleteNoContent creates a ViewDeleteNoContent with default headers values

func (*ViewDeleteNoContent) Error

func (o *ViewDeleteNoContent) Error() string

type ViewDeleteParams

type ViewDeleteParams struct {

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewDeleteParams contains all the parameters to send to the API endpoint

for the view delete operation.

Typically these are written to a http.Request.

func NewViewDeleteParams

func NewViewDeleteParams() *ViewDeleteParams

NewViewDeleteParams creates a new ViewDeleteParams 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 NewViewDeleteParamsWithContext

func NewViewDeleteParamsWithContext(ctx context.Context) *ViewDeleteParams

NewViewDeleteParamsWithContext creates a new ViewDeleteParams object with the ability to set a context for a request.

func NewViewDeleteParamsWithHTTPClient

func NewViewDeleteParamsWithHTTPClient(client *http.Client) *ViewDeleteParams

NewViewDeleteParamsWithHTTPClient creates a new ViewDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewViewDeleteParamsWithTimeout

func NewViewDeleteParamsWithTimeout(timeout time.Duration) *ViewDeleteParams

NewViewDeleteParamsWithTimeout creates a new ViewDeleteParams object with the ability to set a timeout on a request.

func (*ViewDeleteParams) SetContext

func (o *ViewDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the view delete params

func (*ViewDeleteParams) SetDefaults

func (o *ViewDeleteParams) SetDefaults()

SetDefaults hydrates default values in the view delete params (not the query body).

All values with no default are reset to their zero value.

func (*ViewDeleteParams) SetHTTPClient

func (o *ViewDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view delete params

func (*ViewDeleteParams) SetID

func (o *ViewDeleteParams) SetID(id string)

SetID adds the id to the view delete params

func (*ViewDeleteParams) SetTimeout

func (o *ViewDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view delete params

func (*ViewDeleteParams) WithContext

func (o *ViewDeleteParams) WithContext(ctx context.Context) *ViewDeleteParams

WithContext adds the context to the view delete params

func (*ViewDeleteParams) WithDefaults

func (o *ViewDeleteParams) WithDefaults() *ViewDeleteParams

WithDefaults hydrates default values in the view delete params (not the query body).

All values with no default are reset to their zero value.

func (*ViewDeleteParams) WithHTTPClient

func (o *ViewDeleteParams) WithHTTPClient(client *http.Client) *ViewDeleteParams

WithHTTPClient adds the HTTPClient to the view delete params

func (*ViewDeleteParams) WithID

func (o *ViewDeleteParams) WithID(id string) *ViewDeleteParams

WithID adds the id to the view delete params

func (*ViewDeleteParams) WithTimeout

func (o *ViewDeleteParams) WithTimeout(timeout time.Duration) *ViewDeleteParams

WithTimeout adds the timeout to the view delete params

func (*ViewDeleteParams) WriteToRequest

func (o *ViewDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewDeleteReader

type ViewDeleteReader struct {
	// contains filtered or unexported fields
}

ViewDeleteReader is a Reader for the ViewDelete structure.

func (*ViewDeleteReader) ReadResponse

func (o *ViewDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ViewListOK

type ViewListOK struct {
	Payload *models.ConfigListViewResponse
}
ViewListOK describes a response with status code 200, with default header values.

GET operation response

func NewViewListOK

func NewViewListOK() *ViewListOK

NewViewListOK creates a ViewListOK with default headers values

func (*ViewListOK) Error

func (o *ViewListOK) Error() string

func (*ViewListOK) GetPayload

func (o *ViewListOK) GetPayload() *models.ConfigListViewResponse

type ViewListParams

type ViewListParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* Filter.



	A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null.

	Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions:

	|  Op   |  Description               |
	|  --   |  -----------               |
	|  ==   |  Equal                     |
	|  !=   |  Not Equal                 |
	|  >    |  Greater Than              |
	|   >=  |  Greater Than or Equal To  |
	|  <    |  Less Than                 |
	|  <=   |  Less Than or Equal To     |
	|  and  |  Logical AND               |
	|  ~    |  Matches Regex             |
	|  !~   |  Does Not Match Regex      |
	|  or   |  Logical OR                |
	|  not  |  Logical NOT               |
	|  ()   |  Groupping Operators       |


	*/
	Filter *string

	/* Limit.



	The integer number of resources to be returned in the response. The service may impose maximum value. If omitted the service may impose a default value.


	*/
	Limit *int64

	/* Offset.



	The integer index (zero-origin) of the offset into a collection of resources. If omitted or null the value is assumed to be '0'.


	*/
	Offset *int64

	/* OrderBy.



	A collection of response resources can be sorted by their JSON tags. For a 'flat' resource, the tag name is straightforward. If sorting is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, its value is assumed to be null.)

	Specify this parameter as a comma-separated list of JSON tag names. The sort direction can be specified by a suffix separated by whitespace before the tag name. The suffix 'asc' sorts the data in ascending order. The suffix 'desc' sorts the data in descending order. If no suffix is specified the data is sorted in ascending order.


	*/
	OrderBy *string

	/* PageToken.



	The service-defined string used to identify a page of resources. A null value indicates the first page.


	*/
	PageToken *string

	/* Tfilter.

	   This parameter is used for filtering by tags.
	*/
	Tfilter *string

	/* TorderBy.

	   This parameter is used for sorting by tags.
	*/
	TorderBy *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewListParams contains all the parameters to send to the API endpoint

for the view list operation.

Typically these are written to a http.Request.

func NewViewListParams

func NewViewListParams() *ViewListParams

NewViewListParams creates a new ViewListParams 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 NewViewListParamsWithContext

func NewViewListParamsWithContext(ctx context.Context) *ViewListParams

NewViewListParamsWithContext creates a new ViewListParams object with the ability to set a context for a request.

func NewViewListParamsWithHTTPClient

func NewViewListParamsWithHTTPClient(client *http.Client) *ViewListParams

NewViewListParamsWithHTTPClient creates a new ViewListParams object with the ability to set a custom HTTPClient for a request.

func NewViewListParamsWithTimeout

func NewViewListParamsWithTimeout(timeout time.Duration) *ViewListParams

NewViewListParamsWithTimeout creates a new ViewListParams object with the ability to set a timeout on a request.

func (*ViewListParams) SetContext

func (o *ViewListParams) SetContext(ctx context.Context)

SetContext adds the context to the view list params

func (*ViewListParams) SetDefaults

func (o *ViewListParams) SetDefaults()

SetDefaults hydrates default values in the view list params (not the query body).

All values with no default are reset to their zero value.

func (*ViewListParams) SetFields

func (o *ViewListParams) SetFields(fields *string)

SetFields adds the fields to the view list params

func (*ViewListParams) SetFilter

func (o *ViewListParams) SetFilter(filter *string)

SetFilter adds the filter to the view list params

func (*ViewListParams) SetHTTPClient

func (o *ViewListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view list params

func (*ViewListParams) SetLimit

func (o *ViewListParams) SetLimit(limit *int64)

SetLimit adds the limit to the view list params

func (*ViewListParams) SetOffset

func (o *ViewListParams) SetOffset(offset *int64)

SetOffset adds the offset to the view list params

func (*ViewListParams) SetOrderBy

func (o *ViewListParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the view list params

func (*ViewListParams) SetPageToken

func (o *ViewListParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the view list params

func (*ViewListParams) SetTfilter

func (o *ViewListParams) SetTfilter(tfilter *string)

SetTfilter adds the tfilter to the view list params

func (*ViewListParams) SetTimeout

func (o *ViewListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view list params

func (*ViewListParams) SetTorderBy

func (o *ViewListParams) SetTorderBy(torderBy *string)

SetTorderBy adds the torderBy to the view list params

func (*ViewListParams) WithContext

func (o *ViewListParams) WithContext(ctx context.Context) *ViewListParams

WithContext adds the context to the view list params

func (*ViewListParams) WithDefaults

func (o *ViewListParams) WithDefaults() *ViewListParams

WithDefaults hydrates default values in the view list params (not the query body).

All values with no default are reset to their zero value.

func (*ViewListParams) WithFields

func (o *ViewListParams) WithFields(fields *string) *ViewListParams

WithFields adds the fields to the view list params

func (*ViewListParams) WithFilter

func (o *ViewListParams) WithFilter(filter *string) *ViewListParams

WithFilter adds the filter to the view list params

func (*ViewListParams) WithHTTPClient

func (o *ViewListParams) WithHTTPClient(client *http.Client) *ViewListParams

WithHTTPClient adds the HTTPClient to the view list params

func (*ViewListParams) WithLimit

func (o *ViewListParams) WithLimit(limit *int64) *ViewListParams

WithLimit adds the limit to the view list params

func (*ViewListParams) WithOffset

func (o *ViewListParams) WithOffset(offset *int64) *ViewListParams

WithOffset adds the offset to the view list params

func (*ViewListParams) WithOrderBy

func (o *ViewListParams) WithOrderBy(orderBy *string) *ViewListParams

WithOrderBy adds the orderBy to the view list params

func (*ViewListParams) WithPageToken

func (o *ViewListParams) WithPageToken(pageToken *string) *ViewListParams

WithPageToken adds the pageToken to the view list params

func (*ViewListParams) WithTfilter

func (o *ViewListParams) WithTfilter(tfilter *string) *ViewListParams

WithTfilter adds the tfilter to the view list params

func (*ViewListParams) WithTimeout

func (o *ViewListParams) WithTimeout(timeout time.Duration) *ViewListParams

WithTimeout adds the timeout to the view list params

func (*ViewListParams) WithTorderBy

func (o *ViewListParams) WithTorderBy(torderBy *string) *ViewListParams

WithTorderBy adds the torderBy to the view list params

func (*ViewListParams) WriteToRequest

func (o *ViewListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewListReader

type ViewListReader struct {
	// contains filtered or unexported fields
}

ViewListReader is a Reader for the ViewList structure.

func (*ViewListReader) ReadResponse

func (o *ViewListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ViewReadOK

type ViewReadOK struct {
	Payload *models.ConfigReadViewResponse
}
ViewReadOK describes a response with status code 200, with default header values.

GET operation response

func NewViewReadOK

func NewViewReadOK() *ViewReadOK

NewViewReadOK creates a ViewReadOK with default headers values

func (*ViewReadOK) Error

func (o *ViewReadOK) Error() string

func (*ViewReadOK) GetPayload

func (o *ViewReadOK) GetPayload() *models.ConfigReadViewResponse

type ViewReadParams

type ViewReadParams struct {

	/* Fields.



	A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource.

	Specify this parameter as a comma-separated list of JSON tag names.


	*/
	Fields *string

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewReadParams contains all the parameters to send to the API endpoint

for the view read operation.

Typically these are written to a http.Request.

func NewViewReadParams

func NewViewReadParams() *ViewReadParams

NewViewReadParams creates a new ViewReadParams 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 NewViewReadParamsWithContext

func NewViewReadParamsWithContext(ctx context.Context) *ViewReadParams

NewViewReadParamsWithContext creates a new ViewReadParams object with the ability to set a context for a request.

func NewViewReadParamsWithHTTPClient

func NewViewReadParamsWithHTTPClient(client *http.Client) *ViewReadParams

NewViewReadParamsWithHTTPClient creates a new ViewReadParams object with the ability to set a custom HTTPClient for a request.

func NewViewReadParamsWithTimeout

func NewViewReadParamsWithTimeout(timeout time.Duration) *ViewReadParams

NewViewReadParamsWithTimeout creates a new ViewReadParams object with the ability to set a timeout on a request.

func (*ViewReadParams) SetContext

func (o *ViewReadParams) SetContext(ctx context.Context)

SetContext adds the context to the view read params

func (*ViewReadParams) SetDefaults

func (o *ViewReadParams) SetDefaults()

SetDefaults hydrates default values in the view read params (not the query body).

All values with no default are reset to their zero value.

func (*ViewReadParams) SetFields

func (o *ViewReadParams) SetFields(fields *string)

SetFields adds the fields to the view read params

func (*ViewReadParams) SetHTTPClient

func (o *ViewReadParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view read params

func (*ViewReadParams) SetID

func (o *ViewReadParams) SetID(id string)

SetID adds the id to the view read params

func (*ViewReadParams) SetTimeout

func (o *ViewReadParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view read params

func (*ViewReadParams) WithContext

func (o *ViewReadParams) WithContext(ctx context.Context) *ViewReadParams

WithContext adds the context to the view read params

func (*ViewReadParams) WithDefaults

func (o *ViewReadParams) WithDefaults() *ViewReadParams

WithDefaults hydrates default values in the view read params (not the query body).

All values with no default are reset to their zero value.

func (*ViewReadParams) WithFields

func (o *ViewReadParams) WithFields(fields *string) *ViewReadParams

WithFields adds the fields to the view read params

func (*ViewReadParams) WithHTTPClient

func (o *ViewReadParams) WithHTTPClient(client *http.Client) *ViewReadParams

WithHTTPClient adds the HTTPClient to the view read params

func (*ViewReadParams) WithID

func (o *ViewReadParams) WithID(id string) *ViewReadParams

WithID adds the id to the view read params

func (*ViewReadParams) WithTimeout

func (o *ViewReadParams) WithTimeout(timeout time.Duration) *ViewReadParams

WithTimeout adds the timeout to the view read params

func (*ViewReadParams) WriteToRequest

func (o *ViewReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewReadReader

type ViewReadReader struct {
	// contains filtered or unexported fields
}

ViewReadReader is a Reader for the ViewRead structure.

func (*ViewReadReader) ReadResponse

func (o *ViewReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ViewUpdateCreated

type ViewUpdateCreated struct {
	Payload *models.ConfigUpdateViewResponse
}
ViewUpdateCreated describes a response with status code 201, with default header values.

PATCH operation response

func NewViewUpdateCreated

func NewViewUpdateCreated() *ViewUpdateCreated

NewViewUpdateCreated creates a ViewUpdateCreated with default headers values

func (*ViewUpdateCreated) Error

func (o *ViewUpdateCreated) Error() string

func (*ViewUpdateCreated) GetPayload

type ViewUpdateParams

type ViewUpdateParams struct {

	// Body.
	Body *models.ConfigView

	/* ID.

	   An application specific resource identity of a resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ViewUpdateParams contains all the parameters to send to the API endpoint

for the view update operation.

Typically these are written to a http.Request.

func NewViewUpdateParams

func NewViewUpdateParams() *ViewUpdateParams

NewViewUpdateParams creates a new ViewUpdateParams 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 NewViewUpdateParamsWithContext

func NewViewUpdateParamsWithContext(ctx context.Context) *ViewUpdateParams

NewViewUpdateParamsWithContext creates a new ViewUpdateParams object with the ability to set a context for a request.

func NewViewUpdateParamsWithHTTPClient

func NewViewUpdateParamsWithHTTPClient(client *http.Client) *ViewUpdateParams

NewViewUpdateParamsWithHTTPClient creates a new ViewUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewViewUpdateParamsWithTimeout

func NewViewUpdateParamsWithTimeout(timeout time.Duration) *ViewUpdateParams

NewViewUpdateParamsWithTimeout creates a new ViewUpdateParams object with the ability to set a timeout on a request.

func (*ViewUpdateParams) SetBody

func (o *ViewUpdateParams) SetBody(body *models.ConfigView)

SetBody adds the body to the view update params

func (*ViewUpdateParams) SetContext

func (o *ViewUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the view update params

func (*ViewUpdateParams) SetDefaults

func (o *ViewUpdateParams) SetDefaults()

SetDefaults hydrates default values in the view update params (not the query body).

All values with no default are reset to their zero value.

func (*ViewUpdateParams) SetHTTPClient

func (o *ViewUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view update params

func (*ViewUpdateParams) SetID

func (o *ViewUpdateParams) SetID(id string)

SetID adds the id to the view update params

func (*ViewUpdateParams) SetTimeout

func (o *ViewUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view update params

func (*ViewUpdateParams) WithBody

func (o *ViewUpdateParams) WithBody(body *models.ConfigView) *ViewUpdateParams

WithBody adds the body to the view update params

func (*ViewUpdateParams) WithContext

func (o *ViewUpdateParams) WithContext(ctx context.Context) *ViewUpdateParams

WithContext adds the context to the view update params

func (*ViewUpdateParams) WithDefaults

func (o *ViewUpdateParams) WithDefaults() *ViewUpdateParams

WithDefaults hydrates default values in the view update params (not the query body).

All values with no default are reset to their zero value.

func (*ViewUpdateParams) WithHTTPClient

func (o *ViewUpdateParams) WithHTTPClient(client *http.Client) *ViewUpdateParams

WithHTTPClient adds the HTTPClient to the view update params

func (*ViewUpdateParams) WithID

func (o *ViewUpdateParams) WithID(id string) *ViewUpdateParams

WithID adds the id to the view update params

func (*ViewUpdateParams) WithTimeout

func (o *ViewUpdateParams) WithTimeout(timeout time.Duration) *ViewUpdateParams

WithTimeout adds the timeout to the view update params

func (*ViewUpdateParams) WriteToRequest

func (o *ViewUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ViewUpdateReader

type ViewUpdateReader struct {
	// contains filtered or unexported fields
}

ViewUpdateReader is a Reader for the ViewUpdate structure.

func (*ViewUpdateReader) ReadResponse

func (o *ViewUpdateReader) 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