forward_nsg

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 nsg API

func (*Client) ForwardNsgCreate

func (a *Client) ForwardNsgCreate(params *ForwardNsgCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgCreateCreated, error)
ForwardNsgCreate creates the forward n s g object

Use this method to create a ForwardNSG object.

The _dns/forward_nsg_ object represents a Forward DNS Server Group for forward zones.

func (*Client) ForwardNsgDelete

func (a *Client) ForwardNsgDelete(params *ForwardNsgDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgDeleteNoContent, error)
ForwardNsgDelete moves the forward n s g object to recyclebin

Use this method to move a ForwardNSG object to Recyclebin.

The _dns/forward_nsg_ object represents a Forward DNS Server Group for forward zones.

func (*Client) ForwardNsgList

func (a *Client) ForwardNsgList(params *ForwardNsgListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgListOK, error)
ForwardNsgList lists forward n s g objects

Use this method to list ForwardNSG objects.

The _dns/forward_nsg_ object represents a Forward DNS Server Group for forward zones.

func (*Client) ForwardNsgRead

func (a *Client) ForwardNsgRead(params *ForwardNsgReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgReadOK, error)
ForwardNsgRead reads the forward n s g object

Use this method to read a ForwardNSG object.

The _dns/forward_nsg_ object represents a Forward DNS Server Group for forward zones.

func (*Client) ForwardNsgUpdate

func (a *Client) ForwardNsgUpdate(params *ForwardNsgUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgUpdateCreated, error)
ForwardNsgUpdate updates the forward n s g object

Use this method to update a ForwardNSG object.

The _dns/forward_nsg_ object represents a Forward DNS Server Group for forward zones.

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 {
	ForwardNsgCreate(params *ForwardNsgCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgCreateCreated, error)

	ForwardNsgDelete(params *ForwardNsgDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgDeleteNoContent, error)

	ForwardNsgList(params *ForwardNsgListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgListOK, error)

	ForwardNsgRead(params *ForwardNsgReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgReadOK, error)

	ForwardNsgUpdate(params *ForwardNsgUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ForwardNsgUpdateCreated, 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 nsg API client.

type ForwardNsgCreateCreated

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

POST operation response

func NewForwardNsgCreateCreated

func NewForwardNsgCreateCreated() *ForwardNsgCreateCreated

NewForwardNsgCreateCreated creates a ForwardNsgCreateCreated with default headers values

func (*ForwardNsgCreateCreated) Error

func (o *ForwardNsgCreateCreated) Error() string

func (*ForwardNsgCreateCreated) GetPayload

type ForwardNsgCreateParams

type ForwardNsgCreateParams struct {

	// Body.
	Body *models.ConfigForwardNSG

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

ForwardNsgCreateParams contains all the parameters to send to the API endpoint

for the forward nsg create operation.

Typically these are written to a http.Request.

func NewForwardNsgCreateParams

func NewForwardNsgCreateParams() *ForwardNsgCreateParams

NewForwardNsgCreateParams creates a new ForwardNsgCreateParams 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 NewForwardNsgCreateParamsWithContext

func NewForwardNsgCreateParamsWithContext(ctx context.Context) *ForwardNsgCreateParams

NewForwardNsgCreateParamsWithContext creates a new ForwardNsgCreateParams object with the ability to set a context for a request.

func NewForwardNsgCreateParamsWithHTTPClient

func NewForwardNsgCreateParamsWithHTTPClient(client *http.Client) *ForwardNsgCreateParams

NewForwardNsgCreateParamsWithHTTPClient creates a new ForwardNsgCreateParams object with the ability to set a custom HTTPClient for a request.

func NewForwardNsgCreateParamsWithTimeout

func NewForwardNsgCreateParamsWithTimeout(timeout time.Duration) *ForwardNsgCreateParams

NewForwardNsgCreateParamsWithTimeout creates a new ForwardNsgCreateParams object with the ability to set a timeout on a request.

func (*ForwardNsgCreateParams) SetBody

SetBody adds the body to the forward nsg create params

func (*ForwardNsgCreateParams) SetContext

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

SetContext adds the context to the forward nsg create params

func (*ForwardNsgCreateParams) SetDefaults

func (o *ForwardNsgCreateParams) SetDefaults()

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

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

func (*ForwardNsgCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward nsg create params

func (*ForwardNsgCreateParams) SetTimeout

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

SetTimeout adds the timeout to the forward nsg create params

func (*ForwardNsgCreateParams) WithBody

WithBody adds the body to the forward nsg create params

func (*ForwardNsgCreateParams) WithContext

WithContext adds the context to the forward nsg create params

func (*ForwardNsgCreateParams) WithDefaults

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

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

func (*ForwardNsgCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward nsg create params

func (*ForwardNsgCreateParams) WithTimeout

WithTimeout adds the timeout to the forward nsg create params

func (*ForwardNsgCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardNsgCreateReader

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

ForwardNsgCreateReader is a Reader for the ForwardNsgCreate structure.

func (*ForwardNsgCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardNsgDeleteNoContent

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

No Content

func NewForwardNsgDeleteNoContent

func NewForwardNsgDeleteNoContent() *ForwardNsgDeleteNoContent

NewForwardNsgDeleteNoContent creates a ForwardNsgDeleteNoContent with default headers values

func (*ForwardNsgDeleteNoContent) Error

func (o *ForwardNsgDeleteNoContent) Error() string

type ForwardNsgDeleteParams

type ForwardNsgDeleteParams struct {

	/* ID.

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

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

ForwardNsgDeleteParams contains all the parameters to send to the API endpoint

for the forward nsg delete operation.

Typically these are written to a http.Request.

func NewForwardNsgDeleteParams

func NewForwardNsgDeleteParams() *ForwardNsgDeleteParams

NewForwardNsgDeleteParams creates a new ForwardNsgDeleteParams 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 NewForwardNsgDeleteParamsWithContext

func NewForwardNsgDeleteParamsWithContext(ctx context.Context) *ForwardNsgDeleteParams

NewForwardNsgDeleteParamsWithContext creates a new ForwardNsgDeleteParams object with the ability to set a context for a request.

func NewForwardNsgDeleteParamsWithHTTPClient

func NewForwardNsgDeleteParamsWithHTTPClient(client *http.Client) *ForwardNsgDeleteParams

NewForwardNsgDeleteParamsWithHTTPClient creates a new ForwardNsgDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewForwardNsgDeleteParamsWithTimeout

func NewForwardNsgDeleteParamsWithTimeout(timeout time.Duration) *ForwardNsgDeleteParams

NewForwardNsgDeleteParamsWithTimeout creates a new ForwardNsgDeleteParams object with the ability to set a timeout on a request.

func (*ForwardNsgDeleteParams) SetContext

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

SetContext adds the context to the forward nsg delete params

func (*ForwardNsgDeleteParams) SetDefaults

func (o *ForwardNsgDeleteParams) SetDefaults()

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

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

func (*ForwardNsgDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward nsg delete params

func (*ForwardNsgDeleteParams) SetID

func (o *ForwardNsgDeleteParams) SetID(id string)

SetID adds the id to the forward nsg delete params

func (*ForwardNsgDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the forward nsg delete params

func (*ForwardNsgDeleteParams) WithContext

WithContext adds the context to the forward nsg delete params

func (*ForwardNsgDeleteParams) WithDefaults

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

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

func (*ForwardNsgDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward nsg delete params

func (*ForwardNsgDeleteParams) WithID

WithID adds the id to the forward nsg delete params

func (*ForwardNsgDeleteParams) WithTimeout

WithTimeout adds the timeout to the forward nsg delete params

func (*ForwardNsgDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardNsgDeleteReader

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

ForwardNsgDeleteReader is a Reader for the ForwardNsgDelete structure.

func (*ForwardNsgDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardNsgListOK

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

GET operation response

func NewForwardNsgListOK

func NewForwardNsgListOK() *ForwardNsgListOK

NewForwardNsgListOK creates a ForwardNsgListOK with default headers values

func (*ForwardNsgListOK) Error

func (o *ForwardNsgListOK) Error() string

func (*ForwardNsgListOK) GetPayload

type ForwardNsgListParams

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

ForwardNsgListParams contains all the parameters to send to the API endpoint

for the forward nsg list operation.

Typically these are written to a http.Request.

func NewForwardNsgListParams

func NewForwardNsgListParams() *ForwardNsgListParams

NewForwardNsgListParams creates a new ForwardNsgListParams 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 NewForwardNsgListParamsWithContext

func NewForwardNsgListParamsWithContext(ctx context.Context) *ForwardNsgListParams

NewForwardNsgListParamsWithContext creates a new ForwardNsgListParams object with the ability to set a context for a request.

func NewForwardNsgListParamsWithHTTPClient

func NewForwardNsgListParamsWithHTTPClient(client *http.Client) *ForwardNsgListParams

NewForwardNsgListParamsWithHTTPClient creates a new ForwardNsgListParams object with the ability to set a custom HTTPClient for a request.

func NewForwardNsgListParamsWithTimeout

func NewForwardNsgListParamsWithTimeout(timeout time.Duration) *ForwardNsgListParams

NewForwardNsgListParamsWithTimeout creates a new ForwardNsgListParams object with the ability to set a timeout on a request.

func (*ForwardNsgListParams) SetContext

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

SetContext adds the context to the forward nsg list params

func (*ForwardNsgListParams) SetDefaults

func (o *ForwardNsgListParams) SetDefaults()

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

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

func (*ForwardNsgListParams) SetFields

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

SetFields adds the fields to the forward nsg list params

func (*ForwardNsgListParams) SetFilter

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

SetFilter adds the filter to the forward nsg list params

func (*ForwardNsgListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward nsg list params

func (*ForwardNsgListParams) SetLimit

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

SetLimit adds the limit to the forward nsg list params

func (*ForwardNsgListParams) SetOffset

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

SetOffset adds the offset to the forward nsg list params

func (*ForwardNsgListParams) SetOrderBy

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

SetOrderBy adds the orderBy to the forward nsg list params

func (*ForwardNsgListParams) SetPageToken

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

SetPageToken adds the pageToken to the forward nsg list params

func (*ForwardNsgListParams) SetTfilter

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

SetTfilter adds the tfilter to the forward nsg list params

func (*ForwardNsgListParams) SetTimeout

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

SetTimeout adds the timeout to the forward nsg list params

func (*ForwardNsgListParams) SetTorderBy

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

SetTorderBy adds the torderBy to the forward nsg list params

func (*ForwardNsgListParams) WithContext

WithContext adds the context to the forward nsg list params

func (*ForwardNsgListParams) WithDefaults

func (o *ForwardNsgListParams) WithDefaults() *ForwardNsgListParams

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

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

func (*ForwardNsgListParams) WithFields

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

WithFields adds the fields to the forward nsg list params

func (*ForwardNsgListParams) WithFilter

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

WithFilter adds the filter to the forward nsg list params

func (*ForwardNsgListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward nsg list params

func (*ForwardNsgListParams) WithLimit

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

WithLimit adds the limit to the forward nsg list params

func (*ForwardNsgListParams) WithOffset

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

WithOffset adds the offset to the forward nsg list params

func (*ForwardNsgListParams) WithOrderBy

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

WithOrderBy adds the orderBy to the forward nsg list params

func (*ForwardNsgListParams) WithPageToken

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

WithPageToken adds the pageToken to the forward nsg list params

func (*ForwardNsgListParams) WithTfilter

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

WithTfilter adds the tfilter to the forward nsg list params

func (*ForwardNsgListParams) WithTimeout

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

WithTimeout adds the timeout to the forward nsg list params

func (*ForwardNsgListParams) WithTorderBy

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

WithTorderBy adds the torderBy to the forward nsg list params

func (*ForwardNsgListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForwardNsgListReader

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

ForwardNsgListReader is a Reader for the ForwardNsgList structure.

func (*ForwardNsgListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardNsgReadOK

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

GET operation response

func NewForwardNsgReadOK

func NewForwardNsgReadOK() *ForwardNsgReadOK

NewForwardNsgReadOK creates a ForwardNsgReadOK with default headers values

func (*ForwardNsgReadOK) Error

func (o *ForwardNsgReadOK) Error() string

func (*ForwardNsgReadOK) GetPayload

type ForwardNsgReadParams

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

ForwardNsgReadParams contains all the parameters to send to the API endpoint

for the forward nsg read operation.

Typically these are written to a http.Request.

func NewForwardNsgReadParams

func NewForwardNsgReadParams() *ForwardNsgReadParams

NewForwardNsgReadParams creates a new ForwardNsgReadParams 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 NewForwardNsgReadParamsWithContext

func NewForwardNsgReadParamsWithContext(ctx context.Context) *ForwardNsgReadParams

NewForwardNsgReadParamsWithContext creates a new ForwardNsgReadParams object with the ability to set a context for a request.

func NewForwardNsgReadParamsWithHTTPClient

func NewForwardNsgReadParamsWithHTTPClient(client *http.Client) *ForwardNsgReadParams

NewForwardNsgReadParamsWithHTTPClient creates a new ForwardNsgReadParams object with the ability to set a custom HTTPClient for a request.

func NewForwardNsgReadParamsWithTimeout

func NewForwardNsgReadParamsWithTimeout(timeout time.Duration) *ForwardNsgReadParams

NewForwardNsgReadParamsWithTimeout creates a new ForwardNsgReadParams object with the ability to set a timeout on a request.

func (*ForwardNsgReadParams) SetContext

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

SetContext adds the context to the forward nsg read params

func (*ForwardNsgReadParams) SetDefaults

func (o *ForwardNsgReadParams) SetDefaults()

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

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

func (*ForwardNsgReadParams) SetFields

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

SetFields adds the fields to the forward nsg read params

func (*ForwardNsgReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward nsg read params

func (*ForwardNsgReadParams) SetID

func (o *ForwardNsgReadParams) SetID(id string)

SetID adds the id to the forward nsg read params

func (*ForwardNsgReadParams) SetTimeout

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

SetTimeout adds the timeout to the forward nsg read params

func (*ForwardNsgReadParams) WithContext

WithContext adds the context to the forward nsg read params

func (*ForwardNsgReadParams) WithDefaults

func (o *ForwardNsgReadParams) WithDefaults() *ForwardNsgReadParams

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

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

func (*ForwardNsgReadParams) WithFields

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

WithFields adds the fields to the forward nsg read params

func (*ForwardNsgReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward nsg read params

func (*ForwardNsgReadParams) WithID

WithID adds the id to the forward nsg read params

func (*ForwardNsgReadParams) WithTimeout

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

WithTimeout adds the timeout to the forward nsg read params

func (*ForwardNsgReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForwardNsgReadReader

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

ForwardNsgReadReader is a Reader for the ForwardNsgRead structure.

func (*ForwardNsgReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForwardNsgUpdateCreated

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

PATCH operation response

func NewForwardNsgUpdateCreated

func NewForwardNsgUpdateCreated() *ForwardNsgUpdateCreated

NewForwardNsgUpdateCreated creates a ForwardNsgUpdateCreated with default headers values

func (*ForwardNsgUpdateCreated) Error

func (o *ForwardNsgUpdateCreated) Error() string

func (*ForwardNsgUpdateCreated) GetPayload

type ForwardNsgUpdateParams

type ForwardNsgUpdateParams struct {

	// Body.
	Body *models.ConfigForwardNSG

	/* ID.

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

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

ForwardNsgUpdateParams contains all the parameters to send to the API endpoint

for the forward nsg update operation.

Typically these are written to a http.Request.

func NewForwardNsgUpdateParams

func NewForwardNsgUpdateParams() *ForwardNsgUpdateParams

NewForwardNsgUpdateParams creates a new ForwardNsgUpdateParams 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 NewForwardNsgUpdateParamsWithContext

func NewForwardNsgUpdateParamsWithContext(ctx context.Context) *ForwardNsgUpdateParams

NewForwardNsgUpdateParamsWithContext creates a new ForwardNsgUpdateParams object with the ability to set a context for a request.

func NewForwardNsgUpdateParamsWithHTTPClient

func NewForwardNsgUpdateParamsWithHTTPClient(client *http.Client) *ForwardNsgUpdateParams

NewForwardNsgUpdateParamsWithHTTPClient creates a new ForwardNsgUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewForwardNsgUpdateParamsWithTimeout

func NewForwardNsgUpdateParamsWithTimeout(timeout time.Duration) *ForwardNsgUpdateParams

NewForwardNsgUpdateParamsWithTimeout creates a new ForwardNsgUpdateParams object with the ability to set a timeout on a request.

func (*ForwardNsgUpdateParams) SetBody

SetBody adds the body to the forward nsg update params

func (*ForwardNsgUpdateParams) SetContext

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

SetContext adds the context to the forward nsg update params

func (*ForwardNsgUpdateParams) SetDefaults

func (o *ForwardNsgUpdateParams) SetDefaults()

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

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

func (*ForwardNsgUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the forward nsg update params

func (*ForwardNsgUpdateParams) SetID

func (o *ForwardNsgUpdateParams) SetID(id string)

SetID adds the id to the forward nsg update params

func (*ForwardNsgUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the forward nsg update params

func (*ForwardNsgUpdateParams) WithBody

WithBody adds the body to the forward nsg update params

func (*ForwardNsgUpdateParams) WithContext

WithContext adds the context to the forward nsg update params

func (*ForwardNsgUpdateParams) WithDefaults

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

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

func (*ForwardNsgUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the forward nsg update params

func (*ForwardNsgUpdateParams) WithID

WithID adds the id to the forward nsg update params

func (*ForwardNsgUpdateParams) WithTimeout

WithTimeout adds the timeout to the forward nsg update params

func (*ForwardNsgUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForwardNsgUpdateReader

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

ForwardNsgUpdateReader is a Reader for the ForwardNsgUpdate structure.

func (*ForwardNsgUpdateReader) ReadResponse

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