forward_zone

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 forward zone API

func (*Client) ForwardZoneCopy

func (a *Client) ForwardZoneCopy(params *ForwardZoneCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneCopyCreated, error)
ForwardZoneCopy copies the forward zone object

Use this method to copy an __ForwardZone__ object to a different __View__.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) ForwardZoneCreate

func (a *Client) ForwardZoneCreate(params *ForwardZoneCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneCreateCreated, error)
ForwardZoneCreate creates the forward zone object

Use this method to create a ForwardZone object.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) ForwardZoneDelete

func (a *Client) ForwardZoneDelete(params *ForwardZoneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneDeleteNoContent, error)
ForwardZoneDelete moves the forward zone object to recyclebin

Use this method to move a Forward Zone object to Recyclebin.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) ForwardZoneList

func (a *Client) ForwardZoneList(params *ForwardZoneListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneListOK, error)
ForwardZoneList lists forward zone objects

Use this method to list Forward Zone objects.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) ForwardZoneRead

func (a *Client) ForwardZoneRead(params *ForwardZoneReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneReadOK, error)
ForwardZoneRead reads the forward zone object

Use this method to read a Forward Zone object.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) ForwardZoneUpdate

func (a *Client) ForwardZoneUpdate(params *ForwardZoneUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneUpdateCreated, error)
ForwardZoneUpdate updates the forward zone object

Use this method to update a Forward Zone object.

This object (_dns/forward_zone_) represents a forwarding zone.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ForwardZoneCopy(params *ForwardZoneCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneCopyCreated, error)

	ForwardZoneCreate(params *ForwardZoneCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneCreateCreated, error)

	ForwardZoneDelete(params *ForwardZoneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneDeleteNoContent, error)

	ForwardZoneList(params *ForwardZoneListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneListOK, error)

	ForwardZoneRead(params *ForwardZoneReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneReadOK, error)

	ForwardZoneUpdate(params *ForwardZoneUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardZoneUpdateCreated, 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 forward zone API client.

type ForwardZoneCopyCreated

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

POST operation response

func NewForwardZoneCopyCreated

func NewForwardZoneCopyCreated() *ForwardZoneCopyCreated

NewForwardZoneCopyCreated creates a ForwardZoneCopyCreated with default headers values

func (*ForwardZoneCopyCreated) Error

func (o *ForwardZoneCopyCreated) Error() string

func (*ForwardZoneCopyCreated) GetPayload

type ForwardZoneCopyParams

type ForwardZoneCopyParams struct {

	// Body.
	Body *models.ConfigCopyForwardZone

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

ForwardZoneCopyParams contains all the parameters to send to the API endpoint

for the forward zone copy operation.

Typically these are written to a http.Request.

func NewForwardZoneCopyParams

func NewForwardZoneCopyParams() *ForwardZoneCopyParams

NewForwardZoneCopyParams creates a new ForwardZoneCopyParams 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 NewForwardZoneCopyParamsWithContext

func NewForwardZoneCopyParamsWithContext(ctx context.Context) *ForwardZoneCopyParams

NewForwardZoneCopyParamsWithContext creates a new ForwardZoneCopyParams object with the ability to set a context for a request.

func NewForwardZoneCopyParamsWithHTTPClient

func NewForwardZoneCopyParamsWithHTTPClient(client *http.Client) *ForwardZoneCopyParams

NewForwardZoneCopyParamsWithHTTPClient creates a new ForwardZoneCopyParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneCopyParamsWithTimeout

func NewForwardZoneCopyParamsWithTimeout(timeout time.Duration) *ForwardZoneCopyParams

NewForwardZoneCopyParamsWithTimeout creates a new ForwardZoneCopyParams object with the ability to set a timeout on a request.

func (*ForwardZoneCopyParams) SetBody

SetBody adds the body to the forward zone copy params

func (*ForwardZoneCopyParams) SetContext

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

SetContext adds the context to the forward zone copy params

func (*ForwardZoneCopyParams) SetDefaults

func (o *ForwardZoneCopyParams) SetDefaults()

SetDefaults hydrates default values in the forward zone copy params (not the query body).

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

func (*ForwardZoneCopyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone copy params

func (*ForwardZoneCopyParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone copy params

func (*ForwardZoneCopyParams) WithBody

WithBody adds the body to the forward zone copy params

func (*ForwardZoneCopyParams) WithContext

WithContext adds the context to the forward zone copy params

func (*ForwardZoneCopyParams) WithDefaults

func (o *ForwardZoneCopyParams) WithDefaults() *ForwardZoneCopyParams

WithDefaults hydrates default values in the forward zone copy params (not the query body).

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

func (*ForwardZoneCopyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone copy params

func (*ForwardZoneCopyParams) WithTimeout

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

WithTimeout adds the timeout to the forward zone copy params

func (*ForwardZoneCopyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForwardZoneCopyReader

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

ForwardZoneCopyReader is a Reader for the ForwardZoneCopy structure.

func (*ForwardZoneCopyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardZoneCreateCreated

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

POST operation response

func NewForwardZoneCreateCreated

func NewForwardZoneCreateCreated() *ForwardZoneCreateCreated

NewForwardZoneCreateCreated creates a ForwardZoneCreateCreated with default headers values

func (*ForwardZoneCreateCreated) Error

func (o *ForwardZoneCreateCreated) Error() string

func (*ForwardZoneCreateCreated) GetPayload

type ForwardZoneCreateParams

type ForwardZoneCreateParams struct {

	// Body.
	Body *models.ConfigForwardZone

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

ForwardZoneCreateParams contains all the parameters to send to the API endpoint

for the forward zone create operation.

Typically these are written to a http.Request.

func NewForwardZoneCreateParams

func NewForwardZoneCreateParams() *ForwardZoneCreateParams

NewForwardZoneCreateParams creates a new ForwardZoneCreateParams 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 NewForwardZoneCreateParamsWithContext

func NewForwardZoneCreateParamsWithContext(ctx context.Context) *ForwardZoneCreateParams

NewForwardZoneCreateParamsWithContext creates a new ForwardZoneCreateParams object with the ability to set a context for a request.

func NewForwardZoneCreateParamsWithHTTPClient

func NewForwardZoneCreateParamsWithHTTPClient(client *http.Client) *ForwardZoneCreateParams

NewForwardZoneCreateParamsWithHTTPClient creates a new ForwardZoneCreateParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneCreateParamsWithTimeout

func NewForwardZoneCreateParamsWithTimeout(timeout time.Duration) *ForwardZoneCreateParams

NewForwardZoneCreateParamsWithTimeout creates a new ForwardZoneCreateParams object with the ability to set a timeout on a request.

func (*ForwardZoneCreateParams) SetBody

SetBody adds the body to the forward zone create params

func (*ForwardZoneCreateParams) SetContext

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

SetContext adds the context to the forward zone create params

func (*ForwardZoneCreateParams) SetDefaults

func (o *ForwardZoneCreateParams) SetDefaults()

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

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

func (*ForwardZoneCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone create params

func (*ForwardZoneCreateParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone create params

func (*ForwardZoneCreateParams) WithBody

WithBody adds the body to the forward zone create params

func (*ForwardZoneCreateParams) WithContext

WithContext adds the context to the forward zone create params

func (*ForwardZoneCreateParams) WithDefaults

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

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

func (*ForwardZoneCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone create params

func (*ForwardZoneCreateParams) WithTimeout

WithTimeout adds the timeout to the forward zone create params

func (*ForwardZoneCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardZoneCreateReader

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

ForwardZoneCreateReader is a Reader for the ForwardZoneCreate structure.

func (*ForwardZoneCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardZoneDeleteNoContent

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

No Content

func NewForwardZoneDeleteNoContent

func NewForwardZoneDeleteNoContent() *ForwardZoneDeleteNoContent

NewForwardZoneDeleteNoContent creates a ForwardZoneDeleteNoContent with default headers values

func (*ForwardZoneDeleteNoContent) Error

type ForwardZoneDeleteParams

type ForwardZoneDeleteParams struct {

	/* ID.

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

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

ForwardZoneDeleteParams contains all the parameters to send to the API endpoint

for the forward zone delete operation.

Typically these are written to a http.Request.

func NewForwardZoneDeleteParams

func NewForwardZoneDeleteParams() *ForwardZoneDeleteParams

NewForwardZoneDeleteParams creates a new ForwardZoneDeleteParams 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 NewForwardZoneDeleteParamsWithContext

func NewForwardZoneDeleteParamsWithContext(ctx context.Context) *ForwardZoneDeleteParams

NewForwardZoneDeleteParamsWithContext creates a new ForwardZoneDeleteParams object with the ability to set a context for a request.

func NewForwardZoneDeleteParamsWithHTTPClient

func NewForwardZoneDeleteParamsWithHTTPClient(client *http.Client) *ForwardZoneDeleteParams

NewForwardZoneDeleteParamsWithHTTPClient creates a new ForwardZoneDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneDeleteParamsWithTimeout

func NewForwardZoneDeleteParamsWithTimeout(timeout time.Duration) *ForwardZoneDeleteParams

NewForwardZoneDeleteParamsWithTimeout creates a new ForwardZoneDeleteParams object with the ability to set a timeout on a request.

func (*ForwardZoneDeleteParams) SetContext

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

SetContext adds the context to the forward zone delete params

func (*ForwardZoneDeleteParams) SetDefaults

func (o *ForwardZoneDeleteParams) SetDefaults()

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

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

func (*ForwardZoneDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone delete params

func (*ForwardZoneDeleteParams) SetID

func (o *ForwardZoneDeleteParams) SetID(id string)

SetID adds the id to the forward zone delete params

func (*ForwardZoneDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone delete params

func (*ForwardZoneDeleteParams) WithContext

WithContext adds the context to the forward zone delete params

func (*ForwardZoneDeleteParams) WithDefaults

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

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

func (*ForwardZoneDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone delete params

func (*ForwardZoneDeleteParams) WithID

WithID adds the id to the forward zone delete params

func (*ForwardZoneDeleteParams) WithTimeout

WithTimeout adds the timeout to the forward zone delete params

func (*ForwardZoneDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardZoneDeleteReader

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

ForwardZoneDeleteReader is a Reader for the ForwardZoneDelete structure.

func (*ForwardZoneDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardZoneListOK

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

GET operation response

func NewForwardZoneListOK

func NewForwardZoneListOK() *ForwardZoneListOK

NewForwardZoneListOK creates a ForwardZoneListOK with default headers values

func (*ForwardZoneListOK) Error

func (o *ForwardZoneListOK) Error() string

func (*ForwardZoneListOK) GetPayload

type ForwardZoneListParams

type ForwardZoneListParams 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
}

ForwardZoneListParams contains all the parameters to send to the API endpoint

for the forward zone list operation.

Typically these are written to a http.Request.

func NewForwardZoneListParams

func NewForwardZoneListParams() *ForwardZoneListParams

NewForwardZoneListParams creates a new ForwardZoneListParams 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 NewForwardZoneListParamsWithContext

func NewForwardZoneListParamsWithContext(ctx context.Context) *ForwardZoneListParams

NewForwardZoneListParamsWithContext creates a new ForwardZoneListParams object with the ability to set a context for a request.

func NewForwardZoneListParamsWithHTTPClient

func NewForwardZoneListParamsWithHTTPClient(client *http.Client) *ForwardZoneListParams

NewForwardZoneListParamsWithHTTPClient creates a new ForwardZoneListParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneListParamsWithTimeout

func NewForwardZoneListParamsWithTimeout(timeout time.Duration) *ForwardZoneListParams

NewForwardZoneListParamsWithTimeout creates a new ForwardZoneListParams object with the ability to set a timeout on a request.

func (*ForwardZoneListParams) SetContext

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

SetContext adds the context to the forward zone list params

func (*ForwardZoneListParams) SetDefaults

func (o *ForwardZoneListParams) SetDefaults()

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

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

func (*ForwardZoneListParams) SetFields

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

SetFields adds the fields to the forward zone list params

func (*ForwardZoneListParams) SetFilter

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

SetFilter adds the filter to the forward zone list params

func (*ForwardZoneListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone list params

func (*ForwardZoneListParams) SetLimit

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

SetLimit adds the limit to the forward zone list params

func (*ForwardZoneListParams) SetOffset

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

SetOffset adds the offset to the forward zone list params

func (*ForwardZoneListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the forward zone list params

func (*ForwardZoneListParams) SetPageToken

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

SetPageToken adds the pageToken to the forward zone list params

func (*ForwardZoneListParams) SetTfilter

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

SetTfilter adds the tfilter to the forward zone list params

func (*ForwardZoneListParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone list params

func (*ForwardZoneListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the forward zone list params

func (*ForwardZoneListParams) WithContext

WithContext adds the context to the forward zone list params

func (*ForwardZoneListParams) WithDefaults

func (o *ForwardZoneListParams) WithDefaults() *ForwardZoneListParams

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

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

func (*ForwardZoneListParams) WithFields

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

WithFields adds the fields to the forward zone list params

func (*ForwardZoneListParams) WithFilter

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

WithFilter adds the filter to the forward zone list params

func (*ForwardZoneListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone list params

func (*ForwardZoneListParams) WithLimit

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

WithLimit adds the limit to the forward zone list params

func (*ForwardZoneListParams) WithOffset

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

WithOffset adds the offset to the forward zone list params

func (*ForwardZoneListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the forward zone list params

func (*ForwardZoneListParams) WithPageToken

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

WithPageToken adds the pageToken to the forward zone list params

func (*ForwardZoneListParams) WithTfilter

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

WithTfilter adds the tfilter to the forward zone list params

func (*ForwardZoneListParams) WithTimeout

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

WithTimeout adds the timeout to the forward zone list params

func (*ForwardZoneListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the forward zone list params

func (*ForwardZoneListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForwardZoneListReader

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

ForwardZoneListReader is a Reader for the ForwardZoneList structure.

func (*ForwardZoneListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardZoneReadOK

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

GET operation response

func NewForwardZoneReadOK

func NewForwardZoneReadOK() *ForwardZoneReadOK

NewForwardZoneReadOK creates a ForwardZoneReadOK with default headers values

func (*ForwardZoneReadOK) Error

func (o *ForwardZoneReadOK) Error() string

func (*ForwardZoneReadOK) GetPayload

type ForwardZoneReadParams

type ForwardZoneReadParams 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
}

ForwardZoneReadParams contains all the parameters to send to the API endpoint

for the forward zone read operation.

Typically these are written to a http.Request.

func NewForwardZoneReadParams

func NewForwardZoneReadParams() *ForwardZoneReadParams

NewForwardZoneReadParams creates a new ForwardZoneReadParams 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 NewForwardZoneReadParamsWithContext

func NewForwardZoneReadParamsWithContext(ctx context.Context) *ForwardZoneReadParams

NewForwardZoneReadParamsWithContext creates a new ForwardZoneReadParams object with the ability to set a context for a request.

func NewForwardZoneReadParamsWithHTTPClient

func NewForwardZoneReadParamsWithHTTPClient(client *http.Client) *ForwardZoneReadParams

NewForwardZoneReadParamsWithHTTPClient creates a new ForwardZoneReadParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneReadParamsWithTimeout

func NewForwardZoneReadParamsWithTimeout(timeout time.Duration) *ForwardZoneReadParams

NewForwardZoneReadParamsWithTimeout creates a new ForwardZoneReadParams object with the ability to set a timeout on a request.

func (*ForwardZoneReadParams) SetContext

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

SetContext adds the context to the forward zone read params

func (*ForwardZoneReadParams) SetDefaults

func (o *ForwardZoneReadParams) SetDefaults()

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

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

func (*ForwardZoneReadParams) SetFields

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

SetFields adds the fields to the forward zone read params

func (*ForwardZoneReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone read params

func (*ForwardZoneReadParams) SetID

func (o *ForwardZoneReadParams) SetID(id string)

SetID adds the id to the forward zone read params

func (*ForwardZoneReadParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone read params

func (*ForwardZoneReadParams) WithContext

WithContext adds the context to the forward zone read params

func (*ForwardZoneReadParams) WithDefaults

func (o *ForwardZoneReadParams) WithDefaults() *ForwardZoneReadParams

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

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

func (*ForwardZoneReadParams) WithFields

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

WithFields adds the fields to the forward zone read params

func (*ForwardZoneReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone read params

func (*ForwardZoneReadParams) WithID

WithID adds the id to the forward zone read params

func (*ForwardZoneReadParams) WithTimeout

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

WithTimeout adds the timeout to the forward zone read params

func (*ForwardZoneReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForwardZoneReadReader

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

ForwardZoneReadReader is a Reader for the ForwardZoneRead structure.

func (*ForwardZoneReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardZoneUpdateCreated

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

PATCH operation response

func NewForwardZoneUpdateCreated

func NewForwardZoneUpdateCreated() *ForwardZoneUpdateCreated

NewForwardZoneUpdateCreated creates a ForwardZoneUpdateCreated with default headers values

func (*ForwardZoneUpdateCreated) Error

func (o *ForwardZoneUpdateCreated) Error() string

func (*ForwardZoneUpdateCreated) GetPayload

type ForwardZoneUpdateParams

type ForwardZoneUpdateParams struct {

	// Body.
	Body *models.ConfigForwardZone

	/* ID.

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

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

ForwardZoneUpdateParams contains all the parameters to send to the API endpoint

for the forward zone update operation.

Typically these are written to a http.Request.

func NewForwardZoneUpdateParams

func NewForwardZoneUpdateParams() *ForwardZoneUpdateParams

NewForwardZoneUpdateParams creates a new ForwardZoneUpdateParams 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 NewForwardZoneUpdateParamsWithContext

func NewForwardZoneUpdateParamsWithContext(ctx context.Context) *ForwardZoneUpdateParams

NewForwardZoneUpdateParamsWithContext creates a new ForwardZoneUpdateParams object with the ability to set a context for a request.

func NewForwardZoneUpdateParamsWithHTTPClient

func NewForwardZoneUpdateParamsWithHTTPClient(client *http.Client) *ForwardZoneUpdateParams

NewForwardZoneUpdateParamsWithHTTPClient creates a new ForwardZoneUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewForwardZoneUpdateParamsWithTimeout

func NewForwardZoneUpdateParamsWithTimeout(timeout time.Duration) *ForwardZoneUpdateParams

NewForwardZoneUpdateParamsWithTimeout creates a new ForwardZoneUpdateParams object with the ability to set a timeout on a request.

func (*ForwardZoneUpdateParams) SetBody

SetBody adds the body to the forward zone update params

func (*ForwardZoneUpdateParams) SetContext

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

SetContext adds the context to the forward zone update params

func (*ForwardZoneUpdateParams) SetDefaults

func (o *ForwardZoneUpdateParams) SetDefaults()

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

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

func (*ForwardZoneUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward zone update params

func (*ForwardZoneUpdateParams) SetID

func (o *ForwardZoneUpdateParams) SetID(id string)

SetID adds the id to the forward zone update params

func (*ForwardZoneUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the forward zone update params

func (*ForwardZoneUpdateParams) WithBody

WithBody adds the body to the forward zone update params

func (*ForwardZoneUpdateParams) WithContext

WithContext adds the context to the forward zone update params

func (*ForwardZoneUpdateParams) WithDefaults

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

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

func (*ForwardZoneUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward zone update params

func (*ForwardZoneUpdateParams) WithID

WithID adds the id to the forward zone update params

func (*ForwardZoneUpdateParams) WithTimeout

WithTimeout adds the timeout to the forward zone update params

func (*ForwardZoneUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardZoneUpdateReader

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

ForwardZoneUpdateReader is a Reader for the ForwardZoneUpdate structure.

func (*ForwardZoneUpdateReader) ReadResponse

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