auth_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 AuthZoneCopyCreated

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

POST operation response

func NewAuthZoneCopyCreated

func NewAuthZoneCopyCreated() *AuthZoneCopyCreated

NewAuthZoneCopyCreated creates a AuthZoneCopyCreated with default headers values

func (*AuthZoneCopyCreated) Error

func (o *AuthZoneCopyCreated) Error() string

func (*AuthZoneCopyCreated) GetPayload

type AuthZoneCopyParams

type AuthZoneCopyParams struct {

	// Body.
	Body *models.ConfigCopyAuthZone

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

AuthZoneCopyParams contains all the parameters to send to the API endpoint

for the auth zone copy operation.

Typically these are written to a http.Request.

func NewAuthZoneCopyParams

func NewAuthZoneCopyParams() *AuthZoneCopyParams

NewAuthZoneCopyParams creates a new AuthZoneCopyParams 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 NewAuthZoneCopyParamsWithContext

func NewAuthZoneCopyParamsWithContext(ctx context.Context) *AuthZoneCopyParams

NewAuthZoneCopyParamsWithContext creates a new AuthZoneCopyParams object with the ability to set a context for a request.

func NewAuthZoneCopyParamsWithHTTPClient

func NewAuthZoneCopyParamsWithHTTPClient(client *http.Client) *AuthZoneCopyParams

NewAuthZoneCopyParamsWithHTTPClient creates a new AuthZoneCopyParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneCopyParamsWithTimeout

func NewAuthZoneCopyParamsWithTimeout(timeout time.Duration) *AuthZoneCopyParams

NewAuthZoneCopyParamsWithTimeout creates a new AuthZoneCopyParams object with the ability to set a timeout on a request.

func (*AuthZoneCopyParams) SetBody

func (o *AuthZoneCopyParams) SetBody(body *models.ConfigCopyAuthZone)

SetBody adds the body to the auth zone copy params

func (*AuthZoneCopyParams) SetContext

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

SetContext adds the context to the auth zone copy params

func (*AuthZoneCopyParams) SetDefaults

func (o *AuthZoneCopyParams) SetDefaults()

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

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

func (*AuthZoneCopyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone copy params

func (*AuthZoneCopyParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone copy params

func (*AuthZoneCopyParams) WithBody

WithBody adds the body to the auth zone copy params

func (*AuthZoneCopyParams) WithContext

WithContext adds the context to the auth zone copy params

func (*AuthZoneCopyParams) WithDefaults

func (o *AuthZoneCopyParams) WithDefaults() *AuthZoneCopyParams

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

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

func (*AuthZoneCopyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone copy params

func (*AuthZoneCopyParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone copy params

func (*AuthZoneCopyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneCopyReader

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

AuthZoneCopyReader is a Reader for the AuthZoneCopy structure.

func (*AuthZoneCopyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthZoneCreateCreated

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

POST operation response

func NewAuthZoneCreateCreated

func NewAuthZoneCreateCreated() *AuthZoneCreateCreated

NewAuthZoneCreateCreated creates a AuthZoneCreateCreated with default headers values

func (*AuthZoneCreateCreated) Error

func (o *AuthZoneCreateCreated) Error() string

func (*AuthZoneCreateCreated) GetPayload

type AuthZoneCreateParams

type AuthZoneCreateParams struct {

	// Body.
	Body *models.ConfigAuthZone

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

AuthZoneCreateParams contains all the parameters to send to the API endpoint

for the auth zone create operation.

Typically these are written to a http.Request.

func NewAuthZoneCreateParams

func NewAuthZoneCreateParams() *AuthZoneCreateParams

NewAuthZoneCreateParams creates a new AuthZoneCreateParams 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 NewAuthZoneCreateParamsWithContext

func NewAuthZoneCreateParamsWithContext(ctx context.Context) *AuthZoneCreateParams

NewAuthZoneCreateParamsWithContext creates a new AuthZoneCreateParams object with the ability to set a context for a request.

func NewAuthZoneCreateParamsWithHTTPClient

func NewAuthZoneCreateParamsWithHTTPClient(client *http.Client) *AuthZoneCreateParams

NewAuthZoneCreateParamsWithHTTPClient creates a new AuthZoneCreateParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneCreateParamsWithTimeout

func NewAuthZoneCreateParamsWithTimeout(timeout time.Duration) *AuthZoneCreateParams

NewAuthZoneCreateParamsWithTimeout creates a new AuthZoneCreateParams object with the ability to set a timeout on a request.

func (*AuthZoneCreateParams) SetBody

func (o *AuthZoneCreateParams) SetBody(body *models.ConfigAuthZone)

SetBody adds the body to the auth zone create params

func (*AuthZoneCreateParams) SetContext

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

SetContext adds the context to the auth zone create params

func (*AuthZoneCreateParams) SetDefaults

func (o *AuthZoneCreateParams) SetDefaults()

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

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

func (*AuthZoneCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone create params

func (*AuthZoneCreateParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone create params

func (*AuthZoneCreateParams) WithBody

WithBody adds the body to the auth zone create params

func (*AuthZoneCreateParams) WithContext

WithContext adds the context to the auth zone create params

func (*AuthZoneCreateParams) WithDefaults

func (o *AuthZoneCreateParams) WithDefaults() *AuthZoneCreateParams

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

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

func (*AuthZoneCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone create params

func (*AuthZoneCreateParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone create params

func (*AuthZoneCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneCreateReader

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

AuthZoneCreateReader is a Reader for the AuthZoneCreate structure.

func (*AuthZoneCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthZoneDeleteNoContent

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

No Content

func NewAuthZoneDeleteNoContent

func NewAuthZoneDeleteNoContent() *AuthZoneDeleteNoContent

NewAuthZoneDeleteNoContent creates a AuthZoneDeleteNoContent with default headers values

func (*AuthZoneDeleteNoContent) Error

func (o *AuthZoneDeleteNoContent) Error() string

type AuthZoneDeleteParams

type AuthZoneDeleteParams struct {

	/* ID.

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

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

AuthZoneDeleteParams contains all the parameters to send to the API endpoint

for the auth zone delete operation.

Typically these are written to a http.Request.

func NewAuthZoneDeleteParams

func NewAuthZoneDeleteParams() *AuthZoneDeleteParams

NewAuthZoneDeleteParams creates a new AuthZoneDeleteParams 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 NewAuthZoneDeleteParamsWithContext

func NewAuthZoneDeleteParamsWithContext(ctx context.Context) *AuthZoneDeleteParams

NewAuthZoneDeleteParamsWithContext creates a new AuthZoneDeleteParams object with the ability to set a context for a request.

func NewAuthZoneDeleteParamsWithHTTPClient

func NewAuthZoneDeleteParamsWithHTTPClient(client *http.Client) *AuthZoneDeleteParams

NewAuthZoneDeleteParamsWithHTTPClient creates a new AuthZoneDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneDeleteParamsWithTimeout

func NewAuthZoneDeleteParamsWithTimeout(timeout time.Duration) *AuthZoneDeleteParams

NewAuthZoneDeleteParamsWithTimeout creates a new AuthZoneDeleteParams object with the ability to set a timeout on a request.

func (*AuthZoneDeleteParams) SetContext

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

SetContext adds the context to the auth zone delete params

func (*AuthZoneDeleteParams) SetDefaults

func (o *AuthZoneDeleteParams) SetDefaults()

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

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

func (*AuthZoneDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone delete params

func (*AuthZoneDeleteParams) SetID

func (o *AuthZoneDeleteParams) SetID(id string)

SetID adds the id to the auth zone delete params

func (*AuthZoneDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone delete params

func (*AuthZoneDeleteParams) WithContext

WithContext adds the context to the auth zone delete params

func (*AuthZoneDeleteParams) WithDefaults

func (o *AuthZoneDeleteParams) WithDefaults() *AuthZoneDeleteParams

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

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

func (*AuthZoneDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone delete params

func (*AuthZoneDeleteParams) WithID

WithID adds the id to the auth zone delete params

func (*AuthZoneDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone delete params

func (*AuthZoneDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneDeleteReader

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

AuthZoneDeleteReader is a Reader for the AuthZoneDelete structure.

func (*AuthZoneDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthZoneListOK

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

GET operation response

func NewAuthZoneListOK

func NewAuthZoneListOK() *AuthZoneListOK

NewAuthZoneListOK creates a AuthZoneListOK with default headers values

func (*AuthZoneListOK) Error

func (o *AuthZoneListOK) Error() string

func (*AuthZoneListOK) GetPayload

type AuthZoneListParams

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

AuthZoneListParams contains all the parameters to send to the API endpoint

for the auth zone list operation.

Typically these are written to a http.Request.

func NewAuthZoneListParams

func NewAuthZoneListParams() *AuthZoneListParams

NewAuthZoneListParams creates a new AuthZoneListParams 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 NewAuthZoneListParamsWithContext

func NewAuthZoneListParamsWithContext(ctx context.Context) *AuthZoneListParams

NewAuthZoneListParamsWithContext creates a new AuthZoneListParams object with the ability to set a context for a request.

func NewAuthZoneListParamsWithHTTPClient

func NewAuthZoneListParamsWithHTTPClient(client *http.Client) *AuthZoneListParams

NewAuthZoneListParamsWithHTTPClient creates a new AuthZoneListParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneListParamsWithTimeout

func NewAuthZoneListParamsWithTimeout(timeout time.Duration) *AuthZoneListParams

NewAuthZoneListParamsWithTimeout creates a new AuthZoneListParams object with the ability to set a timeout on a request.

func (*AuthZoneListParams) SetContext

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

SetContext adds the context to the auth zone list params

func (*AuthZoneListParams) SetDefaults

func (o *AuthZoneListParams) SetDefaults()

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

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

func (*AuthZoneListParams) SetFields

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

SetFields adds the fields to the auth zone list params

func (*AuthZoneListParams) SetFilter

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

SetFilter adds the filter to the auth zone list params

func (*AuthZoneListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone list params

func (*AuthZoneListParams) SetLimit

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

SetLimit adds the limit to the auth zone list params

func (*AuthZoneListParams) SetOffset

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

SetOffset adds the offset to the auth zone list params

func (*AuthZoneListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the auth zone list params

func (*AuthZoneListParams) SetPageToken

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

SetPageToken adds the pageToken to the auth zone list params

func (*AuthZoneListParams) SetTfilter

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

SetTfilter adds the tfilter to the auth zone list params

func (*AuthZoneListParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone list params

func (*AuthZoneListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the auth zone list params

func (*AuthZoneListParams) WithContext

WithContext adds the context to the auth zone list params

func (*AuthZoneListParams) WithDefaults

func (o *AuthZoneListParams) WithDefaults() *AuthZoneListParams

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

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

func (*AuthZoneListParams) WithFields

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

WithFields adds the fields to the auth zone list params

func (*AuthZoneListParams) WithFilter

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

WithFilter adds the filter to the auth zone list params

func (*AuthZoneListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone list params

func (*AuthZoneListParams) WithLimit

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

WithLimit adds the limit to the auth zone list params

func (*AuthZoneListParams) WithOffset

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

WithOffset adds the offset to the auth zone list params

func (*AuthZoneListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the auth zone list params

func (*AuthZoneListParams) WithPageToken

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

WithPageToken adds the pageToken to the auth zone list params

func (*AuthZoneListParams) WithTfilter

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

WithTfilter adds the tfilter to the auth zone list params

func (*AuthZoneListParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone list params

func (*AuthZoneListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the auth zone list params

func (*AuthZoneListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneListReader

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

AuthZoneListReader is a Reader for the AuthZoneList structure.

func (*AuthZoneListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthZoneReadOK

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

GET operation response

func NewAuthZoneReadOK

func NewAuthZoneReadOK() *AuthZoneReadOK

NewAuthZoneReadOK creates a AuthZoneReadOK with default headers values

func (*AuthZoneReadOK) Error

func (o *AuthZoneReadOK) Error() string

func (*AuthZoneReadOK) GetPayload

type AuthZoneReadParams

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

AuthZoneReadParams contains all the parameters to send to the API endpoint

for the auth zone read operation.

Typically these are written to a http.Request.

func NewAuthZoneReadParams

func NewAuthZoneReadParams() *AuthZoneReadParams

NewAuthZoneReadParams creates a new AuthZoneReadParams 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 NewAuthZoneReadParamsWithContext

func NewAuthZoneReadParamsWithContext(ctx context.Context) *AuthZoneReadParams

NewAuthZoneReadParamsWithContext creates a new AuthZoneReadParams object with the ability to set a context for a request.

func NewAuthZoneReadParamsWithHTTPClient

func NewAuthZoneReadParamsWithHTTPClient(client *http.Client) *AuthZoneReadParams

NewAuthZoneReadParamsWithHTTPClient creates a new AuthZoneReadParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneReadParamsWithTimeout

func NewAuthZoneReadParamsWithTimeout(timeout time.Duration) *AuthZoneReadParams

NewAuthZoneReadParamsWithTimeout creates a new AuthZoneReadParams object with the ability to set a timeout on a request.

func (*AuthZoneReadParams) SetContext

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

SetContext adds the context to the auth zone read params

func (*AuthZoneReadParams) SetDefaults

func (o *AuthZoneReadParams) SetDefaults()

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

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

func (*AuthZoneReadParams) SetFields

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

SetFields adds the fields to the auth zone read params

func (*AuthZoneReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone read params

func (*AuthZoneReadParams) SetID

func (o *AuthZoneReadParams) SetID(id string)

SetID adds the id to the auth zone read params

func (*AuthZoneReadParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone read params

func (*AuthZoneReadParams) WithContext

WithContext adds the context to the auth zone read params

func (*AuthZoneReadParams) WithDefaults

func (o *AuthZoneReadParams) WithDefaults() *AuthZoneReadParams

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

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

func (*AuthZoneReadParams) WithFields

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

WithFields adds the fields to the auth zone read params

func (*AuthZoneReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone read params

func (*AuthZoneReadParams) WithID

WithID adds the id to the auth zone read params

func (*AuthZoneReadParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone read params

func (*AuthZoneReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneReadReader

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

AuthZoneReadReader is a Reader for the AuthZoneRead structure.

func (*AuthZoneReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuthZoneUpdateCreated

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

PATCH operation response

func NewAuthZoneUpdateCreated

func NewAuthZoneUpdateCreated() *AuthZoneUpdateCreated

NewAuthZoneUpdateCreated creates a AuthZoneUpdateCreated with default headers values

func (*AuthZoneUpdateCreated) Error

func (o *AuthZoneUpdateCreated) Error() string

func (*AuthZoneUpdateCreated) GetPayload

type AuthZoneUpdateParams

type AuthZoneUpdateParams struct {

	// Body.
	Body *models.ConfigAuthZone

	/* ID.

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

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

AuthZoneUpdateParams contains all the parameters to send to the API endpoint

for the auth zone update operation.

Typically these are written to a http.Request.

func NewAuthZoneUpdateParams

func NewAuthZoneUpdateParams() *AuthZoneUpdateParams

NewAuthZoneUpdateParams creates a new AuthZoneUpdateParams 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 NewAuthZoneUpdateParamsWithContext

func NewAuthZoneUpdateParamsWithContext(ctx context.Context) *AuthZoneUpdateParams

NewAuthZoneUpdateParamsWithContext creates a new AuthZoneUpdateParams object with the ability to set a context for a request.

func NewAuthZoneUpdateParamsWithHTTPClient

func NewAuthZoneUpdateParamsWithHTTPClient(client *http.Client) *AuthZoneUpdateParams

NewAuthZoneUpdateParamsWithHTTPClient creates a new AuthZoneUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewAuthZoneUpdateParamsWithTimeout

func NewAuthZoneUpdateParamsWithTimeout(timeout time.Duration) *AuthZoneUpdateParams

NewAuthZoneUpdateParamsWithTimeout creates a new AuthZoneUpdateParams object with the ability to set a timeout on a request.

func (*AuthZoneUpdateParams) SetBody

func (o *AuthZoneUpdateParams) SetBody(body *models.ConfigAuthZone)

SetBody adds the body to the auth zone update params

func (*AuthZoneUpdateParams) SetContext

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

SetContext adds the context to the auth zone update params

func (*AuthZoneUpdateParams) SetDefaults

func (o *AuthZoneUpdateParams) SetDefaults()

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

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

func (*AuthZoneUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auth zone update params

func (*AuthZoneUpdateParams) SetID

func (o *AuthZoneUpdateParams) SetID(id string)

SetID adds the id to the auth zone update params

func (*AuthZoneUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the auth zone update params

func (*AuthZoneUpdateParams) WithBody

WithBody adds the body to the auth zone update params

func (*AuthZoneUpdateParams) WithContext

WithContext adds the context to the auth zone update params

func (*AuthZoneUpdateParams) WithDefaults

func (o *AuthZoneUpdateParams) WithDefaults() *AuthZoneUpdateParams

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

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

func (*AuthZoneUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auth zone update params

func (*AuthZoneUpdateParams) WithID

WithID adds the id to the auth zone update params

func (*AuthZoneUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the auth zone update params

func (*AuthZoneUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuthZoneUpdateReader

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

AuthZoneUpdateReader is a Reader for the AuthZoneUpdate structure.

func (*AuthZoneUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for auth zone API

func (*Client) AuthZoneCopy

func (a *Client) AuthZoneCopy(params *AuthZoneCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneCopyCreated, error)
AuthZoneCopy copies the auth zone object

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

This object (_dns/auth_zone_) represents an authoritative zone.

func (*Client) AuthZoneCreate

func (a *Client) AuthZoneCreate(params *AuthZoneCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneCreateCreated, error)
AuthZoneCreate creates the auth zone object

Use this method to create an AuthZone object.

This object (_dns/auth_zone_) represents an authoritative zone.

func (*Client) AuthZoneDelete

func (a *Client) AuthZoneDelete(params *AuthZoneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneDeleteNoContent, error)
AuthZoneDelete moves the auth zone object to recyclebin

Use this method to move an AuthZone object to Recyclebin.

This object (_dns/auth_zone_) represents an authoritative zone.

func (*Client) AuthZoneList

func (a *Client) AuthZoneList(params *AuthZoneListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneListOK, error)
AuthZoneList lists auth zone objects

Use this method to list AuthZone objects.

This object (_dns/auth_zone_) represents an authoritative zone.

func (*Client) AuthZoneRead

func (a *Client) AuthZoneRead(params *AuthZoneReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneReadOK, error)
AuthZoneRead reads the auth zone object

Use this method to read an AuthZone object.

This object (_dns/auth_zone_) represents an authoritative zone.

func (*Client) AuthZoneUpdate

func (a *Client) AuthZoneUpdate(params *AuthZoneUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneUpdateCreated, error)
AuthZoneUpdate updates the auth zone object

Use this method to update an AuthZone object.

This object (_dns/auth_zone_) represents an authoritative 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 {
	AuthZoneCopy(params *AuthZoneCopyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneCopyCreated, error)

	AuthZoneCreate(params *AuthZoneCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneCreateCreated, error)

	AuthZoneDelete(params *AuthZoneDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneDeleteNoContent, error)

	AuthZoneList(params *AuthZoneListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneListOK, error)

	AuthZoneRead(params *AuthZoneReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneReadOK, error)

	AuthZoneUpdate(params *AuthZoneUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthZoneUpdateCreated, 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 auth zone API client.

Jump to

Keyboard shortcuts

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