Documentation
¶
Index ¶
- type AuthNsgCreateCreated
- type AuthNsgCreateParams
- func (o *AuthNsgCreateParams) SetBody(body *models.ConfigAuthNSG)
- func (o *AuthNsgCreateParams) SetContext(ctx context.Context)
- func (o *AuthNsgCreateParams) SetDefaults()
- func (o *AuthNsgCreateParams) SetHTTPClient(client *http.Client)
- func (o *AuthNsgCreateParams) SetTimeout(timeout time.Duration)
- func (o *AuthNsgCreateParams) WithBody(body *models.ConfigAuthNSG) *AuthNsgCreateParams
- func (o *AuthNsgCreateParams) WithContext(ctx context.Context) *AuthNsgCreateParams
- func (o *AuthNsgCreateParams) WithDefaults() *AuthNsgCreateParams
- func (o *AuthNsgCreateParams) WithHTTPClient(client *http.Client) *AuthNsgCreateParams
- func (o *AuthNsgCreateParams) WithTimeout(timeout time.Duration) *AuthNsgCreateParams
- func (o *AuthNsgCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthNsgCreateReader
- type AuthNsgDeleteNoContent
- type AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) SetContext(ctx context.Context)
- func (o *AuthNsgDeleteParams) SetDefaults()
- func (o *AuthNsgDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AuthNsgDeleteParams) SetID(id string)
- func (o *AuthNsgDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AuthNsgDeleteParams) WithContext(ctx context.Context) *AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) WithDefaults() *AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) WithHTTPClient(client *http.Client) *AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) WithID(id string) *AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) WithTimeout(timeout time.Duration) *AuthNsgDeleteParams
- func (o *AuthNsgDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthNsgDeleteReader
- type AuthNsgListOK
- type AuthNsgListParams
- func (o *AuthNsgListParams) SetContext(ctx context.Context)
- func (o *AuthNsgListParams) SetDefaults()
- func (o *AuthNsgListParams) SetFields(fields *string)
- func (o *AuthNsgListParams) SetFilter(filter *string)
- func (o *AuthNsgListParams) SetHTTPClient(client *http.Client)
- func (o *AuthNsgListParams) SetLimit(limit *int64)
- func (o *AuthNsgListParams) SetOffset(offset *int64)
- func (o *AuthNsgListParams) SetOrderBy(orderBy *string)
- func (o *AuthNsgListParams) SetPageToken(pageToken *string)
- func (o *AuthNsgListParams) SetTfilter(tfilter *string)
- func (o *AuthNsgListParams) SetTimeout(timeout time.Duration)
- func (o *AuthNsgListParams) SetTorderBy(torderBy *string)
- func (o *AuthNsgListParams) WithContext(ctx context.Context) *AuthNsgListParams
- func (o *AuthNsgListParams) WithDefaults() *AuthNsgListParams
- func (o *AuthNsgListParams) WithFields(fields *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WithFilter(filter *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WithHTTPClient(client *http.Client) *AuthNsgListParams
- func (o *AuthNsgListParams) WithLimit(limit *int64) *AuthNsgListParams
- func (o *AuthNsgListParams) WithOffset(offset *int64) *AuthNsgListParams
- func (o *AuthNsgListParams) WithOrderBy(orderBy *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WithPageToken(pageToken *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WithTfilter(tfilter *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WithTimeout(timeout time.Duration) *AuthNsgListParams
- func (o *AuthNsgListParams) WithTorderBy(torderBy *string) *AuthNsgListParams
- func (o *AuthNsgListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthNsgListReader
- type AuthNsgReadOK
- type AuthNsgReadParams
- func (o *AuthNsgReadParams) SetContext(ctx context.Context)
- func (o *AuthNsgReadParams) SetDefaults()
- func (o *AuthNsgReadParams) SetFields(fields *string)
- func (o *AuthNsgReadParams) SetHTTPClient(client *http.Client)
- func (o *AuthNsgReadParams) SetID(id string)
- func (o *AuthNsgReadParams) SetTimeout(timeout time.Duration)
- func (o *AuthNsgReadParams) WithContext(ctx context.Context) *AuthNsgReadParams
- func (o *AuthNsgReadParams) WithDefaults() *AuthNsgReadParams
- func (o *AuthNsgReadParams) WithFields(fields *string) *AuthNsgReadParams
- func (o *AuthNsgReadParams) WithHTTPClient(client *http.Client) *AuthNsgReadParams
- func (o *AuthNsgReadParams) WithID(id string) *AuthNsgReadParams
- func (o *AuthNsgReadParams) WithTimeout(timeout time.Duration) *AuthNsgReadParams
- func (o *AuthNsgReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthNsgReadReader
- type AuthNsgUpdateCreated
- type AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) SetBody(body *models.ConfigAuthNSG)
- func (o *AuthNsgUpdateParams) SetContext(ctx context.Context)
- func (o *AuthNsgUpdateParams) SetDefaults()
- func (o *AuthNsgUpdateParams) SetHTTPClient(client *http.Client)
- func (o *AuthNsgUpdateParams) SetID(id string)
- func (o *AuthNsgUpdateParams) SetTimeout(timeout time.Duration)
- func (o *AuthNsgUpdateParams) WithBody(body *models.ConfigAuthNSG) *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WithContext(ctx context.Context) *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WithDefaults() *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WithHTTPClient(client *http.Client) *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WithID(id string) *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WithTimeout(timeout time.Duration) *AuthNsgUpdateParams
- func (o *AuthNsgUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthNsgUpdateReader
- type Client
- func (a *Client) AuthNsgCreate(params *AuthNsgCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthNsgCreateCreated, error)
- func (a *Client) AuthNsgDelete(params *AuthNsgDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthNsgDeleteNoContent, error)
- func (a *Client) AuthNsgList(params *AuthNsgListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthNsgListOK, error)
- func (a *Client) AuthNsgRead(params *AuthNsgReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthNsgReadOK, error)
- func (a *Client) AuthNsgUpdate(params *AuthNsgUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthNsgUpdateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthNsgCreateCreated ¶
type AuthNsgCreateCreated struct {
Payload *models.ConfigCreateAuthNSGResponse
}
AuthNsgCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewAuthNsgCreateCreated ¶
func NewAuthNsgCreateCreated() *AuthNsgCreateCreated
NewAuthNsgCreateCreated creates a AuthNsgCreateCreated with default headers values
func (*AuthNsgCreateCreated) Error ¶
func (o *AuthNsgCreateCreated) Error() string
func (*AuthNsgCreateCreated) GetPayload ¶
func (o *AuthNsgCreateCreated) GetPayload() *models.ConfigCreateAuthNSGResponse
type AuthNsgCreateParams ¶
type AuthNsgCreateParams struct { // Body. Body *models.ConfigAuthNSG Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthNsgCreateParams contains all the parameters to send to the API endpoint
for the auth nsg create operation. Typically these are written to a http.Request.
func NewAuthNsgCreateParams ¶
func NewAuthNsgCreateParams() *AuthNsgCreateParams
NewAuthNsgCreateParams creates a new AuthNsgCreateParams 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 NewAuthNsgCreateParamsWithContext ¶
func NewAuthNsgCreateParamsWithContext(ctx context.Context) *AuthNsgCreateParams
NewAuthNsgCreateParamsWithContext creates a new AuthNsgCreateParams object with the ability to set a context for a request.
func NewAuthNsgCreateParamsWithHTTPClient ¶
func NewAuthNsgCreateParamsWithHTTPClient(client *http.Client) *AuthNsgCreateParams
NewAuthNsgCreateParamsWithHTTPClient creates a new AuthNsgCreateParams object with the ability to set a custom HTTPClient for a request.
func NewAuthNsgCreateParamsWithTimeout ¶
func NewAuthNsgCreateParamsWithTimeout(timeout time.Duration) *AuthNsgCreateParams
NewAuthNsgCreateParamsWithTimeout creates a new AuthNsgCreateParams object with the ability to set a timeout on a request.
func (*AuthNsgCreateParams) SetBody ¶
func (o *AuthNsgCreateParams) SetBody(body *models.ConfigAuthNSG)
SetBody adds the body to the auth nsg create params
func (*AuthNsgCreateParams) SetContext ¶
func (o *AuthNsgCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the auth nsg create params
func (*AuthNsgCreateParams) SetDefaults ¶
func (o *AuthNsgCreateParams) SetDefaults()
SetDefaults hydrates default values in the auth nsg create params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgCreateParams) SetHTTPClient ¶
func (o *AuthNsgCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth nsg create params
func (*AuthNsgCreateParams) SetTimeout ¶
func (o *AuthNsgCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth nsg create params
func (*AuthNsgCreateParams) WithBody ¶
func (o *AuthNsgCreateParams) WithBody(body *models.ConfigAuthNSG) *AuthNsgCreateParams
WithBody adds the body to the auth nsg create params
func (*AuthNsgCreateParams) WithContext ¶
func (o *AuthNsgCreateParams) WithContext(ctx context.Context) *AuthNsgCreateParams
WithContext adds the context to the auth nsg create params
func (*AuthNsgCreateParams) WithDefaults ¶
func (o *AuthNsgCreateParams) WithDefaults() *AuthNsgCreateParams
WithDefaults hydrates default values in the auth nsg create params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgCreateParams) WithHTTPClient ¶
func (o *AuthNsgCreateParams) WithHTTPClient(client *http.Client) *AuthNsgCreateParams
WithHTTPClient adds the HTTPClient to the auth nsg create params
func (*AuthNsgCreateParams) WithTimeout ¶
func (o *AuthNsgCreateParams) WithTimeout(timeout time.Duration) *AuthNsgCreateParams
WithTimeout adds the timeout to the auth nsg create params
func (*AuthNsgCreateParams) WriteToRequest ¶
func (o *AuthNsgCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthNsgCreateReader ¶
type AuthNsgCreateReader struct {
// contains filtered or unexported fields
}
AuthNsgCreateReader is a Reader for the AuthNsgCreate structure.
func (*AuthNsgCreateReader) ReadResponse ¶
func (o *AuthNsgCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthNsgDeleteNoContent ¶
type AuthNsgDeleteNoContent struct { }
AuthNsgDeleteNoContent describes a response with status code 204, with default header values.
No Content
func NewAuthNsgDeleteNoContent ¶
func NewAuthNsgDeleteNoContent() *AuthNsgDeleteNoContent
NewAuthNsgDeleteNoContent creates a AuthNsgDeleteNoContent with default headers values
func (*AuthNsgDeleteNoContent) Error ¶
func (o *AuthNsgDeleteNoContent) Error() string
type AuthNsgDeleteParams ¶
type AuthNsgDeleteParams struct { /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthNsgDeleteParams contains all the parameters to send to the API endpoint
for the auth nsg delete operation. Typically these are written to a http.Request.
func NewAuthNsgDeleteParams ¶
func NewAuthNsgDeleteParams() *AuthNsgDeleteParams
NewAuthNsgDeleteParams creates a new AuthNsgDeleteParams 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 NewAuthNsgDeleteParamsWithContext ¶
func NewAuthNsgDeleteParamsWithContext(ctx context.Context) *AuthNsgDeleteParams
NewAuthNsgDeleteParamsWithContext creates a new AuthNsgDeleteParams object with the ability to set a context for a request.
func NewAuthNsgDeleteParamsWithHTTPClient ¶
func NewAuthNsgDeleteParamsWithHTTPClient(client *http.Client) *AuthNsgDeleteParams
NewAuthNsgDeleteParamsWithHTTPClient creates a new AuthNsgDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewAuthNsgDeleteParamsWithTimeout ¶
func NewAuthNsgDeleteParamsWithTimeout(timeout time.Duration) *AuthNsgDeleteParams
NewAuthNsgDeleteParamsWithTimeout creates a new AuthNsgDeleteParams object with the ability to set a timeout on a request.
func (*AuthNsgDeleteParams) SetContext ¶
func (o *AuthNsgDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the auth nsg delete params
func (*AuthNsgDeleteParams) SetDefaults ¶
func (o *AuthNsgDeleteParams) SetDefaults()
SetDefaults hydrates default values in the auth nsg delete params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgDeleteParams) SetHTTPClient ¶
func (o *AuthNsgDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth nsg delete params
func (*AuthNsgDeleteParams) SetID ¶
func (o *AuthNsgDeleteParams) SetID(id string)
SetID adds the id to the auth nsg delete params
func (*AuthNsgDeleteParams) SetTimeout ¶
func (o *AuthNsgDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth nsg delete params
func (*AuthNsgDeleteParams) WithContext ¶
func (o *AuthNsgDeleteParams) WithContext(ctx context.Context) *AuthNsgDeleteParams
WithContext adds the context to the auth nsg delete params
func (*AuthNsgDeleteParams) WithDefaults ¶
func (o *AuthNsgDeleteParams) WithDefaults() *AuthNsgDeleteParams
WithDefaults hydrates default values in the auth nsg delete params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgDeleteParams) WithHTTPClient ¶
func (o *AuthNsgDeleteParams) WithHTTPClient(client *http.Client) *AuthNsgDeleteParams
WithHTTPClient adds the HTTPClient to the auth nsg delete params
func (*AuthNsgDeleteParams) WithID ¶
func (o *AuthNsgDeleteParams) WithID(id string) *AuthNsgDeleteParams
WithID adds the id to the auth nsg delete params
func (*AuthNsgDeleteParams) WithTimeout ¶
func (o *AuthNsgDeleteParams) WithTimeout(timeout time.Duration) *AuthNsgDeleteParams
WithTimeout adds the timeout to the auth nsg delete params
func (*AuthNsgDeleteParams) WriteToRequest ¶
func (o *AuthNsgDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthNsgDeleteReader ¶
type AuthNsgDeleteReader struct {
// contains filtered or unexported fields
}
AuthNsgDeleteReader is a Reader for the AuthNsgDelete structure.
func (*AuthNsgDeleteReader) ReadResponse ¶
func (o *AuthNsgDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthNsgListOK ¶
type AuthNsgListOK struct {
Payload *models.ConfigListAuthNSGResponse
}
AuthNsgListOK describes a response with status code 200, with default header values.
GET operation response
func NewAuthNsgListOK ¶
func NewAuthNsgListOK() *AuthNsgListOK
NewAuthNsgListOK creates a AuthNsgListOK with default headers values
func (*AuthNsgListOK) Error ¶
func (o *AuthNsgListOK) Error() string
func (*AuthNsgListOK) GetPayload ¶
func (o *AuthNsgListOK) GetPayload() *models.ConfigListAuthNSGResponse
type AuthNsgListParams ¶
type AuthNsgListParams 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 }
AuthNsgListParams contains all the parameters to send to the API endpoint
for the auth nsg list operation. Typically these are written to a http.Request.
func NewAuthNsgListParams ¶
func NewAuthNsgListParams() *AuthNsgListParams
NewAuthNsgListParams creates a new AuthNsgListParams 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 NewAuthNsgListParamsWithContext ¶
func NewAuthNsgListParamsWithContext(ctx context.Context) *AuthNsgListParams
NewAuthNsgListParamsWithContext creates a new AuthNsgListParams object with the ability to set a context for a request.
func NewAuthNsgListParamsWithHTTPClient ¶
func NewAuthNsgListParamsWithHTTPClient(client *http.Client) *AuthNsgListParams
NewAuthNsgListParamsWithHTTPClient creates a new AuthNsgListParams object with the ability to set a custom HTTPClient for a request.
func NewAuthNsgListParamsWithTimeout ¶
func NewAuthNsgListParamsWithTimeout(timeout time.Duration) *AuthNsgListParams
NewAuthNsgListParamsWithTimeout creates a new AuthNsgListParams object with the ability to set a timeout on a request.
func (*AuthNsgListParams) SetContext ¶
func (o *AuthNsgListParams) SetContext(ctx context.Context)
SetContext adds the context to the auth nsg list params
func (*AuthNsgListParams) SetDefaults ¶
func (o *AuthNsgListParams) SetDefaults()
SetDefaults hydrates default values in the auth nsg list params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgListParams) SetFields ¶
func (o *AuthNsgListParams) SetFields(fields *string)
SetFields adds the fields to the auth nsg list params
func (*AuthNsgListParams) SetFilter ¶
func (o *AuthNsgListParams) SetFilter(filter *string)
SetFilter adds the filter to the auth nsg list params
func (*AuthNsgListParams) SetHTTPClient ¶
func (o *AuthNsgListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth nsg list params
func (*AuthNsgListParams) SetLimit ¶
func (o *AuthNsgListParams) SetLimit(limit *int64)
SetLimit adds the limit to the auth nsg list params
func (*AuthNsgListParams) SetOffset ¶
func (o *AuthNsgListParams) SetOffset(offset *int64)
SetOffset adds the offset to the auth nsg list params
func (*AuthNsgListParams) SetOrderBy ¶
func (o *AuthNsgListParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the auth nsg list params
func (*AuthNsgListParams) SetPageToken ¶
func (o *AuthNsgListParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the auth nsg list params
func (*AuthNsgListParams) SetTfilter ¶
func (o *AuthNsgListParams) SetTfilter(tfilter *string)
SetTfilter adds the tfilter to the auth nsg list params
func (*AuthNsgListParams) SetTimeout ¶
func (o *AuthNsgListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth nsg list params
func (*AuthNsgListParams) SetTorderBy ¶
func (o *AuthNsgListParams) SetTorderBy(torderBy *string)
SetTorderBy adds the torderBy to the auth nsg list params
func (*AuthNsgListParams) WithContext ¶
func (o *AuthNsgListParams) WithContext(ctx context.Context) *AuthNsgListParams
WithContext adds the context to the auth nsg list params
func (*AuthNsgListParams) WithDefaults ¶
func (o *AuthNsgListParams) WithDefaults() *AuthNsgListParams
WithDefaults hydrates default values in the auth nsg list params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgListParams) WithFields ¶
func (o *AuthNsgListParams) WithFields(fields *string) *AuthNsgListParams
WithFields adds the fields to the auth nsg list params
func (*AuthNsgListParams) WithFilter ¶
func (o *AuthNsgListParams) WithFilter(filter *string) *AuthNsgListParams
WithFilter adds the filter to the auth nsg list params
func (*AuthNsgListParams) WithHTTPClient ¶
func (o *AuthNsgListParams) WithHTTPClient(client *http.Client) *AuthNsgListParams
WithHTTPClient adds the HTTPClient to the auth nsg list params
func (*AuthNsgListParams) WithLimit ¶
func (o *AuthNsgListParams) WithLimit(limit *int64) *AuthNsgListParams
WithLimit adds the limit to the auth nsg list params
func (*AuthNsgListParams) WithOffset ¶
func (o *AuthNsgListParams) WithOffset(offset *int64) *AuthNsgListParams
WithOffset adds the offset to the auth nsg list params
func (*AuthNsgListParams) WithOrderBy ¶
func (o *AuthNsgListParams) WithOrderBy(orderBy *string) *AuthNsgListParams
WithOrderBy adds the orderBy to the auth nsg list params
func (*AuthNsgListParams) WithPageToken ¶
func (o *AuthNsgListParams) WithPageToken(pageToken *string) *AuthNsgListParams
WithPageToken adds the pageToken to the auth nsg list params
func (*AuthNsgListParams) WithTfilter ¶
func (o *AuthNsgListParams) WithTfilter(tfilter *string) *AuthNsgListParams
WithTfilter adds the tfilter to the auth nsg list params
func (*AuthNsgListParams) WithTimeout ¶
func (o *AuthNsgListParams) WithTimeout(timeout time.Duration) *AuthNsgListParams
WithTimeout adds the timeout to the auth nsg list params
func (*AuthNsgListParams) WithTorderBy ¶
func (o *AuthNsgListParams) WithTorderBy(torderBy *string) *AuthNsgListParams
WithTorderBy adds the torderBy to the auth nsg list params
func (*AuthNsgListParams) WriteToRequest ¶
func (o *AuthNsgListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthNsgListReader ¶
type AuthNsgListReader struct {
// contains filtered or unexported fields
}
AuthNsgListReader is a Reader for the AuthNsgList structure.
func (*AuthNsgListReader) ReadResponse ¶
func (o *AuthNsgListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthNsgReadOK ¶
type AuthNsgReadOK struct {
Payload *models.ConfigReadAuthNSGResponse
}
AuthNsgReadOK describes a response with status code 200, with default header values.
GET operation response
func NewAuthNsgReadOK ¶
func NewAuthNsgReadOK() *AuthNsgReadOK
NewAuthNsgReadOK creates a AuthNsgReadOK with default headers values
func (*AuthNsgReadOK) Error ¶
func (o *AuthNsgReadOK) Error() string
func (*AuthNsgReadOK) GetPayload ¶
func (o *AuthNsgReadOK) GetPayload() *models.ConfigReadAuthNSGResponse
type AuthNsgReadParams ¶
type AuthNsgReadParams 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 }
AuthNsgReadParams contains all the parameters to send to the API endpoint
for the auth nsg read operation. Typically these are written to a http.Request.
func NewAuthNsgReadParams ¶
func NewAuthNsgReadParams() *AuthNsgReadParams
NewAuthNsgReadParams creates a new AuthNsgReadParams 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 NewAuthNsgReadParamsWithContext ¶
func NewAuthNsgReadParamsWithContext(ctx context.Context) *AuthNsgReadParams
NewAuthNsgReadParamsWithContext creates a new AuthNsgReadParams object with the ability to set a context for a request.
func NewAuthNsgReadParamsWithHTTPClient ¶
func NewAuthNsgReadParamsWithHTTPClient(client *http.Client) *AuthNsgReadParams
NewAuthNsgReadParamsWithHTTPClient creates a new AuthNsgReadParams object with the ability to set a custom HTTPClient for a request.
func NewAuthNsgReadParamsWithTimeout ¶
func NewAuthNsgReadParamsWithTimeout(timeout time.Duration) *AuthNsgReadParams
NewAuthNsgReadParamsWithTimeout creates a new AuthNsgReadParams object with the ability to set a timeout on a request.
func (*AuthNsgReadParams) SetContext ¶
func (o *AuthNsgReadParams) SetContext(ctx context.Context)
SetContext adds the context to the auth nsg read params
func (*AuthNsgReadParams) SetDefaults ¶
func (o *AuthNsgReadParams) SetDefaults()
SetDefaults hydrates default values in the auth nsg read params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgReadParams) SetFields ¶
func (o *AuthNsgReadParams) SetFields(fields *string)
SetFields adds the fields to the auth nsg read params
func (*AuthNsgReadParams) SetHTTPClient ¶
func (o *AuthNsgReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth nsg read params
func (*AuthNsgReadParams) SetID ¶
func (o *AuthNsgReadParams) SetID(id string)
SetID adds the id to the auth nsg read params
func (*AuthNsgReadParams) SetTimeout ¶
func (o *AuthNsgReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth nsg read params
func (*AuthNsgReadParams) WithContext ¶
func (o *AuthNsgReadParams) WithContext(ctx context.Context) *AuthNsgReadParams
WithContext adds the context to the auth nsg read params
func (*AuthNsgReadParams) WithDefaults ¶
func (o *AuthNsgReadParams) WithDefaults() *AuthNsgReadParams
WithDefaults hydrates default values in the auth nsg read params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgReadParams) WithFields ¶
func (o *AuthNsgReadParams) WithFields(fields *string) *AuthNsgReadParams
WithFields adds the fields to the auth nsg read params
func (*AuthNsgReadParams) WithHTTPClient ¶
func (o *AuthNsgReadParams) WithHTTPClient(client *http.Client) *AuthNsgReadParams
WithHTTPClient adds the HTTPClient to the auth nsg read params
func (*AuthNsgReadParams) WithID ¶
func (o *AuthNsgReadParams) WithID(id string) *AuthNsgReadParams
WithID adds the id to the auth nsg read params
func (*AuthNsgReadParams) WithTimeout ¶
func (o *AuthNsgReadParams) WithTimeout(timeout time.Duration) *AuthNsgReadParams
WithTimeout adds the timeout to the auth nsg read params
func (*AuthNsgReadParams) WriteToRequest ¶
func (o *AuthNsgReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthNsgReadReader ¶
type AuthNsgReadReader struct {
// contains filtered or unexported fields
}
AuthNsgReadReader is a Reader for the AuthNsgRead structure.
func (*AuthNsgReadReader) ReadResponse ¶
func (o *AuthNsgReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthNsgUpdateCreated ¶
type AuthNsgUpdateCreated struct {
Payload *models.ConfigUpdateAuthNSGResponse
}
AuthNsgUpdateCreated describes a response with status code 201, with default header values.
PATCH operation response
func NewAuthNsgUpdateCreated ¶
func NewAuthNsgUpdateCreated() *AuthNsgUpdateCreated
NewAuthNsgUpdateCreated creates a AuthNsgUpdateCreated with default headers values
func (*AuthNsgUpdateCreated) Error ¶
func (o *AuthNsgUpdateCreated) Error() string
func (*AuthNsgUpdateCreated) GetPayload ¶
func (o *AuthNsgUpdateCreated) GetPayload() *models.ConfigUpdateAuthNSGResponse
type AuthNsgUpdateParams ¶
type AuthNsgUpdateParams struct { // Body. Body *models.ConfigAuthNSG /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthNsgUpdateParams contains all the parameters to send to the API endpoint
for the auth nsg update operation. Typically these are written to a http.Request.
func NewAuthNsgUpdateParams ¶
func NewAuthNsgUpdateParams() *AuthNsgUpdateParams
NewAuthNsgUpdateParams creates a new AuthNsgUpdateParams 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 NewAuthNsgUpdateParamsWithContext ¶
func NewAuthNsgUpdateParamsWithContext(ctx context.Context) *AuthNsgUpdateParams
NewAuthNsgUpdateParamsWithContext creates a new AuthNsgUpdateParams object with the ability to set a context for a request.
func NewAuthNsgUpdateParamsWithHTTPClient ¶
func NewAuthNsgUpdateParamsWithHTTPClient(client *http.Client) *AuthNsgUpdateParams
NewAuthNsgUpdateParamsWithHTTPClient creates a new AuthNsgUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewAuthNsgUpdateParamsWithTimeout ¶
func NewAuthNsgUpdateParamsWithTimeout(timeout time.Duration) *AuthNsgUpdateParams
NewAuthNsgUpdateParamsWithTimeout creates a new AuthNsgUpdateParams object with the ability to set a timeout on a request.
func (*AuthNsgUpdateParams) SetBody ¶
func (o *AuthNsgUpdateParams) SetBody(body *models.ConfigAuthNSG)
SetBody adds the body to the auth nsg update params
func (*AuthNsgUpdateParams) SetContext ¶
func (o *AuthNsgUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the auth nsg update params
func (*AuthNsgUpdateParams) SetDefaults ¶
func (o *AuthNsgUpdateParams) SetDefaults()
SetDefaults hydrates default values in the auth nsg update params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgUpdateParams) SetHTTPClient ¶
func (o *AuthNsgUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the auth nsg update params
func (*AuthNsgUpdateParams) SetID ¶
func (o *AuthNsgUpdateParams) SetID(id string)
SetID adds the id to the auth nsg update params
func (*AuthNsgUpdateParams) SetTimeout ¶
func (o *AuthNsgUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the auth nsg update params
func (*AuthNsgUpdateParams) WithBody ¶
func (o *AuthNsgUpdateParams) WithBody(body *models.ConfigAuthNSG) *AuthNsgUpdateParams
WithBody adds the body to the auth nsg update params
func (*AuthNsgUpdateParams) WithContext ¶
func (o *AuthNsgUpdateParams) WithContext(ctx context.Context) *AuthNsgUpdateParams
WithContext adds the context to the auth nsg update params
func (*AuthNsgUpdateParams) WithDefaults ¶
func (o *AuthNsgUpdateParams) WithDefaults() *AuthNsgUpdateParams
WithDefaults hydrates default values in the auth nsg update params (not the query body).
All values with no default are reset to their zero value.
func (*AuthNsgUpdateParams) WithHTTPClient ¶
func (o *AuthNsgUpdateParams) WithHTTPClient(client *http.Client) *AuthNsgUpdateParams
WithHTTPClient adds the HTTPClient to the auth nsg update params
func (*AuthNsgUpdateParams) WithID ¶
func (o *AuthNsgUpdateParams) WithID(id string) *AuthNsgUpdateParams
WithID adds the id to the auth nsg update params
func (*AuthNsgUpdateParams) WithTimeout ¶
func (o *AuthNsgUpdateParams) WithTimeout(timeout time.Duration) *AuthNsgUpdateParams
WithTimeout adds the timeout to the auth nsg update params
func (*AuthNsgUpdateParams) WriteToRequest ¶
func (o *AuthNsgUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthNsgUpdateReader ¶
type AuthNsgUpdateReader struct {
// contains filtered or unexported fields
}
AuthNsgUpdateReader is a Reader for the AuthNsgUpdate structure.
func (*AuthNsgUpdateReader) ReadResponse ¶
func (o *AuthNsgUpdateReader) 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 nsg API
func (*Client) AuthNsgCreate ¶
func (a *Client) AuthNsgCreate(params *AuthNsgCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgCreateCreated, error)
AuthNsgCreate creates the auth n s g object Use this method to create an AuthNSG object.
The _dns/auth_nsg_ object represents an Authoritative DNS Server Group for authoritative zones.
func (*Client) AuthNsgDelete ¶
func (a *Client) AuthNsgDelete(params *AuthNsgDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgDeleteNoContent, error)
AuthNsgDelete moves the auth n s g object to recyclebin Use this method to move an AuthNSG object to Recyclebin.
The _dns/auth_nsg_ object represents an Authoritative DNS Server Group for authoritative zones.
func (*Client) AuthNsgList ¶
func (a *Client) AuthNsgList(params *AuthNsgListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgListOK, error)
AuthNsgList lists auth n s g objects Use this method to list AuthNSG objects.
The _dns/auth_nsg_ object represents an Authoritative DNS Server Group for authoritative zones.
func (*Client) AuthNsgRead ¶
func (a *Client) AuthNsgRead(params *AuthNsgReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgReadOK, error)
AuthNsgRead reads the auth n s g object Use this method to read an AuthNSG object.
The _dns/auth_nsg_ object represents an Authoritative DNS Server Group for authoritative zones.
func (*Client) AuthNsgUpdate ¶
func (a *Client) AuthNsgUpdate(params *AuthNsgUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgUpdateCreated, error)
AuthNsgUpdate updates the auth n s g object Use this method to update an AuthNSG object.
The _dns/auth_nsg_ object represents an Authoritative DNS Server Group for authoritative 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 { AuthNsgCreate(params *AuthNsgCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgCreateCreated, error) AuthNsgDelete(params *AuthNsgDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgDeleteNoContent, error) AuthNsgList(params *AuthNsgListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgListOK, error) AuthNsgRead(params *AuthNsgReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgReadOK, error) AuthNsgUpdate(params *AuthNsgUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthNsgUpdateCreated, 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 nsg API client.
Source Files
¶
- auth_nsg_client.go
- auth_nsg_create_parameters.go
- auth_nsg_create_responses.go
- auth_nsg_delete_parameters.go
- auth_nsg_delete_responses.go
- auth_nsg_list_parameters.go
- auth_nsg_list_responses.go
- auth_nsg_read_parameters.go
- auth_nsg_read_responses.go
- auth_nsg_update_parameters.go
- auth_nsg_update_responses.go