support

package
v0.0.0-...-daf5385 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationHalJSON

func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)

WithAcceptApplicationHalJSON sets the Accept header to "application/hal+json".

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithContentTypeApplicationHalJSON

func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)

WithContentTypeApplicationHalJSON sets the Content-Type header to "application/hal+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

Types

type AutoUpdateConfigurationCollectionGetDefault

type AutoUpdateConfigurationCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutoUpdateConfigurationCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewAutoUpdateConfigurationCollectionGetDefault

func NewAutoUpdateConfigurationCollectionGetDefault(code int) *AutoUpdateConfigurationCollectionGetDefault

NewAutoUpdateConfigurationCollectionGetDefault creates a AutoUpdateConfigurationCollectionGetDefault with default headers values

func (*AutoUpdateConfigurationCollectionGetDefault) Code

Code gets the status code for the auto update configuration collection get default response

func (*AutoUpdateConfigurationCollectionGetDefault) Error

func (*AutoUpdateConfigurationCollectionGetDefault) GetPayload

func (*AutoUpdateConfigurationCollectionGetDefault) IsClientError

IsClientError returns true when this auto update configuration collection get default response has a 4xx status code

func (*AutoUpdateConfigurationCollectionGetDefault) IsCode

IsCode returns true when this auto update configuration collection get default response a status code equal to that given

func (*AutoUpdateConfigurationCollectionGetDefault) IsRedirect

IsRedirect returns true when this auto update configuration collection get default response has a 3xx status code

func (*AutoUpdateConfigurationCollectionGetDefault) IsServerError

IsServerError returns true when this auto update configuration collection get default response has a 5xx status code

func (*AutoUpdateConfigurationCollectionGetDefault) IsSuccess

IsSuccess returns true when this auto update configuration collection get default response has a 2xx status code

func (*AutoUpdateConfigurationCollectionGetDefault) String

type AutoUpdateConfigurationCollectionGetOK

type AutoUpdateConfigurationCollectionGetOK struct {
	Payload *models.AutoUpdateConfigurationResponse
}

AutoUpdateConfigurationCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateConfigurationCollectionGetOK

func NewAutoUpdateConfigurationCollectionGetOK() *AutoUpdateConfigurationCollectionGetOK

NewAutoUpdateConfigurationCollectionGetOK creates a AutoUpdateConfigurationCollectionGetOK with default headers values

func (*AutoUpdateConfigurationCollectionGetOK) Code

Code gets the status code for the auto update configuration collection get o k response

func (*AutoUpdateConfigurationCollectionGetOK) Error

func (*AutoUpdateConfigurationCollectionGetOK) GetPayload

func (*AutoUpdateConfigurationCollectionGetOK) IsClientError

func (o *AutoUpdateConfigurationCollectionGetOK) IsClientError() bool

IsClientError returns true when this auto update configuration collection get o k response has a 4xx status code

func (*AutoUpdateConfigurationCollectionGetOK) IsCode

IsCode returns true when this auto update configuration collection get o k response a status code equal to that given

func (*AutoUpdateConfigurationCollectionGetOK) IsRedirect

IsRedirect returns true when this auto update configuration collection get o k response has a 3xx status code

func (*AutoUpdateConfigurationCollectionGetOK) IsServerError

func (o *AutoUpdateConfigurationCollectionGetOK) IsServerError() bool

IsServerError returns true when this auto update configuration collection get o k response has a 5xx status code

func (*AutoUpdateConfigurationCollectionGetOK) IsSuccess

IsSuccess returns true when this auto update configuration collection get o k response has a 2xx status code

func (*AutoUpdateConfigurationCollectionGetOK) String

type AutoUpdateConfigurationCollectionGetParams

type AutoUpdateConfigurationCollectionGetParams struct {

	/* Action.

	   Filter by action
	*/
	Action *string

	/* Category.

	   Filter by category
	*/
	Category *string

	/* DescriptionCode.

	   Filter by description.code
	*/
	DescriptionCode *string

	/* DescriptionMessage.

	   Filter by description.message
	*/
	DescriptionMessage *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* UUID.

	   Filter by uuid
	*/
	UUID *string

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

AutoUpdateConfigurationCollectionGetParams contains all the parameters to send to the API endpoint

for the auto update configuration collection get operation.

Typically these are written to a http.Request.

func NewAutoUpdateConfigurationCollectionGetParams

func NewAutoUpdateConfigurationCollectionGetParams() *AutoUpdateConfigurationCollectionGetParams

NewAutoUpdateConfigurationCollectionGetParams creates a new AutoUpdateConfigurationCollectionGetParams 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 NewAutoUpdateConfigurationCollectionGetParamsWithContext

func NewAutoUpdateConfigurationCollectionGetParamsWithContext(ctx context.Context) *AutoUpdateConfigurationCollectionGetParams

NewAutoUpdateConfigurationCollectionGetParamsWithContext creates a new AutoUpdateConfigurationCollectionGetParams object with the ability to set a context for a request.

func NewAutoUpdateConfigurationCollectionGetParamsWithHTTPClient

func NewAutoUpdateConfigurationCollectionGetParamsWithHTTPClient(client *http.Client) *AutoUpdateConfigurationCollectionGetParams

NewAutoUpdateConfigurationCollectionGetParamsWithHTTPClient creates a new AutoUpdateConfigurationCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateConfigurationCollectionGetParamsWithTimeout

func NewAutoUpdateConfigurationCollectionGetParamsWithTimeout(timeout time.Duration) *AutoUpdateConfigurationCollectionGetParams

NewAutoUpdateConfigurationCollectionGetParamsWithTimeout creates a new AutoUpdateConfigurationCollectionGetParams object with the ability to set a timeout on a request.

func (*AutoUpdateConfigurationCollectionGetParams) SetAction

func (o *AutoUpdateConfigurationCollectionGetParams) SetAction(action *string)

SetAction adds the action to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetCategory

func (o *AutoUpdateConfigurationCollectionGetParams) SetCategory(category *string)

SetCategory adds the category to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetContext

SetContext adds the context to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the auto update configuration collection get params (not the query body).

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

func (*AutoUpdateConfigurationCollectionGetParams) SetDescriptionCode

func (o *AutoUpdateConfigurationCollectionGetParams) SetDescriptionCode(descriptionCode *string)

SetDescriptionCode adds the descriptionCode to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetDescriptionMessage

func (o *AutoUpdateConfigurationCollectionGetParams) SetDescriptionMessage(descriptionMessage *string)

SetDescriptionMessage adds the descriptionMessage to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetFields

func (o *AutoUpdateConfigurationCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetMaxRecords

func (o *AutoUpdateConfigurationCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetOrderBy

func (o *AutoUpdateConfigurationCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetReturnRecords

func (o *AutoUpdateConfigurationCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetReturnTimeout

func (o *AutoUpdateConfigurationCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) SetUUID

SetUUID adds the uuid to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithAction

WithAction adds the action to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithCategory

WithCategory adds the category to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithContext

WithContext adds the context to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the auto update configuration collection get params (not the query body).

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

func (*AutoUpdateConfigurationCollectionGetParams) WithDescriptionCode

WithDescriptionCode adds the descriptionCode to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithDescriptionMessage

WithDescriptionMessage adds the descriptionMessage to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithFields

WithFields adds the fields to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WithUUID

WithUUID adds the uuid to the auto update configuration collection get params

func (*AutoUpdateConfigurationCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateConfigurationCollectionGetReader

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

AutoUpdateConfigurationCollectionGetReader is a Reader for the AutoUpdateConfigurationCollectionGet structure.

func (*AutoUpdateConfigurationCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateConfigurationGetDefault

type AutoUpdateConfigurationGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutoUpdateConfigurationGetDefault describes a response with status code -1, with default header values.

Error

func NewAutoUpdateConfigurationGetDefault

func NewAutoUpdateConfigurationGetDefault(code int) *AutoUpdateConfigurationGetDefault

NewAutoUpdateConfigurationGetDefault creates a AutoUpdateConfigurationGetDefault with default headers values

func (*AutoUpdateConfigurationGetDefault) Code

Code gets the status code for the auto update configuration get default response

func (*AutoUpdateConfigurationGetDefault) Error

func (*AutoUpdateConfigurationGetDefault) GetPayload

func (*AutoUpdateConfigurationGetDefault) IsClientError

func (o *AutoUpdateConfigurationGetDefault) IsClientError() bool

IsClientError returns true when this auto update configuration get default response has a 4xx status code

func (*AutoUpdateConfigurationGetDefault) IsCode

func (o *AutoUpdateConfigurationGetDefault) IsCode(code int) bool

IsCode returns true when this auto update configuration get default response a status code equal to that given

func (*AutoUpdateConfigurationGetDefault) IsRedirect

func (o *AutoUpdateConfigurationGetDefault) IsRedirect() bool

IsRedirect returns true when this auto update configuration get default response has a 3xx status code

func (*AutoUpdateConfigurationGetDefault) IsServerError

func (o *AutoUpdateConfigurationGetDefault) IsServerError() bool

IsServerError returns true when this auto update configuration get default response has a 5xx status code

func (*AutoUpdateConfigurationGetDefault) IsSuccess

func (o *AutoUpdateConfigurationGetDefault) IsSuccess() bool

IsSuccess returns true when this auto update configuration get default response has a 2xx status code

func (*AutoUpdateConfigurationGetDefault) String

type AutoUpdateConfigurationGetOK

type AutoUpdateConfigurationGetOK struct {
	Payload *models.AutoUpdateConfiguration
}

AutoUpdateConfigurationGetOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateConfigurationGetOK

func NewAutoUpdateConfigurationGetOK() *AutoUpdateConfigurationGetOK

NewAutoUpdateConfigurationGetOK creates a AutoUpdateConfigurationGetOK with default headers values

func (*AutoUpdateConfigurationGetOK) Code

Code gets the status code for the auto update configuration get o k response

func (*AutoUpdateConfigurationGetOK) Error

func (*AutoUpdateConfigurationGetOK) GetPayload

func (*AutoUpdateConfigurationGetOK) IsClientError

func (o *AutoUpdateConfigurationGetOK) IsClientError() bool

IsClientError returns true when this auto update configuration get o k response has a 4xx status code

func (*AutoUpdateConfigurationGetOK) IsCode

func (o *AutoUpdateConfigurationGetOK) IsCode(code int) bool

IsCode returns true when this auto update configuration get o k response a status code equal to that given

func (*AutoUpdateConfigurationGetOK) IsRedirect

func (o *AutoUpdateConfigurationGetOK) IsRedirect() bool

IsRedirect returns true when this auto update configuration get o k response has a 3xx status code

func (*AutoUpdateConfigurationGetOK) IsServerError

func (o *AutoUpdateConfigurationGetOK) IsServerError() bool

IsServerError returns true when this auto update configuration get o k response has a 5xx status code

func (*AutoUpdateConfigurationGetOK) IsSuccess

func (o *AutoUpdateConfigurationGetOK) IsSuccess() bool

IsSuccess returns true when this auto update configuration get o k response has a 2xx status code

func (*AutoUpdateConfigurationGetOK) String

type AutoUpdateConfigurationGetParams

type AutoUpdateConfigurationGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* UUID.

	   Unique identifier for configuration record.
	*/
	UUID string

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

AutoUpdateConfigurationGetParams contains all the parameters to send to the API endpoint

for the auto update configuration get operation.

Typically these are written to a http.Request.

func NewAutoUpdateConfigurationGetParams

func NewAutoUpdateConfigurationGetParams() *AutoUpdateConfigurationGetParams

NewAutoUpdateConfigurationGetParams creates a new AutoUpdateConfigurationGetParams 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 NewAutoUpdateConfigurationGetParamsWithContext

func NewAutoUpdateConfigurationGetParamsWithContext(ctx context.Context) *AutoUpdateConfigurationGetParams

NewAutoUpdateConfigurationGetParamsWithContext creates a new AutoUpdateConfigurationGetParams object with the ability to set a context for a request.

func NewAutoUpdateConfigurationGetParamsWithHTTPClient

func NewAutoUpdateConfigurationGetParamsWithHTTPClient(client *http.Client) *AutoUpdateConfigurationGetParams

NewAutoUpdateConfigurationGetParamsWithHTTPClient creates a new AutoUpdateConfigurationGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateConfigurationGetParamsWithTimeout

func NewAutoUpdateConfigurationGetParamsWithTimeout(timeout time.Duration) *AutoUpdateConfigurationGetParams

NewAutoUpdateConfigurationGetParamsWithTimeout creates a new AutoUpdateConfigurationGetParams object with the ability to set a timeout on a request.

func (*AutoUpdateConfigurationGetParams) SetContext

SetContext adds the context to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) SetDefaults

func (o *AutoUpdateConfigurationGetParams) SetDefaults()

SetDefaults hydrates default values in the auto update configuration get params (not the query body).

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

func (*AutoUpdateConfigurationGetParams) SetFields

func (o *AutoUpdateConfigurationGetParams) SetFields(fields []string)

SetFields adds the fields to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) SetTimeout

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

SetTimeout adds the timeout to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) SetUUID

func (o *AutoUpdateConfigurationGetParams) SetUUID(uuid string)

SetUUID adds the uuid to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WithContext

WithContext adds the context to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WithDefaults

WithDefaults hydrates default values in the auto update configuration get params (not the query body).

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

func (*AutoUpdateConfigurationGetParams) WithFields

WithFields adds the fields to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WithTimeout

WithTimeout adds the timeout to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WithUUID

WithUUID adds the uuid to the auto update configuration get params

func (*AutoUpdateConfigurationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateConfigurationGetReader

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

AutoUpdateConfigurationGetReader is a Reader for the AutoUpdateConfigurationGet structure.

func (*AutoUpdateConfigurationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateConfigurationModifyDefault

type AutoUpdateConfigurationModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AutoUpdateConfigurationModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 262179 | Unexpected argument. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewAutoUpdateConfigurationModifyDefault

func NewAutoUpdateConfigurationModifyDefault(code int) *AutoUpdateConfigurationModifyDefault

NewAutoUpdateConfigurationModifyDefault creates a AutoUpdateConfigurationModifyDefault with default headers values

func (*AutoUpdateConfigurationModifyDefault) Code

Code gets the status code for the auto update configuration modify default response

func (*AutoUpdateConfigurationModifyDefault) Error

func (*AutoUpdateConfigurationModifyDefault) GetPayload

func (*AutoUpdateConfigurationModifyDefault) IsClientError

func (o *AutoUpdateConfigurationModifyDefault) IsClientError() bool

IsClientError returns true when this auto update configuration modify default response has a 4xx status code

func (*AutoUpdateConfigurationModifyDefault) IsCode

IsCode returns true when this auto update configuration modify default response a status code equal to that given

func (*AutoUpdateConfigurationModifyDefault) IsRedirect

IsRedirect returns true when this auto update configuration modify default response has a 3xx status code

func (*AutoUpdateConfigurationModifyDefault) IsServerError

func (o *AutoUpdateConfigurationModifyDefault) IsServerError() bool

IsServerError returns true when this auto update configuration modify default response has a 5xx status code

func (*AutoUpdateConfigurationModifyDefault) IsSuccess

IsSuccess returns true when this auto update configuration modify default response has a 2xx status code

func (*AutoUpdateConfigurationModifyDefault) String

type AutoUpdateConfigurationModifyOK

type AutoUpdateConfigurationModifyOK struct {
}

AutoUpdateConfigurationModifyOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateConfigurationModifyOK

func NewAutoUpdateConfigurationModifyOK() *AutoUpdateConfigurationModifyOK

NewAutoUpdateConfigurationModifyOK creates a AutoUpdateConfigurationModifyOK with default headers values

func (*AutoUpdateConfigurationModifyOK) Code

Code gets the status code for the auto update configuration modify o k response

func (*AutoUpdateConfigurationModifyOK) Error

func (*AutoUpdateConfigurationModifyOK) IsClientError

func (o *AutoUpdateConfigurationModifyOK) IsClientError() bool

IsClientError returns true when this auto update configuration modify o k response has a 4xx status code

func (*AutoUpdateConfigurationModifyOK) IsCode

func (o *AutoUpdateConfigurationModifyOK) IsCode(code int) bool

IsCode returns true when this auto update configuration modify o k response a status code equal to that given

func (*AutoUpdateConfigurationModifyOK) IsRedirect

func (o *AutoUpdateConfigurationModifyOK) IsRedirect() bool

IsRedirect returns true when this auto update configuration modify o k response has a 3xx status code

func (*AutoUpdateConfigurationModifyOK) IsServerError

func (o *AutoUpdateConfigurationModifyOK) IsServerError() bool

IsServerError returns true when this auto update configuration modify o k response has a 5xx status code

func (*AutoUpdateConfigurationModifyOK) IsSuccess

func (o *AutoUpdateConfigurationModifyOK) IsSuccess() bool

IsSuccess returns true when this auto update configuration modify o k response has a 2xx status code

func (*AutoUpdateConfigurationModifyOK) String

type AutoUpdateConfigurationModifyParams

type AutoUpdateConfigurationModifyParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.AutoUpdateConfiguration

	/* UUID.

	   Unique identifier for configuration record.
	*/
	UUID string

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

AutoUpdateConfigurationModifyParams contains all the parameters to send to the API endpoint

for the auto update configuration modify operation.

Typically these are written to a http.Request.

func NewAutoUpdateConfigurationModifyParams

func NewAutoUpdateConfigurationModifyParams() *AutoUpdateConfigurationModifyParams

NewAutoUpdateConfigurationModifyParams creates a new AutoUpdateConfigurationModifyParams 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 NewAutoUpdateConfigurationModifyParamsWithContext

func NewAutoUpdateConfigurationModifyParamsWithContext(ctx context.Context) *AutoUpdateConfigurationModifyParams

NewAutoUpdateConfigurationModifyParamsWithContext creates a new AutoUpdateConfigurationModifyParams object with the ability to set a context for a request.

func NewAutoUpdateConfigurationModifyParamsWithHTTPClient

func NewAutoUpdateConfigurationModifyParamsWithHTTPClient(client *http.Client) *AutoUpdateConfigurationModifyParams

NewAutoUpdateConfigurationModifyParamsWithHTTPClient creates a new AutoUpdateConfigurationModifyParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateConfigurationModifyParamsWithTimeout

func NewAutoUpdateConfigurationModifyParamsWithTimeout(timeout time.Duration) *AutoUpdateConfigurationModifyParams

NewAutoUpdateConfigurationModifyParamsWithTimeout creates a new AutoUpdateConfigurationModifyParams object with the ability to set a timeout on a request.

func (*AutoUpdateConfigurationModifyParams) SetContext

SetContext adds the context to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) SetDefaults

func (o *AutoUpdateConfigurationModifyParams) SetDefaults()

SetDefaults hydrates default values in the auto update configuration modify params (not the query body).

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

func (*AutoUpdateConfigurationModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) SetInfo

SetInfo adds the info to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) SetTimeout

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

SetTimeout adds the timeout to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) SetUUID

SetUUID adds the uuid to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WithContext

WithContext adds the context to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WithDefaults

WithDefaults hydrates default values in the auto update configuration modify params (not the query body).

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

func (*AutoUpdateConfigurationModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WithInfo

WithInfo adds the info to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WithTimeout

WithTimeout adds the timeout to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WithUUID

WithUUID adds the uuid to the auto update configuration modify params

func (*AutoUpdateConfigurationModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateConfigurationModifyReader

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

AutoUpdateConfigurationModifyReader is a Reader for the AutoUpdateConfigurationModify structure.

func (*AutoUpdateConfigurationModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateInfoGetDefault

type AutoUpdateInfoGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutoUpdateInfoGetDefault describes a response with status code -1, with default header values.

Error

func NewAutoUpdateInfoGetDefault

func NewAutoUpdateInfoGetDefault(code int) *AutoUpdateInfoGetDefault

NewAutoUpdateInfoGetDefault creates a AutoUpdateInfoGetDefault with default headers values

func (*AutoUpdateInfoGetDefault) Code

func (o *AutoUpdateInfoGetDefault) Code() int

Code gets the status code for the auto update info get default response

func (*AutoUpdateInfoGetDefault) Error

func (o *AutoUpdateInfoGetDefault) Error() string

func (*AutoUpdateInfoGetDefault) GetPayload

func (*AutoUpdateInfoGetDefault) IsClientError

func (o *AutoUpdateInfoGetDefault) IsClientError() bool

IsClientError returns true when this auto update info get default response has a 4xx status code

func (*AutoUpdateInfoGetDefault) IsCode

func (o *AutoUpdateInfoGetDefault) IsCode(code int) bool

IsCode returns true when this auto update info get default response a status code equal to that given

func (*AutoUpdateInfoGetDefault) IsRedirect

func (o *AutoUpdateInfoGetDefault) IsRedirect() bool

IsRedirect returns true when this auto update info get default response has a 3xx status code

func (*AutoUpdateInfoGetDefault) IsServerError

func (o *AutoUpdateInfoGetDefault) IsServerError() bool

IsServerError returns true when this auto update info get default response has a 5xx status code

func (*AutoUpdateInfoGetDefault) IsSuccess

func (o *AutoUpdateInfoGetDefault) IsSuccess() bool

IsSuccess returns true when this auto update info get default response has a 2xx status code

func (*AutoUpdateInfoGetDefault) String

func (o *AutoUpdateInfoGetDefault) String() string

type AutoUpdateInfoGetOK

type AutoUpdateInfoGetOK struct {
	Payload *models.AutoUpdateInfo
}

AutoUpdateInfoGetOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateInfoGetOK

func NewAutoUpdateInfoGetOK() *AutoUpdateInfoGetOK

NewAutoUpdateInfoGetOK creates a AutoUpdateInfoGetOK with default headers values

func (*AutoUpdateInfoGetOK) Code

func (o *AutoUpdateInfoGetOK) Code() int

Code gets the status code for the auto update info get o k response

func (*AutoUpdateInfoGetOK) Error

func (o *AutoUpdateInfoGetOK) Error() string

func (*AutoUpdateInfoGetOK) GetPayload

func (o *AutoUpdateInfoGetOK) GetPayload() *models.AutoUpdateInfo

func (*AutoUpdateInfoGetOK) IsClientError

func (o *AutoUpdateInfoGetOK) IsClientError() bool

IsClientError returns true when this auto update info get o k response has a 4xx status code

func (*AutoUpdateInfoGetOK) IsCode

func (o *AutoUpdateInfoGetOK) IsCode(code int) bool

IsCode returns true when this auto update info get o k response a status code equal to that given

func (*AutoUpdateInfoGetOK) IsRedirect

func (o *AutoUpdateInfoGetOK) IsRedirect() bool

IsRedirect returns true when this auto update info get o k response has a 3xx status code

func (*AutoUpdateInfoGetOK) IsServerError

func (o *AutoUpdateInfoGetOK) IsServerError() bool

IsServerError returns true when this auto update info get o k response has a 5xx status code

func (*AutoUpdateInfoGetOK) IsSuccess

func (o *AutoUpdateInfoGetOK) IsSuccess() bool

IsSuccess returns true when this auto update info get o k response has a 2xx status code

func (*AutoUpdateInfoGetOK) String

func (o *AutoUpdateInfoGetOK) String() string

type AutoUpdateInfoGetParams

type AutoUpdateInfoGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

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

AutoUpdateInfoGetParams contains all the parameters to send to the API endpoint

for the auto update info get operation.

Typically these are written to a http.Request.

func NewAutoUpdateInfoGetParams

func NewAutoUpdateInfoGetParams() *AutoUpdateInfoGetParams

NewAutoUpdateInfoGetParams creates a new AutoUpdateInfoGetParams 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 NewAutoUpdateInfoGetParamsWithContext

func NewAutoUpdateInfoGetParamsWithContext(ctx context.Context) *AutoUpdateInfoGetParams

NewAutoUpdateInfoGetParamsWithContext creates a new AutoUpdateInfoGetParams object with the ability to set a context for a request.

func NewAutoUpdateInfoGetParamsWithHTTPClient

func NewAutoUpdateInfoGetParamsWithHTTPClient(client *http.Client) *AutoUpdateInfoGetParams

NewAutoUpdateInfoGetParamsWithHTTPClient creates a new AutoUpdateInfoGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateInfoGetParamsWithTimeout

func NewAutoUpdateInfoGetParamsWithTimeout(timeout time.Duration) *AutoUpdateInfoGetParams

NewAutoUpdateInfoGetParamsWithTimeout creates a new AutoUpdateInfoGetParams object with the ability to set a timeout on a request.

func (*AutoUpdateInfoGetParams) SetContext

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

SetContext adds the context to the auto update info get params

func (*AutoUpdateInfoGetParams) SetDefaults

func (o *AutoUpdateInfoGetParams) SetDefaults()

SetDefaults hydrates default values in the auto update info get params (not the query body).

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

func (*AutoUpdateInfoGetParams) SetFields

func (o *AutoUpdateInfoGetParams) SetFields(fields []string)

SetFields adds the fields to the auto update info get params

func (*AutoUpdateInfoGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update info get params

func (*AutoUpdateInfoGetParams) SetTimeout

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

SetTimeout adds the timeout to the auto update info get params

func (*AutoUpdateInfoGetParams) WithContext

WithContext adds the context to the auto update info get params

func (*AutoUpdateInfoGetParams) WithDefaults

WithDefaults hydrates default values in the auto update info get params (not the query body).

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

func (*AutoUpdateInfoGetParams) WithFields

func (o *AutoUpdateInfoGetParams) WithFields(fields []string) *AutoUpdateInfoGetParams

WithFields adds the fields to the auto update info get params

func (*AutoUpdateInfoGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auto update info get params

func (*AutoUpdateInfoGetParams) WithTimeout

WithTimeout adds the timeout to the auto update info get params

func (*AutoUpdateInfoGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateInfoGetReader

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

AutoUpdateInfoGetReader is a Reader for the AutoUpdateInfoGet structure.

func (*AutoUpdateInfoGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateInfoModifyDefault

type AutoUpdateInfoModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AutoUpdateInfoModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 262179 | Unexpected argument. | | 131072216 | Automatic update requires AutoSupport to be enabled. | | 131072217 | Automatic update requires AutoSupport OnDemand to be enabled. | | 131072218 | Automatic update requires AutoSupport to use the HTTPS transport. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewAutoUpdateInfoModifyDefault

func NewAutoUpdateInfoModifyDefault(code int) *AutoUpdateInfoModifyDefault

NewAutoUpdateInfoModifyDefault creates a AutoUpdateInfoModifyDefault with default headers values

func (*AutoUpdateInfoModifyDefault) Code

func (o *AutoUpdateInfoModifyDefault) Code() int

Code gets the status code for the auto update info modify default response

func (*AutoUpdateInfoModifyDefault) Error

func (*AutoUpdateInfoModifyDefault) GetPayload

func (*AutoUpdateInfoModifyDefault) IsClientError

func (o *AutoUpdateInfoModifyDefault) IsClientError() bool

IsClientError returns true when this auto update info modify default response has a 4xx status code

func (*AutoUpdateInfoModifyDefault) IsCode

func (o *AutoUpdateInfoModifyDefault) IsCode(code int) bool

IsCode returns true when this auto update info modify default response a status code equal to that given

func (*AutoUpdateInfoModifyDefault) IsRedirect

func (o *AutoUpdateInfoModifyDefault) IsRedirect() bool

IsRedirect returns true when this auto update info modify default response has a 3xx status code

func (*AutoUpdateInfoModifyDefault) IsServerError

func (o *AutoUpdateInfoModifyDefault) IsServerError() bool

IsServerError returns true when this auto update info modify default response has a 5xx status code

func (*AutoUpdateInfoModifyDefault) IsSuccess

func (o *AutoUpdateInfoModifyDefault) IsSuccess() bool

IsSuccess returns true when this auto update info modify default response has a 2xx status code

func (*AutoUpdateInfoModifyDefault) String

func (o *AutoUpdateInfoModifyDefault) String() string

type AutoUpdateInfoModifyOK

type AutoUpdateInfoModifyOK struct {
}

AutoUpdateInfoModifyOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateInfoModifyOK

func NewAutoUpdateInfoModifyOK() *AutoUpdateInfoModifyOK

NewAutoUpdateInfoModifyOK creates a AutoUpdateInfoModifyOK with default headers values

func (*AutoUpdateInfoModifyOK) Code

func (o *AutoUpdateInfoModifyOK) Code() int

Code gets the status code for the auto update info modify o k response

func (*AutoUpdateInfoModifyOK) Error

func (o *AutoUpdateInfoModifyOK) Error() string

func (*AutoUpdateInfoModifyOK) IsClientError

func (o *AutoUpdateInfoModifyOK) IsClientError() bool

IsClientError returns true when this auto update info modify o k response has a 4xx status code

func (*AutoUpdateInfoModifyOK) IsCode

func (o *AutoUpdateInfoModifyOK) IsCode(code int) bool

IsCode returns true when this auto update info modify o k response a status code equal to that given

func (*AutoUpdateInfoModifyOK) IsRedirect

func (o *AutoUpdateInfoModifyOK) IsRedirect() bool

IsRedirect returns true when this auto update info modify o k response has a 3xx status code

func (*AutoUpdateInfoModifyOK) IsServerError

func (o *AutoUpdateInfoModifyOK) IsServerError() bool

IsServerError returns true when this auto update info modify o k response has a 5xx status code

func (*AutoUpdateInfoModifyOK) IsSuccess

func (o *AutoUpdateInfoModifyOK) IsSuccess() bool

IsSuccess returns true when this auto update info modify o k response has a 2xx status code

func (*AutoUpdateInfoModifyOK) String

func (o *AutoUpdateInfoModifyOK) String() string

type AutoUpdateInfoModifyParams

type AutoUpdateInfoModifyParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.AutoUpdateInfo

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

AutoUpdateInfoModifyParams contains all the parameters to send to the API endpoint

for the auto update info modify operation.

Typically these are written to a http.Request.

func NewAutoUpdateInfoModifyParams

func NewAutoUpdateInfoModifyParams() *AutoUpdateInfoModifyParams

NewAutoUpdateInfoModifyParams creates a new AutoUpdateInfoModifyParams 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 NewAutoUpdateInfoModifyParamsWithContext

func NewAutoUpdateInfoModifyParamsWithContext(ctx context.Context) *AutoUpdateInfoModifyParams

NewAutoUpdateInfoModifyParamsWithContext creates a new AutoUpdateInfoModifyParams object with the ability to set a context for a request.

func NewAutoUpdateInfoModifyParamsWithHTTPClient

func NewAutoUpdateInfoModifyParamsWithHTTPClient(client *http.Client) *AutoUpdateInfoModifyParams

NewAutoUpdateInfoModifyParamsWithHTTPClient creates a new AutoUpdateInfoModifyParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateInfoModifyParamsWithTimeout

func NewAutoUpdateInfoModifyParamsWithTimeout(timeout time.Duration) *AutoUpdateInfoModifyParams

NewAutoUpdateInfoModifyParamsWithTimeout creates a new AutoUpdateInfoModifyParams object with the ability to set a timeout on a request.

func (*AutoUpdateInfoModifyParams) SetContext

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

SetContext adds the context to the auto update info modify params

func (*AutoUpdateInfoModifyParams) SetDefaults

func (o *AutoUpdateInfoModifyParams) SetDefaults()

SetDefaults hydrates default values in the auto update info modify params (not the query body).

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

func (*AutoUpdateInfoModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update info modify params

func (*AutoUpdateInfoModifyParams) SetInfo

SetInfo adds the info to the auto update info modify params

func (*AutoUpdateInfoModifyParams) SetTimeout

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

SetTimeout adds the timeout to the auto update info modify params

func (*AutoUpdateInfoModifyParams) WithContext

WithContext adds the context to the auto update info modify params

func (*AutoUpdateInfoModifyParams) WithDefaults

WithDefaults hydrates default values in the auto update info modify params (not the query body).

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

func (*AutoUpdateInfoModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update info modify params

func (*AutoUpdateInfoModifyParams) WithInfo

WithInfo adds the info to the auto update info modify params

func (*AutoUpdateInfoModifyParams) WithTimeout

WithTimeout adds the timeout to the auto update info modify params

func (*AutoUpdateInfoModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateInfoModifyReader

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

AutoUpdateInfoModifyReader is a Reader for the AutoUpdateInfoModify structure.

func (*AutoUpdateInfoModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateStatusCollectionGetDefault

type AutoUpdateStatusCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutoUpdateStatusCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewAutoUpdateStatusCollectionGetDefault

func NewAutoUpdateStatusCollectionGetDefault(code int) *AutoUpdateStatusCollectionGetDefault

NewAutoUpdateStatusCollectionGetDefault creates a AutoUpdateStatusCollectionGetDefault with default headers values

func (*AutoUpdateStatusCollectionGetDefault) Code

Code gets the status code for the auto update status collection get default response

func (*AutoUpdateStatusCollectionGetDefault) Error

func (*AutoUpdateStatusCollectionGetDefault) GetPayload

func (*AutoUpdateStatusCollectionGetDefault) IsClientError

func (o *AutoUpdateStatusCollectionGetDefault) IsClientError() bool

IsClientError returns true when this auto update status collection get default response has a 4xx status code

func (*AutoUpdateStatusCollectionGetDefault) IsCode

IsCode returns true when this auto update status collection get default response a status code equal to that given

func (*AutoUpdateStatusCollectionGetDefault) IsRedirect

IsRedirect returns true when this auto update status collection get default response has a 3xx status code

func (*AutoUpdateStatusCollectionGetDefault) IsServerError

func (o *AutoUpdateStatusCollectionGetDefault) IsServerError() bool

IsServerError returns true when this auto update status collection get default response has a 5xx status code

func (*AutoUpdateStatusCollectionGetDefault) IsSuccess

IsSuccess returns true when this auto update status collection get default response has a 2xx status code

func (*AutoUpdateStatusCollectionGetDefault) String

type AutoUpdateStatusCollectionGetOK

type AutoUpdateStatusCollectionGetOK struct {
	Payload *models.AutoUpdateStatusResponse
}

AutoUpdateStatusCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateStatusCollectionGetOK

func NewAutoUpdateStatusCollectionGetOK() *AutoUpdateStatusCollectionGetOK

NewAutoUpdateStatusCollectionGetOK creates a AutoUpdateStatusCollectionGetOK with default headers values

func (*AutoUpdateStatusCollectionGetOK) Code

Code gets the status code for the auto update status collection get o k response

func (*AutoUpdateStatusCollectionGetOK) Error

func (*AutoUpdateStatusCollectionGetOK) GetPayload

func (*AutoUpdateStatusCollectionGetOK) IsClientError

func (o *AutoUpdateStatusCollectionGetOK) IsClientError() bool

IsClientError returns true when this auto update status collection get o k response has a 4xx status code

func (*AutoUpdateStatusCollectionGetOK) IsCode

func (o *AutoUpdateStatusCollectionGetOK) IsCode(code int) bool

IsCode returns true when this auto update status collection get o k response a status code equal to that given

func (*AutoUpdateStatusCollectionGetOK) IsRedirect

func (o *AutoUpdateStatusCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this auto update status collection get o k response has a 3xx status code

func (*AutoUpdateStatusCollectionGetOK) IsServerError

func (o *AutoUpdateStatusCollectionGetOK) IsServerError() bool

IsServerError returns true when this auto update status collection get o k response has a 5xx status code

func (*AutoUpdateStatusCollectionGetOK) IsSuccess

func (o *AutoUpdateStatusCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this auto update status collection get o k response has a 2xx status code

func (*AutoUpdateStatusCollectionGetOK) String

type AutoUpdateStatusCollectionGetParams

type AutoUpdateStatusCollectionGetParams struct {

	/* ContentCategory.

	   Filter by content_category
	*/
	ContentCategory *string

	/* ContentType.

	   Filter by content_type
	*/
	ContentType *string

	/* CreationTime.

	   Filter by creation_time
	*/
	CreationTime *string

	/* Description.

	   Filter by description
	*/
	Description *string

	/* EndTime.

	   Filter by end_time
	*/
	EndTime *string

	/* ExpiryTime.

	   Filter by expiry_time
	*/
	ExpiryTime *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* LastStateChangeTime.

	   Filter by last_state_change_time
	*/
	LastStateChangeTime *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* PackageID.

	   Filter by package_id
	*/
	PackageID *string

	/* PercentComplete.

	   Filter by percent_complete
	*/
	PercentComplete *int64

	/* RemainingTime.

	   Filter by remaining_time
	*/
	RemainingTime *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* ScheduledTime.

	   Filter by scheduled_time
	*/
	ScheduledTime *string

	/* StartTime.

	   Filter by start_time
	*/
	StartTime *string

	/* State.

	   Filter by state
	*/
	State *string

	/* StatusArgumentsCode.

	   Filter by status.arguments.code
	*/
	StatusArgumentsCode *string

	/* StatusArgumentsMessage.

	   Filter by status.arguments.message
	*/
	StatusArgumentsMessage *string

	/* StatusCode.

	   Filter by status.code
	*/
	StatusCode *string

	/* StatusMessage.

	   Filter by status.message
	*/
	StatusMessage *string

	/* UUID.

	   Filter by uuid
	*/
	UUID *string

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

AutoUpdateStatusCollectionGetParams contains all the parameters to send to the API endpoint

for the auto update status collection get operation.

Typically these are written to a http.Request.

func NewAutoUpdateStatusCollectionGetParams

func NewAutoUpdateStatusCollectionGetParams() *AutoUpdateStatusCollectionGetParams

NewAutoUpdateStatusCollectionGetParams creates a new AutoUpdateStatusCollectionGetParams 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 NewAutoUpdateStatusCollectionGetParamsWithContext

func NewAutoUpdateStatusCollectionGetParamsWithContext(ctx context.Context) *AutoUpdateStatusCollectionGetParams

NewAutoUpdateStatusCollectionGetParamsWithContext creates a new AutoUpdateStatusCollectionGetParams object with the ability to set a context for a request.

func NewAutoUpdateStatusCollectionGetParamsWithHTTPClient

func NewAutoUpdateStatusCollectionGetParamsWithHTTPClient(client *http.Client) *AutoUpdateStatusCollectionGetParams

NewAutoUpdateStatusCollectionGetParamsWithHTTPClient creates a new AutoUpdateStatusCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateStatusCollectionGetParamsWithTimeout

func NewAutoUpdateStatusCollectionGetParamsWithTimeout(timeout time.Duration) *AutoUpdateStatusCollectionGetParams

NewAutoUpdateStatusCollectionGetParamsWithTimeout creates a new AutoUpdateStatusCollectionGetParams object with the ability to set a timeout on a request.

func (*AutoUpdateStatusCollectionGetParams) SetContentCategory

func (o *AutoUpdateStatusCollectionGetParams) SetContentCategory(contentCategory *string)

SetContentCategory adds the contentCategory to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetContentType

func (o *AutoUpdateStatusCollectionGetParams) SetContentType(contentType *string)

SetContentType adds the contentType to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetContext

SetContext adds the context to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetCreationTime

func (o *AutoUpdateStatusCollectionGetParams) SetCreationTime(creationTime *string)

SetCreationTime adds the creationTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetDefaults

func (o *AutoUpdateStatusCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the auto update status collection get params (not the query body).

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

func (*AutoUpdateStatusCollectionGetParams) SetDescription

func (o *AutoUpdateStatusCollectionGetParams) SetDescription(description *string)

SetDescription adds the description to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetEndTime

func (o *AutoUpdateStatusCollectionGetParams) SetEndTime(endTime *string)

SetEndTime adds the endTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetExpiryTime

func (o *AutoUpdateStatusCollectionGetParams) SetExpiryTime(expiryTime *string)

SetExpiryTime adds the expiryTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetFields

func (o *AutoUpdateStatusCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetLastStateChangeTime

func (o *AutoUpdateStatusCollectionGetParams) SetLastStateChangeTime(lastStateChangeTime *string)

SetLastStateChangeTime adds the lastStateChangeTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetMaxRecords

func (o *AutoUpdateStatusCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetOrderBy

func (o *AutoUpdateStatusCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetPackageID

func (o *AutoUpdateStatusCollectionGetParams) SetPackageID(packageID *string)

SetPackageID adds the packageId to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetPercentComplete

func (o *AutoUpdateStatusCollectionGetParams) SetPercentComplete(percentComplete *int64)

SetPercentComplete adds the percentComplete to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetRemainingTime

func (o *AutoUpdateStatusCollectionGetParams) SetRemainingTime(remainingTime *string)

SetRemainingTime adds the remainingTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetReturnRecords

func (o *AutoUpdateStatusCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetReturnTimeout

func (o *AutoUpdateStatusCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetScheduledTime

func (o *AutoUpdateStatusCollectionGetParams) SetScheduledTime(scheduledTime *string)

SetScheduledTime adds the scheduledTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetStartTime

func (o *AutoUpdateStatusCollectionGetParams) SetStartTime(startTime *string)

SetStartTime adds the startTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetState

func (o *AutoUpdateStatusCollectionGetParams) SetState(state *string)

SetState adds the state to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetStatusArgumentsCode

func (o *AutoUpdateStatusCollectionGetParams) SetStatusArgumentsCode(statusArgumentsCode *string)

SetStatusArgumentsCode adds the statusArgumentsCode to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetStatusArgumentsMessage

func (o *AutoUpdateStatusCollectionGetParams) SetStatusArgumentsMessage(statusArgumentsMessage *string)

SetStatusArgumentsMessage adds the statusArgumentsMessage to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetStatusCode

func (o *AutoUpdateStatusCollectionGetParams) SetStatusCode(statusCode *string)

SetStatusCode adds the statusCode to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetStatusMessage

func (o *AutoUpdateStatusCollectionGetParams) SetStatusMessage(statusMessage *string)

SetStatusMessage adds the statusMessage to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) SetUUID

func (o *AutoUpdateStatusCollectionGetParams) SetUUID(uuid *string)

SetUUID adds the uuid to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithContentCategory

func (o *AutoUpdateStatusCollectionGetParams) WithContentCategory(contentCategory *string) *AutoUpdateStatusCollectionGetParams

WithContentCategory adds the contentCategory to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithContentType

WithContentType adds the contentType to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithContext

WithContext adds the context to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithCreationTime

WithCreationTime adds the creationTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the auto update status collection get params (not the query body).

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

func (*AutoUpdateStatusCollectionGetParams) WithDescription

WithDescription adds the description to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithEndTime

WithEndTime adds the endTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithExpiryTime

WithExpiryTime adds the expiryTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithFields

WithFields adds the fields to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithLastStateChangeTime

func (o *AutoUpdateStatusCollectionGetParams) WithLastStateChangeTime(lastStateChangeTime *string) *AutoUpdateStatusCollectionGetParams

WithLastStateChangeTime adds the lastStateChangeTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithPackageID

WithPackageID adds the packageID to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithPercentComplete

func (o *AutoUpdateStatusCollectionGetParams) WithPercentComplete(percentComplete *int64) *AutoUpdateStatusCollectionGetParams

WithPercentComplete adds the percentComplete to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithRemainingTime

WithRemainingTime adds the remainingTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithScheduledTime

WithScheduledTime adds the scheduledTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithStartTime

WithStartTime adds the startTime to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithState

WithState adds the state to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithStatusArgumentsCode

func (o *AutoUpdateStatusCollectionGetParams) WithStatusArgumentsCode(statusArgumentsCode *string) *AutoUpdateStatusCollectionGetParams

WithStatusArgumentsCode adds the statusArgumentsCode to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithStatusArgumentsMessage

func (o *AutoUpdateStatusCollectionGetParams) WithStatusArgumentsMessage(statusArgumentsMessage *string) *AutoUpdateStatusCollectionGetParams

WithStatusArgumentsMessage adds the statusArgumentsMessage to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithStatusCode

WithStatusCode adds the statusCode to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithStatusMessage

WithStatusMessage adds the statusMessage to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WithUUID

WithUUID adds the uuid to the auto update status collection get params

func (*AutoUpdateStatusCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateStatusCollectionGetReader

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

AutoUpdateStatusCollectionGetReader is a Reader for the AutoUpdateStatusCollectionGet structure.

func (*AutoUpdateStatusCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateStatusGetDefault

type AutoUpdateStatusGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutoUpdateStatusGetDefault describes a response with status code -1, with default header values.

Error

func NewAutoUpdateStatusGetDefault

func NewAutoUpdateStatusGetDefault(code int) *AutoUpdateStatusGetDefault

NewAutoUpdateStatusGetDefault creates a AutoUpdateStatusGetDefault with default headers values

func (*AutoUpdateStatusGetDefault) Code

func (o *AutoUpdateStatusGetDefault) Code() int

Code gets the status code for the auto update status get default response

func (*AutoUpdateStatusGetDefault) Error

func (*AutoUpdateStatusGetDefault) GetPayload

func (*AutoUpdateStatusGetDefault) IsClientError

func (o *AutoUpdateStatusGetDefault) IsClientError() bool

IsClientError returns true when this auto update status get default response has a 4xx status code

func (*AutoUpdateStatusGetDefault) IsCode

func (o *AutoUpdateStatusGetDefault) IsCode(code int) bool

IsCode returns true when this auto update status get default response a status code equal to that given

func (*AutoUpdateStatusGetDefault) IsRedirect

func (o *AutoUpdateStatusGetDefault) IsRedirect() bool

IsRedirect returns true when this auto update status get default response has a 3xx status code

func (*AutoUpdateStatusGetDefault) IsServerError

func (o *AutoUpdateStatusGetDefault) IsServerError() bool

IsServerError returns true when this auto update status get default response has a 5xx status code

func (*AutoUpdateStatusGetDefault) IsSuccess

func (o *AutoUpdateStatusGetDefault) IsSuccess() bool

IsSuccess returns true when this auto update status get default response has a 2xx status code

func (*AutoUpdateStatusGetDefault) String

func (o *AutoUpdateStatusGetDefault) String() string

type AutoUpdateStatusGetOK

type AutoUpdateStatusGetOK struct {
	Payload *models.AutoUpdateStatus
}

AutoUpdateStatusGetOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateStatusGetOK

func NewAutoUpdateStatusGetOK() *AutoUpdateStatusGetOK

NewAutoUpdateStatusGetOK creates a AutoUpdateStatusGetOK with default headers values

func (*AutoUpdateStatusGetOK) Code

func (o *AutoUpdateStatusGetOK) Code() int

Code gets the status code for the auto update status get o k response

func (*AutoUpdateStatusGetOK) Error

func (o *AutoUpdateStatusGetOK) Error() string

func (*AutoUpdateStatusGetOK) GetPayload

func (*AutoUpdateStatusGetOK) IsClientError

func (o *AutoUpdateStatusGetOK) IsClientError() bool

IsClientError returns true when this auto update status get o k response has a 4xx status code

func (*AutoUpdateStatusGetOK) IsCode

func (o *AutoUpdateStatusGetOK) IsCode(code int) bool

IsCode returns true when this auto update status get o k response a status code equal to that given

func (*AutoUpdateStatusGetOK) IsRedirect

func (o *AutoUpdateStatusGetOK) IsRedirect() bool

IsRedirect returns true when this auto update status get o k response has a 3xx status code

func (*AutoUpdateStatusGetOK) IsServerError

func (o *AutoUpdateStatusGetOK) IsServerError() bool

IsServerError returns true when this auto update status get o k response has a 5xx status code

func (*AutoUpdateStatusGetOK) IsSuccess

func (o *AutoUpdateStatusGetOK) IsSuccess() bool

IsSuccess returns true when this auto update status get o k response has a 2xx status code

func (*AutoUpdateStatusGetOK) String

func (o *AutoUpdateStatusGetOK) String() string

type AutoUpdateStatusGetParams

type AutoUpdateStatusGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* UUID.

	   Update identifier
	*/
	UUID string

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

AutoUpdateStatusGetParams contains all the parameters to send to the API endpoint

for the auto update status get operation.

Typically these are written to a http.Request.

func NewAutoUpdateStatusGetParams

func NewAutoUpdateStatusGetParams() *AutoUpdateStatusGetParams

NewAutoUpdateStatusGetParams creates a new AutoUpdateStatusGetParams 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 NewAutoUpdateStatusGetParamsWithContext

func NewAutoUpdateStatusGetParamsWithContext(ctx context.Context) *AutoUpdateStatusGetParams

NewAutoUpdateStatusGetParamsWithContext creates a new AutoUpdateStatusGetParams object with the ability to set a context for a request.

func NewAutoUpdateStatusGetParamsWithHTTPClient

func NewAutoUpdateStatusGetParamsWithHTTPClient(client *http.Client) *AutoUpdateStatusGetParams

NewAutoUpdateStatusGetParamsWithHTTPClient creates a new AutoUpdateStatusGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateStatusGetParamsWithTimeout

func NewAutoUpdateStatusGetParamsWithTimeout(timeout time.Duration) *AutoUpdateStatusGetParams

NewAutoUpdateStatusGetParamsWithTimeout creates a new AutoUpdateStatusGetParams object with the ability to set a timeout on a request.

func (*AutoUpdateStatusGetParams) SetContext

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

SetContext adds the context to the auto update status get params

func (*AutoUpdateStatusGetParams) SetDefaults

func (o *AutoUpdateStatusGetParams) SetDefaults()

SetDefaults hydrates default values in the auto update status get params (not the query body).

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

func (*AutoUpdateStatusGetParams) SetFields

func (o *AutoUpdateStatusGetParams) SetFields(fields []string)

SetFields adds the fields to the auto update status get params

func (*AutoUpdateStatusGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update status get params

func (*AutoUpdateStatusGetParams) SetTimeout

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

SetTimeout adds the timeout to the auto update status get params

func (*AutoUpdateStatusGetParams) SetUUID

func (o *AutoUpdateStatusGetParams) SetUUID(uuid string)

SetUUID adds the uuid to the auto update status get params

func (*AutoUpdateStatusGetParams) WithContext

WithContext adds the context to the auto update status get params

func (*AutoUpdateStatusGetParams) WithDefaults

WithDefaults hydrates default values in the auto update status get params (not the query body).

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

func (*AutoUpdateStatusGetParams) WithFields

WithFields adds the fields to the auto update status get params

func (*AutoUpdateStatusGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the auto update status get params

func (*AutoUpdateStatusGetParams) WithTimeout

WithTimeout adds the timeout to the auto update status get params

func (*AutoUpdateStatusGetParams) WithUUID

WithUUID adds the uuid to the auto update status get params

func (*AutoUpdateStatusGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateStatusGetReader

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

AutoUpdateStatusGetReader is a Reader for the AutoUpdateStatusGet structure.

func (*AutoUpdateStatusGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutoUpdateStatusModifyDefault

type AutoUpdateStatusModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AutoUpdateStatusModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 262248 | Unexpected parameter missing a delimiter. | | 131072200 | Invalid Automatic Update ID. | | 131072201 | No schedule to cancel for automatic update ID. | | 131072202 | Cannot abort an automatic update that is not in progress. | | 131072203 | Cannot dismiss a non-pending automatic update. | | 131072204 | Cannot reactivate an automatic update that has not been dismissed. | | 131072205 | Cannot schedule a non-pending automatic update to start. | | 131072206 | Cannot schedule an automatic update past its expiration date. | | 131072207 | Cannot schedule an automatic update in the past. | | 131072208 | Cannot schedule automatic update while the feature is disabled. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewAutoUpdateStatusModifyDefault

func NewAutoUpdateStatusModifyDefault(code int) *AutoUpdateStatusModifyDefault

NewAutoUpdateStatusModifyDefault creates a AutoUpdateStatusModifyDefault with default headers values

func (*AutoUpdateStatusModifyDefault) Code

Code gets the status code for the auto update status modify default response

func (*AutoUpdateStatusModifyDefault) Error

func (*AutoUpdateStatusModifyDefault) GetPayload

func (*AutoUpdateStatusModifyDefault) IsClientError

func (o *AutoUpdateStatusModifyDefault) IsClientError() bool

IsClientError returns true when this auto update status modify default response has a 4xx status code

func (*AutoUpdateStatusModifyDefault) IsCode

func (o *AutoUpdateStatusModifyDefault) IsCode(code int) bool

IsCode returns true when this auto update status modify default response a status code equal to that given

func (*AutoUpdateStatusModifyDefault) IsRedirect

func (o *AutoUpdateStatusModifyDefault) IsRedirect() bool

IsRedirect returns true when this auto update status modify default response has a 3xx status code

func (*AutoUpdateStatusModifyDefault) IsServerError

func (o *AutoUpdateStatusModifyDefault) IsServerError() bool

IsServerError returns true when this auto update status modify default response has a 5xx status code

func (*AutoUpdateStatusModifyDefault) IsSuccess

func (o *AutoUpdateStatusModifyDefault) IsSuccess() bool

IsSuccess returns true when this auto update status modify default response has a 2xx status code

func (*AutoUpdateStatusModifyDefault) String

type AutoUpdateStatusModifyOK

type AutoUpdateStatusModifyOK struct {
}

AutoUpdateStatusModifyOK describes a response with status code 200, with default header values.

OK

func NewAutoUpdateStatusModifyOK

func NewAutoUpdateStatusModifyOK() *AutoUpdateStatusModifyOK

NewAutoUpdateStatusModifyOK creates a AutoUpdateStatusModifyOK with default headers values

func (*AutoUpdateStatusModifyOK) Code

func (o *AutoUpdateStatusModifyOK) Code() int

Code gets the status code for the auto update status modify o k response

func (*AutoUpdateStatusModifyOK) Error

func (o *AutoUpdateStatusModifyOK) Error() string

func (*AutoUpdateStatusModifyOK) IsClientError

func (o *AutoUpdateStatusModifyOK) IsClientError() bool

IsClientError returns true when this auto update status modify o k response has a 4xx status code

func (*AutoUpdateStatusModifyOK) IsCode

func (o *AutoUpdateStatusModifyOK) IsCode(code int) bool

IsCode returns true when this auto update status modify o k response a status code equal to that given

func (*AutoUpdateStatusModifyOK) IsRedirect

func (o *AutoUpdateStatusModifyOK) IsRedirect() bool

IsRedirect returns true when this auto update status modify o k response has a 3xx status code

func (*AutoUpdateStatusModifyOK) IsServerError

func (o *AutoUpdateStatusModifyOK) IsServerError() bool

IsServerError returns true when this auto update status modify o k response has a 5xx status code

func (*AutoUpdateStatusModifyOK) IsSuccess

func (o *AutoUpdateStatusModifyOK) IsSuccess() bool

IsSuccess returns true when this auto update status modify o k response has a 2xx status code

func (*AutoUpdateStatusModifyOK) String

func (o *AutoUpdateStatusModifyOK) String() string

type AutoUpdateStatusModifyParams

type AutoUpdateStatusModifyParams struct {

	/* Action.

	   Action to be performed on the update
	*/
	Action string

	/* ScheduleTime.

	   Date and Time for which update is to be scheduled. This parameter is required only when action is "schedule". It should be in the ISO-8601 Date and Time format. Example- "2020-12-05T09:12:23Z".

	   Format: date-time
	*/
	ScheduleTime *strfmt.DateTime

	/* UUID.

	   Update identifier
	*/
	UUID string

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

AutoUpdateStatusModifyParams contains all the parameters to send to the API endpoint

for the auto update status modify operation.

Typically these are written to a http.Request.

func NewAutoUpdateStatusModifyParams

func NewAutoUpdateStatusModifyParams() *AutoUpdateStatusModifyParams

NewAutoUpdateStatusModifyParams creates a new AutoUpdateStatusModifyParams 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 NewAutoUpdateStatusModifyParamsWithContext

func NewAutoUpdateStatusModifyParamsWithContext(ctx context.Context) *AutoUpdateStatusModifyParams

NewAutoUpdateStatusModifyParamsWithContext creates a new AutoUpdateStatusModifyParams object with the ability to set a context for a request.

func NewAutoUpdateStatusModifyParamsWithHTTPClient

func NewAutoUpdateStatusModifyParamsWithHTTPClient(client *http.Client) *AutoUpdateStatusModifyParams

NewAutoUpdateStatusModifyParamsWithHTTPClient creates a new AutoUpdateStatusModifyParams object with the ability to set a custom HTTPClient for a request.

func NewAutoUpdateStatusModifyParamsWithTimeout

func NewAutoUpdateStatusModifyParamsWithTimeout(timeout time.Duration) *AutoUpdateStatusModifyParams

NewAutoUpdateStatusModifyParamsWithTimeout creates a new AutoUpdateStatusModifyParams object with the ability to set a timeout on a request.

func (*AutoUpdateStatusModifyParams) SetAction

func (o *AutoUpdateStatusModifyParams) SetAction(action string)

SetAction adds the action to the auto update status modify params

func (*AutoUpdateStatusModifyParams) SetContext

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

SetContext adds the context to the auto update status modify params

func (*AutoUpdateStatusModifyParams) SetDefaults

func (o *AutoUpdateStatusModifyParams) SetDefaults()

SetDefaults hydrates default values in the auto update status modify params (not the query body).

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

func (*AutoUpdateStatusModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the auto update status modify params

func (*AutoUpdateStatusModifyParams) SetScheduleTime

func (o *AutoUpdateStatusModifyParams) SetScheduleTime(scheduleTime *strfmt.DateTime)

SetScheduleTime adds the scheduleTime to the auto update status modify params

func (*AutoUpdateStatusModifyParams) SetTimeout

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

SetTimeout adds the timeout to the auto update status modify params

func (*AutoUpdateStatusModifyParams) SetUUID

func (o *AutoUpdateStatusModifyParams) SetUUID(uuid string)

SetUUID adds the uuid to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithAction

WithAction adds the action to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithContext

WithContext adds the context to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithDefaults

WithDefaults hydrates default values in the auto update status modify params (not the query body).

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

func (*AutoUpdateStatusModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithScheduleTime

func (o *AutoUpdateStatusModifyParams) WithScheduleTime(scheduleTime *strfmt.DateTime) *AutoUpdateStatusModifyParams

WithScheduleTime adds the scheduleTime to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithTimeout

WithTimeout adds the timeout to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WithUUID

WithUUID adds the uuid to the auto update status modify params

func (*AutoUpdateStatusModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutoUpdateStatusModifyReader

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

AutoUpdateStatusModifyReader is a Reader for the AutoUpdateStatusModify structure.

func (*AutoUpdateStatusModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutosupportCreateCreated

type AutosupportCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.AutosupportMessageResponse
}

AutosupportCreateCreated describes a response with status code 201, with default header values.

Created

func NewAutosupportCreateCreated

func NewAutosupportCreateCreated() *AutosupportCreateCreated

NewAutosupportCreateCreated creates a AutosupportCreateCreated with default headers values

func (*AutosupportCreateCreated) Code

func (o *AutosupportCreateCreated) Code() int

Code gets the status code for the autosupport create created response

func (*AutosupportCreateCreated) Error

func (o *AutosupportCreateCreated) Error() string

func (*AutosupportCreateCreated) GetPayload

func (*AutosupportCreateCreated) IsClientError

func (o *AutosupportCreateCreated) IsClientError() bool

IsClientError returns true when this autosupport create created response has a 4xx status code

func (*AutosupportCreateCreated) IsCode

func (o *AutosupportCreateCreated) IsCode(code int) bool

IsCode returns true when this autosupport create created response a status code equal to that given

func (*AutosupportCreateCreated) IsRedirect

func (o *AutosupportCreateCreated) IsRedirect() bool

IsRedirect returns true when this autosupport create created response has a 3xx status code

func (*AutosupportCreateCreated) IsServerError

func (o *AutosupportCreateCreated) IsServerError() bool

IsServerError returns true when this autosupport create created response has a 5xx status code

func (*AutosupportCreateCreated) IsSuccess

func (o *AutosupportCreateCreated) IsSuccess() bool

IsSuccess returns true when this autosupport create created response has a 2xx status code

func (*AutosupportCreateCreated) String

func (o *AutosupportCreateCreated) String() string

type AutosupportCreateDefault

type AutosupportCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AutosupportCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 8650851 | AutoSupport invocation failed because AutoSupport collection is disabled | | 8650852 | AutoSupport invocation failed because the trigger is disabled | | 8650853 | AutoSupport invocation failed because the trigger rate is higher than the maximum supported value | | 8650866 | The message parameter is not supported with performance AutoSupports | | 8650884 | The specified field is not allowed for the current operation | | 8650885 | The specified field cannot be empty | | 53149748 | The destination URI provided for the invoked AutoSupport is invalid | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewAutosupportCreateDefault

func NewAutosupportCreateDefault(code int) *AutosupportCreateDefault

NewAutosupportCreateDefault creates a AutosupportCreateDefault with default headers values

func (*AutosupportCreateDefault) Code

func (o *AutosupportCreateDefault) Code() int

Code gets the status code for the autosupport create default response

func (*AutosupportCreateDefault) Error

func (o *AutosupportCreateDefault) Error() string

func (*AutosupportCreateDefault) GetPayload

func (*AutosupportCreateDefault) IsClientError

func (o *AutosupportCreateDefault) IsClientError() bool

IsClientError returns true when this autosupport create default response has a 4xx status code

func (*AutosupportCreateDefault) IsCode

func (o *AutosupportCreateDefault) IsCode(code int) bool

IsCode returns true when this autosupport create default response a status code equal to that given

func (*AutosupportCreateDefault) IsRedirect

func (o *AutosupportCreateDefault) IsRedirect() bool

IsRedirect returns true when this autosupport create default response has a 3xx status code

func (*AutosupportCreateDefault) IsServerError

func (o *AutosupportCreateDefault) IsServerError() bool

IsServerError returns true when this autosupport create default response has a 5xx status code

func (*AutosupportCreateDefault) IsSuccess

func (o *AutosupportCreateDefault) IsSuccess() bool

IsSuccess returns true when this autosupport create default response has a 2xx status code

func (*AutosupportCreateDefault) String

func (o *AutosupportCreateDefault) String() string

type AutosupportCreateParams

type AutosupportCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.AutosupportMessage

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

AutosupportCreateParams contains all the parameters to send to the API endpoint

for the autosupport create operation.

Typically these are written to a http.Request.

func NewAutosupportCreateParams

func NewAutosupportCreateParams() *AutosupportCreateParams

NewAutosupportCreateParams creates a new AutosupportCreateParams 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 NewAutosupportCreateParamsWithContext

func NewAutosupportCreateParamsWithContext(ctx context.Context) *AutosupportCreateParams

NewAutosupportCreateParamsWithContext creates a new AutosupportCreateParams object with the ability to set a context for a request.

func NewAutosupportCreateParamsWithHTTPClient

func NewAutosupportCreateParamsWithHTTPClient(client *http.Client) *AutosupportCreateParams

NewAutosupportCreateParamsWithHTTPClient creates a new AutosupportCreateParams object with the ability to set a custom HTTPClient for a request.

func NewAutosupportCreateParamsWithTimeout

func NewAutosupportCreateParamsWithTimeout(timeout time.Duration) *AutosupportCreateParams

NewAutosupportCreateParamsWithTimeout creates a new AutosupportCreateParams object with the ability to set a timeout on a request.

func (*AutosupportCreateParams) SetContext

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

SetContext adds the context to the autosupport create params

func (*AutosupportCreateParams) SetDefaults

func (o *AutosupportCreateParams) SetDefaults()

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

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

func (*AutosupportCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the autosupport create params

func (*AutosupportCreateParams) SetInfo

SetInfo adds the info to the autosupport create params

func (*AutosupportCreateParams) SetReturnRecords

func (o *AutosupportCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the autosupport create params

func (*AutosupportCreateParams) SetTimeout

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

SetTimeout adds the timeout to the autosupport create params

func (*AutosupportCreateParams) WithContext

WithContext adds the context to the autosupport create params

func (*AutosupportCreateParams) WithDefaults

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

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

func (*AutosupportCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the autosupport create params

func (*AutosupportCreateParams) WithInfo

WithInfo adds the info to the autosupport create params

func (*AutosupportCreateParams) WithReturnRecords

func (o *AutosupportCreateParams) WithReturnRecords(returnRecords *bool) *AutosupportCreateParams

WithReturnRecords adds the returnRecords to the autosupport create params

func (*AutosupportCreateParams) WithTimeout

WithTimeout adds the timeout to the autosupport create params

func (*AutosupportCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutosupportCreateReader

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

AutosupportCreateReader is a Reader for the AutosupportCreate structure.

func (*AutosupportCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutosupportGetDefault

type AutosupportGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutosupportGetDefault describes a response with status code -1, with default header values.

Error

func NewAutosupportGetDefault

func NewAutosupportGetDefault(code int) *AutosupportGetDefault

NewAutosupportGetDefault creates a AutosupportGetDefault with default headers values

func (*AutosupportGetDefault) Code

func (o *AutosupportGetDefault) Code() int

Code gets the status code for the autosupport get default response

func (*AutosupportGetDefault) Error

func (o *AutosupportGetDefault) Error() string

func (*AutosupportGetDefault) GetPayload

func (o *AutosupportGetDefault) GetPayload() *models.ErrorResponse

func (*AutosupportGetDefault) IsClientError

func (o *AutosupportGetDefault) IsClientError() bool

IsClientError returns true when this autosupport get default response has a 4xx status code

func (*AutosupportGetDefault) IsCode

func (o *AutosupportGetDefault) IsCode(code int) bool

IsCode returns true when this autosupport get default response a status code equal to that given

func (*AutosupportGetDefault) IsRedirect

func (o *AutosupportGetDefault) IsRedirect() bool

IsRedirect returns true when this autosupport get default response has a 3xx status code

func (*AutosupportGetDefault) IsServerError

func (o *AutosupportGetDefault) IsServerError() bool

IsServerError returns true when this autosupport get default response has a 5xx status code

func (*AutosupportGetDefault) IsSuccess

func (o *AutosupportGetDefault) IsSuccess() bool

IsSuccess returns true when this autosupport get default response has a 2xx status code

func (*AutosupportGetDefault) String

func (o *AutosupportGetDefault) String() string

type AutosupportGetOK

type AutosupportGetOK struct {
	Payload *models.Autosupport
}

AutosupportGetOK describes a response with status code 200, with default header values.

OK

func NewAutosupportGetOK

func NewAutosupportGetOK() *AutosupportGetOK

NewAutosupportGetOK creates a AutosupportGetOK with default headers values

func (*AutosupportGetOK) Code

func (o *AutosupportGetOK) Code() int

Code gets the status code for the autosupport get o k response

func (*AutosupportGetOK) Error

func (o *AutosupportGetOK) Error() string

func (*AutosupportGetOK) GetPayload

func (o *AutosupportGetOK) GetPayload() *models.Autosupport

func (*AutosupportGetOK) IsClientError

func (o *AutosupportGetOK) IsClientError() bool

IsClientError returns true when this autosupport get o k response has a 4xx status code

func (*AutosupportGetOK) IsCode

func (o *AutosupportGetOK) IsCode(code int) bool

IsCode returns true when this autosupport get o k response a status code equal to that given

func (*AutosupportGetOK) IsRedirect

func (o *AutosupportGetOK) IsRedirect() bool

IsRedirect returns true when this autosupport get o k response has a 3xx status code

func (*AutosupportGetOK) IsServerError

func (o *AutosupportGetOK) IsServerError() bool

IsServerError returns true when this autosupport get o k response has a 5xx status code

func (*AutosupportGetOK) IsSuccess

func (o *AutosupportGetOK) IsSuccess() bool

IsSuccess returns true when this autosupport get o k response has a 2xx status code

func (*AutosupportGetOK) String

func (o *AutosupportGetOK) String() string

type AutosupportGetParams

type AutosupportGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

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

AutosupportGetParams contains all the parameters to send to the API endpoint

for the autosupport get operation.

Typically these are written to a http.Request.

func NewAutosupportGetParams

func NewAutosupportGetParams() *AutosupportGetParams

NewAutosupportGetParams creates a new AutosupportGetParams 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 NewAutosupportGetParamsWithContext

func NewAutosupportGetParamsWithContext(ctx context.Context) *AutosupportGetParams

NewAutosupportGetParamsWithContext creates a new AutosupportGetParams object with the ability to set a context for a request.

func NewAutosupportGetParamsWithHTTPClient

func NewAutosupportGetParamsWithHTTPClient(client *http.Client) *AutosupportGetParams

NewAutosupportGetParamsWithHTTPClient creates a new AutosupportGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutosupportGetParamsWithTimeout

func NewAutosupportGetParamsWithTimeout(timeout time.Duration) *AutosupportGetParams

NewAutosupportGetParamsWithTimeout creates a new AutosupportGetParams object with the ability to set a timeout on a request.

func (*AutosupportGetParams) SetContext

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

SetContext adds the context to the autosupport get params

func (*AutosupportGetParams) SetDefaults

func (o *AutosupportGetParams) SetDefaults()

SetDefaults hydrates default values in the autosupport get params (not the query body).

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

func (*AutosupportGetParams) SetFields

func (o *AutosupportGetParams) SetFields(fields []string)

SetFields adds the fields to the autosupport get params

func (*AutosupportGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the autosupport get params

func (*AutosupportGetParams) SetTimeout

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

SetTimeout adds the timeout to the autosupport get params

func (*AutosupportGetParams) WithContext

WithContext adds the context to the autosupport get params

func (*AutosupportGetParams) WithDefaults

func (o *AutosupportGetParams) WithDefaults() *AutosupportGetParams

WithDefaults hydrates default values in the autosupport get params (not the query body).

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

func (*AutosupportGetParams) WithFields

func (o *AutosupportGetParams) WithFields(fields []string) *AutosupportGetParams

WithFields adds the fields to the autosupport get params

func (*AutosupportGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the autosupport get params

func (*AutosupportGetParams) WithTimeout

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

WithTimeout adds the timeout to the autosupport get params

func (*AutosupportGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AutosupportGetReader

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

AutosupportGetReader is a Reader for the AutosupportGet structure.

func (*AutosupportGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutosupportMessageCollectionGetDefault

type AutosupportMessageCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutosupportMessageCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewAutosupportMessageCollectionGetDefault

func NewAutosupportMessageCollectionGetDefault(code int) *AutosupportMessageCollectionGetDefault

NewAutosupportMessageCollectionGetDefault creates a AutosupportMessageCollectionGetDefault with default headers values

func (*AutosupportMessageCollectionGetDefault) Code

Code gets the status code for the autosupport message collection get default response

func (*AutosupportMessageCollectionGetDefault) Error

func (*AutosupportMessageCollectionGetDefault) GetPayload

func (*AutosupportMessageCollectionGetDefault) IsClientError

func (o *AutosupportMessageCollectionGetDefault) IsClientError() bool

IsClientError returns true when this autosupport message collection get default response has a 4xx status code

func (*AutosupportMessageCollectionGetDefault) IsCode

IsCode returns true when this autosupport message collection get default response a status code equal to that given

func (*AutosupportMessageCollectionGetDefault) IsRedirect

IsRedirect returns true when this autosupport message collection get default response has a 3xx status code

func (*AutosupportMessageCollectionGetDefault) IsServerError

func (o *AutosupportMessageCollectionGetDefault) IsServerError() bool

IsServerError returns true when this autosupport message collection get default response has a 5xx status code

func (*AutosupportMessageCollectionGetDefault) IsSuccess

IsSuccess returns true when this autosupport message collection get default response has a 2xx status code

func (*AutosupportMessageCollectionGetDefault) String

type AutosupportMessageCollectionGetOK

type AutosupportMessageCollectionGetOK struct {
	Payload *models.AutosupportMessageResponse
}

AutosupportMessageCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewAutosupportMessageCollectionGetOK

func NewAutosupportMessageCollectionGetOK() *AutosupportMessageCollectionGetOK

NewAutosupportMessageCollectionGetOK creates a AutosupportMessageCollectionGetOK with default headers values

func (*AutosupportMessageCollectionGetOK) Code

Code gets the status code for the autosupport message collection get o k response

func (*AutosupportMessageCollectionGetOK) Error

func (*AutosupportMessageCollectionGetOK) GetPayload

func (*AutosupportMessageCollectionGetOK) IsClientError

func (o *AutosupportMessageCollectionGetOK) IsClientError() bool

IsClientError returns true when this autosupport message collection get o k response has a 4xx status code

func (*AutosupportMessageCollectionGetOK) IsCode

func (o *AutosupportMessageCollectionGetOK) IsCode(code int) bool

IsCode returns true when this autosupport message collection get o k response a status code equal to that given

func (*AutosupportMessageCollectionGetOK) IsRedirect

func (o *AutosupportMessageCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this autosupport message collection get o k response has a 3xx status code

func (*AutosupportMessageCollectionGetOK) IsServerError

func (o *AutosupportMessageCollectionGetOK) IsServerError() bool

IsServerError returns true when this autosupport message collection get o k response has a 5xx status code

func (*AutosupportMessageCollectionGetOK) IsSuccess

func (o *AutosupportMessageCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this autosupport message collection get o k response has a 2xx status code

func (*AutosupportMessageCollectionGetOK) String

type AutosupportMessageCollectionGetParams

type AutosupportMessageCollectionGetParams struct {

	/* Destination.

	   Filter by destination
	*/
	Destination *string

	/* ErrorCode.

	   Filter by error.code
	*/
	ErrorCode *int64

	/* ErrorMessage.

	   Filter by error.message
	*/
	ErrorMessage *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* GeneratedOn.

	   Filter by generated_on
	*/
	GeneratedOn *string

	/* Index.

	   Filter by index
	*/
	Index *int64

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* NodeName.

	   Filter by node.name
	*/
	NodeName *string

	/* NodeUUID.

	   Filter by node.uuid
	*/
	NodeUUID *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* State.

	   Filter by state
	*/
	State *string

	/* Subject.

	   Filter by subject
	*/
	Subject *string

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

AutosupportMessageCollectionGetParams contains all the parameters to send to the API endpoint

for the autosupport message collection get operation.

Typically these are written to a http.Request.

func NewAutosupportMessageCollectionGetParams

func NewAutosupportMessageCollectionGetParams() *AutosupportMessageCollectionGetParams

NewAutosupportMessageCollectionGetParams creates a new AutosupportMessageCollectionGetParams 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 NewAutosupportMessageCollectionGetParamsWithContext

func NewAutosupportMessageCollectionGetParamsWithContext(ctx context.Context) *AutosupportMessageCollectionGetParams

NewAutosupportMessageCollectionGetParamsWithContext creates a new AutosupportMessageCollectionGetParams object with the ability to set a context for a request.

func NewAutosupportMessageCollectionGetParamsWithHTTPClient

func NewAutosupportMessageCollectionGetParamsWithHTTPClient(client *http.Client) *AutosupportMessageCollectionGetParams

NewAutosupportMessageCollectionGetParamsWithHTTPClient creates a new AutosupportMessageCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutosupportMessageCollectionGetParamsWithTimeout

func NewAutosupportMessageCollectionGetParamsWithTimeout(timeout time.Duration) *AutosupportMessageCollectionGetParams

NewAutosupportMessageCollectionGetParamsWithTimeout creates a new AutosupportMessageCollectionGetParams object with the ability to set a timeout on a request.

func (*AutosupportMessageCollectionGetParams) SetContext

SetContext adds the context to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetDefaults

func (o *AutosupportMessageCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the autosupport message collection get params (not the query body).

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

func (*AutosupportMessageCollectionGetParams) SetDestination

func (o *AutosupportMessageCollectionGetParams) SetDestination(destination *string)

SetDestination adds the destination to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetErrorCode

func (o *AutosupportMessageCollectionGetParams) SetErrorCode(errorCode *int64)

SetErrorCode adds the errorCode to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetErrorMessage

func (o *AutosupportMessageCollectionGetParams) SetErrorMessage(errorMessage *string)

SetErrorMessage adds the errorMessage to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetFields

func (o *AutosupportMessageCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetGeneratedOn

func (o *AutosupportMessageCollectionGetParams) SetGeneratedOn(generatedOn *string)

SetGeneratedOn adds the generatedOn to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetIndex

func (o *AutosupportMessageCollectionGetParams) SetIndex(index *int64)

SetIndex adds the index to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetMaxRecords

func (o *AutosupportMessageCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetNodeName

func (o *AutosupportMessageCollectionGetParams) SetNodeName(nodeName *string)

SetNodeName adds the nodeName to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetNodeUUID

func (o *AutosupportMessageCollectionGetParams) SetNodeUUID(nodeUUID *string)

SetNodeUUID adds the nodeUuid to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetOrderBy

func (o *AutosupportMessageCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetReturnRecords

func (o *AutosupportMessageCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetReturnTimeout

func (o *AutosupportMessageCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetState

func (o *AutosupportMessageCollectionGetParams) SetState(state *string)

SetState adds the state to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetSubject

func (o *AutosupportMessageCollectionGetParams) SetSubject(subject *string)

SetSubject adds the subject to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithContext

WithContext adds the context to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the autosupport message collection get params (not the query body).

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

func (*AutosupportMessageCollectionGetParams) WithDestination

WithDestination adds the destination to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithErrorCode

WithErrorCode adds the errorCode to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithErrorMessage

WithErrorMessage adds the errorMessage to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithFields

WithFields adds the fields to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithGeneratedOn

WithGeneratedOn adds the generatedOn to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithIndex

WithIndex adds the index to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithNodeName

WithNodeName adds the nodeName to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithState

WithState adds the state to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithSubject

WithSubject adds the subject to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the autosupport message collection get params

func (*AutosupportMessageCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutosupportMessageCollectionGetReader

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

AutosupportMessageCollectionGetReader is a Reader for the AutosupportMessageCollectionGet structure.

func (*AutosupportMessageCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutosupportMessageGetDefault

type AutosupportMessageGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

AutosupportMessageGetDefault describes a response with status code -1, with default header values.

Error

func NewAutosupportMessageGetDefault

func NewAutosupportMessageGetDefault(code int) *AutosupportMessageGetDefault

NewAutosupportMessageGetDefault creates a AutosupportMessageGetDefault with default headers values

func (*AutosupportMessageGetDefault) Code

Code gets the status code for the autosupport message get default response

func (*AutosupportMessageGetDefault) Error

func (*AutosupportMessageGetDefault) GetPayload

func (*AutosupportMessageGetDefault) IsClientError

func (o *AutosupportMessageGetDefault) IsClientError() bool

IsClientError returns true when this autosupport message get default response has a 4xx status code

func (*AutosupportMessageGetDefault) IsCode

func (o *AutosupportMessageGetDefault) IsCode(code int) bool

IsCode returns true when this autosupport message get default response a status code equal to that given

func (*AutosupportMessageGetDefault) IsRedirect

func (o *AutosupportMessageGetDefault) IsRedirect() bool

IsRedirect returns true when this autosupport message get default response has a 3xx status code

func (*AutosupportMessageGetDefault) IsServerError

func (o *AutosupportMessageGetDefault) IsServerError() bool

IsServerError returns true when this autosupport message get default response has a 5xx status code

func (*AutosupportMessageGetDefault) IsSuccess

func (o *AutosupportMessageGetDefault) IsSuccess() bool

IsSuccess returns true when this autosupport message get default response has a 2xx status code

func (*AutosupportMessageGetDefault) String

type AutosupportMessageGetOK

type AutosupportMessageGetOK struct {
	Payload *models.AutosupportMessage
}

AutosupportMessageGetOK describes a response with status code 200, with default header values.

OK

func NewAutosupportMessageGetOK

func NewAutosupportMessageGetOK() *AutosupportMessageGetOK

NewAutosupportMessageGetOK creates a AutosupportMessageGetOK with default headers values

func (*AutosupportMessageGetOK) Code

func (o *AutosupportMessageGetOK) Code() int

Code gets the status code for the autosupport message get o k response

func (*AutosupportMessageGetOK) Error

func (o *AutosupportMessageGetOK) Error() string

func (*AutosupportMessageGetOK) GetPayload

func (*AutosupportMessageGetOK) IsClientError

func (o *AutosupportMessageGetOK) IsClientError() bool

IsClientError returns true when this autosupport message get o k response has a 4xx status code

func (*AutosupportMessageGetOK) IsCode

func (o *AutosupportMessageGetOK) IsCode(code int) bool

IsCode returns true when this autosupport message get o k response a status code equal to that given

func (*AutosupportMessageGetOK) IsRedirect

func (o *AutosupportMessageGetOK) IsRedirect() bool

IsRedirect returns true when this autosupport message get o k response has a 3xx status code

func (*AutosupportMessageGetOK) IsServerError

func (o *AutosupportMessageGetOK) IsServerError() bool

IsServerError returns true when this autosupport message get o k response has a 5xx status code

func (*AutosupportMessageGetOK) IsSuccess

func (o *AutosupportMessageGetOK) IsSuccess() bool

IsSuccess returns true when this autosupport message get o k response has a 2xx status code

func (*AutosupportMessageGetOK) String

func (o *AutosupportMessageGetOK) String() string

type AutosupportMessageGetParams

type AutosupportMessageGetParams struct {

	/* Destination.

	   The destination for this AutoSupport message.
	*/
	Destination string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Index.

	   AutoSupport message sequence number
	*/
	Index string

	/* NodeUUID.

	   Node UUID
	*/
	NodeUUID string

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

AutosupportMessageGetParams contains all the parameters to send to the API endpoint

for the autosupport message get operation.

Typically these are written to a http.Request.

func NewAutosupportMessageGetParams

func NewAutosupportMessageGetParams() *AutosupportMessageGetParams

NewAutosupportMessageGetParams creates a new AutosupportMessageGetParams 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 NewAutosupportMessageGetParamsWithContext

func NewAutosupportMessageGetParamsWithContext(ctx context.Context) *AutosupportMessageGetParams

NewAutosupportMessageGetParamsWithContext creates a new AutosupportMessageGetParams object with the ability to set a context for a request.

func NewAutosupportMessageGetParamsWithHTTPClient

func NewAutosupportMessageGetParamsWithHTTPClient(client *http.Client) *AutosupportMessageGetParams

NewAutosupportMessageGetParamsWithHTTPClient creates a new AutosupportMessageGetParams object with the ability to set a custom HTTPClient for a request.

func NewAutosupportMessageGetParamsWithTimeout

func NewAutosupportMessageGetParamsWithTimeout(timeout time.Duration) *AutosupportMessageGetParams

NewAutosupportMessageGetParamsWithTimeout creates a new AutosupportMessageGetParams object with the ability to set a timeout on a request.

func (*AutosupportMessageGetParams) SetContext

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

SetContext adds the context to the autosupport message get params

func (*AutosupportMessageGetParams) SetDefaults

func (o *AutosupportMessageGetParams) SetDefaults()

SetDefaults hydrates default values in the autosupport message get params (not the query body).

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

func (*AutosupportMessageGetParams) SetDestination

func (o *AutosupportMessageGetParams) SetDestination(destination string)

SetDestination adds the destination to the autosupport message get params

func (*AutosupportMessageGetParams) SetFields

func (o *AutosupportMessageGetParams) SetFields(fields []string)

SetFields adds the fields to the autosupport message get params

func (*AutosupportMessageGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the autosupport message get params

func (*AutosupportMessageGetParams) SetIndex

func (o *AutosupportMessageGetParams) SetIndex(index string)

SetIndex adds the index to the autosupport message get params

func (*AutosupportMessageGetParams) SetNodeUUID

func (o *AutosupportMessageGetParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the autosupport message get params

func (*AutosupportMessageGetParams) SetTimeout

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

SetTimeout adds the timeout to the autosupport message get params

func (*AutosupportMessageGetParams) WithContext

WithContext adds the context to the autosupport message get params

func (*AutosupportMessageGetParams) WithDefaults

WithDefaults hydrates default values in the autosupport message get params (not the query body).

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

func (*AutosupportMessageGetParams) WithDestination

func (o *AutosupportMessageGetParams) WithDestination(destination string) *AutosupportMessageGetParams

WithDestination adds the destination to the autosupport message get params

func (*AutosupportMessageGetParams) WithFields

WithFields adds the fields to the autosupport message get params

func (*AutosupportMessageGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the autosupport message get params

func (*AutosupportMessageGetParams) WithIndex

WithIndex adds the index to the autosupport message get params

func (*AutosupportMessageGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the autosupport message get params

func (*AutosupportMessageGetParams) WithTimeout

WithTimeout adds the timeout to the autosupport message get params

func (*AutosupportMessageGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutosupportMessageGetReader

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

AutosupportMessageGetReader is a Reader for the AutosupportMessageGet structure.

func (*AutosupportMessageGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AutosupportModifyDefault

type AutosupportModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AutosupportModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 8650862 | The SMTP mail host provided cannot be empty | | 8650863 | A maximum of 5 SMTP mail hosts can be provided | | 8650864 | A maximum of 5 email addresses can be provided | | 8650865 | A maximum of 5 partner email addresses can be provided | | 8650880 | Automatic update requires AutoSupport to be enabled | | 8650881 | Automatic update requires AutoSupport to use the HTTPS transport | | 8650882 | Automatic update requires AutoSupport OnDemand to be enabled | | 8650886 | The provided parameter requires an effective cluster version of ONTAP 9.15.1 or later | | 8650887 | Username or password is not allowed in the AutoSupport url and put-url fields | | 53149727 | The proxy URI provided is invalid | | 53149728 | The SMTP mail host URI provided is invalid | | 53149732 | The proxy URI provided is invalid. IPv6 addresses must be enclosed within square brackets | | 53149737 | The proxy URI provided specifies an unsupported scheme | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewAutosupportModifyDefault

func NewAutosupportModifyDefault(code int) *AutosupportModifyDefault

NewAutosupportModifyDefault creates a AutosupportModifyDefault with default headers values

func (*AutosupportModifyDefault) Code

func (o *AutosupportModifyDefault) Code() int

Code gets the status code for the autosupport modify default response

func (*AutosupportModifyDefault) Error

func (o *AutosupportModifyDefault) Error() string

func (*AutosupportModifyDefault) GetPayload

func (*AutosupportModifyDefault) IsClientError

func (o *AutosupportModifyDefault) IsClientError() bool

IsClientError returns true when this autosupport modify default response has a 4xx status code

func (*AutosupportModifyDefault) IsCode

func (o *AutosupportModifyDefault) IsCode(code int) bool

IsCode returns true when this autosupport modify default response a status code equal to that given

func (*AutosupportModifyDefault) IsRedirect

func (o *AutosupportModifyDefault) IsRedirect() bool

IsRedirect returns true when this autosupport modify default response has a 3xx status code

func (*AutosupportModifyDefault) IsServerError

func (o *AutosupportModifyDefault) IsServerError() bool

IsServerError returns true when this autosupport modify default response has a 5xx status code

func (*AutosupportModifyDefault) IsSuccess

func (o *AutosupportModifyDefault) IsSuccess() bool

IsSuccess returns true when this autosupport modify default response has a 2xx status code

func (*AutosupportModifyDefault) String

func (o *AutosupportModifyDefault) String() string

type AutosupportModifyOK

type AutosupportModifyOK struct {
}

AutosupportModifyOK describes a response with status code 200, with default header values.

OK

func NewAutosupportModifyOK

func NewAutosupportModifyOK() *AutosupportModifyOK

NewAutosupportModifyOK creates a AutosupportModifyOK with default headers values

func (*AutosupportModifyOK) Code

func (o *AutosupportModifyOK) Code() int

Code gets the status code for the autosupport modify o k response

func (*AutosupportModifyOK) Error

func (o *AutosupportModifyOK) Error() string

func (*AutosupportModifyOK) IsClientError

func (o *AutosupportModifyOK) IsClientError() bool

IsClientError returns true when this autosupport modify o k response has a 4xx status code

func (*AutosupportModifyOK) IsCode

func (o *AutosupportModifyOK) IsCode(code int) bool

IsCode returns true when this autosupport modify o k response a status code equal to that given

func (*AutosupportModifyOK) IsRedirect

func (o *AutosupportModifyOK) IsRedirect() bool

IsRedirect returns true when this autosupport modify o k response has a 3xx status code

func (*AutosupportModifyOK) IsServerError

func (o *AutosupportModifyOK) IsServerError() bool

IsServerError returns true when this autosupport modify o k response has a 5xx status code

func (*AutosupportModifyOK) IsSuccess

func (o *AutosupportModifyOK) IsSuccess() bool

IsSuccess returns true when this autosupport modify o k response has a 2xx status code

func (*AutosupportModifyOK) String

func (o *AutosupportModifyOK) String() string

type AutosupportModifyParams

type AutosupportModifyParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.Autosupport

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

AutosupportModifyParams contains all the parameters to send to the API endpoint

for the autosupport modify operation.

Typically these are written to a http.Request.

func NewAutosupportModifyParams

func NewAutosupportModifyParams() *AutosupportModifyParams

NewAutosupportModifyParams creates a new AutosupportModifyParams 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 NewAutosupportModifyParamsWithContext

func NewAutosupportModifyParamsWithContext(ctx context.Context) *AutosupportModifyParams

NewAutosupportModifyParamsWithContext creates a new AutosupportModifyParams object with the ability to set a context for a request.

func NewAutosupportModifyParamsWithHTTPClient

func NewAutosupportModifyParamsWithHTTPClient(client *http.Client) *AutosupportModifyParams

NewAutosupportModifyParamsWithHTTPClient creates a new AutosupportModifyParams object with the ability to set a custom HTTPClient for a request.

func NewAutosupportModifyParamsWithTimeout

func NewAutosupportModifyParamsWithTimeout(timeout time.Duration) *AutosupportModifyParams

NewAutosupportModifyParamsWithTimeout creates a new AutosupportModifyParams object with the ability to set a timeout on a request.

func (*AutosupportModifyParams) SetContext

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

SetContext adds the context to the autosupport modify params

func (*AutosupportModifyParams) SetDefaults

func (o *AutosupportModifyParams) SetDefaults()

SetDefaults hydrates default values in the autosupport modify params (not the query body).

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

func (*AutosupportModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the autosupport modify params

func (*AutosupportModifyParams) SetInfo

func (o *AutosupportModifyParams) SetInfo(info *models.Autosupport)

SetInfo adds the info to the autosupport modify params

func (*AutosupportModifyParams) SetTimeout

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

SetTimeout adds the timeout to the autosupport modify params

func (*AutosupportModifyParams) WithContext

WithContext adds the context to the autosupport modify params

func (*AutosupportModifyParams) WithDefaults

WithDefaults hydrates default values in the autosupport modify params (not the query body).

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

func (*AutosupportModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the autosupport modify params

func (*AutosupportModifyParams) WithInfo

WithInfo adds the info to the autosupport modify params

func (*AutosupportModifyParams) WithTimeout

WithTimeout adds the timeout to the autosupport modify params

func (*AutosupportModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AutosupportModifyReader

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

AutosupportModifyReader is a Reader for the AutosupportModify structure.

func (*AutosupportModifyReader) ReadResponse

func (o *AutosupportModifyReader) 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 support API

func (*Client) AutoUpdateConfigurationCollectionGet

func (a *Client) AutoUpdateConfigurationCollectionGet(params *AutoUpdateConfigurationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationCollectionGetOK, error)

AutoUpdateConfigurationCollectionGet Retrieves the configuration for automatic updates.

func (*Client) AutoUpdateConfigurationGet

func (a *Client) AutoUpdateConfigurationGet(params *AutoUpdateConfigurationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationGetOK, error)

AutoUpdateConfigurationGet Retrieves the configuration for a specified automatic update.

func (*Client) AutoUpdateConfigurationModify

func (a *Client) AutoUpdateConfigurationModify(params *AutoUpdateConfigurationModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationModifyOK, error)

AutoUpdateConfigurationModify Updates the configuration for a specified automatic update.

func (*Client) AutoUpdateInfoGet

func (a *Client) AutoUpdateInfoGet(params *AutoUpdateInfoGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateInfoGetOK, error)

AutoUpdateInfoGet Retrieves the current status of the automatic update feature and the End User License Agreement (EULA).

func (*Client) AutoUpdateInfoModify

func (a *Client) AutoUpdateInfoModify(params *AutoUpdateInfoModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateInfoModifyOK, error)

AutoUpdateInfoModify Updates the current enabled status of the automatic update feature and accepts the EULA.

func (*Client) AutoUpdateStatusCollectionGet

func (a *Client) AutoUpdateStatusCollectionGet(params *AutoUpdateStatusCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusCollectionGetOK, error)

AutoUpdateStatusCollectionGet Retrieves the status of all updates.

func (*Client) AutoUpdateStatusGet

func (a *Client) AutoUpdateStatusGet(params *AutoUpdateStatusGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusGetOK, error)

AutoUpdateStatusGet Retrieves the status of an update.

func (*Client) AutoUpdateStatusModify

func (a *Client) AutoUpdateStatusModify(params *AutoUpdateStatusModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusModifyOK, error)

AutoUpdateStatusModify Perform an action on the update.

func (*Client) AutosupportCreate

func (a *Client) AutosupportCreate(params *AutosupportCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportCreateCreated, error)
AutosupportCreate Creates and sends an AutoSupport message with the provided input parameters.<p/>

Important note: * By default, the response is an empty object. If `return_records=true` is passed in the request, the response includes information about the node and the index of the invoked AutoSupport message. ### Recommended optional properties * `message` - Message included in the AutoSupport subject. Use this to identify the generated AutoSupport message. ### Default property values If not specified in POST, the following are the default property values: * `type` - _all_ * `node.name` or `node.uuid` - Not specifying these properties invokes AutoSupport on all nodes in the cluster. ### Related ONTAP commands * `system node autosupport invoke` ### Learn more * [`DOC /support/autosupport/messages`](#docs-support-support_autosupport_messages)

func (*Client) AutosupportGet

func (a *Client) AutosupportGet(params *AutosupportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportGetOK, error)
AutosupportGet Retrieves the AutoSupport configuration of the cluster and if requested, returns connectivity issues with the AutoSupport configuration.<p/>

</br>Important note: * The **issues** field consists of a list of objects containing details of the node that has a connectivity issue, the issue description, and corrective action you can take to address the issue. When not empty, this indicates a connection issue to the **HTTPS**, **SMTP**, or **AutoSupport On Demand** server. ### Expensive properties There is an added computational cost to retrieving values for these properties. They are not included by default in GET results and must be explicitly requested using the `fields` query parameter. See [`Requesting specific fields`](#Requesting_specific_fields) to learn more. * `issues` ### Related ONTAP commands * `system node autosupport show -instance` * `system node autosupport check show-details` ### Learn more * [`DOC /support/autosupport`](#docs-support-support_autosupport)

func (*Client) AutosupportMessageCollectionGet

func (a *Client) AutosupportMessageCollectionGet(params *AutosupportMessageCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportMessageCollectionGetOK, error)
AutosupportMessageCollectionGet Retrieves AutoSupport message history from all nodes in the cluster.<p/>

There can be a short delay on invoked AutoSupport messages showing in history, dependent on processing of other AutoSupports in the queue. ### Related ONTAP commands * `system node autosupport history show` ### Learn more * [`DOC /support/autosupport/messages`](#docs-support-support_autosupport_messages)

func (*Client) AutosupportMessageGet

func (a *Client) AutosupportMessageGet(params *AutosupportMessageGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportMessageGetOK, error)

AutosupportMessageGet Retrieves information about a single Autosupport message.

func (*Client) AutosupportModify

func (a *Client) AutosupportModify(params *AutosupportModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportModifyOK, error)
AutosupportModify Updates the AutoSupport configuration for the entire cluster.

### Related ONTAP commands * `system node autosupport modify` ### Learn more * [`DOC /support/autosupport`](#docs-support-support_autosupport)

func (*Client) ConfigurationBackupFileCollectionGet

func (a *Client) ConfigurationBackupFileCollectionGet(params *ConfigurationBackupFileCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileCollectionGetOK, error)
ConfigurationBackupFileCollectionGet Retrieves a list of configuration backup files.

### Related ONTAP commands * `system configuration backup show`

func (*Client) ConfigurationBackupFileCreate

ConfigurationBackupFileCreate Creates a configuration backup. The required backup file name must end with .7z extension.

### Required properties * `node.uuid` or `node.name` - The node UUID or node name on which the configuration backup will be created. * `name` - The backup file name ### Related ONTAP commands * `system configuration backup create`

func (*Client) ConfigurationBackupFileDelete

func (a *Client) ConfigurationBackupFileDelete(params *ConfigurationBackupFileDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileDeleteOK, error)
ConfigurationBackupFileDelete Deletes a configuration backup.

### Related ONTAP commands * `system configuration backup delete`

func (*Client) ConfigurationBackupFileGet

func (a *Client) ConfigurationBackupFileGet(params *ConfigurationBackupFileGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileGetOK, error)
ConfigurationBackupFileGet Retrieves details of the specified configuration backup file.

### Related ONTAP commands * `system configuration backup show`

func (*Client) ConfigurationBackupGet

func (a *Client) ConfigurationBackupGet(params *ConfigurationBackupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupGetOK, error)

ConfigurationBackupGet Retrieves the cluster configuration backup information.

func (*Client) ConfigurationBackupModify

func (a *Client) ConfigurationBackupModify(params *ConfigurationBackupModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupModifyOK, error)

ConfigurationBackupModify Updates the cluster configuration backup information.

func (*Client) CoredumpCollectionGet

func (a *Client) CoredumpCollectionGet(params *CoredumpCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpCollectionGetOK, error)
CoredumpCollectionGet Retrieves a collection of coredumps.

### Related ONTAP commands * `system node coredump show`

func (*Client) CoredumpDelete

func (a *Client) CoredumpDelete(params *CoredumpDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpDeleteOK, error)
CoredumpDelete Deletes a core dump.

### Related ONTAP commands * `system node coredump delete`

func (*Client) CoredumpGet

func (a *Client) CoredumpGet(params *CoredumpGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpGetOK, error)
CoredumpGet Retrieves a specific core dump.

### Related ONTAP commands * `system node coredump show`

func (*Client) EmsApplicationLogsCreate

func (a *Client) EmsApplicationLogsCreate(params *EmsApplicationLogsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsApplicationLogsCreateCreated, error)
EmsApplicationLogsCreate Creates an app.log.* event. Setting the "autosupport_required" flag causes callhome.client.app.* events also to be generated, which in turn triggers AutoSupports.

### Required properties * `computer_name` - Client computer connected to the cluster. * `event_source` - Client application that generated this event. * `app_version` - Client application version. * `event_id` - Application eventID. * `category` - Event category. * `event_description` - Event description. * `severity` - Severity of the event. * `autosupport_required` - Indicates whether AutoSupport generation is required.

func (*Client) EmsConfigGet

func (a *Client) EmsConfigGet(params *EmsConfigGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsConfigGetOK, error)
EmsConfigGet Retrieves the EMS configuration.

### Related ONTAP commands * `event config show`

func (*Client) EmsConfigModify

func (a *Client) EmsConfigModify(params *EmsConfigModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsConfigModifyOK, error)
EmsConfigModify Updates the EMS configuration.

### Related ONTAP commands * `event config modify`

func (*Client) EmsDestinationCollectionGet

func (a *Client) EmsDestinationCollectionGet(params *EmsDestinationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationCollectionGetOK, error)
EmsDestinationCollectionGet Retrieves a collection of event destinations.

### Related ONTAP commands * `event notification destination show` * `event notification show`

func (*Client) EmsDestinationCreate

func (a *Client) EmsDestinationCreate(params *EmsDestinationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationCreateCreated, error)
EmsDestinationCreate Creates an event destination.

### Required properties * `name` - String that uniquely identifies the destination. * `type` - Type of destination that is to be created. * `destination` - String that identifies the destination. The contents of this property changes depending on type. ### Recommended optional properties * `filters.name` - List of filter names that should direct to this destination. * `certificate` - When specifying a rest api destination, a client certificate can be provided. * `syslog` - When specifying a syslog destination, a port, transport protocol, message format, timestamp format and hostname format can be provided. ### Related ONTAP commands * `event notification destination create` * `event notification create`

func (*Client) EmsDestinationDelete

func (a *Client) EmsDestinationDelete(params *EmsDestinationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationDeleteOK, error)
EmsDestinationDelete Deletes an event destination.

### Related ONTAP commands * `event notification destination delete` * `event notification delete`

func (*Client) EmsDestinationGet

func (a *Client) EmsDestinationGet(params *EmsDestinationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationGetOK, error)
EmsDestinationGet Retrieves event destinations.

### Expensive properties There is an added computational cost to retrieving values for these properties. They are not included by default in GET results and must be explicitly requested using the `fields` query parameter. * `connectivity.*` ### Related ONTAP commands * `event notification destination show` * `event notification show`

func (*Client) EmsDestinationModify

func (a *Client) EmsDestinationModify(params *EmsDestinationModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationModifyOK, error)
EmsDestinationModify Updates an event destination.

### Recommended optional properties * `filters.name` - New list of filters that should direct to this destination. The existing list is discarded. * `certificate` - New certificate parameters when the destination type is `rest api`. ### Related ONTAP commands * `event notification destination modify` * `event notification modify`

func (*Client) EmsEventCollectionGet

func (a *Client) EmsEventCollectionGet(params *EmsEventCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsEventCollectionGetOK, error)
EmsEventCollectionGet Retrieves a collection of observed events.

### Related ONTAP commands * `event log show`

func (*Client) EmsFilterCollectionGet

func (a *Client) EmsFilterCollectionGet(params *EmsFilterCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterCollectionGetOK, error)
EmsFilterCollectionGet Retrieves a collection of event filters.

### Related ONTAP commands * `event filter show`

func (*Client) EmsFilterCreate

func (a *Client) EmsFilterCreate(params *EmsFilterCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterCreateCreated, error)
EmsFilterCreate Creates an event filter.

### Required properties * `name` - String that uniquely identifies the filter. ### Recommended optional properties * `rules` - List of criteria which is used to match a filter with an event. ### Related ONTAP commands * `event filter create`

func (*Client) EmsFilterDelete

func (a *Client) EmsFilterDelete(params *EmsFilterDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterDeleteOK, error)
EmsFilterDelete Deletes an event filter.

### Related ONTAP commands * `event filter delete`

func (*Client) EmsFilterGet

func (a *Client) EmsFilterGet(params *EmsFilterGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterGetOK, error)
EmsFilterGet Retrieves an event filter.

### Related ONTAP commands * `event filter show`

func (*Client) EmsFilterModify

func (a *Client) EmsFilterModify(params *EmsFilterModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterModifyOK, error)
EmsFilterModify Updates an event filter.

### Recommended optional properties * `new_name` - New string that uniquely identifies a filter. * `rules` - New list of criteria used to match the filter with an event. The existing list is discarded. ### Related ONTAP commands * `event filter rename` * `event filter rule add` * `event filter rule delete` * `event filter rule reorder`

func (*Client) EmsFilterRuleCollectionGet

func (a *Client) EmsFilterRuleCollectionGet(params *EmsFilterRuleCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleCollectionGetOK, error)
EmsFilterRuleCollectionGet Retrieves event filter rules.

### Related ONTAP commands * `event filter show`

func (*Client) EmsFilterRuleDelete

func (a *Client) EmsFilterRuleDelete(params *EmsFilterRuleDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleDeleteOK, error)
EmsFilterRuleDelete Deletes an event filter rule.

### Related ONTAP commands * `event filter rule delete`

func (*Client) EmsFilterRuleGet

func (a *Client) EmsFilterRuleGet(params *EmsFilterRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleGetOK, error)
EmsFilterRuleGet Retrieves an event filter rule.

### Related ONTAP commands * `event filter show`

func (*Client) EmsFilterRuleModify

func (a *Client) EmsFilterRuleModify(params *EmsFilterRuleModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleModifyOK, error)
EmsFilterRuleModify Updates an event filter rule.

### Recommended optional properties * `message_criteria` - Message criteria used by a rule to match an event. * `parameter_criteria` - Parameter criteria used by a rule to match an event. ### Related ONTAP commands * `event filter rule add` * `event filter rule delete`

func (*Client) EmsFiltersRulesCreate

func (a *Client) EmsFiltersRulesCreate(params *EmsFiltersRulesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFiltersRulesCreateCreated, error)
EmsFiltersRulesCreate Creates an event filter rule.

### Required properties * `type` - Enumeration indicating whether the rule is for include or exclude. * `message_criteria` - Message criteria used by a rule to match an event. * `parameter_criteria` - Parameter criteria used by a rule to match an event. Note: At least one pattern needs to be provided for message_criteria and / or parameter_criteria. ### Recommended optional properties * `index` - One-based position index of the new rule. ### Related ONTAP commands * `event filter rule add`

func (*Client) EmsMessageCollectionGet

func (a *Client) EmsMessageCollectionGet(params *EmsMessageCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsMessageCollectionGetOK, error)
EmsMessageCollectionGet Retrieves the event catalog definitions.

### Related ONTAP commands * `event catalog show`

func (*Client) EmsRoleConfigCollectionGet

func (a *Client) EmsRoleConfigCollectionGet(params *EmsRoleConfigCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigCollectionGetOK, error)
EmsRoleConfigCollectionGet Retrieves a collection of the EMS role-based configurations.

### Related ONTAP commands * `event role-config show`

func (*Client) EmsRoleConfigCreate

func (a *Client) EmsRoleConfigCreate(params *EmsRoleConfigCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigCreateCreated, error)
EmsRoleConfigCreate Creates an EMS role-based configuration for an access control role.

### Required properties * `access_control_role` - Uniquely identifies the access control role. ### Recommended optional properties * `event_filter` - Identifies the event filter. * `limit_access_to_global_configs` - Indicates whether the access control role has limited access to global EMS configurations. ### Related ONTAP commands * `event role-config create`

func (*Client) EmsRoleConfigDelete

func (a *Client) EmsRoleConfigDelete(params *EmsRoleConfigDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigDeleteOK, error)
EmsRoleConfigDelete Removes the EMS role-based configuration of the access control role.

### Related ONTAP commands * `event role-config delete`

func (*Client) EmsRoleConfigGet

func (a *Client) EmsRoleConfigGet(params *EmsRoleConfigGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigGetOK, error)
EmsRoleConfigGet Retrieves the EMS role-based configuration of the access control role.

### Related ONTAP commands * `event role-config show`

func (*Client) EmsRoleConfigModify

func (a *Client) EmsRoleConfigModify(params *EmsRoleConfigModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigModifyOK, error)
EmsRoleConfigModify Updates the EMS role-based configuration of the access control role.

### Recommended optional properties * `event_filter` - Identifies the event filter. * `limit_access_to_global_configs` - Indicates whether the access control role has limited access to global EMS configurations. ### Related ONTAP commands * `event role-config modify`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SnmpGet

func (a *Client) SnmpGet(params *SnmpGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpGetOK, error)
SnmpGet Retrieves the cluster wide SNMP configuration.

### Related ONTAP commands * `options snmp.enable` * `system snmp show` ### Learn more * [`DOC /support/snmp`](#docs-support-support_snmp)

func (*Client) SnmpModify

func (a *Client) SnmpModify(params *SnmpModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpModifyOK, error)
SnmpModify Updates the cluster wide SNMP configuration, such as:

* enabling or disabling SNMP * enabling or disabling SNMP traps * enabling or disabling authentication traps * setting the contact and location information for the SNMP server * triggering an SNMP test trap ### Related ONTAP commands * `options snmp.enable` * `system snmp authtrap` * `system snmp init` ### Learn more * [`DOC /support/snmp`](#docs-support-support_snmp)

func (*Client) SnmpTraphostsCollectionGet

func (a *Client) SnmpTraphostsCollectionGet(params *SnmpTraphostsCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsCollectionGetOK, error)
SnmpTraphostsCollectionGet Retrieves the list of SNMP traphosts along with the SNMP users configured for those traphosts.

### Related ONTAP commands * `system snmp traphost show` ### Learn more * [`DOC /support/snmp/traphosts`](#docs-support-support_snmp_traphosts)

func (*Client) SnmpTraphostsCreate

func (a *Client) SnmpTraphostsCreate(params *SnmpTraphostsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsCreateCreated, error)
SnmpTraphostsCreate Creates SNMP traphosts. While adding an SNMPv3 traphost, an SNMPv3 user configured in ONTAP must be specified. ONTAP uses this user's credentials to authenticate and/or encrypt traps sent to this SNMPv3 traphost. While adding an SNMPv1/SNMPv2c traphost, SNMPv1/SNMPv2c user or community need not be specified.

### Required properties * `host` - Fully Qualified Domain Name (FQDN), IPv4 address or IPv6 address of SNMP traphost. ### Recommended optional properties * If `host` refers to an SNMPv3 traphost, the following field is required:

  • `user` - SNMPv3 or User-based Security Model (USM) user.

* For an SNMPv1/SNMPv2c traphost, ONTAP automatically uses 'public' if 'public' is configured or no community is configured. Otherwise, ONTAP uses the first configured community. ### Related ONTAP commands * `system snmp traphost add` ### Learn more * [`DOC /support/snmp/traphosts`](#docs-support-support_snmp_traphosts)

func (*Client) SnmpTraphostsDelete

func (a *Client) SnmpTraphostsDelete(params *SnmpTraphostsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsDeleteOK, error)
SnmpTraphostsDelete Deletes an SNMP traphost.

### Learn more * [`DOC /support/snmp/traphosts/{host}`](#docs-support-support_snmp_traphosts_{host})

func (*Client) SnmpTraphostsGet

func (a *Client) SnmpTraphostsGet(params *SnmpTraphostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsGetOK, error)
SnmpTraphostsGet Retrieves the details of an SNMP traphost along with the SNMP user configured for that traphost.

### Learn more * [`DOC /support/snmp/traphosts/{host}`](#docs-support-support_snmp_traphosts_{host})

func (*Client) SnmpUsersCollectionGet

func (a *Client) SnmpUsersCollectionGet(params *SnmpUsersCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersCollectionGetOK, error)
SnmpUsersCollectionGet Retrieves the list of SNMP users on the cluster.

### Related ONTAP commands * `security snmpusers` * `security login show -application snmp` ### Learn more * [`DOC /support/snmp/users`](#docs-support-support_snmp_users)

func (*Client) SnmpUsersCreate

func (a *Client) SnmpUsersCreate(params *SnmpUsersCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersCreateCreated, error)
SnmpUsersCreate Creates either a cluster-scoped or an SVM-scoped SNMP user. This user can be an SNMPv1 or SNMPv2c community user or an SNMPv3 user. An SNMPv3 user can be a local SNMPv3 user or a remote SNMPv3 user.

### Required properties * `owner` - Name and UUID of owning SVM. * `engine_id` - Engine ID of owning SVM or remote switch. * `name` - SNMP user name * `authentication_method` - Authentication method ### Optional properties * `switch_address` - Optional remote switch address * `snmpv3` - SNMPv3-specific credentials * `comment` - Comment text ### Default property values * `snmpv3.authentication_protocol` - none * `snmpv3.privacy_protocol` - none ### Related ONTAP commands * `security login create` * `system snmp community add` ### Learn more * [`DOC /support/snmp/users`](#docs-support-support_snmp_users)

func (*Client) SnmpUsersDelete

func (a *Client) SnmpUsersDelete(params *SnmpUsersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersDeleteOK, error)
SnmpUsersDelete Deletes an SNMP user. The engine ID can be the engine ID of the administrative SVM or a data SVM. It can also be the SNMPv3 engine ID of a remote switch.

### Related ONTAP commands * `security login delete` * `system snmp community delete` ### Learn more * [`DOC /support/snmp/users/{engine_id}/{name}`](#docs-support-support_snmp_users_{engine_id}_{name})

func (*Client) SnmpUsersGet

func (a *Client) SnmpUsersGet(params *SnmpUsersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersGetOK, error)
SnmpUsersGet Retrieves the details of an SNMP user. The engine ID can be the engine ID of the administrative SVM or a data SVM. It can also be the SNMPv3 engine ID of a remote switch.

### Related ONTAP commands * `security snmpusers -vserver <SVM Name> -username <User Name>` * `security login show -application snmp -vserver <SVM Name> -user-or-group-name <User Name>` ### Learn more * [`DOC /support/snmp/users/{engine_id}/{name}`](#docs-support-support_snmp_users_{engine_id}_{name})

func (*Client) SnmpUsersModify

func (a *Client) SnmpUsersModify(params *SnmpUsersModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersModifyOK, error)
SnmpUsersModify Updates the comment parameter of an SNMP user.

### Optional properties * `comment` - Comment text. ### Related ONTAP commands * `security login modify` ### Learn more * [`DOC /support/snmp/users/{engine_id}/{name}`](#docs-support-support_snmp_users_{engine_id}_{name})

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	AutoUpdateConfigurationCollectionGet(params *AutoUpdateConfigurationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationCollectionGetOK, error)

	AutoUpdateConfigurationGet(params *AutoUpdateConfigurationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationGetOK, error)

	AutoUpdateConfigurationModify(params *AutoUpdateConfigurationModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateConfigurationModifyOK, error)

	AutoUpdateInfoGet(params *AutoUpdateInfoGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateInfoGetOK, error)

	AutoUpdateInfoModify(params *AutoUpdateInfoModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateInfoModifyOK, error)

	AutoUpdateStatusCollectionGet(params *AutoUpdateStatusCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusCollectionGetOK, error)

	AutoUpdateStatusGet(params *AutoUpdateStatusGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusGetOK, error)

	AutoUpdateStatusModify(params *AutoUpdateStatusModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutoUpdateStatusModifyOK, error)

	AutosupportCreate(params *AutosupportCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportCreateCreated, error)

	AutosupportGet(params *AutosupportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportGetOK, error)

	AutosupportMessageCollectionGet(params *AutosupportMessageCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportMessageCollectionGetOK, error)

	AutosupportMessageGet(params *AutosupportMessageGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportMessageGetOK, error)

	AutosupportModify(params *AutosupportModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AutosupportModifyOK, error)

	ConfigurationBackupFileCollectionGet(params *ConfigurationBackupFileCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileCollectionGetOK, error)

	ConfigurationBackupFileCreate(params *ConfigurationBackupFileCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileCreateCreated, *ConfigurationBackupFileCreateAccepted, error)

	ConfigurationBackupFileDelete(params *ConfigurationBackupFileDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileDeleteOK, error)

	ConfigurationBackupFileGet(params *ConfigurationBackupFileGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupFileGetOK, error)

	ConfigurationBackupGet(params *ConfigurationBackupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupGetOK, error)

	ConfigurationBackupModify(params *ConfigurationBackupModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfigurationBackupModifyOK, error)

	CoredumpCollectionGet(params *CoredumpCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpCollectionGetOK, error)

	CoredumpDelete(params *CoredumpDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpDeleteOK, error)

	CoredumpGet(params *CoredumpGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CoredumpGetOK, error)

	EmsApplicationLogsCreate(params *EmsApplicationLogsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsApplicationLogsCreateCreated, error)

	EmsConfigGet(params *EmsConfigGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsConfigGetOK, error)

	EmsConfigModify(params *EmsConfigModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsConfigModifyOK, error)

	EmsDestinationCollectionGet(params *EmsDestinationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationCollectionGetOK, error)

	EmsDestinationCreate(params *EmsDestinationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationCreateCreated, error)

	EmsDestinationDelete(params *EmsDestinationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationDeleteOK, error)

	EmsDestinationGet(params *EmsDestinationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationGetOK, error)

	EmsDestinationModify(params *EmsDestinationModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsDestinationModifyOK, error)

	EmsEventCollectionGet(params *EmsEventCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsEventCollectionGetOK, error)

	EmsFilterCollectionGet(params *EmsFilterCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterCollectionGetOK, error)

	EmsFilterCreate(params *EmsFilterCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterCreateCreated, error)

	EmsFilterDelete(params *EmsFilterDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterDeleteOK, error)

	EmsFilterGet(params *EmsFilterGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterGetOK, error)

	EmsFilterModify(params *EmsFilterModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterModifyOK, error)

	EmsFilterRuleCollectionGet(params *EmsFilterRuleCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleCollectionGetOK, error)

	EmsFilterRuleDelete(params *EmsFilterRuleDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleDeleteOK, error)

	EmsFilterRuleGet(params *EmsFilterRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleGetOK, error)

	EmsFilterRuleModify(params *EmsFilterRuleModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFilterRuleModifyOK, error)

	EmsFiltersRulesCreate(params *EmsFiltersRulesCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsFiltersRulesCreateCreated, error)

	EmsMessageCollectionGet(params *EmsMessageCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsMessageCollectionGetOK, error)

	EmsRoleConfigCollectionGet(params *EmsRoleConfigCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigCollectionGetOK, error)

	EmsRoleConfigCreate(params *EmsRoleConfigCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigCreateCreated, error)

	EmsRoleConfigDelete(params *EmsRoleConfigDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigDeleteOK, error)

	EmsRoleConfigGet(params *EmsRoleConfigGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigGetOK, error)

	EmsRoleConfigModify(params *EmsRoleConfigModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmsRoleConfigModifyOK, error)

	SnmpGet(params *SnmpGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpGetOK, error)

	SnmpModify(params *SnmpModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpModifyOK, error)

	SnmpTraphostsCollectionGet(params *SnmpTraphostsCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsCollectionGetOK, error)

	SnmpTraphostsCreate(params *SnmpTraphostsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsCreateCreated, error)

	SnmpTraphostsDelete(params *SnmpTraphostsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsDeleteOK, error)

	SnmpTraphostsGet(params *SnmpTraphostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpTraphostsGetOK, error)

	SnmpUsersCollectionGet(params *SnmpUsersCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersCollectionGetOK, error)

	SnmpUsersCreate(params *SnmpUsersCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersCreateCreated, error)

	SnmpUsersDelete(params *SnmpUsersDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersDeleteOK, error)

	SnmpUsersGet(params *SnmpUsersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersGetOK, error)

	SnmpUsersModify(params *SnmpUsersModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnmpUsersModifyOK, 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 support API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new support API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new support API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type ConfigurationBackupFileCollectionGetDefault

type ConfigurationBackupFileCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ConfigurationBackupFileCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewConfigurationBackupFileCollectionGetDefault

func NewConfigurationBackupFileCollectionGetDefault(code int) *ConfigurationBackupFileCollectionGetDefault

NewConfigurationBackupFileCollectionGetDefault creates a ConfigurationBackupFileCollectionGetDefault with default headers values

func (*ConfigurationBackupFileCollectionGetDefault) Code

Code gets the status code for the configuration backup file collection get default response

func (*ConfigurationBackupFileCollectionGetDefault) Error

func (*ConfigurationBackupFileCollectionGetDefault) GetPayload

func (*ConfigurationBackupFileCollectionGetDefault) IsClientError

IsClientError returns true when this configuration backup file collection get default response has a 4xx status code

func (*ConfigurationBackupFileCollectionGetDefault) IsCode

IsCode returns true when this configuration backup file collection get default response a status code equal to that given

func (*ConfigurationBackupFileCollectionGetDefault) IsRedirect

IsRedirect returns true when this configuration backup file collection get default response has a 3xx status code

func (*ConfigurationBackupFileCollectionGetDefault) IsServerError

IsServerError returns true when this configuration backup file collection get default response has a 5xx status code

func (*ConfigurationBackupFileCollectionGetDefault) IsSuccess

IsSuccess returns true when this configuration backup file collection get default response has a 2xx status code

func (*ConfigurationBackupFileCollectionGetDefault) String

type ConfigurationBackupFileCollectionGetOK

type ConfigurationBackupFileCollectionGetOK struct {
	Payload *models.ConfigurationBackupFileResponse
}

ConfigurationBackupFileCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewConfigurationBackupFileCollectionGetOK

func NewConfigurationBackupFileCollectionGetOK() *ConfigurationBackupFileCollectionGetOK

NewConfigurationBackupFileCollectionGetOK creates a ConfigurationBackupFileCollectionGetOK with default headers values

func (*ConfigurationBackupFileCollectionGetOK) Code

Code gets the status code for the configuration backup file collection get o k response

func (*ConfigurationBackupFileCollectionGetOK) Error

func (*ConfigurationBackupFileCollectionGetOK) GetPayload

func (*ConfigurationBackupFileCollectionGetOK) IsClientError

func (o *ConfigurationBackupFileCollectionGetOK) IsClientError() bool

IsClientError returns true when this configuration backup file collection get o k response has a 4xx status code

func (*ConfigurationBackupFileCollectionGetOK) IsCode

IsCode returns true when this configuration backup file collection get o k response a status code equal to that given

func (*ConfigurationBackupFileCollectionGetOK) IsRedirect

IsRedirect returns true when this configuration backup file collection get o k response has a 3xx status code

func (*ConfigurationBackupFileCollectionGetOK) IsServerError

func (o *ConfigurationBackupFileCollectionGetOK) IsServerError() bool

IsServerError returns true when this configuration backup file collection get o k response has a 5xx status code

func (*ConfigurationBackupFileCollectionGetOK) IsSuccess

IsSuccess returns true when this configuration backup file collection get o k response has a 2xx status code

func (*ConfigurationBackupFileCollectionGetOK) String

type ConfigurationBackupFileCollectionGetParams

type ConfigurationBackupFileCollectionGetParams struct {

	/* Auto.

	   Filter by auto
	*/
	Auto *bool

	/* BackupNodesName.

	   Filter by backup_nodes.name
	*/
	BackupNodesName *string

	/* DownloadLink.

	   Filter by download_link
	*/
	DownloadLink *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* NodeName.

	   Filter by node.name
	*/
	NodeName *string

	/* NodeUUID.

	   Filter by node.uuid
	*/
	NodeUUID *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Size.

	   Filter by size
	*/
	Size *int64

	/* Time.

	   Filter by time
	*/
	Time *string

	/* Type.

	   Filter by type
	*/
	Type *string

	/* Version.

	   Filter by version
	*/
	Version *string

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

ConfigurationBackupFileCollectionGetParams contains all the parameters to send to the API endpoint

for the configuration backup file collection get operation.

Typically these are written to a http.Request.

func NewConfigurationBackupFileCollectionGetParams

func NewConfigurationBackupFileCollectionGetParams() *ConfigurationBackupFileCollectionGetParams

NewConfigurationBackupFileCollectionGetParams creates a new ConfigurationBackupFileCollectionGetParams 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 NewConfigurationBackupFileCollectionGetParamsWithContext

func NewConfigurationBackupFileCollectionGetParamsWithContext(ctx context.Context) *ConfigurationBackupFileCollectionGetParams

NewConfigurationBackupFileCollectionGetParamsWithContext creates a new ConfigurationBackupFileCollectionGetParams object with the ability to set a context for a request.

func NewConfigurationBackupFileCollectionGetParamsWithHTTPClient

func NewConfigurationBackupFileCollectionGetParamsWithHTTPClient(client *http.Client) *ConfigurationBackupFileCollectionGetParams

NewConfigurationBackupFileCollectionGetParamsWithHTTPClient creates a new ConfigurationBackupFileCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupFileCollectionGetParamsWithTimeout

func NewConfigurationBackupFileCollectionGetParamsWithTimeout(timeout time.Duration) *ConfigurationBackupFileCollectionGetParams

NewConfigurationBackupFileCollectionGetParamsWithTimeout creates a new ConfigurationBackupFileCollectionGetParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupFileCollectionGetParams) SetAuto

SetAuto adds the auto to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetBackupNodesName

func (o *ConfigurationBackupFileCollectionGetParams) SetBackupNodesName(backupNodesName *string)

SetBackupNodesName adds the backupNodesName to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetContext

SetContext adds the context to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the configuration backup file collection get params (not the query body).

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

func (o *ConfigurationBackupFileCollectionGetParams) SetDownloadLink(downloadLink *string)

SetDownloadLink adds the downloadLink to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetFields

func (o *ConfigurationBackupFileCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetMaxRecords

func (o *ConfigurationBackupFileCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetName

SetName adds the name to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetNodeName

func (o *ConfigurationBackupFileCollectionGetParams) SetNodeName(nodeName *string)

SetNodeName adds the nodeName to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetNodeUUID

func (o *ConfigurationBackupFileCollectionGetParams) SetNodeUUID(nodeUUID *string)

SetNodeUUID adds the nodeUuid to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetOrderBy

func (o *ConfigurationBackupFileCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetReturnRecords

func (o *ConfigurationBackupFileCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetReturnTimeout

func (o *ConfigurationBackupFileCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetSize

SetSize adds the size to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetTime

SetTime adds the time to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetType

SetType adds the type to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) SetVersion

func (o *ConfigurationBackupFileCollectionGetParams) SetVersion(version *string)

SetVersion adds the version to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithAuto

WithAuto adds the auto to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithBackupNodesName

WithBackupNodesName adds the backupNodesName to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithContext

WithContext adds the context to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the configuration backup file collection get params (not the query body).

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

WithDownloadLink adds the downloadLink to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithFields

WithFields adds the fields to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithName

WithName adds the name to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithNodeName

WithNodeName adds the nodeName to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithSize

WithSize adds the size to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithTime

WithTime adds the time to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithType

WithType adds the typeVar to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WithVersion

WithVersion adds the version to the configuration backup file collection get params

func (*ConfigurationBackupFileCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupFileCollectionGetReader

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

ConfigurationBackupFileCollectionGetReader is a Reader for the ConfigurationBackupFileCollectionGet structure.

func (*ConfigurationBackupFileCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigurationBackupFileCreateAccepted

type ConfigurationBackupFileCreateAccepted struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

ConfigurationBackupFileCreateAccepted describes a response with status code 202, with default header values.

Accepted

func NewConfigurationBackupFileCreateAccepted

func NewConfigurationBackupFileCreateAccepted() *ConfigurationBackupFileCreateAccepted

NewConfigurationBackupFileCreateAccepted creates a ConfigurationBackupFileCreateAccepted with default headers values

func (*ConfigurationBackupFileCreateAccepted) Code

Code gets the status code for the configuration backup file create accepted response

func (*ConfigurationBackupFileCreateAccepted) Error

func (*ConfigurationBackupFileCreateAccepted) GetPayload

func (*ConfigurationBackupFileCreateAccepted) IsClientError

func (o *ConfigurationBackupFileCreateAccepted) IsClientError() bool

IsClientError returns true when this configuration backup file create accepted response has a 4xx status code

func (*ConfigurationBackupFileCreateAccepted) IsCode

IsCode returns true when this configuration backup file create accepted response a status code equal to that given

func (*ConfigurationBackupFileCreateAccepted) IsRedirect

IsRedirect returns true when this configuration backup file create accepted response has a 3xx status code

func (*ConfigurationBackupFileCreateAccepted) IsServerError

func (o *ConfigurationBackupFileCreateAccepted) IsServerError() bool

IsServerError returns true when this configuration backup file create accepted response has a 5xx status code

func (*ConfigurationBackupFileCreateAccepted) IsSuccess

IsSuccess returns true when this configuration backup file create accepted response has a 2xx status code

func (*ConfigurationBackupFileCreateAccepted) String

type ConfigurationBackupFileCreateCreated

type ConfigurationBackupFileCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

ConfigurationBackupFileCreateCreated describes a response with status code 201, with default header values.

Created

func NewConfigurationBackupFileCreateCreated

func NewConfigurationBackupFileCreateCreated() *ConfigurationBackupFileCreateCreated

NewConfigurationBackupFileCreateCreated creates a ConfigurationBackupFileCreateCreated with default headers values

func (*ConfigurationBackupFileCreateCreated) Code

Code gets the status code for the configuration backup file create created response

func (*ConfigurationBackupFileCreateCreated) Error

func (*ConfigurationBackupFileCreateCreated) GetPayload

func (*ConfigurationBackupFileCreateCreated) IsClientError

func (o *ConfigurationBackupFileCreateCreated) IsClientError() bool

IsClientError returns true when this configuration backup file create created response has a 4xx status code

func (*ConfigurationBackupFileCreateCreated) IsCode

IsCode returns true when this configuration backup file create created response a status code equal to that given

func (*ConfigurationBackupFileCreateCreated) IsRedirect

IsRedirect returns true when this configuration backup file create created response has a 3xx status code

func (*ConfigurationBackupFileCreateCreated) IsServerError

func (o *ConfigurationBackupFileCreateCreated) IsServerError() bool

IsServerError returns true when this configuration backup file create created response has a 5xx status code

func (*ConfigurationBackupFileCreateCreated) IsSuccess

IsSuccess returns true when this configuration backup file create created response has a 2xx status code

func (*ConfigurationBackupFileCreateCreated) String

type ConfigurationBackupFileCreateDefault

type ConfigurationBackupFileCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ConfigurationBackupFileCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 5963818 | Failed to queue private job. | | 5963819 | Failed to queue cluster job. | | 5963871 | Requested backup name is missing .7z suffix. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewConfigurationBackupFileCreateDefault

func NewConfigurationBackupFileCreateDefault(code int) *ConfigurationBackupFileCreateDefault

NewConfigurationBackupFileCreateDefault creates a ConfigurationBackupFileCreateDefault with default headers values

func (*ConfigurationBackupFileCreateDefault) Code

Code gets the status code for the configuration backup file create default response

func (*ConfigurationBackupFileCreateDefault) Error

func (*ConfigurationBackupFileCreateDefault) GetPayload

func (*ConfigurationBackupFileCreateDefault) IsClientError

func (o *ConfigurationBackupFileCreateDefault) IsClientError() bool

IsClientError returns true when this configuration backup file create default response has a 4xx status code

func (*ConfigurationBackupFileCreateDefault) IsCode

IsCode returns true when this configuration backup file create default response a status code equal to that given

func (*ConfigurationBackupFileCreateDefault) IsRedirect

IsRedirect returns true when this configuration backup file create default response has a 3xx status code

func (*ConfigurationBackupFileCreateDefault) IsServerError

func (o *ConfigurationBackupFileCreateDefault) IsServerError() bool

IsServerError returns true when this configuration backup file create default response has a 5xx status code

func (*ConfigurationBackupFileCreateDefault) IsSuccess

IsSuccess returns true when this configuration backup file create default response has a 2xx status code

func (*ConfigurationBackupFileCreateDefault) String

type ConfigurationBackupFileCreateParams

type ConfigurationBackupFileCreateParams struct {

	/* Info.

	   Details of the configuration backup to be created.
	*/
	Info *models.ConfigurationBackupFile

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

ConfigurationBackupFileCreateParams contains all the parameters to send to the API endpoint

for the configuration backup file create operation.

Typically these are written to a http.Request.

func NewConfigurationBackupFileCreateParams

func NewConfigurationBackupFileCreateParams() *ConfigurationBackupFileCreateParams

NewConfigurationBackupFileCreateParams creates a new ConfigurationBackupFileCreateParams 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 NewConfigurationBackupFileCreateParamsWithContext

func NewConfigurationBackupFileCreateParamsWithContext(ctx context.Context) *ConfigurationBackupFileCreateParams

NewConfigurationBackupFileCreateParamsWithContext creates a new ConfigurationBackupFileCreateParams object with the ability to set a context for a request.

func NewConfigurationBackupFileCreateParamsWithHTTPClient

func NewConfigurationBackupFileCreateParamsWithHTTPClient(client *http.Client) *ConfigurationBackupFileCreateParams

NewConfigurationBackupFileCreateParamsWithHTTPClient creates a new ConfigurationBackupFileCreateParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupFileCreateParamsWithTimeout

func NewConfigurationBackupFileCreateParamsWithTimeout(timeout time.Duration) *ConfigurationBackupFileCreateParams

NewConfigurationBackupFileCreateParamsWithTimeout creates a new ConfigurationBackupFileCreateParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupFileCreateParams) SetContext

SetContext adds the context to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) SetDefaults

func (o *ConfigurationBackupFileCreateParams) SetDefaults()

SetDefaults hydrates default values in the configuration backup file create params (not the query body).

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

func (*ConfigurationBackupFileCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) SetInfo

SetInfo adds the info to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) SetReturnRecords

func (o *ConfigurationBackupFileCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) SetReturnTimeout

func (o *ConfigurationBackupFileCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) SetTimeout

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

SetTimeout adds the timeout to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithContext

WithContext adds the context to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithDefaults

WithDefaults hydrates default values in the configuration backup file create params (not the query body).

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

func (*ConfigurationBackupFileCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithInfo

WithInfo adds the info to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WithTimeout

WithTimeout adds the timeout to the configuration backup file create params

func (*ConfigurationBackupFileCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupFileCreateReader

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

ConfigurationBackupFileCreateReader is a Reader for the ConfigurationBackupFileCreate structure.

func (*ConfigurationBackupFileCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigurationBackupFileDeleteDefault

type ConfigurationBackupFileDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ConfigurationBackupFileDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 5963826 | Failed to delete backup file. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewConfigurationBackupFileDeleteDefault

func NewConfigurationBackupFileDeleteDefault(code int) *ConfigurationBackupFileDeleteDefault

NewConfigurationBackupFileDeleteDefault creates a ConfigurationBackupFileDeleteDefault with default headers values

func (*ConfigurationBackupFileDeleteDefault) Code

Code gets the status code for the configuration backup file delete default response

func (*ConfigurationBackupFileDeleteDefault) Error

func (*ConfigurationBackupFileDeleteDefault) GetPayload

func (*ConfigurationBackupFileDeleteDefault) IsClientError

func (o *ConfigurationBackupFileDeleteDefault) IsClientError() bool

IsClientError returns true when this configuration backup file delete default response has a 4xx status code

func (*ConfigurationBackupFileDeleteDefault) IsCode

IsCode returns true when this configuration backup file delete default response a status code equal to that given

func (*ConfigurationBackupFileDeleteDefault) IsRedirect

IsRedirect returns true when this configuration backup file delete default response has a 3xx status code

func (*ConfigurationBackupFileDeleteDefault) IsServerError

func (o *ConfigurationBackupFileDeleteDefault) IsServerError() bool

IsServerError returns true when this configuration backup file delete default response has a 5xx status code

func (*ConfigurationBackupFileDeleteDefault) IsSuccess

IsSuccess returns true when this configuration backup file delete default response has a 2xx status code

func (*ConfigurationBackupFileDeleteDefault) String

type ConfigurationBackupFileDeleteOK

type ConfigurationBackupFileDeleteOK struct {
}

ConfigurationBackupFileDeleteOK describes a response with status code 200, with default header values.

OK

func NewConfigurationBackupFileDeleteOK

func NewConfigurationBackupFileDeleteOK() *ConfigurationBackupFileDeleteOK

NewConfigurationBackupFileDeleteOK creates a ConfigurationBackupFileDeleteOK with default headers values

func (*ConfigurationBackupFileDeleteOK) Code

Code gets the status code for the configuration backup file delete o k response

func (*ConfigurationBackupFileDeleteOK) Error

func (*ConfigurationBackupFileDeleteOK) IsClientError

func (o *ConfigurationBackupFileDeleteOK) IsClientError() bool

IsClientError returns true when this configuration backup file delete o k response has a 4xx status code

func (*ConfigurationBackupFileDeleteOK) IsCode

func (o *ConfigurationBackupFileDeleteOK) IsCode(code int) bool

IsCode returns true when this configuration backup file delete o k response a status code equal to that given

func (*ConfigurationBackupFileDeleteOK) IsRedirect

func (o *ConfigurationBackupFileDeleteOK) IsRedirect() bool

IsRedirect returns true when this configuration backup file delete o k response has a 3xx status code

func (*ConfigurationBackupFileDeleteOK) IsServerError

func (o *ConfigurationBackupFileDeleteOK) IsServerError() bool

IsServerError returns true when this configuration backup file delete o k response has a 5xx status code

func (*ConfigurationBackupFileDeleteOK) IsSuccess

func (o *ConfigurationBackupFileDeleteOK) IsSuccess() bool

IsSuccess returns true when this configuration backup file delete o k response has a 2xx status code

func (*ConfigurationBackupFileDeleteOK) String

type ConfigurationBackupFileDeleteParams

type ConfigurationBackupFileDeleteParams struct {

	/* Name.

	   Name of the configuration backup to be deleted.
	*/
	Name string

	/* NodeUUID.

	   UUID of the node that owns the configuration backup.
	*/
	NodeUUID string

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

ConfigurationBackupFileDeleteParams contains all the parameters to send to the API endpoint

for the configuration backup file delete operation.

Typically these are written to a http.Request.

func NewConfigurationBackupFileDeleteParams

func NewConfigurationBackupFileDeleteParams() *ConfigurationBackupFileDeleteParams

NewConfigurationBackupFileDeleteParams creates a new ConfigurationBackupFileDeleteParams 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 NewConfigurationBackupFileDeleteParamsWithContext

func NewConfigurationBackupFileDeleteParamsWithContext(ctx context.Context) *ConfigurationBackupFileDeleteParams

NewConfigurationBackupFileDeleteParamsWithContext creates a new ConfigurationBackupFileDeleteParams object with the ability to set a context for a request.

func NewConfigurationBackupFileDeleteParamsWithHTTPClient

func NewConfigurationBackupFileDeleteParamsWithHTTPClient(client *http.Client) *ConfigurationBackupFileDeleteParams

NewConfigurationBackupFileDeleteParamsWithHTTPClient creates a new ConfigurationBackupFileDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupFileDeleteParamsWithTimeout

func NewConfigurationBackupFileDeleteParamsWithTimeout(timeout time.Duration) *ConfigurationBackupFileDeleteParams

NewConfigurationBackupFileDeleteParamsWithTimeout creates a new ConfigurationBackupFileDeleteParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupFileDeleteParams) SetContext

SetContext adds the context to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) SetDefaults

func (o *ConfigurationBackupFileDeleteParams) SetDefaults()

SetDefaults hydrates default values in the configuration backup file delete params (not the query body).

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

func (*ConfigurationBackupFileDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) SetName

SetName adds the name to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) SetNodeUUID

func (o *ConfigurationBackupFileDeleteParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WithContext

WithContext adds the context to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WithDefaults

WithDefaults hydrates default values in the configuration backup file delete params (not the query body).

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

func (*ConfigurationBackupFileDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WithName

WithName adds the name to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WithTimeout

WithTimeout adds the timeout to the configuration backup file delete params

func (*ConfigurationBackupFileDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupFileDeleteReader

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

ConfigurationBackupFileDeleteReader is a Reader for the ConfigurationBackupFileDelete structure.

func (*ConfigurationBackupFileDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigurationBackupFileGetDefault

type ConfigurationBackupFileGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ConfigurationBackupFileGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 5963777 | Configuration backup file does not exist. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewConfigurationBackupFileGetDefault

func NewConfigurationBackupFileGetDefault(code int) *ConfigurationBackupFileGetDefault

NewConfigurationBackupFileGetDefault creates a ConfigurationBackupFileGetDefault with default headers values

func (*ConfigurationBackupFileGetDefault) Code

Code gets the status code for the configuration backup file get default response

func (*ConfigurationBackupFileGetDefault) Error

func (*ConfigurationBackupFileGetDefault) GetPayload

func (*ConfigurationBackupFileGetDefault) IsClientError

func (o *ConfigurationBackupFileGetDefault) IsClientError() bool

IsClientError returns true when this configuration backup file get default response has a 4xx status code

func (*ConfigurationBackupFileGetDefault) IsCode

func (o *ConfigurationBackupFileGetDefault) IsCode(code int) bool

IsCode returns true when this configuration backup file get default response a status code equal to that given

func (*ConfigurationBackupFileGetDefault) IsRedirect

func (o *ConfigurationBackupFileGetDefault) IsRedirect() bool

IsRedirect returns true when this configuration backup file get default response has a 3xx status code

func (*ConfigurationBackupFileGetDefault) IsServerError

func (o *ConfigurationBackupFileGetDefault) IsServerError() bool

IsServerError returns true when this configuration backup file get default response has a 5xx status code

func (*ConfigurationBackupFileGetDefault) IsSuccess

func (o *ConfigurationBackupFileGetDefault) IsSuccess() bool

IsSuccess returns true when this configuration backup file get default response has a 2xx status code

func (*ConfigurationBackupFileGetDefault) String

type ConfigurationBackupFileGetOK

type ConfigurationBackupFileGetOK struct {
	Payload *models.ConfigurationBackupFile
}

ConfigurationBackupFileGetOK describes a response with status code 200, with default header values.

OK

func NewConfigurationBackupFileGetOK

func NewConfigurationBackupFileGetOK() *ConfigurationBackupFileGetOK

NewConfigurationBackupFileGetOK creates a ConfigurationBackupFileGetOK with default headers values

func (*ConfigurationBackupFileGetOK) Code

Code gets the status code for the configuration backup file get o k response

func (*ConfigurationBackupFileGetOK) Error

func (*ConfigurationBackupFileGetOK) GetPayload

func (*ConfigurationBackupFileGetOK) IsClientError

func (o *ConfigurationBackupFileGetOK) IsClientError() bool

IsClientError returns true when this configuration backup file get o k response has a 4xx status code

func (*ConfigurationBackupFileGetOK) IsCode

func (o *ConfigurationBackupFileGetOK) IsCode(code int) bool

IsCode returns true when this configuration backup file get o k response a status code equal to that given

func (*ConfigurationBackupFileGetOK) IsRedirect

func (o *ConfigurationBackupFileGetOK) IsRedirect() bool

IsRedirect returns true when this configuration backup file get o k response has a 3xx status code

func (*ConfigurationBackupFileGetOK) IsServerError

func (o *ConfigurationBackupFileGetOK) IsServerError() bool

IsServerError returns true when this configuration backup file get o k response has a 5xx status code

func (*ConfigurationBackupFileGetOK) IsSuccess

func (o *ConfigurationBackupFileGetOK) IsSuccess() bool

IsSuccess returns true when this configuration backup file get o k response has a 2xx status code

func (*ConfigurationBackupFileGetOK) String

type ConfigurationBackupFileGetParams

type ConfigurationBackupFileGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   Name of the configuration backup.
	*/
	Name string

	/* NodeUUID.

	   UUID of the node that owns the configuration backup.
	*/
	NodeUUID string

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

ConfigurationBackupFileGetParams contains all the parameters to send to the API endpoint

for the configuration backup file get operation.

Typically these are written to a http.Request.

func NewConfigurationBackupFileGetParams

func NewConfigurationBackupFileGetParams() *ConfigurationBackupFileGetParams

NewConfigurationBackupFileGetParams creates a new ConfigurationBackupFileGetParams 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 NewConfigurationBackupFileGetParamsWithContext

func NewConfigurationBackupFileGetParamsWithContext(ctx context.Context) *ConfigurationBackupFileGetParams

NewConfigurationBackupFileGetParamsWithContext creates a new ConfigurationBackupFileGetParams object with the ability to set a context for a request.

func NewConfigurationBackupFileGetParamsWithHTTPClient

func NewConfigurationBackupFileGetParamsWithHTTPClient(client *http.Client) *ConfigurationBackupFileGetParams

NewConfigurationBackupFileGetParamsWithHTTPClient creates a new ConfigurationBackupFileGetParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupFileGetParamsWithTimeout

func NewConfigurationBackupFileGetParamsWithTimeout(timeout time.Duration) *ConfigurationBackupFileGetParams

NewConfigurationBackupFileGetParamsWithTimeout creates a new ConfigurationBackupFileGetParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupFileGetParams) SetContext

SetContext adds the context to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) SetDefaults

func (o *ConfigurationBackupFileGetParams) SetDefaults()

SetDefaults hydrates default values in the configuration backup file get params (not the query body).

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

func (*ConfigurationBackupFileGetParams) SetFields

func (o *ConfigurationBackupFileGetParams) SetFields(fields []string)

SetFields adds the fields to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) SetName

func (o *ConfigurationBackupFileGetParams) SetName(name string)

SetName adds the name to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) SetNodeUUID

func (o *ConfigurationBackupFileGetParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) SetTimeout

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

SetTimeout adds the timeout to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithContext

WithContext adds the context to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithDefaults

WithDefaults hydrates default values in the configuration backup file get params (not the query body).

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

func (*ConfigurationBackupFileGetParams) WithFields

WithFields adds the fields to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithName

WithName adds the name to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WithTimeout

WithTimeout adds the timeout to the configuration backup file get params

func (*ConfigurationBackupFileGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupFileGetReader

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

ConfigurationBackupFileGetReader is a Reader for the ConfigurationBackupFileGet structure.

func (*ConfigurationBackupFileGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigurationBackupGetDefault

type ConfigurationBackupGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ConfigurationBackupGetDefault describes a response with status code -1, with default header values.

Error

func NewConfigurationBackupGetDefault

func NewConfigurationBackupGetDefault(code int) *ConfigurationBackupGetDefault

NewConfigurationBackupGetDefault creates a ConfigurationBackupGetDefault with default headers values

func (*ConfigurationBackupGetDefault) Code

Code gets the status code for the configuration backup get default response

func (*ConfigurationBackupGetDefault) Error

func (*ConfigurationBackupGetDefault) GetPayload

func (*ConfigurationBackupGetDefault) IsClientError

func (o *ConfigurationBackupGetDefault) IsClientError() bool

IsClientError returns true when this configuration backup get default response has a 4xx status code

func (*ConfigurationBackupGetDefault) IsCode

func (o *ConfigurationBackupGetDefault) IsCode(code int) bool

IsCode returns true when this configuration backup get default response a status code equal to that given

func (*ConfigurationBackupGetDefault) IsRedirect

func (o *ConfigurationBackupGetDefault) IsRedirect() bool

IsRedirect returns true when this configuration backup get default response has a 3xx status code

func (*ConfigurationBackupGetDefault) IsServerError

func (o *ConfigurationBackupGetDefault) IsServerError() bool

IsServerError returns true when this configuration backup get default response has a 5xx status code

func (*ConfigurationBackupGetDefault) IsSuccess

func (o *ConfigurationBackupGetDefault) IsSuccess() bool

IsSuccess returns true when this configuration backup get default response has a 2xx status code

func (*ConfigurationBackupGetDefault) String

type ConfigurationBackupGetOK

type ConfigurationBackupGetOK struct {
	Payload *models.ConfigurationBackup
}

ConfigurationBackupGetOK describes a response with status code 200, with default header values.

OK

func NewConfigurationBackupGetOK

func NewConfigurationBackupGetOK() *ConfigurationBackupGetOK

NewConfigurationBackupGetOK creates a ConfigurationBackupGetOK with default headers values

func (*ConfigurationBackupGetOK) Code

func (o *ConfigurationBackupGetOK) Code() int

Code gets the status code for the configuration backup get o k response

func (*ConfigurationBackupGetOK) Error

func (o *ConfigurationBackupGetOK) Error() string

func (*ConfigurationBackupGetOK) GetPayload

func (*ConfigurationBackupGetOK) IsClientError

func (o *ConfigurationBackupGetOK) IsClientError() bool

IsClientError returns true when this configuration backup get o k response has a 4xx status code

func (*ConfigurationBackupGetOK) IsCode

func (o *ConfigurationBackupGetOK) IsCode(code int) bool

IsCode returns true when this configuration backup get o k response a status code equal to that given

func (*ConfigurationBackupGetOK) IsRedirect

func (o *ConfigurationBackupGetOK) IsRedirect() bool

IsRedirect returns true when this configuration backup get o k response has a 3xx status code

func (*ConfigurationBackupGetOK) IsServerError

func (o *ConfigurationBackupGetOK) IsServerError() bool

IsServerError returns true when this configuration backup get o k response has a 5xx status code

func (*ConfigurationBackupGetOK) IsSuccess

func (o *ConfigurationBackupGetOK) IsSuccess() bool

IsSuccess returns true when this configuration backup get o k response has a 2xx status code

func (*ConfigurationBackupGetOK) String

func (o *ConfigurationBackupGetOK) String() string

type ConfigurationBackupGetParams

type ConfigurationBackupGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

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

ConfigurationBackupGetParams contains all the parameters to send to the API endpoint

for the configuration backup get operation.

Typically these are written to a http.Request.

func NewConfigurationBackupGetParams

func NewConfigurationBackupGetParams() *ConfigurationBackupGetParams

NewConfigurationBackupGetParams creates a new ConfigurationBackupGetParams 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 NewConfigurationBackupGetParamsWithContext

func NewConfigurationBackupGetParamsWithContext(ctx context.Context) *ConfigurationBackupGetParams

NewConfigurationBackupGetParamsWithContext creates a new ConfigurationBackupGetParams object with the ability to set a context for a request.

func NewConfigurationBackupGetParamsWithHTTPClient

func NewConfigurationBackupGetParamsWithHTTPClient(client *http.Client) *ConfigurationBackupGetParams

NewConfigurationBackupGetParamsWithHTTPClient creates a new ConfigurationBackupGetParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupGetParamsWithTimeout

func NewConfigurationBackupGetParamsWithTimeout(timeout time.Duration) *ConfigurationBackupGetParams

NewConfigurationBackupGetParamsWithTimeout creates a new ConfigurationBackupGetParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupGetParams) SetContext

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

SetContext adds the context to the configuration backup get params

func (*ConfigurationBackupGetParams) SetDefaults

func (o *ConfigurationBackupGetParams) SetDefaults()

SetDefaults hydrates default values in the configuration backup get params (not the query body).

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

func (*ConfigurationBackupGetParams) SetFields

func (o *ConfigurationBackupGetParams) SetFields(fields []string)

SetFields adds the fields to the configuration backup get params

func (*ConfigurationBackupGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup get params

func (*ConfigurationBackupGetParams) SetTimeout

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

SetTimeout adds the timeout to the configuration backup get params

func (*ConfigurationBackupGetParams) WithContext

WithContext adds the context to the configuration backup get params

func (*ConfigurationBackupGetParams) WithDefaults

WithDefaults hydrates default values in the configuration backup get params (not the query body).

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

func (*ConfigurationBackupGetParams) WithFields

WithFields adds the fields to the configuration backup get params

func (*ConfigurationBackupGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup get params

func (*ConfigurationBackupGetParams) WithTimeout

WithTimeout adds the timeout to the configuration backup get params

func (*ConfigurationBackupGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupGetReader

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

ConfigurationBackupGetReader is a Reader for the ConfigurationBackupGet structure.

func (*ConfigurationBackupGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConfigurationBackupModifyDefault

type ConfigurationBackupModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ConfigurationBackupModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 39387137 | Invalid URL | | 39387138 | Invalid URL Scheme | | 5963792 | Using HTTPS for URL requires an effective cluster version of 9.7.0 or later. | | 5963794 | Validating the certificate is supported for the HTTPS protocol only. |

func NewConfigurationBackupModifyDefault

func NewConfigurationBackupModifyDefault(code int) *ConfigurationBackupModifyDefault

NewConfigurationBackupModifyDefault creates a ConfigurationBackupModifyDefault with default headers values

func (*ConfigurationBackupModifyDefault) Code

Code gets the status code for the configuration backup modify default response

func (*ConfigurationBackupModifyDefault) Error

func (*ConfigurationBackupModifyDefault) GetPayload

func (*ConfigurationBackupModifyDefault) IsClientError

func (o *ConfigurationBackupModifyDefault) IsClientError() bool

IsClientError returns true when this configuration backup modify default response has a 4xx status code

func (*ConfigurationBackupModifyDefault) IsCode

func (o *ConfigurationBackupModifyDefault) IsCode(code int) bool

IsCode returns true when this configuration backup modify default response a status code equal to that given

func (*ConfigurationBackupModifyDefault) IsRedirect

func (o *ConfigurationBackupModifyDefault) IsRedirect() bool

IsRedirect returns true when this configuration backup modify default response has a 3xx status code

func (*ConfigurationBackupModifyDefault) IsServerError

func (o *ConfigurationBackupModifyDefault) IsServerError() bool

IsServerError returns true when this configuration backup modify default response has a 5xx status code

func (*ConfigurationBackupModifyDefault) IsSuccess

func (o *ConfigurationBackupModifyDefault) IsSuccess() bool

IsSuccess returns true when this configuration backup modify default response has a 2xx status code

func (*ConfigurationBackupModifyDefault) String

type ConfigurationBackupModifyOK

type ConfigurationBackupModifyOK struct {
}

ConfigurationBackupModifyOK describes a response with status code 200, with default header values.

OK

func NewConfigurationBackupModifyOK

func NewConfigurationBackupModifyOK() *ConfigurationBackupModifyOK

NewConfigurationBackupModifyOK creates a ConfigurationBackupModifyOK with default headers values

func (*ConfigurationBackupModifyOK) Code

func (o *ConfigurationBackupModifyOK) Code() int

Code gets the status code for the configuration backup modify o k response

func (*ConfigurationBackupModifyOK) Error

func (*ConfigurationBackupModifyOK) IsClientError

func (o *ConfigurationBackupModifyOK) IsClientError() bool

IsClientError returns true when this configuration backup modify o k response has a 4xx status code

func (*ConfigurationBackupModifyOK) IsCode

func (o *ConfigurationBackupModifyOK) IsCode(code int) bool

IsCode returns true when this configuration backup modify o k response a status code equal to that given

func (*ConfigurationBackupModifyOK) IsRedirect

func (o *ConfigurationBackupModifyOK) IsRedirect() bool

IsRedirect returns true when this configuration backup modify o k response has a 3xx status code

func (*ConfigurationBackupModifyOK) IsServerError

func (o *ConfigurationBackupModifyOK) IsServerError() bool

IsServerError returns true when this configuration backup modify o k response has a 5xx status code

func (*ConfigurationBackupModifyOK) IsSuccess

func (o *ConfigurationBackupModifyOK) IsSuccess() bool

IsSuccess returns true when this configuration backup modify o k response has a 2xx status code

func (*ConfigurationBackupModifyOK) String

func (o *ConfigurationBackupModifyOK) String() string

type ConfigurationBackupModifyParams

type ConfigurationBackupModifyParams struct {

	/* Info.

	   Cluster configuration backup information
	*/
	Info *models.ConfigurationBackup

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

ConfigurationBackupModifyParams contains all the parameters to send to the API endpoint

for the configuration backup modify operation.

Typically these are written to a http.Request.

func NewConfigurationBackupModifyParams

func NewConfigurationBackupModifyParams() *ConfigurationBackupModifyParams

NewConfigurationBackupModifyParams creates a new ConfigurationBackupModifyParams 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 NewConfigurationBackupModifyParamsWithContext

func NewConfigurationBackupModifyParamsWithContext(ctx context.Context) *ConfigurationBackupModifyParams

NewConfigurationBackupModifyParamsWithContext creates a new ConfigurationBackupModifyParams object with the ability to set a context for a request.

func NewConfigurationBackupModifyParamsWithHTTPClient

func NewConfigurationBackupModifyParamsWithHTTPClient(client *http.Client) *ConfigurationBackupModifyParams

NewConfigurationBackupModifyParamsWithHTTPClient creates a new ConfigurationBackupModifyParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationBackupModifyParamsWithTimeout

func NewConfigurationBackupModifyParamsWithTimeout(timeout time.Duration) *ConfigurationBackupModifyParams

NewConfigurationBackupModifyParamsWithTimeout creates a new ConfigurationBackupModifyParams object with the ability to set a timeout on a request.

func (*ConfigurationBackupModifyParams) SetContext

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

SetContext adds the context to the configuration backup modify params

func (*ConfigurationBackupModifyParams) SetDefaults

func (o *ConfigurationBackupModifyParams) SetDefaults()

SetDefaults hydrates default values in the configuration backup modify params (not the query body).

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

func (*ConfigurationBackupModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration backup modify params

func (*ConfigurationBackupModifyParams) SetInfo

SetInfo adds the info to the configuration backup modify params

func (*ConfigurationBackupModifyParams) SetTimeout

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

SetTimeout adds the timeout to the configuration backup modify params

func (*ConfigurationBackupModifyParams) WithContext

WithContext adds the context to the configuration backup modify params

func (*ConfigurationBackupModifyParams) WithDefaults

WithDefaults hydrates default values in the configuration backup modify params (not the query body).

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

func (*ConfigurationBackupModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the configuration backup modify params

func (*ConfigurationBackupModifyParams) WithInfo

WithInfo adds the info to the configuration backup modify params

func (*ConfigurationBackupModifyParams) WithTimeout

WithTimeout adds the timeout to the configuration backup modify params

func (*ConfigurationBackupModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConfigurationBackupModifyReader

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

ConfigurationBackupModifyReader is a Reader for the ConfigurationBackupModify structure.

func (*ConfigurationBackupModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CoredumpCollectionGetDefault

type CoredumpCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CoredumpCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewCoredumpCollectionGetDefault

func NewCoredumpCollectionGetDefault(code int) *CoredumpCollectionGetDefault

NewCoredumpCollectionGetDefault creates a CoredumpCollectionGetDefault with default headers values

func (*CoredumpCollectionGetDefault) Code

Code gets the status code for the coredump collection get default response

func (*CoredumpCollectionGetDefault) Error

func (*CoredumpCollectionGetDefault) GetPayload

func (*CoredumpCollectionGetDefault) IsClientError

func (o *CoredumpCollectionGetDefault) IsClientError() bool

IsClientError returns true when this coredump collection get default response has a 4xx status code

func (*CoredumpCollectionGetDefault) IsCode

func (o *CoredumpCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this coredump collection get default response a status code equal to that given

func (*CoredumpCollectionGetDefault) IsRedirect

func (o *CoredumpCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this coredump collection get default response has a 3xx status code

func (*CoredumpCollectionGetDefault) IsServerError

func (o *CoredumpCollectionGetDefault) IsServerError() bool

IsServerError returns true when this coredump collection get default response has a 5xx status code

func (*CoredumpCollectionGetDefault) IsSuccess

func (o *CoredumpCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this coredump collection get default response has a 2xx status code

func (*CoredumpCollectionGetDefault) String

type CoredumpCollectionGetOK

type CoredumpCollectionGetOK struct {
	Payload *models.CoredumpResponse
}

CoredumpCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewCoredumpCollectionGetOK

func NewCoredumpCollectionGetOK() *CoredumpCollectionGetOK

NewCoredumpCollectionGetOK creates a CoredumpCollectionGetOK with default headers values

func (*CoredumpCollectionGetOK) Code

func (o *CoredumpCollectionGetOK) Code() int

Code gets the status code for the coredump collection get o k response

func (*CoredumpCollectionGetOK) Error

func (o *CoredumpCollectionGetOK) Error() string

func (*CoredumpCollectionGetOK) GetPayload

func (*CoredumpCollectionGetOK) IsClientError

func (o *CoredumpCollectionGetOK) IsClientError() bool

IsClientError returns true when this coredump collection get o k response has a 4xx status code

func (*CoredumpCollectionGetOK) IsCode

func (o *CoredumpCollectionGetOK) IsCode(code int) bool

IsCode returns true when this coredump collection get o k response a status code equal to that given

func (*CoredumpCollectionGetOK) IsRedirect

func (o *CoredumpCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this coredump collection get o k response has a 3xx status code

func (*CoredumpCollectionGetOK) IsServerError

func (o *CoredumpCollectionGetOK) IsServerError() bool

IsServerError returns true when this coredump collection get o k response has a 5xx status code

func (*CoredumpCollectionGetOK) IsSuccess

func (o *CoredumpCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this coredump collection get o k response has a 2xx status code

func (*CoredumpCollectionGetOK) String

func (o *CoredumpCollectionGetOK) String() string

type CoredumpCollectionGetParams

type CoredumpCollectionGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* IsPartial.

	   Filter by is_partial
	*/
	IsPartial *bool

	/* IsSaved.

	   Filter by is_saved
	*/
	IsSaved *bool

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Md5DataChecksum.

	   Filter by md5_data_checksum
	*/
	Md5DataChecksum *string

	/* Name.

	   Filter by name
	*/
	Name *string

	/* NodeName.

	   Filter by node.name
	*/
	NodeName *string

	/* NodeUUID.

	   Filter by node.uuid
	*/
	NodeUUID *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* PanicTime.

	   Filter by panic_time
	*/
	PanicTime *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Size.

	   Filter by size
	*/
	Size *int64

	/* Type.

	   Filter by type
	*/
	Type *string

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

CoredumpCollectionGetParams contains all the parameters to send to the API endpoint

for the coredump collection get operation.

Typically these are written to a http.Request.

func NewCoredumpCollectionGetParams

func NewCoredumpCollectionGetParams() *CoredumpCollectionGetParams

NewCoredumpCollectionGetParams creates a new CoredumpCollectionGetParams 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 NewCoredumpCollectionGetParamsWithContext

func NewCoredumpCollectionGetParamsWithContext(ctx context.Context) *CoredumpCollectionGetParams

NewCoredumpCollectionGetParamsWithContext creates a new CoredumpCollectionGetParams object with the ability to set a context for a request.

func NewCoredumpCollectionGetParamsWithHTTPClient

func NewCoredumpCollectionGetParamsWithHTTPClient(client *http.Client) *CoredumpCollectionGetParams

NewCoredumpCollectionGetParamsWithHTTPClient creates a new CoredumpCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewCoredumpCollectionGetParamsWithTimeout

func NewCoredumpCollectionGetParamsWithTimeout(timeout time.Duration) *CoredumpCollectionGetParams

NewCoredumpCollectionGetParamsWithTimeout creates a new CoredumpCollectionGetParams object with the ability to set a timeout on a request.

func (*CoredumpCollectionGetParams) SetContext

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

SetContext adds the context to the coredump collection get params

func (*CoredumpCollectionGetParams) SetDefaults

func (o *CoredumpCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the coredump collection get params (not the query body).

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

func (*CoredumpCollectionGetParams) SetFields

func (o *CoredumpCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the coredump collection get params

func (*CoredumpCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the coredump collection get params

func (*CoredumpCollectionGetParams) SetIsPartial

func (o *CoredumpCollectionGetParams) SetIsPartial(isPartial *bool)

SetIsPartial adds the isPartial to the coredump collection get params

func (*CoredumpCollectionGetParams) SetIsSaved

func (o *CoredumpCollectionGetParams) SetIsSaved(isSaved *bool)

SetIsSaved adds the isSaved to the coredump collection get params

func (*CoredumpCollectionGetParams) SetMaxRecords

func (o *CoredumpCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the coredump collection get params

func (*CoredumpCollectionGetParams) SetMd5DataChecksum

func (o *CoredumpCollectionGetParams) SetMd5DataChecksum(md5DataChecksum *string)

SetMd5DataChecksum adds the md5DataChecksum to the coredump collection get params

func (*CoredumpCollectionGetParams) SetName

func (o *CoredumpCollectionGetParams) SetName(name *string)

SetName adds the name to the coredump collection get params

func (*CoredumpCollectionGetParams) SetNodeName

func (o *CoredumpCollectionGetParams) SetNodeName(nodeName *string)

SetNodeName adds the nodeName to the coredump collection get params

func (*CoredumpCollectionGetParams) SetNodeUUID

func (o *CoredumpCollectionGetParams) SetNodeUUID(nodeUUID *string)

SetNodeUUID adds the nodeUuid to the coredump collection get params

func (*CoredumpCollectionGetParams) SetOrderBy

func (o *CoredumpCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the coredump collection get params

func (*CoredumpCollectionGetParams) SetPanicTime

func (o *CoredumpCollectionGetParams) SetPanicTime(panicTime *string)

SetPanicTime adds the panicTime to the coredump collection get params

func (*CoredumpCollectionGetParams) SetReturnRecords

func (o *CoredumpCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the coredump collection get params

func (*CoredumpCollectionGetParams) SetReturnTimeout

func (o *CoredumpCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the coredump collection get params

func (*CoredumpCollectionGetParams) SetSize

func (o *CoredumpCollectionGetParams) SetSize(size *int64)

SetSize adds the size to the coredump collection get params

func (*CoredumpCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the coredump collection get params

func (*CoredumpCollectionGetParams) SetType

func (o *CoredumpCollectionGetParams) SetType(typeVar *string)

SetType adds the type to the coredump collection get params

func (*CoredumpCollectionGetParams) WithContext

WithContext adds the context to the coredump collection get params

func (*CoredumpCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the coredump collection get params (not the query body).

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

func (*CoredumpCollectionGetParams) WithFields

WithFields adds the fields to the coredump collection get params

func (*CoredumpCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the coredump collection get params

func (*CoredumpCollectionGetParams) WithIsPartial

func (o *CoredumpCollectionGetParams) WithIsPartial(isPartial *bool) *CoredumpCollectionGetParams

WithIsPartial adds the isPartial to the coredump collection get params

func (*CoredumpCollectionGetParams) WithIsSaved

WithIsSaved adds the isSaved to the coredump collection get params

func (*CoredumpCollectionGetParams) WithMaxRecords

func (o *CoredumpCollectionGetParams) WithMaxRecords(maxRecords *int64) *CoredumpCollectionGetParams

WithMaxRecords adds the maxRecords to the coredump collection get params

func (*CoredumpCollectionGetParams) WithMd5DataChecksum

func (o *CoredumpCollectionGetParams) WithMd5DataChecksum(md5DataChecksum *string) *CoredumpCollectionGetParams

WithMd5DataChecksum adds the md5DataChecksum to the coredump collection get params

func (*CoredumpCollectionGetParams) WithName

WithName adds the name to the coredump collection get params

func (*CoredumpCollectionGetParams) WithNodeName

WithNodeName adds the nodeName to the coredump collection get params

func (*CoredumpCollectionGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the coredump collection get params

func (*CoredumpCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the coredump collection get params

func (*CoredumpCollectionGetParams) WithPanicTime

func (o *CoredumpCollectionGetParams) WithPanicTime(panicTime *string) *CoredumpCollectionGetParams

WithPanicTime adds the panicTime to the coredump collection get params

func (*CoredumpCollectionGetParams) WithReturnRecords

func (o *CoredumpCollectionGetParams) WithReturnRecords(returnRecords *bool) *CoredumpCollectionGetParams

WithReturnRecords adds the returnRecords to the coredump collection get params

func (*CoredumpCollectionGetParams) WithReturnTimeout

func (o *CoredumpCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *CoredumpCollectionGetParams

WithReturnTimeout adds the returnTimeout to the coredump collection get params

func (*CoredumpCollectionGetParams) WithSize

WithSize adds the size to the coredump collection get params

func (*CoredumpCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the coredump collection get params

func (*CoredumpCollectionGetParams) WithType

WithType adds the typeVar to the coredump collection get params

func (*CoredumpCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CoredumpCollectionGetReader

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

CoredumpCollectionGetReader is a Reader for the CoredumpCollectionGet structure.

func (*CoredumpCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CoredumpDeleteDefault

type CoredumpDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CoredumpDeleteDefault describes a response with status code -1, with default header values.

Error

func NewCoredumpDeleteDefault

func NewCoredumpDeleteDefault(code int) *CoredumpDeleteDefault

NewCoredumpDeleteDefault creates a CoredumpDeleteDefault with default headers values

func (*CoredumpDeleteDefault) Code

func (o *CoredumpDeleteDefault) Code() int

Code gets the status code for the coredump delete default response

func (*CoredumpDeleteDefault) Error

func (o *CoredumpDeleteDefault) Error() string

func (*CoredumpDeleteDefault) GetPayload

func (o *CoredumpDeleteDefault) GetPayload() *models.ErrorResponse

func (*CoredumpDeleteDefault) IsClientError

func (o *CoredumpDeleteDefault) IsClientError() bool

IsClientError returns true when this coredump delete default response has a 4xx status code

func (*CoredumpDeleteDefault) IsCode

func (o *CoredumpDeleteDefault) IsCode(code int) bool

IsCode returns true when this coredump delete default response a status code equal to that given

func (*CoredumpDeleteDefault) IsRedirect

func (o *CoredumpDeleteDefault) IsRedirect() bool

IsRedirect returns true when this coredump delete default response has a 3xx status code

func (*CoredumpDeleteDefault) IsServerError

func (o *CoredumpDeleteDefault) IsServerError() bool

IsServerError returns true when this coredump delete default response has a 5xx status code

func (*CoredumpDeleteDefault) IsSuccess

func (o *CoredumpDeleteDefault) IsSuccess() bool

IsSuccess returns true when this coredump delete default response has a 2xx status code

func (*CoredumpDeleteDefault) String

func (o *CoredumpDeleteDefault) String() string

type CoredumpDeleteOK

type CoredumpDeleteOK struct {
}

CoredumpDeleteOK describes a response with status code 200, with default header values.

OK

func NewCoredumpDeleteOK

func NewCoredumpDeleteOK() *CoredumpDeleteOK

NewCoredumpDeleteOK creates a CoredumpDeleteOK with default headers values

func (*CoredumpDeleteOK) Code

func (o *CoredumpDeleteOK) Code() int

Code gets the status code for the coredump delete o k response

func (*CoredumpDeleteOK) Error

func (o *CoredumpDeleteOK) Error() string

func (*CoredumpDeleteOK) IsClientError

func (o *CoredumpDeleteOK) IsClientError() bool

IsClientError returns true when this coredump delete o k response has a 4xx status code

func (*CoredumpDeleteOK) IsCode

func (o *CoredumpDeleteOK) IsCode(code int) bool

IsCode returns true when this coredump delete o k response a status code equal to that given

func (*CoredumpDeleteOK) IsRedirect

func (o *CoredumpDeleteOK) IsRedirect() bool

IsRedirect returns true when this coredump delete o k response has a 3xx status code

func (*CoredumpDeleteOK) IsServerError

func (o *CoredumpDeleteOK) IsServerError() bool

IsServerError returns true when this coredump delete o k response has a 5xx status code

func (*CoredumpDeleteOK) IsSuccess

func (o *CoredumpDeleteOK) IsSuccess() bool

IsSuccess returns true when this coredump delete o k response has a 2xx status code

func (*CoredumpDeleteOK) String

func (o *CoredumpDeleteOK) String() string

type CoredumpDeleteParams

type CoredumpDeleteParams struct {

	/* Name.

	   Core name
	*/
	Name string

	/* NodeUUID.

	   Node UUID
	*/
	NodeUUID string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

CoredumpDeleteParams contains all the parameters to send to the API endpoint

for the coredump delete operation.

Typically these are written to a http.Request.

func NewCoredumpDeleteParams

func NewCoredumpDeleteParams() *CoredumpDeleteParams

NewCoredumpDeleteParams creates a new CoredumpDeleteParams 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 NewCoredumpDeleteParamsWithContext

func NewCoredumpDeleteParamsWithContext(ctx context.Context) *CoredumpDeleteParams

NewCoredumpDeleteParamsWithContext creates a new CoredumpDeleteParams object with the ability to set a context for a request.

func NewCoredumpDeleteParamsWithHTTPClient

func NewCoredumpDeleteParamsWithHTTPClient(client *http.Client) *CoredumpDeleteParams

NewCoredumpDeleteParamsWithHTTPClient creates a new CoredumpDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewCoredumpDeleteParamsWithTimeout

func NewCoredumpDeleteParamsWithTimeout(timeout time.Duration) *CoredumpDeleteParams

NewCoredumpDeleteParamsWithTimeout creates a new CoredumpDeleteParams object with the ability to set a timeout on a request.

func (*CoredumpDeleteParams) SetContext

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

SetContext adds the context to the coredump delete params

func (*CoredumpDeleteParams) SetDefaults

func (o *CoredumpDeleteParams) SetDefaults()

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

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

func (*CoredumpDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the coredump delete params

func (*CoredumpDeleteParams) SetName

func (o *CoredumpDeleteParams) SetName(name string)

SetName adds the name to the coredump delete params

func (*CoredumpDeleteParams) SetNodeUUID

func (o *CoredumpDeleteParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the coredump delete params

func (*CoredumpDeleteParams) SetReturnTimeout

func (o *CoredumpDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the coredump delete params

func (*CoredumpDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the coredump delete params

func (*CoredumpDeleteParams) WithContext

WithContext adds the context to the coredump delete params

func (*CoredumpDeleteParams) WithDefaults

func (o *CoredumpDeleteParams) WithDefaults() *CoredumpDeleteParams

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

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

func (*CoredumpDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the coredump delete params

func (*CoredumpDeleteParams) WithName

WithName adds the name to the coredump delete params

func (*CoredumpDeleteParams) WithNodeUUID

func (o *CoredumpDeleteParams) WithNodeUUID(nodeUUID string) *CoredumpDeleteParams

WithNodeUUID adds the nodeUUID to the coredump delete params

func (*CoredumpDeleteParams) WithReturnTimeout

func (o *CoredumpDeleteParams) WithReturnTimeout(returnTimeout *int64) *CoredumpDeleteParams

WithReturnTimeout adds the returnTimeout to the coredump delete params

func (*CoredumpDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the coredump delete params

func (*CoredumpDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CoredumpDeleteReader

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

CoredumpDeleteReader is a Reader for the CoredumpDelete structure.

func (*CoredumpDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CoredumpGetDefault

type CoredumpGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CoredumpGetDefault describes a response with status code -1, with default header values.

Error

func NewCoredumpGetDefault

func NewCoredumpGetDefault(code int) *CoredumpGetDefault

NewCoredumpGetDefault creates a CoredumpGetDefault with default headers values

func (*CoredumpGetDefault) Code

func (o *CoredumpGetDefault) Code() int

Code gets the status code for the coredump get default response

func (*CoredumpGetDefault) Error

func (o *CoredumpGetDefault) Error() string

func (*CoredumpGetDefault) GetPayload

func (o *CoredumpGetDefault) GetPayload() *models.ErrorResponse

func (*CoredumpGetDefault) IsClientError

func (o *CoredumpGetDefault) IsClientError() bool

IsClientError returns true when this coredump get default response has a 4xx status code

func (*CoredumpGetDefault) IsCode

func (o *CoredumpGetDefault) IsCode(code int) bool

IsCode returns true when this coredump get default response a status code equal to that given

func (*CoredumpGetDefault) IsRedirect

func (o *CoredumpGetDefault) IsRedirect() bool

IsRedirect returns true when this coredump get default response has a 3xx status code

func (*CoredumpGetDefault) IsServerError

func (o *CoredumpGetDefault) IsServerError() bool

IsServerError returns true when this coredump get default response has a 5xx status code

func (*CoredumpGetDefault) IsSuccess

func (o *CoredumpGetDefault) IsSuccess() bool

IsSuccess returns true when this coredump get default response has a 2xx status code

func (*CoredumpGetDefault) String

func (o *CoredumpGetDefault) String() string

type CoredumpGetOK

type CoredumpGetOK struct {
	Payload *models.Coredump
}

CoredumpGetOK describes a response with status code 200, with default header values.

OK

func NewCoredumpGetOK

func NewCoredumpGetOK() *CoredumpGetOK

NewCoredumpGetOK creates a CoredumpGetOK with default headers values

func (*CoredumpGetOK) Code

func (o *CoredumpGetOK) Code() int

Code gets the status code for the coredump get o k response

func (*CoredumpGetOK) Error

func (o *CoredumpGetOK) Error() string

func (*CoredumpGetOK) GetPayload

func (o *CoredumpGetOK) GetPayload() *models.Coredump

func (*CoredumpGetOK) IsClientError

func (o *CoredumpGetOK) IsClientError() bool

IsClientError returns true when this coredump get o k response has a 4xx status code

func (*CoredumpGetOK) IsCode

func (o *CoredumpGetOK) IsCode(code int) bool

IsCode returns true when this coredump get o k response a status code equal to that given

func (*CoredumpGetOK) IsRedirect

func (o *CoredumpGetOK) IsRedirect() bool

IsRedirect returns true when this coredump get o k response has a 3xx status code

func (*CoredumpGetOK) IsServerError

func (o *CoredumpGetOK) IsServerError() bool

IsServerError returns true when this coredump get o k response has a 5xx status code

func (*CoredumpGetOK) IsSuccess

func (o *CoredumpGetOK) IsSuccess() bool

IsSuccess returns true when this coredump get o k response has a 2xx status code

func (*CoredumpGetOK) String

func (o *CoredumpGetOK) String() string

type CoredumpGetParams

type CoredumpGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   Core name
	*/
	Name string

	/* NodeUUID.

	   Node UUID
	*/
	NodeUUID string

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

CoredumpGetParams contains all the parameters to send to the API endpoint

for the coredump get operation.

Typically these are written to a http.Request.

func NewCoredumpGetParams

func NewCoredumpGetParams() *CoredumpGetParams

NewCoredumpGetParams creates a new CoredumpGetParams 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 NewCoredumpGetParamsWithContext

func NewCoredumpGetParamsWithContext(ctx context.Context) *CoredumpGetParams

NewCoredumpGetParamsWithContext creates a new CoredumpGetParams object with the ability to set a context for a request.

func NewCoredumpGetParamsWithHTTPClient

func NewCoredumpGetParamsWithHTTPClient(client *http.Client) *CoredumpGetParams

NewCoredumpGetParamsWithHTTPClient creates a new CoredumpGetParams object with the ability to set a custom HTTPClient for a request.

func NewCoredumpGetParamsWithTimeout

func NewCoredumpGetParamsWithTimeout(timeout time.Duration) *CoredumpGetParams

NewCoredumpGetParamsWithTimeout creates a new CoredumpGetParams object with the ability to set a timeout on a request.

func (*CoredumpGetParams) SetContext

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

SetContext adds the context to the coredump get params

func (*CoredumpGetParams) SetDefaults

func (o *CoredumpGetParams) SetDefaults()

SetDefaults hydrates default values in the coredump get params (not the query body).

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

func (*CoredumpGetParams) SetFields

func (o *CoredumpGetParams) SetFields(fields []string)

SetFields adds the fields to the coredump get params

func (*CoredumpGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the coredump get params

func (*CoredumpGetParams) SetName

func (o *CoredumpGetParams) SetName(name string)

SetName adds the name to the coredump get params

func (*CoredumpGetParams) SetNodeUUID

func (o *CoredumpGetParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the coredump get params

func (*CoredumpGetParams) SetTimeout

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

SetTimeout adds the timeout to the coredump get params

func (*CoredumpGetParams) WithContext

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

WithContext adds the context to the coredump get params

func (*CoredumpGetParams) WithDefaults

func (o *CoredumpGetParams) WithDefaults() *CoredumpGetParams

WithDefaults hydrates default values in the coredump get params (not the query body).

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

func (*CoredumpGetParams) WithFields

func (o *CoredumpGetParams) WithFields(fields []string) *CoredumpGetParams

WithFields adds the fields to the coredump get params

func (*CoredumpGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the coredump get params

func (*CoredumpGetParams) WithName

func (o *CoredumpGetParams) WithName(name string) *CoredumpGetParams

WithName adds the name to the coredump get params

func (*CoredumpGetParams) WithNodeUUID

func (o *CoredumpGetParams) WithNodeUUID(nodeUUID string) *CoredumpGetParams

WithNodeUUID adds the nodeUUID to the coredump get params

func (*CoredumpGetParams) WithTimeout

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

WithTimeout adds the timeout to the coredump get params

func (*CoredumpGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CoredumpGetReader

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

CoredumpGetReader is a Reader for the CoredumpGet structure.

func (*CoredumpGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsApplicationLogsCreateCreated

type EmsApplicationLogsCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string
}

EmsApplicationLogsCreateCreated describes a response with status code 201, with default header values.

Created

func NewEmsApplicationLogsCreateCreated

func NewEmsApplicationLogsCreateCreated() *EmsApplicationLogsCreateCreated

NewEmsApplicationLogsCreateCreated creates a EmsApplicationLogsCreateCreated with default headers values

func (*EmsApplicationLogsCreateCreated) Code

Code gets the status code for the ems application logs create created response

func (*EmsApplicationLogsCreateCreated) Error

func (*EmsApplicationLogsCreateCreated) IsClientError

func (o *EmsApplicationLogsCreateCreated) IsClientError() bool

IsClientError returns true when this ems application logs create created response has a 4xx status code

func (*EmsApplicationLogsCreateCreated) IsCode

func (o *EmsApplicationLogsCreateCreated) IsCode(code int) bool

IsCode returns true when this ems application logs create created response a status code equal to that given

func (*EmsApplicationLogsCreateCreated) IsRedirect

func (o *EmsApplicationLogsCreateCreated) IsRedirect() bool

IsRedirect returns true when this ems application logs create created response has a 3xx status code

func (*EmsApplicationLogsCreateCreated) IsServerError

func (o *EmsApplicationLogsCreateCreated) IsServerError() bool

IsServerError returns true when this ems application logs create created response has a 5xx status code

func (*EmsApplicationLogsCreateCreated) IsSuccess

func (o *EmsApplicationLogsCreateCreated) IsSuccess() bool

IsSuccess returns true when this ems application logs create created response has a 2xx status code

func (*EmsApplicationLogsCreateCreated) String

type EmsApplicationLogsCreateDefault

type EmsApplicationLogsCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsApplicationLogsCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983173 | Application log event generation failed. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsApplicationLogsCreateDefault

func NewEmsApplicationLogsCreateDefault(code int) *EmsApplicationLogsCreateDefault

NewEmsApplicationLogsCreateDefault creates a EmsApplicationLogsCreateDefault with default headers values

func (*EmsApplicationLogsCreateDefault) Code

Code gets the status code for the ems application logs create default response

func (*EmsApplicationLogsCreateDefault) Error

func (*EmsApplicationLogsCreateDefault) GetPayload

func (*EmsApplicationLogsCreateDefault) IsClientError

func (o *EmsApplicationLogsCreateDefault) IsClientError() bool

IsClientError returns true when this ems application logs create default response has a 4xx status code

func (*EmsApplicationLogsCreateDefault) IsCode

func (o *EmsApplicationLogsCreateDefault) IsCode(code int) bool

IsCode returns true when this ems application logs create default response a status code equal to that given

func (*EmsApplicationLogsCreateDefault) IsRedirect

func (o *EmsApplicationLogsCreateDefault) IsRedirect() bool

IsRedirect returns true when this ems application logs create default response has a 3xx status code

func (*EmsApplicationLogsCreateDefault) IsServerError

func (o *EmsApplicationLogsCreateDefault) IsServerError() bool

IsServerError returns true when this ems application logs create default response has a 5xx status code

func (*EmsApplicationLogsCreateDefault) IsSuccess

func (o *EmsApplicationLogsCreateDefault) IsSuccess() bool

IsSuccess returns true when this ems application logs create default response has a 2xx status code

func (*EmsApplicationLogsCreateDefault) String

type EmsApplicationLogsCreateParams

type EmsApplicationLogsCreateParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsApplicationLog

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

EmsApplicationLogsCreateParams contains all the parameters to send to the API endpoint

for the ems application logs create operation.

Typically these are written to a http.Request.

func NewEmsApplicationLogsCreateParams

func NewEmsApplicationLogsCreateParams() *EmsApplicationLogsCreateParams

NewEmsApplicationLogsCreateParams creates a new EmsApplicationLogsCreateParams 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 NewEmsApplicationLogsCreateParamsWithContext

func NewEmsApplicationLogsCreateParamsWithContext(ctx context.Context) *EmsApplicationLogsCreateParams

NewEmsApplicationLogsCreateParamsWithContext creates a new EmsApplicationLogsCreateParams object with the ability to set a context for a request.

func NewEmsApplicationLogsCreateParamsWithHTTPClient

func NewEmsApplicationLogsCreateParamsWithHTTPClient(client *http.Client) *EmsApplicationLogsCreateParams

NewEmsApplicationLogsCreateParamsWithHTTPClient creates a new EmsApplicationLogsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmsApplicationLogsCreateParamsWithTimeout

func NewEmsApplicationLogsCreateParamsWithTimeout(timeout time.Duration) *EmsApplicationLogsCreateParams

NewEmsApplicationLogsCreateParamsWithTimeout creates a new EmsApplicationLogsCreateParams object with the ability to set a timeout on a request.

func (*EmsApplicationLogsCreateParams) SetContext

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

SetContext adds the context to the ems application logs create params

func (*EmsApplicationLogsCreateParams) SetDefaults

func (o *EmsApplicationLogsCreateParams) SetDefaults()

SetDefaults hydrates default values in the ems application logs create params (not the query body).

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

func (*EmsApplicationLogsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems application logs create params

func (*EmsApplicationLogsCreateParams) SetInfo

SetInfo adds the info to the ems application logs create params

func (*EmsApplicationLogsCreateParams) SetReturnRecords

func (o *EmsApplicationLogsCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems application logs create params

func (*EmsApplicationLogsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WithContext

WithContext adds the context to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WithDefaults

WithDefaults hydrates default values in the ems application logs create params (not the query body).

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

func (*EmsApplicationLogsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WithInfo

WithInfo adds the info to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WithReturnRecords

func (o *EmsApplicationLogsCreateParams) WithReturnRecords(returnRecords *bool) *EmsApplicationLogsCreateParams

WithReturnRecords adds the returnRecords to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WithTimeout

WithTimeout adds the timeout to the ems application logs create params

func (*EmsApplicationLogsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsApplicationLogsCreateReader

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

EmsApplicationLogsCreateReader is a Reader for the EmsApplicationLogsCreate structure.

func (*EmsApplicationLogsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsConfigGetDefault

type EmsConfigGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsConfigGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsConfigGetDefault

func NewEmsConfigGetDefault(code int) *EmsConfigGetDefault

NewEmsConfigGetDefault creates a EmsConfigGetDefault with default headers values

func (*EmsConfigGetDefault) Code

func (o *EmsConfigGetDefault) Code() int

Code gets the status code for the ems config get default response

func (*EmsConfigGetDefault) Error

func (o *EmsConfigGetDefault) Error() string

func (*EmsConfigGetDefault) GetPayload

func (o *EmsConfigGetDefault) GetPayload() *models.ErrorResponse

func (*EmsConfigGetDefault) IsClientError

func (o *EmsConfigGetDefault) IsClientError() bool

IsClientError returns true when this ems config get default response has a 4xx status code

func (*EmsConfigGetDefault) IsCode

func (o *EmsConfigGetDefault) IsCode(code int) bool

IsCode returns true when this ems config get default response a status code equal to that given

func (*EmsConfigGetDefault) IsRedirect

func (o *EmsConfigGetDefault) IsRedirect() bool

IsRedirect returns true when this ems config get default response has a 3xx status code

func (*EmsConfigGetDefault) IsServerError

func (o *EmsConfigGetDefault) IsServerError() bool

IsServerError returns true when this ems config get default response has a 5xx status code

func (*EmsConfigGetDefault) IsSuccess

func (o *EmsConfigGetDefault) IsSuccess() bool

IsSuccess returns true when this ems config get default response has a 2xx status code

func (*EmsConfigGetDefault) String

func (o *EmsConfigGetDefault) String() string

type EmsConfigGetOK

type EmsConfigGetOK struct {
	Payload *models.EmsConfig
}

EmsConfigGetOK describes a response with status code 200, with default header values.

OK

func NewEmsConfigGetOK

func NewEmsConfigGetOK() *EmsConfigGetOK

NewEmsConfigGetOK creates a EmsConfigGetOK with default headers values

func (*EmsConfigGetOK) Code

func (o *EmsConfigGetOK) Code() int

Code gets the status code for the ems config get o k response

func (*EmsConfigGetOK) Error

func (o *EmsConfigGetOK) Error() string

func (*EmsConfigGetOK) GetPayload

func (o *EmsConfigGetOK) GetPayload() *models.EmsConfig

func (*EmsConfigGetOK) IsClientError

func (o *EmsConfigGetOK) IsClientError() bool

IsClientError returns true when this ems config get o k response has a 4xx status code

func (*EmsConfigGetOK) IsCode

func (o *EmsConfigGetOK) IsCode(code int) bool

IsCode returns true when this ems config get o k response a status code equal to that given

func (*EmsConfigGetOK) IsRedirect

func (o *EmsConfigGetOK) IsRedirect() bool

IsRedirect returns true when this ems config get o k response has a 3xx status code

func (*EmsConfigGetOK) IsServerError

func (o *EmsConfigGetOK) IsServerError() bool

IsServerError returns true when this ems config get o k response has a 5xx status code

func (*EmsConfigGetOK) IsSuccess

func (o *EmsConfigGetOK) IsSuccess() bool

IsSuccess returns true when this ems config get o k response has a 2xx status code

func (*EmsConfigGetOK) String

func (o *EmsConfigGetOK) String() string

type EmsConfigGetParams

type EmsConfigGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

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

EmsConfigGetParams contains all the parameters to send to the API endpoint

for the ems config get operation.

Typically these are written to a http.Request.

func NewEmsConfigGetParams

func NewEmsConfigGetParams() *EmsConfigGetParams

NewEmsConfigGetParams creates a new EmsConfigGetParams 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 NewEmsConfigGetParamsWithContext

func NewEmsConfigGetParamsWithContext(ctx context.Context) *EmsConfigGetParams

NewEmsConfigGetParamsWithContext creates a new EmsConfigGetParams object with the ability to set a context for a request.

func NewEmsConfigGetParamsWithHTTPClient

func NewEmsConfigGetParamsWithHTTPClient(client *http.Client) *EmsConfigGetParams

NewEmsConfigGetParamsWithHTTPClient creates a new EmsConfigGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsConfigGetParamsWithTimeout

func NewEmsConfigGetParamsWithTimeout(timeout time.Duration) *EmsConfigGetParams

NewEmsConfigGetParamsWithTimeout creates a new EmsConfigGetParams object with the ability to set a timeout on a request.

func (*EmsConfigGetParams) SetContext

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

SetContext adds the context to the ems config get params

func (*EmsConfigGetParams) SetDefaults

func (o *EmsConfigGetParams) SetDefaults()

SetDefaults hydrates default values in the ems config get params (not the query body).

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

func (*EmsConfigGetParams) SetFields

func (o *EmsConfigGetParams) SetFields(fields []string)

SetFields adds the fields to the ems config get params

func (*EmsConfigGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems config get params

func (*EmsConfigGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems config get params

func (*EmsConfigGetParams) WithContext

WithContext adds the context to the ems config get params

func (*EmsConfigGetParams) WithDefaults

func (o *EmsConfigGetParams) WithDefaults() *EmsConfigGetParams

WithDefaults hydrates default values in the ems config get params (not the query body).

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

func (*EmsConfigGetParams) WithFields

func (o *EmsConfigGetParams) WithFields(fields []string) *EmsConfigGetParams

WithFields adds the fields to the ems config get params

func (*EmsConfigGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems config get params

func (*EmsConfigGetParams) WithTimeout

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

WithTimeout adds the timeout to the ems config get params

func (*EmsConfigGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsConfigGetReader

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

EmsConfigGetReader is a Reader for the EmsConfigGet structure.

func (*EmsConfigGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsConfigModifyDefault

type EmsConfigModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsConfigModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983123 | The validation of the mail server provided failed | | 983136 | The proxy URL cannot contain a username or password | | 983137 | The proxy URL provided is invalid | | 983139 | The IPv6 proxy URL provided is invalid | | 983140 | The proxy URL provided contains an invalid scheme. The only supported scheme is 'http' | | 983160 | The provided parameter requires an effective cluster version of ONTAP 9.9.1 or later | | 983220 | The proxy URL provided contains an invalid scheme. The only supported schemes are 'http' and 'https' | | 983224 | The mail server URL cannot contain a username or password | | 983225 | The mail server username cannot be set without a mail server URL | | 983226 | The mail server password cannot be set without a mail server username | | 983227 | The provided field requires an effective cluster version of ONTAP 9.15.1 or later | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsConfigModifyDefault

func NewEmsConfigModifyDefault(code int) *EmsConfigModifyDefault

NewEmsConfigModifyDefault creates a EmsConfigModifyDefault with default headers values

func (*EmsConfigModifyDefault) Code

func (o *EmsConfigModifyDefault) Code() int

Code gets the status code for the ems config modify default response

func (*EmsConfigModifyDefault) Error

func (o *EmsConfigModifyDefault) Error() string

func (*EmsConfigModifyDefault) GetPayload

func (o *EmsConfigModifyDefault) GetPayload() *models.ErrorResponse

func (*EmsConfigModifyDefault) IsClientError

func (o *EmsConfigModifyDefault) IsClientError() bool

IsClientError returns true when this ems config modify default response has a 4xx status code

func (*EmsConfigModifyDefault) IsCode

func (o *EmsConfigModifyDefault) IsCode(code int) bool

IsCode returns true when this ems config modify default response a status code equal to that given

func (*EmsConfigModifyDefault) IsRedirect

func (o *EmsConfigModifyDefault) IsRedirect() bool

IsRedirect returns true when this ems config modify default response has a 3xx status code

func (*EmsConfigModifyDefault) IsServerError

func (o *EmsConfigModifyDefault) IsServerError() bool

IsServerError returns true when this ems config modify default response has a 5xx status code

func (*EmsConfigModifyDefault) IsSuccess

func (o *EmsConfigModifyDefault) IsSuccess() bool

IsSuccess returns true when this ems config modify default response has a 2xx status code

func (*EmsConfigModifyDefault) String

func (o *EmsConfigModifyDefault) String() string

type EmsConfigModifyOK

type EmsConfigModifyOK struct {
}

EmsConfigModifyOK describes a response with status code 200, with default header values.

OK

func NewEmsConfigModifyOK

func NewEmsConfigModifyOK() *EmsConfigModifyOK

NewEmsConfigModifyOK creates a EmsConfigModifyOK with default headers values

func (*EmsConfigModifyOK) Code

func (o *EmsConfigModifyOK) Code() int

Code gets the status code for the ems config modify o k response

func (*EmsConfigModifyOK) Error

func (o *EmsConfigModifyOK) Error() string

func (*EmsConfigModifyOK) IsClientError

func (o *EmsConfigModifyOK) IsClientError() bool

IsClientError returns true when this ems config modify o k response has a 4xx status code

func (*EmsConfigModifyOK) IsCode

func (o *EmsConfigModifyOK) IsCode(code int) bool

IsCode returns true when this ems config modify o k response a status code equal to that given

func (*EmsConfigModifyOK) IsRedirect

func (o *EmsConfigModifyOK) IsRedirect() bool

IsRedirect returns true when this ems config modify o k response has a 3xx status code

func (*EmsConfigModifyOK) IsServerError

func (o *EmsConfigModifyOK) IsServerError() bool

IsServerError returns true when this ems config modify o k response has a 5xx status code

func (*EmsConfigModifyOK) IsSuccess

func (o *EmsConfigModifyOK) IsSuccess() bool

IsSuccess returns true when this ems config modify o k response has a 2xx status code

func (*EmsConfigModifyOK) String

func (o *EmsConfigModifyOK) String() string

type EmsConfigModifyParams

type EmsConfigModifyParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsConfig

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

EmsConfigModifyParams contains all the parameters to send to the API endpoint

for the ems config modify operation.

Typically these are written to a http.Request.

func NewEmsConfigModifyParams

func NewEmsConfigModifyParams() *EmsConfigModifyParams

NewEmsConfigModifyParams creates a new EmsConfigModifyParams 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 NewEmsConfigModifyParamsWithContext

func NewEmsConfigModifyParamsWithContext(ctx context.Context) *EmsConfigModifyParams

NewEmsConfigModifyParamsWithContext creates a new EmsConfigModifyParams object with the ability to set a context for a request.

func NewEmsConfigModifyParamsWithHTTPClient

func NewEmsConfigModifyParamsWithHTTPClient(client *http.Client) *EmsConfigModifyParams

NewEmsConfigModifyParamsWithHTTPClient creates a new EmsConfigModifyParams object with the ability to set a custom HTTPClient for a request.

func NewEmsConfigModifyParamsWithTimeout

func NewEmsConfigModifyParamsWithTimeout(timeout time.Duration) *EmsConfigModifyParams

NewEmsConfigModifyParamsWithTimeout creates a new EmsConfigModifyParams object with the ability to set a timeout on a request.

func (*EmsConfigModifyParams) SetContext

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

SetContext adds the context to the ems config modify params

func (*EmsConfigModifyParams) SetDefaults

func (o *EmsConfigModifyParams) SetDefaults()

SetDefaults hydrates default values in the ems config modify params (not the query body).

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

func (*EmsConfigModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems config modify params

func (*EmsConfigModifyParams) SetInfo

func (o *EmsConfigModifyParams) SetInfo(info *models.EmsConfig)

SetInfo adds the info to the ems config modify params

func (*EmsConfigModifyParams) SetTimeout

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

SetTimeout adds the timeout to the ems config modify params

func (*EmsConfigModifyParams) WithContext

WithContext adds the context to the ems config modify params

func (*EmsConfigModifyParams) WithDefaults

func (o *EmsConfigModifyParams) WithDefaults() *EmsConfigModifyParams

WithDefaults hydrates default values in the ems config modify params (not the query body).

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

func (*EmsConfigModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems config modify params

func (*EmsConfigModifyParams) WithInfo

WithInfo adds the info to the ems config modify params

func (*EmsConfigModifyParams) WithTimeout

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

WithTimeout adds the timeout to the ems config modify params

func (*EmsConfigModifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsConfigModifyReader

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

EmsConfigModifyReader is a Reader for the EmsConfigModify structure.

func (*EmsConfigModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsDestinationCollectionGetDefault

type EmsDestinationCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsDestinationCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsDestinationCollectionGetDefault

func NewEmsDestinationCollectionGetDefault(code int) *EmsDestinationCollectionGetDefault

NewEmsDestinationCollectionGetDefault creates a EmsDestinationCollectionGetDefault with default headers values

func (*EmsDestinationCollectionGetDefault) Code

Code gets the status code for the ems destination collection get default response

func (*EmsDestinationCollectionGetDefault) Error

func (*EmsDestinationCollectionGetDefault) GetPayload

func (*EmsDestinationCollectionGetDefault) IsClientError

func (o *EmsDestinationCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems destination collection get default response has a 4xx status code

func (*EmsDestinationCollectionGetDefault) IsCode

IsCode returns true when this ems destination collection get default response a status code equal to that given

func (*EmsDestinationCollectionGetDefault) IsRedirect

func (o *EmsDestinationCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems destination collection get default response has a 3xx status code

func (*EmsDestinationCollectionGetDefault) IsServerError

func (o *EmsDestinationCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems destination collection get default response has a 5xx status code

func (*EmsDestinationCollectionGetDefault) IsSuccess

IsSuccess returns true when this ems destination collection get default response has a 2xx status code

func (*EmsDestinationCollectionGetDefault) String

type EmsDestinationCollectionGetOK

type EmsDestinationCollectionGetOK struct {
	Payload *models.EmsDestinationResponse
}

EmsDestinationCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsDestinationCollectionGetOK

func NewEmsDestinationCollectionGetOK() *EmsDestinationCollectionGetOK

NewEmsDestinationCollectionGetOK creates a EmsDestinationCollectionGetOK with default headers values

func (*EmsDestinationCollectionGetOK) Code

Code gets the status code for the ems destination collection get o k response

func (*EmsDestinationCollectionGetOK) Error

func (*EmsDestinationCollectionGetOK) GetPayload

func (*EmsDestinationCollectionGetOK) IsClientError

func (o *EmsDestinationCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems destination collection get o k response has a 4xx status code

func (*EmsDestinationCollectionGetOK) IsCode

func (o *EmsDestinationCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems destination collection get o k response a status code equal to that given

func (*EmsDestinationCollectionGetOK) IsRedirect

func (o *EmsDestinationCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems destination collection get o k response has a 3xx status code

func (*EmsDestinationCollectionGetOK) IsServerError

func (o *EmsDestinationCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems destination collection get o k response has a 5xx status code

func (*EmsDestinationCollectionGetOK) IsSuccess

func (o *EmsDestinationCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems destination collection get o k response has a 2xx status code

func (*EmsDestinationCollectionGetOK) String

type EmsDestinationCollectionGetParams

type EmsDestinationCollectionGetParams struct {

	/* AccessControlRoleName.

	   Filter by access_control_role.name
	*/
	AccessControlRoleName *string

	/* CertificateCa.

	   Filter by certificate.ca
	*/
	CertificateCa *string

	/* CertificateName.

	   Filter by certificate.name
	*/
	CertificateName *string

	/* CertificateSerialNumber.

	   Filter by certificate.serial_number
	*/
	CertificateSerialNumber *string

	/* ConnectivityErrorsMessageArgumentsCode.

	   Filter by connectivity.errors.message.arguments.code
	*/
	ConnectivityErrorsMessageArgumentsCode *string

	/* ConnectivityErrorsMessageArgumentsMessage.

	   Filter by connectivity.errors.message.arguments.message
	*/
	ConnectivityErrorsMessageArgumentsMessage *string

	/* ConnectivityErrorsMessageCode.

	   Filter by connectivity.errors.message.code
	*/
	ConnectivityErrorsMessageCode *string

	/* ConnectivityErrorsMessageMessage.

	   Filter by connectivity.errors.message.message
	*/
	ConnectivityErrorsMessageMessage *string

	/* ConnectivityErrorsNodeName.

	   Filter by connectivity.errors.node.name
	*/
	ConnectivityErrorsNodeName *string

	/* ConnectivityErrorsNodeUUID.

	   Filter by connectivity.errors.node.uuid
	*/
	ConnectivityErrorsNodeUUID *string

	/* ConnectivityState.

	   Filter by connectivity.state
	*/
	ConnectivityState *string

	/* Destination.

	   Filter by destination
	*/
	Destination *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* FiltersName.

	   Filter by filters.name
	*/
	FiltersName *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* SyslogFormatHostnameOverride.

	   Filter by syslog.format.hostname_override
	*/
	SyslogFormatHostnameOverride *string

	/* SyslogFormatMessage.

	   Filter by syslog.format.message
	*/
	SyslogFormatMessage *string

	/* SyslogFormatTimestampOverride.

	   Filter by syslog.format.timestamp_override
	*/
	SyslogFormatTimestampOverride *string

	/* SyslogPort.

	   Filter by syslog.port
	*/
	SyslogPort *int64

	/* SyslogTransport.

	   Filter by syslog.transport
	*/
	SyslogTransport *string

	/* SystemDefined.

	   Filter by system_defined
	*/
	SystemDefined *bool

	/* Type.

	   Filter by type
	*/
	Type *string

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

EmsDestinationCollectionGetParams contains all the parameters to send to the API endpoint

for the ems destination collection get operation.

Typically these are written to a http.Request.

func NewEmsDestinationCollectionGetParams

func NewEmsDestinationCollectionGetParams() *EmsDestinationCollectionGetParams

NewEmsDestinationCollectionGetParams creates a new EmsDestinationCollectionGetParams 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 NewEmsDestinationCollectionGetParamsWithContext

func NewEmsDestinationCollectionGetParamsWithContext(ctx context.Context) *EmsDestinationCollectionGetParams

NewEmsDestinationCollectionGetParamsWithContext creates a new EmsDestinationCollectionGetParams object with the ability to set a context for a request.

func NewEmsDestinationCollectionGetParamsWithHTTPClient

func NewEmsDestinationCollectionGetParamsWithHTTPClient(client *http.Client) *EmsDestinationCollectionGetParams

NewEmsDestinationCollectionGetParamsWithHTTPClient creates a new EmsDestinationCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsDestinationCollectionGetParamsWithTimeout

func NewEmsDestinationCollectionGetParamsWithTimeout(timeout time.Duration) *EmsDestinationCollectionGetParams

NewEmsDestinationCollectionGetParamsWithTimeout creates a new EmsDestinationCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsDestinationCollectionGetParams) SetAccessControlRoleName

func (o *EmsDestinationCollectionGetParams) SetAccessControlRoleName(accessControlRoleName *string)

SetAccessControlRoleName adds the accessControlRoleName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetCertificateCa

func (o *EmsDestinationCollectionGetParams) SetCertificateCa(certificateCa *string)

SetCertificateCa adds the certificateCa to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetCertificateName

func (o *EmsDestinationCollectionGetParams) SetCertificateName(certificateName *string)

SetCertificateName adds the certificateName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetCertificateSerialNumber

func (o *EmsDestinationCollectionGetParams) SetCertificateSerialNumber(certificateSerialNumber *string)

SetCertificateSerialNumber adds the certificateSerialNumber to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageArgumentsCode

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageArgumentsCode(connectivityErrorsMessageArgumentsCode *string)

SetConnectivityErrorsMessageArgumentsCode adds the connectivityErrorsMessageArgumentsCode to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageArgumentsMessage

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageArgumentsMessage(connectivityErrorsMessageArgumentsMessage *string)

SetConnectivityErrorsMessageArgumentsMessage adds the connectivityErrorsMessageArgumentsMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageCode

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageCode(connectivityErrorsMessageCode *string)

SetConnectivityErrorsMessageCode adds the connectivityErrorsMessageCode to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageMessage

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsMessageMessage(connectivityErrorsMessageMessage *string)

SetConnectivityErrorsMessageMessage adds the connectivityErrorsMessageMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsNodeName

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsNodeName(connectivityErrorsNodeName *string)

SetConnectivityErrorsNodeName adds the connectivityErrorsNodeName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityErrorsNodeUUID

func (o *EmsDestinationCollectionGetParams) SetConnectivityErrorsNodeUUID(connectivityErrorsNodeUUID *string)

SetConnectivityErrorsNodeUUID adds the connectivityErrorsNodeUuid to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetConnectivityState

func (o *EmsDestinationCollectionGetParams) SetConnectivityState(connectivityState *string)

SetConnectivityState adds the connectivityState to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetContext

SetContext adds the context to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetDefaults

func (o *EmsDestinationCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems destination collection get params (not the query body).

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

func (*EmsDestinationCollectionGetParams) SetDestination

func (o *EmsDestinationCollectionGetParams) SetDestination(destination *string)

SetDestination adds the destination to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetFields

func (o *EmsDestinationCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetFiltersName

func (o *EmsDestinationCollectionGetParams) SetFiltersName(filtersName *string)

SetFiltersName adds the filtersName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetMaxRecords

func (o *EmsDestinationCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetName

func (o *EmsDestinationCollectionGetParams) SetName(name *string)

SetName adds the name to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetOrderBy

func (o *EmsDestinationCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetReturnRecords

func (o *EmsDestinationCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetReturnTimeout

func (o *EmsDestinationCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSyslogFormatHostnameOverride

func (o *EmsDestinationCollectionGetParams) SetSyslogFormatHostnameOverride(syslogFormatHostnameOverride *string)

SetSyslogFormatHostnameOverride adds the syslogFormatHostnameOverride to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSyslogFormatMessage

func (o *EmsDestinationCollectionGetParams) SetSyslogFormatMessage(syslogFormatMessage *string)

SetSyslogFormatMessage adds the syslogFormatMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSyslogFormatTimestampOverride

func (o *EmsDestinationCollectionGetParams) SetSyslogFormatTimestampOverride(syslogFormatTimestampOverride *string)

SetSyslogFormatTimestampOverride adds the syslogFormatTimestampOverride to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSyslogPort

func (o *EmsDestinationCollectionGetParams) SetSyslogPort(syslogPort *int64)

SetSyslogPort adds the syslogPort to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSyslogTransport

func (o *EmsDestinationCollectionGetParams) SetSyslogTransport(syslogTransport *string)

SetSyslogTransport adds the syslogTransport to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetSystemDefined

func (o *EmsDestinationCollectionGetParams) SetSystemDefined(systemDefined *bool)

SetSystemDefined adds the systemDefined to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) SetType

func (o *EmsDestinationCollectionGetParams) SetType(typeVar *string)

SetType adds the type to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithAccessControlRoleName

func (o *EmsDestinationCollectionGetParams) WithAccessControlRoleName(accessControlRoleName *string) *EmsDestinationCollectionGetParams

WithAccessControlRoleName adds the accessControlRoleName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithCertificateCa

func (o *EmsDestinationCollectionGetParams) WithCertificateCa(certificateCa *string) *EmsDestinationCollectionGetParams

WithCertificateCa adds the certificateCa to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithCertificateName

func (o *EmsDestinationCollectionGetParams) WithCertificateName(certificateName *string) *EmsDestinationCollectionGetParams

WithCertificateName adds the certificateName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithCertificateSerialNumber

func (o *EmsDestinationCollectionGetParams) WithCertificateSerialNumber(certificateSerialNumber *string) *EmsDestinationCollectionGetParams

WithCertificateSerialNumber adds the certificateSerialNumber to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageArgumentsCode

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageArgumentsCode(connectivityErrorsMessageArgumentsCode *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsMessageArgumentsCode adds the connectivityErrorsMessageArgumentsCode to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageArgumentsMessage

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageArgumentsMessage(connectivityErrorsMessageArgumentsMessage *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsMessageArgumentsMessage adds the connectivityErrorsMessageArgumentsMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageCode

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageCode(connectivityErrorsMessageCode *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsMessageCode adds the connectivityErrorsMessageCode to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageMessage

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsMessageMessage(connectivityErrorsMessageMessage *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsMessageMessage adds the connectivityErrorsMessageMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsNodeName

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsNodeName(connectivityErrorsNodeName *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsNodeName adds the connectivityErrorsNodeName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityErrorsNodeUUID

func (o *EmsDestinationCollectionGetParams) WithConnectivityErrorsNodeUUID(connectivityErrorsNodeUUID *string) *EmsDestinationCollectionGetParams

WithConnectivityErrorsNodeUUID adds the connectivityErrorsNodeUUID to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithConnectivityState

func (o *EmsDestinationCollectionGetParams) WithConnectivityState(connectivityState *string) *EmsDestinationCollectionGetParams

WithConnectivityState adds the connectivityState to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithContext

WithContext adds the context to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems destination collection get params (not the query body).

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

func (*EmsDestinationCollectionGetParams) WithDestination

WithDestination adds the destination to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithFields

WithFields adds the fields to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithFiltersName

WithFiltersName adds the filtersName to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithName

WithName adds the name to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithReturnRecords

func (o *EmsDestinationCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsDestinationCollectionGetParams

WithReturnRecords adds the returnRecords to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithReturnTimeout

func (o *EmsDestinationCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsDestinationCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSyslogFormatHostnameOverride

func (o *EmsDestinationCollectionGetParams) WithSyslogFormatHostnameOverride(syslogFormatHostnameOverride *string) *EmsDestinationCollectionGetParams

WithSyslogFormatHostnameOverride adds the syslogFormatHostnameOverride to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSyslogFormatMessage

func (o *EmsDestinationCollectionGetParams) WithSyslogFormatMessage(syslogFormatMessage *string) *EmsDestinationCollectionGetParams

WithSyslogFormatMessage adds the syslogFormatMessage to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSyslogFormatTimestampOverride

func (o *EmsDestinationCollectionGetParams) WithSyslogFormatTimestampOverride(syslogFormatTimestampOverride *string) *EmsDestinationCollectionGetParams

WithSyslogFormatTimestampOverride adds the syslogFormatTimestampOverride to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSyslogPort

WithSyslogPort adds the syslogPort to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSyslogTransport

func (o *EmsDestinationCollectionGetParams) WithSyslogTransport(syslogTransport *string) *EmsDestinationCollectionGetParams

WithSyslogTransport adds the syslogTransport to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithSystemDefined

func (o *EmsDestinationCollectionGetParams) WithSystemDefined(systemDefined *bool) *EmsDestinationCollectionGetParams

WithSystemDefined adds the systemDefined to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WithType

WithType adds the typeVar to the ems destination collection get params

func (*EmsDestinationCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsDestinationCollectionGetReader

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

EmsDestinationCollectionGetReader is a Reader for the EmsDestinationCollectionGet structure.

func (*EmsDestinationCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsDestinationCreateCreated

type EmsDestinationCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.EmsDestinationResponse
}

EmsDestinationCreateCreated describes a response with status code 201, with default header values.

Created

func NewEmsDestinationCreateCreated

func NewEmsDestinationCreateCreated() *EmsDestinationCreateCreated

NewEmsDestinationCreateCreated creates a EmsDestinationCreateCreated with default headers values

func (*EmsDestinationCreateCreated) Code

func (o *EmsDestinationCreateCreated) Code() int

Code gets the status code for the ems destination create created response

func (*EmsDestinationCreateCreated) Error

func (*EmsDestinationCreateCreated) GetPayload

func (*EmsDestinationCreateCreated) IsClientError

func (o *EmsDestinationCreateCreated) IsClientError() bool

IsClientError returns true when this ems destination create created response has a 4xx status code

func (*EmsDestinationCreateCreated) IsCode

func (o *EmsDestinationCreateCreated) IsCode(code int) bool

IsCode returns true when this ems destination create created response a status code equal to that given

func (*EmsDestinationCreateCreated) IsRedirect

func (o *EmsDestinationCreateCreated) IsRedirect() bool

IsRedirect returns true when this ems destination create created response has a 3xx status code

func (*EmsDestinationCreateCreated) IsServerError

func (o *EmsDestinationCreateCreated) IsServerError() bool

IsServerError returns true when this ems destination create created response has a 5xx status code

func (*EmsDestinationCreateCreated) IsSuccess

func (o *EmsDestinationCreateCreated) IsSuccess() bool

IsSuccess returns true when this ems destination create created response has a 2xx status code

func (*EmsDestinationCreateCreated) String

func (o *EmsDestinationCreateCreated) String() string

type EmsDestinationCreateDefault

type EmsDestinationCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsDestinationCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983104 | The syslog destination provided is invalid | | 983107 | A provided filter does not exist | | 983116 | The number of notifications has reached maximum capacity | | 983117 | The number of destinations has reached maximum capacity | | 983129 | The rest-api destination provided must contain a valid scheme, such as http// or https// | | 983130 | The rest-api destination provided contains an invalid URL | | 983131 | The rest-api destination provided contains an invalid IPv6 URL | | 983144 | The security certificate information provided is incomplete. Provide the certificate and serial number | | 983145 | The rest-api destination provided has an 'http://' scheme. It is invalid to provide certificate information | | 983149 | New SNMP destinations cannot be created | | 983152 | Default destinations cannot be modified or removed | | 983153 | The security certificate provided does not exist | | 983154 | The necessary private key is not installed on the system | | 983170 | Connectivity check is not supported for the specified destination type on the node | | 983171 | Connectivity check failed for the specified destination on the node | | 983176 | Connectivity check is only supported for TCP-based syslog destinations | | 983179 | The value for the destination field cannot be empty | | 983180 | The destination name provided cannot be empty | | 983181 | The destination name provided cannot contain spaces | | 983182 | The destination name provided is invalid. The destination name must contain between 2 and 64 characters and start and end with an alphanumeric symbol or _(underscore). The allowed special characters are _(underscore) and -(hyphen) | | 983184 | A provided property cannot be configured on the requested destination type | | 983200 | Access control role compatibility issue with provided filters | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsDestinationCreateDefault

func NewEmsDestinationCreateDefault(code int) *EmsDestinationCreateDefault

NewEmsDestinationCreateDefault creates a EmsDestinationCreateDefault with default headers values

func (*EmsDestinationCreateDefault) Code

func (o *EmsDestinationCreateDefault) Code() int

Code gets the status code for the ems destination create default response

func (*EmsDestinationCreateDefault) Error

func (*EmsDestinationCreateDefault) GetPayload

func (*EmsDestinationCreateDefault) IsClientError

func (o *EmsDestinationCreateDefault) IsClientError() bool

IsClientError returns true when this ems destination create default response has a 4xx status code

func (*EmsDestinationCreateDefault) IsCode

func (o *EmsDestinationCreateDefault) IsCode(code int) bool

IsCode returns true when this ems destination create default response a status code equal to that given

func (*EmsDestinationCreateDefault) IsRedirect

func (o *EmsDestinationCreateDefault) IsRedirect() bool

IsRedirect returns true when this ems destination create default response has a 3xx status code

func (*EmsDestinationCreateDefault) IsServerError

func (o *EmsDestinationCreateDefault) IsServerError() bool

IsServerError returns true when this ems destination create default response has a 5xx status code

func (*EmsDestinationCreateDefault) IsSuccess

func (o *EmsDestinationCreateDefault) IsSuccess() bool

IsSuccess returns true when this ems destination create default response has a 2xx status code

func (*EmsDestinationCreateDefault) String

func (o *EmsDestinationCreateDefault) String() string

type EmsDestinationCreateParams

type EmsDestinationCreateParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsDestination

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

EmsDestinationCreateParams contains all the parameters to send to the API endpoint

for the ems destination create operation.

Typically these are written to a http.Request.

func NewEmsDestinationCreateParams

func NewEmsDestinationCreateParams() *EmsDestinationCreateParams

NewEmsDestinationCreateParams creates a new EmsDestinationCreateParams 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 NewEmsDestinationCreateParamsWithContext

func NewEmsDestinationCreateParamsWithContext(ctx context.Context) *EmsDestinationCreateParams

NewEmsDestinationCreateParamsWithContext creates a new EmsDestinationCreateParams object with the ability to set a context for a request.

func NewEmsDestinationCreateParamsWithHTTPClient

func NewEmsDestinationCreateParamsWithHTTPClient(client *http.Client) *EmsDestinationCreateParams

NewEmsDestinationCreateParamsWithHTTPClient creates a new EmsDestinationCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmsDestinationCreateParamsWithTimeout

func NewEmsDestinationCreateParamsWithTimeout(timeout time.Duration) *EmsDestinationCreateParams

NewEmsDestinationCreateParamsWithTimeout creates a new EmsDestinationCreateParams object with the ability to set a timeout on a request.

func (*EmsDestinationCreateParams) SetContext

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

SetContext adds the context to the ems destination create params

func (*EmsDestinationCreateParams) SetDefaults

func (o *EmsDestinationCreateParams) SetDefaults()

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

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

func (*EmsDestinationCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems destination create params

func (*EmsDestinationCreateParams) SetInfo

SetInfo adds the info to the ems destination create params

func (*EmsDestinationCreateParams) SetReturnRecords

func (o *EmsDestinationCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems destination create params

func (*EmsDestinationCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ems destination create params

func (*EmsDestinationCreateParams) WithContext

WithContext adds the context to the ems destination create params

func (*EmsDestinationCreateParams) WithDefaults

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

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

func (*EmsDestinationCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems destination create params

func (*EmsDestinationCreateParams) WithInfo

WithInfo adds the info to the ems destination create params

func (*EmsDestinationCreateParams) WithReturnRecords

func (o *EmsDestinationCreateParams) WithReturnRecords(returnRecords *bool) *EmsDestinationCreateParams

WithReturnRecords adds the returnRecords to the ems destination create params

func (*EmsDestinationCreateParams) WithTimeout

WithTimeout adds the timeout to the ems destination create params

func (*EmsDestinationCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsDestinationCreateReader

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

EmsDestinationCreateReader is a Reader for the EmsDestinationCreate structure.

func (*EmsDestinationCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsDestinationDeleteDefault

type EmsDestinationDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsDestinationDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983152 | Default destinations cannot be modified or removed | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsDestinationDeleteDefault

func NewEmsDestinationDeleteDefault(code int) *EmsDestinationDeleteDefault

NewEmsDestinationDeleteDefault creates a EmsDestinationDeleteDefault with default headers values

func (*EmsDestinationDeleteDefault) Code

func (o *EmsDestinationDeleteDefault) Code() int

Code gets the status code for the ems destination delete default response

func (*EmsDestinationDeleteDefault) Error

func (*EmsDestinationDeleteDefault) GetPayload

func (*EmsDestinationDeleteDefault) IsClientError

func (o *EmsDestinationDeleteDefault) IsClientError() bool

IsClientError returns true when this ems destination delete default response has a 4xx status code

func (*EmsDestinationDeleteDefault) IsCode

func (o *EmsDestinationDeleteDefault) IsCode(code int) bool

IsCode returns true when this ems destination delete default response a status code equal to that given

func (*EmsDestinationDeleteDefault) IsRedirect

func (o *EmsDestinationDeleteDefault) IsRedirect() bool

IsRedirect returns true when this ems destination delete default response has a 3xx status code

func (*EmsDestinationDeleteDefault) IsServerError

func (o *EmsDestinationDeleteDefault) IsServerError() bool

IsServerError returns true when this ems destination delete default response has a 5xx status code

func (*EmsDestinationDeleteDefault) IsSuccess

func (o *EmsDestinationDeleteDefault) IsSuccess() bool

IsSuccess returns true when this ems destination delete default response has a 2xx status code

func (*EmsDestinationDeleteDefault) String

func (o *EmsDestinationDeleteDefault) String() string

type EmsDestinationDeleteOK

type EmsDestinationDeleteOK struct {
}

EmsDestinationDeleteOK describes a response with status code 200, with default header values.

OK

func NewEmsDestinationDeleteOK

func NewEmsDestinationDeleteOK() *EmsDestinationDeleteOK

NewEmsDestinationDeleteOK creates a EmsDestinationDeleteOK with default headers values

func (*EmsDestinationDeleteOK) Code

func (o *EmsDestinationDeleteOK) Code() int

Code gets the status code for the ems destination delete o k response

func (*EmsDestinationDeleteOK) Error

func (o *EmsDestinationDeleteOK) Error() string

func (*EmsDestinationDeleteOK) IsClientError

func (o *EmsDestinationDeleteOK) IsClientError() bool

IsClientError returns true when this ems destination delete o k response has a 4xx status code

func (*EmsDestinationDeleteOK) IsCode

func (o *EmsDestinationDeleteOK) IsCode(code int) bool

IsCode returns true when this ems destination delete o k response a status code equal to that given

func (*EmsDestinationDeleteOK) IsRedirect

func (o *EmsDestinationDeleteOK) IsRedirect() bool

IsRedirect returns true when this ems destination delete o k response has a 3xx status code

func (*EmsDestinationDeleteOK) IsServerError

func (o *EmsDestinationDeleteOK) IsServerError() bool

IsServerError returns true when this ems destination delete o k response has a 5xx status code

func (*EmsDestinationDeleteOK) IsSuccess

func (o *EmsDestinationDeleteOK) IsSuccess() bool

IsSuccess returns true when this ems destination delete o k response has a 2xx status code

func (*EmsDestinationDeleteOK) String

func (o *EmsDestinationDeleteOK) String() string

type EmsDestinationDeleteParams

type EmsDestinationDeleteParams struct {

	/* Name.

	   Destination name
	*/
	Name string

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

EmsDestinationDeleteParams contains all the parameters to send to the API endpoint

for the ems destination delete operation.

Typically these are written to a http.Request.

func NewEmsDestinationDeleteParams

func NewEmsDestinationDeleteParams() *EmsDestinationDeleteParams

NewEmsDestinationDeleteParams creates a new EmsDestinationDeleteParams 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 NewEmsDestinationDeleteParamsWithContext

func NewEmsDestinationDeleteParamsWithContext(ctx context.Context) *EmsDestinationDeleteParams

NewEmsDestinationDeleteParamsWithContext creates a new EmsDestinationDeleteParams object with the ability to set a context for a request.

func NewEmsDestinationDeleteParamsWithHTTPClient

func NewEmsDestinationDeleteParamsWithHTTPClient(client *http.Client) *EmsDestinationDeleteParams

NewEmsDestinationDeleteParamsWithHTTPClient creates a new EmsDestinationDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewEmsDestinationDeleteParamsWithTimeout

func NewEmsDestinationDeleteParamsWithTimeout(timeout time.Duration) *EmsDestinationDeleteParams

NewEmsDestinationDeleteParamsWithTimeout creates a new EmsDestinationDeleteParams object with the ability to set a timeout on a request.

func (*EmsDestinationDeleteParams) SetContext

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

SetContext adds the context to the ems destination delete params

func (*EmsDestinationDeleteParams) SetDefaults

func (o *EmsDestinationDeleteParams) SetDefaults()

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

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

func (*EmsDestinationDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems destination delete params

func (*EmsDestinationDeleteParams) SetName

func (o *EmsDestinationDeleteParams) SetName(name string)

SetName adds the name to the ems destination delete params

func (*EmsDestinationDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ems destination delete params

func (*EmsDestinationDeleteParams) WithContext

WithContext adds the context to the ems destination delete params

func (*EmsDestinationDeleteParams) WithDefaults

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

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

func (*EmsDestinationDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems destination delete params

func (*EmsDestinationDeleteParams) WithName

WithName adds the name to the ems destination delete params

func (*EmsDestinationDeleteParams) WithTimeout

WithTimeout adds the timeout to the ems destination delete params

func (*EmsDestinationDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsDestinationDeleteReader

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

EmsDestinationDeleteReader is a Reader for the EmsDestinationDelete structure.

func (*EmsDestinationDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsDestinationGetDefault

type EmsDestinationGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsDestinationGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsDestinationGetDefault

func NewEmsDestinationGetDefault(code int) *EmsDestinationGetDefault

NewEmsDestinationGetDefault creates a EmsDestinationGetDefault with default headers values

func (*EmsDestinationGetDefault) Code

func (o *EmsDestinationGetDefault) Code() int

Code gets the status code for the ems destination get default response

func (*EmsDestinationGetDefault) Error

func (o *EmsDestinationGetDefault) Error() string

func (*EmsDestinationGetDefault) GetPayload

func (*EmsDestinationGetDefault) IsClientError

func (o *EmsDestinationGetDefault) IsClientError() bool

IsClientError returns true when this ems destination get default response has a 4xx status code

func (*EmsDestinationGetDefault) IsCode

func (o *EmsDestinationGetDefault) IsCode(code int) bool

IsCode returns true when this ems destination get default response a status code equal to that given

func (*EmsDestinationGetDefault) IsRedirect

func (o *EmsDestinationGetDefault) IsRedirect() bool

IsRedirect returns true when this ems destination get default response has a 3xx status code

func (*EmsDestinationGetDefault) IsServerError

func (o *EmsDestinationGetDefault) IsServerError() bool

IsServerError returns true when this ems destination get default response has a 5xx status code

func (*EmsDestinationGetDefault) IsSuccess

func (o *EmsDestinationGetDefault) IsSuccess() bool

IsSuccess returns true when this ems destination get default response has a 2xx status code

func (*EmsDestinationGetDefault) String

func (o *EmsDestinationGetDefault) String() string

type EmsDestinationGetOK

type EmsDestinationGetOK struct {
	Payload *models.EmsDestination
}

EmsDestinationGetOK describes a response with status code 200, with default header values.

OK

func NewEmsDestinationGetOK

func NewEmsDestinationGetOK() *EmsDestinationGetOK

NewEmsDestinationGetOK creates a EmsDestinationGetOK with default headers values

func (*EmsDestinationGetOK) Code

func (o *EmsDestinationGetOK) Code() int

Code gets the status code for the ems destination get o k response

func (*EmsDestinationGetOK) Error

func (o *EmsDestinationGetOK) Error() string

func (*EmsDestinationGetOK) GetPayload

func (o *EmsDestinationGetOK) GetPayload() *models.EmsDestination

func (*EmsDestinationGetOK) IsClientError

func (o *EmsDestinationGetOK) IsClientError() bool

IsClientError returns true when this ems destination get o k response has a 4xx status code

func (*EmsDestinationGetOK) IsCode

func (o *EmsDestinationGetOK) IsCode(code int) bool

IsCode returns true when this ems destination get o k response a status code equal to that given

func (*EmsDestinationGetOK) IsRedirect

func (o *EmsDestinationGetOK) IsRedirect() bool

IsRedirect returns true when this ems destination get o k response has a 3xx status code

func (*EmsDestinationGetOK) IsServerError

func (o *EmsDestinationGetOK) IsServerError() bool

IsServerError returns true when this ems destination get o k response has a 5xx status code

func (*EmsDestinationGetOK) IsSuccess

func (o *EmsDestinationGetOK) IsSuccess() bool

IsSuccess returns true when this ems destination get o k response has a 2xx status code

func (*EmsDestinationGetOK) String

func (o *EmsDestinationGetOK) String() string

type EmsDestinationGetParams

type EmsDestinationGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   Destination name
	*/
	Name string

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

EmsDestinationGetParams contains all the parameters to send to the API endpoint

for the ems destination get operation.

Typically these are written to a http.Request.

func NewEmsDestinationGetParams

func NewEmsDestinationGetParams() *EmsDestinationGetParams

NewEmsDestinationGetParams creates a new EmsDestinationGetParams 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 NewEmsDestinationGetParamsWithContext

func NewEmsDestinationGetParamsWithContext(ctx context.Context) *EmsDestinationGetParams

NewEmsDestinationGetParamsWithContext creates a new EmsDestinationGetParams object with the ability to set a context for a request.

func NewEmsDestinationGetParamsWithHTTPClient

func NewEmsDestinationGetParamsWithHTTPClient(client *http.Client) *EmsDestinationGetParams

NewEmsDestinationGetParamsWithHTTPClient creates a new EmsDestinationGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsDestinationGetParamsWithTimeout

func NewEmsDestinationGetParamsWithTimeout(timeout time.Duration) *EmsDestinationGetParams

NewEmsDestinationGetParamsWithTimeout creates a new EmsDestinationGetParams object with the ability to set a timeout on a request.

func (*EmsDestinationGetParams) SetContext

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

SetContext adds the context to the ems destination get params

func (*EmsDestinationGetParams) SetDefaults

func (o *EmsDestinationGetParams) SetDefaults()

SetDefaults hydrates default values in the ems destination get params (not the query body).

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

func (*EmsDestinationGetParams) SetFields

func (o *EmsDestinationGetParams) SetFields(fields []string)

SetFields adds the fields to the ems destination get params

func (*EmsDestinationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems destination get params

func (*EmsDestinationGetParams) SetName

func (o *EmsDestinationGetParams) SetName(name string)

SetName adds the name to the ems destination get params

func (*EmsDestinationGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems destination get params

func (*EmsDestinationGetParams) WithContext

WithContext adds the context to the ems destination get params

func (*EmsDestinationGetParams) WithDefaults

WithDefaults hydrates default values in the ems destination get params (not the query body).

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

func (*EmsDestinationGetParams) WithFields

func (o *EmsDestinationGetParams) WithFields(fields []string) *EmsDestinationGetParams

WithFields adds the fields to the ems destination get params

func (*EmsDestinationGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems destination get params

func (*EmsDestinationGetParams) WithName

WithName adds the name to the ems destination get params

func (*EmsDestinationGetParams) WithTimeout

WithTimeout adds the timeout to the ems destination get params

func (*EmsDestinationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsDestinationGetReader

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

EmsDestinationGetReader is a Reader for the EmsDestinationGet structure.

func (*EmsDestinationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsDestinationModifyDefault

type EmsDestinationModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsDestinationModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983088 | The destination name provided cannot be empty | | 983089 | The destination name provided cannot contain spaces | | 983094 | The destination name provided is invalid. The destination name must contain between 2 and 64 characters and start and end with an alphanumeric symbol or _(underscore). The allowed special characters are _(underscore) and -(hyphen) | | 983104 | The syslog destination provided is invalid | | 983107 | A provided filter does not exist | | 983116 | The number of notifications has reached maximum capacity | | 983117 | The number of destinations has reached maximum capacity | | 983129 | The rest-api destination must contain a valid scheme, such as http// or https// | | 983130 | The rest-api destination provided contains an invalid URL | | 983131 | The rest-api destination provided contains an invalid IPv6 URL | | 983142 | The security certificate provided does not exist | | 983143 | The private security key provided does not exist | | 983144 | The security certificate information provided is incomplete. Provide the certificate and serial number | | 983145 | The rest-api destination provided has an 'http://' scheme. It is invalid to provide certificate information | | 983150 | The type of an existing destination cannot be changed | | 983152 | Default destinations cannot be modified or removed | | 983184 | A provided property cannot be configured on the requested destination type | | 983200 | Access control role compatibility issue with provided filters | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsDestinationModifyDefault

func NewEmsDestinationModifyDefault(code int) *EmsDestinationModifyDefault

NewEmsDestinationModifyDefault creates a EmsDestinationModifyDefault with default headers values

func (*EmsDestinationModifyDefault) Code

func (o *EmsDestinationModifyDefault) Code() int

Code gets the status code for the ems destination modify default response

func (*EmsDestinationModifyDefault) Error

func (*EmsDestinationModifyDefault) GetPayload

func (*EmsDestinationModifyDefault) IsClientError

func (o *EmsDestinationModifyDefault) IsClientError() bool

IsClientError returns true when this ems destination modify default response has a 4xx status code

func (*EmsDestinationModifyDefault) IsCode

func (o *EmsDestinationModifyDefault) IsCode(code int) bool

IsCode returns true when this ems destination modify default response a status code equal to that given

func (*EmsDestinationModifyDefault) IsRedirect

func (o *EmsDestinationModifyDefault) IsRedirect() bool

IsRedirect returns true when this ems destination modify default response has a 3xx status code

func (*EmsDestinationModifyDefault) IsServerError

func (o *EmsDestinationModifyDefault) IsServerError() bool

IsServerError returns true when this ems destination modify default response has a 5xx status code

func (*EmsDestinationModifyDefault) IsSuccess

func (o *EmsDestinationModifyDefault) IsSuccess() bool

IsSuccess returns true when this ems destination modify default response has a 2xx status code

func (*EmsDestinationModifyDefault) String

func (o *EmsDestinationModifyDefault) String() string

type EmsDestinationModifyOK

type EmsDestinationModifyOK struct {
	Payload *models.EmsDestination
}

EmsDestinationModifyOK describes a response with status code 200, with default header values.

OK

func NewEmsDestinationModifyOK

func NewEmsDestinationModifyOK() *EmsDestinationModifyOK

NewEmsDestinationModifyOK creates a EmsDestinationModifyOK with default headers values

func (*EmsDestinationModifyOK) Code

func (o *EmsDestinationModifyOK) Code() int

Code gets the status code for the ems destination modify o k response

func (*EmsDestinationModifyOK) Error

func (o *EmsDestinationModifyOK) Error() string

func (*EmsDestinationModifyOK) GetPayload

func (o *EmsDestinationModifyOK) GetPayload() *models.EmsDestination

func (*EmsDestinationModifyOK) IsClientError

func (o *EmsDestinationModifyOK) IsClientError() bool

IsClientError returns true when this ems destination modify o k response has a 4xx status code

func (*EmsDestinationModifyOK) IsCode

func (o *EmsDestinationModifyOK) IsCode(code int) bool

IsCode returns true when this ems destination modify o k response a status code equal to that given

func (*EmsDestinationModifyOK) IsRedirect

func (o *EmsDestinationModifyOK) IsRedirect() bool

IsRedirect returns true when this ems destination modify o k response has a 3xx status code

func (*EmsDestinationModifyOK) IsServerError

func (o *EmsDestinationModifyOK) IsServerError() bool

IsServerError returns true when this ems destination modify o k response has a 5xx status code

func (*EmsDestinationModifyOK) IsSuccess

func (o *EmsDestinationModifyOK) IsSuccess() bool

IsSuccess returns true when this ems destination modify o k response has a 2xx status code

func (*EmsDestinationModifyOK) String

func (o *EmsDestinationModifyOK) String() string

type EmsDestinationModifyParams

type EmsDestinationModifyParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsDestination

	/* Name.

	   Destination name
	*/
	Name string

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

EmsDestinationModifyParams contains all the parameters to send to the API endpoint

for the ems destination modify operation.

Typically these are written to a http.Request.

func NewEmsDestinationModifyParams

func NewEmsDestinationModifyParams() *EmsDestinationModifyParams

NewEmsDestinationModifyParams creates a new EmsDestinationModifyParams 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 NewEmsDestinationModifyParamsWithContext

func NewEmsDestinationModifyParamsWithContext(ctx context.Context) *EmsDestinationModifyParams

NewEmsDestinationModifyParamsWithContext creates a new EmsDestinationModifyParams object with the ability to set a context for a request.

func NewEmsDestinationModifyParamsWithHTTPClient

func NewEmsDestinationModifyParamsWithHTTPClient(client *http.Client) *EmsDestinationModifyParams

NewEmsDestinationModifyParamsWithHTTPClient creates a new EmsDestinationModifyParams object with the ability to set a custom HTTPClient for a request.

func NewEmsDestinationModifyParamsWithTimeout

func NewEmsDestinationModifyParamsWithTimeout(timeout time.Duration) *EmsDestinationModifyParams

NewEmsDestinationModifyParamsWithTimeout creates a new EmsDestinationModifyParams object with the ability to set a timeout on a request.

func (*EmsDestinationModifyParams) SetContext

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

SetContext adds the context to the ems destination modify params

func (*EmsDestinationModifyParams) SetDefaults

func (o *EmsDestinationModifyParams) SetDefaults()

SetDefaults hydrates default values in the ems destination modify params (not the query body).

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

func (*EmsDestinationModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems destination modify params

func (*EmsDestinationModifyParams) SetInfo

SetInfo adds the info to the ems destination modify params

func (*EmsDestinationModifyParams) SetName

func (o *EmsDestinationModifyParams) SetName(name string)

SetName adds the name to the ems destination modify params

func (*EmsDestinationModifyParams) SetTimeout

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

SetTimeout adds the timeout to the ems destination modify params

func (*EmsDestinationModifyParams) WithContext

WithContext adds the context to the ems destination modify params

func (*EmsDestinationModifyParams) WithDefaults

WithDefaults hydrates default values in the ems destination modify params (not the query body).

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

func (*EmsDestinationModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems destination modify params

func (*EmsDestinationModifyParams) WithInfo

WithInfo adds the info to the ems destination modify params

func (*EmsDestinationModifyParams) WithName

WithName adds the name to the ems destination modify params

func (*EmsDestinationModifyParams) WithTimeout

WithTimeout adds the timeout to the ems destination modify params

func (*EmsDestinationModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsDestinationModifyReader

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

EmsDestinationModifyReader is a Reader for the EmsDestinationModify structure.

func (*EmsDestinationModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsEventCollectionGetDefault

type EmsEventCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsEventCollectionGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983093 | The provided filter is unknown. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsEventCollectionGetDefault

func NewEmsEventCollectionGetDefault(code int) *EmsEventCollectionGetDefault

NewEmsEventCollectionGetDefault creates a EmsEventCollectionGetDefault with default headers values

func (*EmsEventCollectionGetDefault) Code

Code gets the status code for the ems event collection get default response

func (*EmsEventCollectionGetDefault) Error

func (*EmsEventCollectionGetDefault) GetPayload

func (*EmsEventCollectionGetDefault) IsClientError

func (o *EmsEventCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems event collection get default response has a 4xx status code

func (*EmsEventCollectionGetDefault) IsCode

func (o *EmsEventCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this ems event collection get default response a status code equal to that given

func (*EmsEventCollectionGetDefault) IsRedirect

func (o *EmsEventCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems event collection get default response has a 3xx status code

func (*EmsEventCollectionGetDefault) IsServerError

func (o *EmsEventCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems event collection get default response has a 5xx status code

func (*EmsEventCollectionGetDefault) IsSuccess

func (o *EmsEventCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this ems event collection get default response has a 2xx status code

func (*EmsEventCollectionGetDefault) String

type EmsEventCollectionGetOK

type EmsEventCollectionGetOK struct {
	Payload *models.EmsEventResponse
}

EmsEventCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsEventCollectionGetOK

func NewEmsEventCollectionGetOK() *EmsEventCollectionGetOK

NewEmsEventCollectionGetOK creates a EmsEventCollectionGetOK with default headers values

func (*EmsEventCollectionGetOK) Code

func (o *EmsEventCollectionGetOK) Code() int

Code gets the status code for the ems event collection get o k response

func (*EmsEventCollectionGetOK) Error

func (o *EmsEventCollectionGetOK) Error() string

func (*EmsEventCollectionGetOK) GetPayload

func (*EmsEventCollectionGetOK) IsClientError

func (o *EmsEventCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems event collection get o k response has a 4xx status code

func (*EmsEventCollectionGetOK) IsCode

func (o *EmsEventCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems event collection get o k response a status code equal to that given

func (*EmsEventCollectionGetOK) IsRedirect

func (o *EmsEventCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems event collection get o k response has a 3xx status code

func (*EmsEventCollectionGetOK) IsServerError

func (o *EmsEventCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems event collection get o k response has a 5xx status code

func (*EmsEventCollectionGetOK) IsSuccess

func (o *EmsEventCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems event collection get o k response has a 2xx status code

func (*EmsEventCollectionGetOK) String

func (o *EmsEventCollectionGetOK) String() string

type EmsEventCollectionGetParams

type EmsEventCollectionGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* FilterName.

	   Filter the collection returned using an event filter
	*/
	FilterName *string

	/* Index.

	   Filter by index
	*/
	Index *int64

	/* LogMessage.

	   Filter by log_message
	*/
	LogMessage *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* MessageName.

	   Filter by message.name
	*/
	MessageName *string

	/* MessageSeverity.

	   Filter by message.severity
	*/
	MessageSeverity *string

	/* NodeName.

	   Filter by node.name
	*/
	NodeName *string

	/* NodeUUID.

	   Filter by node.uuid
	*/
	NodeUUID *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ParametersName.

	   Filter by parameters.name
	*/
	ParametersName *string

	/* ParametersValue.

	   Filter by parameters.value
	*/
	ParametersValue *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Source.

	   Filter by source
	*/
	Source *string

	/* Time.

	   Filter by time
	*/
	Time *string

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

EmsEventCollectionGetParams contains all the parameters to send to the API endpoint

for the ems event collection get operation.

Typically these are written to a http.Request.

func NewEmsEventCollectionGetParams

func NewEmsEventCollectionGetParams() *EmsEventCollectionGetParams

NewEmsEventCollectionGetParams creates a new EmsEventCollectionGetParams 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 NewEmsEventCollectionGetParamsWithContext

func NewEmsEventCollectionGetParamsWithContext(ctx context.Context) *EmsEventCollectionGetParams

NewEmsEventCollectionGetParamsWithContext creates a new EmsEventCollectionGetParams object with the ability to set a context for a request.

func NewEmsEventCollectionGetParamsWithHTTPClient

func NewEmsEventCollectionGetParamsWithHTTPClient(client *http.Client) *EmsEventCollectionGetParams

NewEmsEventCollectionGetParamsWithHTTPClient creates a new EmsEventCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsEventCollectionGetParamsWithTimeout

func NewEmsEventCollectionGetParamsWithTimeout(timeout time.Duration) *EmsEventCollectionGetParams

NewEmsEventCollectionGetParamsWithTimeout creates a new EmsEventCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsEventCollectionGetParams) SetContext

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

SetContext adds the context to the ems event collection get params

func (*EmsEventCollectionGetParams) SetDefaults

func (o *EmsEventCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems event collection get params (not the query body).

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

func (*EmsEventCollectionGetParams) SetFields

func (o *EmsEventCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems event collection get params

func (*EmsEventCollectionGetParams) SetFilterName

func (o *EmsEventCollectionGetParams) SetFilterName(filterName *string)

SetFilterName adds the filterName to the ems event collection get params

func (*EmsEventCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems event collection get params

func (*EmsEventCollectionGetParams) SetIndex

func (o *EmsEventCollectionGetParams) SetIndex(index *int64)

SetIndex adds the index to the ems event collection get params

func (*EmsEventCollectionGetParams) SetLogMessage

func (o *EmsEventCollectionGetParams) SetLogMessage(logMessage *string)

SetLogMessage adds the logMessage to the ems event collection get params

func (*EmsEventCollectionGetParams) SetMaxRecords

func (o *EmsEventCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems event collection get params

func (*EmsEventCollectionGetParams) SetMessageName

func (o *EmsEventCollectionGetParams) SetMessageName(messageName *string)

SetMessageName adds the messageName to the ems event collection get params

func (*EmsEventCollectionGetParams) SetMessageSeverity

func (o *EmsEventCollectionGetParams) SetMessageSeverity(messageSeverity *string)

SetMessageSeverity adds the messageSeverity to the ems event collection get params

func (*EmsEventCollectionGetParams) SetNodeName

func (o *EmsEventCollectionGetParams) SetNodeName(nodeName *string)

SetNodeName adds the nodeName to the ems event collection get params

func (*EmsEventCollectionGetParams) SetNodeUUID

func (o *EmsEventCollectionGetParams) SetNodeUUID(nodeUUID *string)

SetNodeUUID adds the nodeUuid to the ems event collection get params

func (*EmsEventCollectionGetParams) SetOrderBy

func (o *EmsEventCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems event collection get params

func (*EmsEventCollectionGetParams) SetParametersName

func (o *EmsEventCollectionGetParams) SetParametersName(parametersName *string)

SetParametersName adds the parametersName to the ems event collection get params

func (*EmsEventCollectionGetParams) SetParametersValue

func (o *EmsEventCollectionGetParams) SetParametersValue(parametersValue *string)

SetParametersValue adds the parametersValue to the ems event collection get params

func (*EmsEventCollectionGetParams) SetReturnRecords

func (o *EmsEventCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems event collection get params

func (*EmsEventCollectionGetParams) SetReturnTimeout

func (o *EmsEventCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems event collection get params

func (*EmsEventCollectionGetParams) SetSource

func (o *EmsEventCollectionGetParams) SetSource(source *string)

SetSource adds the source to the ems event collection get params

func (*EmsEventCollectionGetParams) SetTime

func (o *EmsEventCollectionGetParams) SetTime(time *string)

SetTime adds the time to the ems event collection get params

func (*EmsEventCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems event collection get params

func (*EmsEventCollectionGetParams) WithContext

WithContext adds the context to the ems event collection get params

func (*EmsEventCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems event collection get params (not the query body).

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

func (*EmsEventCollectionGetParams) WithFields

WithFields adds the fields to the ems event collection get params

func (*EmsEventCollectionGetParams) WithFilterName

func (o *EmsEventCollectionGetParams) WithFilterName(filterName *string) *EmsEventCollectionGetParams

WithFilterName adds the filterName to the ems event collection get params

func (*EmsEventCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems event collection get params

func (*EmsEventCollectionGetParams) WithIndex

WithIndex adds the index to the ems event collection get params

func (*EmsEventCollectionGetParams) WithLogMessage

func (o *EmsEventCollectionGetParams) WithLogMessage(logMessage *string) *EmsEventCollectionGetParams

WithLogMessage adds the logMessage to the ems event collection get params

func (*EmsEventCollectionGetParams) WithMaxRecords

func (o *EmsEventCollectionGetParams) WithMaxRecords(maxRecords *int64) *EmsEventCollectionGetParams

WithMaxRecords adds the maxRecords to the ems event collection get params

func (*EmsEventCollectionGetParams) WithMessageName

func (o *EmsEventCollectionGetParams) WithMessageName(messageName *string) *EmsEventCollectionGetParams

WithMessageName adds the messageName to the ems event collection get params

func (*EmsEventCollectionGetParams) WithMessageSeverity

func (o *EmsEventCollectionGetParams) WithMessageSeverity(messageSeverity *string) *EmsEventCollectionGetParams

WithMessageSeverity adds the messageSeverity to the ems event collection get params

func (*EmsEventCollectionGetParams) WithNodeName

WithNodeName adds the nodeName to the ems event collection get params

func (*EmsEventCollectionGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the ems event collection get params

func (*EmsEventCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems event collection get params

func (*EmsEventCollectionGetParams) WithParametersName

func (o *EmsEventCollectionGetParams) WithParametersName(parametersName *string) *EmsEventCollectionGetParams

WithParametersName adds the parametersName to the ems event collection get params

func (*EmsEventCollectionGetParams) WithParametersValue

func (o *EmsEventCollectionGetParams) WithParametersValue(parametersValue *string) *EmsEventCollectionGetParams

WithParametersValue adds the parametersValue to the ems event collection get params

func (*EmsEventCollectionGetParams) WithReturnRecords

func (o *EmsEventCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsEventCollectionGetParams

WithReturnRecords adds the returnRecords to the ems event collection get params

func (*EmsEventCollectionGetParams) WithReturnTimeout

func (o *EmsEventCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsEventCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems event collection get params

func (*EmsEventCollectionGetParams) WithSource

WithSource adds the source to the ems event collection get params

func (*EmsEventCollectionGetParams) WithTime

WithTime adds the time to the ems event collection get params

func (*EmsEventCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems event collection get params

func (*EmsEventCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsEventCollectionGetReader

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

EmsEventCollectionGetReader is a Reader for the EmsEventCollectionGet structure.

func (*EmsEventCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterCollectionGetDefault

type EmsFilterCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsFilterCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsFilterCollectionGetDefault

func NewEmsFilterCollectionGetDefault(code int) *EmsFilterCollectionGetDefault

NewEmsFilterCollectionGetDefault creates a EmsFilterCollectionGetDefault with default headers values

func (*EmsFilterCollectionGetDefault) Code

Code gets the status code for the ems filter collection get default response

func (*EmsFilterCollectionGetDefault) Error

func (*EmsFilterCollectionGetDefault) GetPayload

func (*EmsFilterCollectionGetDefault) IsClientError

func (o *EmsFilterCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems filter collection get default response has a 4xx status code

func (*EmsFilterCollectionGetDefault) IsCode

func (o *EmsFilterCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this ems filter collection get default response a status code equal to that given

func (*EmsFilterCollectionGetDefault) IsRedirect

func (o *EmsFilterCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems filter collection get default response has a 3xx status code

func (*EmsFilterCollectionGetDefault) IsServerError

func (o *EmsFilterCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems filter collection get default response has a 5xx status code

func (*EmsFilterCollectionGetDefault) IsSuccess

func (o *EmsFilterCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this ems filter collection get default response has a 2xx status code

func (*EmsFilterCollectionGetDefault) String

type EmsFilterCollectionGetOK

type EmsFilterCollectionGetOK struct {
	Payload *models.EmsFilterResponse
}

EmsFilterCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterCollectionGetOK

func NewEmsFilterCollectionGetOK() *EmsFilterCollectionGetOK

NewEmsFilterCollectionGetOK creates a EmsFilterCollectionGetOK with default headers values

func (*EmsFilterCollectionGetOK) Code

func (o *EmsFilterCollectionGetOK) Code() int

Code gets the status code for the ems filter collection get o k response

func (*EmsFilterCollectionGetOK) Error

func (o *EmsFilterCollectionGetOK) Error() string

func (*EmsFilterCollectionGetOK) GetPayload

func (*EmsFilterCollectionGetOK) IsClientError

func (o *EmsFilterCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems filter collection get o k response has a 4xx status code

func (*EmsFilterCollectionGetOK) IsCode

func (o *EmsFilterCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems filter collection get o k response a status code equal to that given

func (*EmsFilterCollectionGetOK) IsRedirect

func (o *EmsFilterCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems filter collection get o k response has a 3xx status code

func (*EmsFilterCollectionGetOK) IsServerError

func (o *EmsFilterCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems filter collection get o k response has a 5xx status code

func (*EmsFilterCollectionGetOK) IsSuccess

func (o *EmsFilterCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems filter collection get o k response has a 2xx status code

func (*EmsFilterCollectionGetOK) String

func (o *EmsFilterCollectionGetOK) String() string

type EmsFilterCollectionGetParams

type EmsFilterCollectionGetParams struct {

	/* AccessControlRoleName.

	   Filter by access_control_role.name
	*/
	AccessControlRoleName *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* RulesIndex.

	   Filter by rules.index
	*/
	RulesIndex *int64

	/* RulesMessageCriteriaNamePattern.

	   Filter by rules.message_criteria.name_pattern
	*/
	RulesMessageCriteriaNamePattern *string

	/* RulesMessageCriteriaSeverities.

	   Filter by rules.message_criteria.severities
	*/
	RulesMessageCriteriaSeverities *string

	/* RulesMessageCriteriaSnmpTrapTypes.

	   Filter by rules.message_criteria.snmp_trap_types
	*/
	RulesMessageCriteriaSnmpTrapTypes *string

	/* RulesParameterCriteriaNamePattern.

	   Filter by rules.parameter_criteria.name_pattern
	*/
	RulesParameterCriteriaNamePattern *string

	/* RulesParameterCriteriaValuePattern.

	   Filter by rules.parameter_criteria.value_pattern
	*/
	RulesParameterCriteriaValuePattern *string

	/* RulesType.

	   Filter by rules.type
	*/
	RulesType *string

	/* SystemDefined.

	   Filter by system_defined
	*/
	SystemDefined *bool

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

EmsFilterCollectionGetParams contains all the parameters to send to the API endpoint

for the ems filter collection get operation.

Typically these are written to a http.Request.

func NewEmsFilterCollectionGetParams

func NewEmsFilterCollectionGetParams() *EmsFilterCollectionGetParams

NewEmsFilterCollectionGetParams creates a new EmsFilterCollectionGetParams 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 NewEmsFilterCollectionGetParamsWithContext

func NewEmsFilterCollectionGetParamsWithContext(ctx context.Context) *EmsFilterCollectionGetParams

NewEmsFilterCollectionGetParamsWithContext creates a new EmsFilterCollectionGetParams object with the ability to set a context for a request.

func NewEmsFilterCollectionGetParamsWithHTTPClient

func NewEmsFilterCollectionGetParamsWithHTTPClient(client *http.Client) *EmsFilterCollectionGetParams

NewEmsFilterCollectionGetParamsWithHTTPClient creates a new EmsFilterCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterCollectionGetParamsWithTimeout

func NewEmsFilterCollectionGetParamsWithTimeout(timeout time.Duration) *EmsFilterCollectionGetParams

NewEmsFilterCollectionGetParamsWithTimeout creates a new EmsFilterCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsFilterCollectionGetParams) SetAccessControlRoleName

func (o *EmsFilterCollectionGetParams) SetAccessControlRoleName(accessControlRoleName *string)

SetAccessControlRoleName adds the accessControlRoleName to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetContext

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

SetContext adds the context to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetDefaults

func (o *EmsFilterCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems filter collection get params (not the query body).

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

func (*EmsFilterCollectionGetParams) SetFields

func (o *EmsFilterCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetMaxRecords

func (o *EmsFilterCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetName

func (o *EmsFilterCollectionGetParams) SetName(name *string)

SetName adds the name to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetOrderBy

func (o *EmsFilterCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetReturnRecords

func (o *EmsFilterCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetReturnTimeout

func (o *EmsFilterCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesIndex

func (o *EmsFilterCollectionGetParams) SetRulesIndex(rulesIndex *int64)

SetRulesIndex adds the rulesIndex to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesMessageCriteriaNamePattern

func (o *EmsFilterCollectionGetParams) SetRulesMessageCriteriaNamePattern(rulesMessageCriteriaNamePattern *string)

SetRulesMessageCriteriaNamePattern adds the rulesMessageCriteriaNamePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesMessageCriteriaSeverities

func (o *EmsFilterCollectionGetParams) SetRulesMessageCriteriaSeverities(rulesMessageCriteriaSeverities *string)

SetRulesMessageCriteriaSeverities adds the rulesMessageCriteriaSeverities to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesMessageCriteriaSnmpTrapTypes

func (o *EmsFilterCollectionGetParams) SetRulesMessageCriteriaSnmpTrapTypes(rulesMessageCriteriaSnmpTrapTypes *string)

SetRulesMessageCriteriaSnmpTrapTypes adds the rulesMessageCriteriaSnmpTrapTypes to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesParameterCriteriaNamePattern

func (o *EmsFilterCollectionGetParams) SetRulesParameterCriteriaNamePattern(rulesParameterCriteriaNamePattern *string)

SetRulesParameterCriteriaNamePattern adds the rulesParameterCriteriaNamePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesParameterCriteriaValuePattern

func (o *EmsFilterCollectionGetParams) SetRulesParameterCriteriaValuePattern(rulesParameterCriteriaValuePattern *string)

SetRulesParameterCriteriaValuePattern adds the rulesParameterCriteriaValuePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetRulesType

func (o *EmsFilterCollectionGetParams) SetRulesType(rulesType *string)

SetRulesType adds the rulesType to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetSystemDefined

func (o *EmsFilterCollectionGetParams) SetSystemDefined(systemDefined *bool)

SetSystemDefined adds the systemDefined to the ems filter collection get params

func (*EmsFilterCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithAccessControlRoleName

func (o *EmsFilterCollectionGetParams) WithAccessControlRoleName(accessControlRoleName *string) *EmsFilterCollectionGetParams

WithAccessControlRoleName adds the accessControlRoleName to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithContext

WithContext adds the context to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems filter collection get params (not the query body).

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

func (*EmsFilterCollectionGetParams) WithFields

WithFields adds the fields to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithMaxRecords

func (o *EmsFilterCollectionGetParams) WithMaxRecords(maxRecords *int64) *EmsFilterCollectionGetParams

WithMaxRecords adds the maxRecords to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithName

WithName adds the name to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithReturnRecords

func (o *EmsFilterCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsFilterCollectionGetParams

WithReturnRecords adds the returnRecords to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithReturnTimeout

func (o *EmsFilterCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsFilterCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesIndex

func (o *EmsFilterCollectionGetParams) WithRulesIndex(rulesIndex *int64) *EmsFilterCollectionGetParams

WithRulesIndex adds the rulesIndex to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesMessageCriteriaNamePattern

func (o *EmsFilterCollectionGetParams) WithRulesMessageCriteriaNamePattern(rulesMessageCriteriaNamePattern *string) *EmsFilterCollectionGetParams

WithRulesMessageCriteriaNamePattern adds the rulesMessageCriteriaNamePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesMessageCriteriaSeverities

func (o *EmsFilterCollectionGetParams) WithRulesMessageCriteriaSeverities(rulesMessageCriteriaSeverities *string) *EmsFilterCollectionGetParams

WithRulesMessageCriteriaSeverities adds the rulesMessageCriteriaSeverities to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesMessageCriteriaSnmpTrapTypes

func (o *EmsFilterCollectionGetParams) WithRulesMessageCriteriaSnmpTrapTypes(rulesMessageCriteriaSnmpTrapTypes *string) *EmsFilterCollectionGetParams

WithRulesMessageCriteriaSnmpTrapTypes adds the rulesMessageCriteriaSnmpTrapTypes to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesParameterCriteriaNamePattern

func (o *EmsFilterCollectionGetParams) WithRulesParameterCriteriaNamePattern(rulesParameterCriteriaNamePattern *string) *EmsFilterCollectionGetParams

WithRulesParameterCriteriaNamePattern adds the rulesParameterCriteriaNamePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesParameterCriteriaValuePattern

func (o *EmsFilterCollectionGetParams) WithRulesParameterCriteriaValuePattern(rulesParameterCriteriaValuePattern *string) *EmsFilterCollectionGetParams

WithRulesParameterCriteriaValuePattern adds the rulesParameterCriteriaValuePattern to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithRulesType

WithRulesType adds the rulesType to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithSystemDefined

func (o *EmsFilterCollectionGetParams) WithSystemDefined(systemDefined *bool) *EmsFilterCollectionGetParams

WithSystemDefined adds the systemDefined to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems filter collection get params

func (*EmsFilterCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFilterCollectionGetReader

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

EmsFilterCollectionGetReader is a Reader for the EmsFilterCollectionGet structure.

func (*EmsFilterCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterCreateCreated

type EmsFilterCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.EmsFilterResponse
}

EmsFilterCreateCreated describes a response with status code 201, with default header values.

Created

func NewEmsFilterCreateCreated

func NewEmsFilterCreateCreated() *EmsFilterCreateCreated

NewEmsFilterCreateCreated creates a EmsFilterCreateCreated with default headers values

func (*EmsFilterCreateCreated) Code

func (o *EmsFilterCreateCreated) Code() int

Code gets the status code for the ems filter create created response

func (*EmsFilterCreateCreated) Error

func (o *EmsFilterCreateCreated) Error() string

func (*EmsFilterCreateCreated) GetPayload

func (*EmsFilterCreateCreated) IsClientError

func (o *EmsFilterCreateCreated) IsClientError() bool

IsClientError returns true when this ems filter create created response has a 4xx status code

func (*EmsFilterCreateCreated) IsCode

func (o *EmsFilterCreateCreated) IsCode(code int) bool

IsCode returns true when this ems filter create created response a status code equal to that given

func (*EmsFilterCreateCreated) IsRedirect

func (o *EmsFilterCreateCreated) IsRedirect() bool

IsRedirect returns true when this ems filter create created response has a 3xx status code

func (*EmsFilterCreateCreated) IsServerError

func (o *EmsFilterCreateCreated) IsServerError() bool

IsServerError returns true when this ems filter create created response has a 5xx status code

func (*EmsFilterCreateCreated) IsSuccess

func (o *EmsFilterCreateCreated) IsSuccess() bool

IsSuccess returns true when this ems filter create created response has a 2xx status code

func (*EmsFilterCreateCreated) String

func (o *EmsFilterCreateCreated) String() string

type EmsFilterCreateDefault

type EmsFilterCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFilterCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983088 | The filter name provided is empty | | 983089 | The filter name provided cannot contain spaces | | 983092 | The index of the rule provided is outside the allowed range for the filter provided | | 983094 | The filter name provided is invalid. The filter name must contain between 2 and 64 characters and start and end with an alphanumeric symbol or (underscore). The allowed special characters are (underscore) and -(hyphen) | | 983095 | The rule index provided is invalid for the filter provided | | 983101 | No event is matched by the rule provided | | 983113 | Default filters cannot be modified or removed | | 983114 | The maximum number of filters is reached | | 983115 | The maximum number of filter rules is reached | | 983126 | A rule requires at least one name_pattern, severities, snmp_trap_types, or parameter pattern to be defined | | 983127 | A property cannot contain a combination of the wildcard character and other values | | 983128 | An invalid value is provided for the property 'snmp_trap_types' | | 983146 | An invalid value is provided for the property 'severities' | | 983147 | The severities provided are not supported | | 983155 | The provided severities property does not match that of the name_pattern | | 983156 | The provided snmp_trap_types property does not match that of the name_pattern | | 983157 | The provided severities and snmp_trap_types properties do not match those of the name_pattern | | 983158 | The name_pattern provided does not exist | | 983195 | Empty field in parameter_criteria. Both name and value patterns must be specified | | 983196 | name_pattern and value_pattern fields in parameter_criteria are empty | | 983211 | Parameter criteria based filtering is not supported in this version of ONTAP | | 983216 | The provided parameter criteria does not match that of the message name | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFilterCreateDefault

func NewEmsFilterCreateDefault(code int) *EmsFilterCreateDefault

NewEmsFilterCreateDefault creates a EmsFilterCreateDefault with default headers values

func (*EmsFilterCreateDefault) Code

func (o *EmsFilterCreateDefault) Code() int

Code gets the status code for the ems filter create default response

func (*EmsFilterCreateDefault) Error

func (o *EmsFilterCreateDefault) Error() string

func (*EmsFilterCreateDefault) GetPayload

func (o *EmsFilterCreateDefault) GetPayload() *models.ErrorResponse

func (*EmsFilterCreateDefault) IsClientError

func (o *EmsFilterCreateDefault) IsClientError() bool

IsClientError returns true when this ems filter create default response has a 4xx status code

func (*EmsFilterCreateDefault) IsCode

func (o *EmsFilterCreateDefault) IsCode(code int) bool

IsCode returns true when this ems filter create default response a status code equal to that given

func (*EmsFilterCreateDefault) IsRedirect

func (o *EmsFilterCreateDefault) IsRedirect() bool

IsRedirect returns true when this ems filter create default response has a 3xx status code

func (*EmsFilterCreateDefault) IsServerError

func (o *EmsFilterCreateDefault) IsServerError() bool

IsServerError returns true when this ems filter create default response has a 5xx status code

func (*EmsFilterCreateDefault) IsSuccess

func (o *EmsFilterCreateDefault) IsSuccess() bool

IsSuccess returns true when this ems filter create default response has a 2xx status code

func (*EmsFilterCreateDefault) String

func (o *EmsFilterCreateDefault) String() string

type EmsFilterCreateParams

type EmsFilterCreateParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsFilter

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

EmsFilterCreateParams contains all the parameters to send to the API endpoint

for the ems filter create operation.

Typically these are written to a http.Request.

func NewEmsFilterCreateParams

func NewEmsFilterCreateParams() *EmsFilterCreateParams

NewEmsFilterCreateParams creates a new EmsFilterCreateParams 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 NewEmsFilterCreateParamsWithContext

func NewEmsFilterCreateParamsWithContext(ctx context.Context) *EmsFilterCreateParams

NewEmsFilterCreateParamsWithContext creates a new EmsFilterCreateParams object with the ability to set a context for a request.

func NewEmsFilterCreateParamsWithHTTPClient

func NewEmsFilterCreateParamsWithHTTPClient(client *http.Client) *EmsFilterCreateParams

NewEmsFilterCreateParamsWithHTTPClient creates a new EmsFilterCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterCreateParamsWithTimeout

func NewEmsFilterCreateParamsWithTimeout(timeout time.Duration) *EmsFilterCreateParams

NewEmsFilterCreateParamsWithTimeout creates a new EmsFilterCreateParams object with the ability to set a timeout on a request.

func (*EmsFilterCreateParams) SetContext

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

SetContext adds the context to the ems filter create params

func (*EmsFilterCreateParams) SetDefaults

func (o *EmsFilterCreateParams) SetDefaults()

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

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

func (*EmsFilterCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter create params

func (*EmsFilterCreateParams) SetInfo

func (o *EmsFilterCreateParams) SetInfo(info *models.EmsFilter)

SetInfo adds the info to the ems filter create params

func (*EmsFilterCreateParams) SetReturnRecords

func (o *EmsFilterCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems filter create params

func (*EmsFilterCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter create params

func (*EmsFilterCreateParams) WithContext

WithContext adds the context to the ems filter create params

func (*EmsFilterCreateParams) WithDefaults

func (o *EmsFilterCreateParams) WithDefaults() *EmsFilterCreateParams

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

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

func (*EmsFilterCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter create params

func (*EmsFilterCreateParams) WithInfo

WithInfo adds the info to the ems filter create params

func (*EmsFilterCreateParams) WithReturnRecords

func (o *EmsFilterCreateParams) WithReturnRecords(returnRecords *bool) *EmsFilterCreateParams

WithReturnRecords adds the returnRecords to the ems filter create params

func (*EmsFilterCreateParams) WithTimeout

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

WithTimeout adds the timeout to the ems filter create params

func (*EmsFilterCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsFilterCreateReader

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

EmsFilterCreateReader is a Reader for the EmsFilterCreate structure.

func (*EmsFilterCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterDeleteDefault

type EmsFilterDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFilterDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983113 | Default filters cannot be modified or removed | | 983124 | Filter is being referenced by a destination | | 983204 | Filter is being used for role-based operations | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFilterDeleteDefault

func NewEmsFilterDeleteDefault(code int) *EmsFilterDeleteDefault

NewEmsFilterDeleteDefault creates a EmsFilterDeleteDefault with default headers values

func (*EmsFilterDeleteDefault) Code

func (o *EmsFilterDeleteDefault) Code() int

Code gets the status code for the ems filter delete default response

func (*EmsFilterDeleteDefault) Error

func (o *EmsFilterDeleteDefault) Error() string

func (*EmsFilterDeleteDefault) GetPayload

func (o *EmsFilterDeleteDefault) GetPayload() *models.ErrorResponse

func (*EmsFilterDeleteDefault) IsClientError

func (o *EmsFilterDeleteDefault) IsClientError() bool

IsClientError returns true when this ems filter delete default response has a 4xx status code

func (*EmsFilterDeleteDefault) IsCode

func (o *EmsFilterDeleteDefault) IsCode(code int) bool

IsCode returns true when this ems filter delete default response a status code equal to that given

func (*EmsFilterDeleteDefault) IsRedirect

func (o *EmsFilterDeleteDefault) IsRedirect() bool

IsRedirect returns true when this ems filter delete default response has a 3xx status code

func (*EmsFilterDeleteDefault) IsServerError

func (o *EmsFilterDeleteDefault) IsServerError() bool

IsServerError returns true when this ems filter delete default response has a 5xx status code

func (*EmsFilterDeleteDefault) IsSuccess

func (o *EmsFilterDeleteDefault) IsSuccess() bool

IsSuccess returns true when this ems filter delete default response has a 2xx status code

func (*EmsFilterDeleteDefault) String

func (o *EmsFilterDeleteDefault) String() string

type EmsFilterDeleteOK

type EmsFilterDeleteOK struct {
}

EmsFilterDeleteOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterDeleteOK

func NewEmsFilterDeleteOK() *EmsFilterDeleteOK

NewEmsFilterDeleteOK creates a EmsFilterDeleteOK with default headers values

func (*EmsFilterDeleteOK) Code

func (o *EmsFilterDeleteOK) Code() int

Code gets the status code for the ems filter delete o k response

func (*EmsFilterDeleteOK) Error

func (o *EmsFilterDeleteOK) Error() string

func (*EmsFilterDeleteOK) IsClientError

func (o *EmsFilterDeleteOK) IsClientError() bool

IsClientError returns true when this ems filter delete o k response has a 4xx status code

func (*EmsFilterDeleteOK) IsCode

func (o *EmsFilterDeleteOK) IsCode(code int) bool

IsCode returns true when this ems filter delete o k response a status code equal to that given

func (*EmsFilterDeleteOK) IsRedirect

func (o *EmsFilterDeleteOK) IsRedirect() bool

IsRedirect returns true when this ems filter delete o k response has a 3xx status code

func (*EmsFilterDeleteOK) IsServerError

func (o *EmsFilterDeleteOK) IsServerError() bool

IsServerError returns true when this ems filter delete o k response has a 5xx status code

func (*EmsFilterDeleteOK) IsSuccess

func (o *EmsFilterDeleteOK) IsSuccess() bool

IsSuccess returns true when this ems filter delete o k response has a 2xx status code

func (*EmsFilterDeleteOK) String

func (o *EmsFilterDeleteOK) String() string

type EmsFilterDeleteParams

type EmsFilterDeleteParams struct {

	/* Name.

	   Filter name
	*/
	Name string

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

EmsFilterDeleteParams contains all the parameters to send to the API endpoint

for the ems filter delete operation.

Typically these are written to a http.Request.

func NewEmsFilterDeleteParams

func NewEmsFilterDeleteParams() *EmsFilterDeleteParams

NewEmsFilterDeleteParams creates a new EmsFilterDeleteParams 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 NewEmsFilterDeleteParamsWithContext

func NewEmsFilterDeleteParamsWithContext(ctx context.Context) *EmsFilterDeleteParams

NewEmsFilterDeleteParamsWithContext creates a new EmsFilterDeleteParams object with the ability to set a context for a request.

func NewEmsFilterDeleteParamsWithHTTPClient

func NewEmsFilterDeleteParamsWithHTTPClient(client *http.Client) *EmsFilterDeleteParams

NewEmsFilterDeleteParamsWithHTTPClient creates a new EmsFilterDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterDeleteParamsWithTimeout

func NewEmsFilterDeleteParamsWithTimeout(timeout time.Duration) *EmsFilterDeleteParams

NewEmsFilterDeleteParamsWithTimeout creates a new EmsFilterDeleteParams object with the ability to set a timeout on a request.

func (*EmsFilterDeleteParams) SetContext

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

SetContext adds the context to the ems filter delete params

func (*EmsFilterDeleteParams) SetDefaults

func (o *EmsFilterDeleteParams) SetDefaults()

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

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

func (*EmsFilterDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter delete params

func (*EmsFilterDeleteParams) SetName

func (o *EmsFilterDeleteParams) SetName(name string)

SetName adds the name to the ems filter delete params

func (*EmsFilterDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter delete params

func (*EmsFilterDeleteParams) WithContext

WithContext adds the context to the ems filter delete params

func (*EmsFilterDeleteParams) WithDefaults

func (o *EmsFilterDeleteParams) WithDefaults() *EmsFilterDeleteParams

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

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

func (*EmsFilterDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter delete params

func (*EmsFilterDeleteParams) WithName

WithName adds the name to the ems filter delete params

func (*EmsFilterDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the ems filter delete params

func (*EmsFilterDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsFilterDeleteReader

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

EmsFilterDeleteReader is a Reader for the EmsFilterDelete structure.

func (*EmsFilterDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterGetDefault

type EmsFilterGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsFilterGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsFilterGetDefault

func NewEmsFilterGetDefault(code int) *EmsFilterGetDefault

NewEmsFilterGetDefault creates a EmsFilterGetDefault with default headers values

func (*EmsFilterGetDefault) Code

func (o *EmsFilterGetDefault) Code() int

Code gets the status code for the ems filter get default response

func (*EmsFilterGetDefault) Error

func (o *EmsFilterGetDefault) Error() string

func (*EmsFilterGetDefault) GetPayload

func (o *EmsFilterGetDefault) GetPayload() *models.ErrorResponse

func (*EmsFilterGetDefault) IsClientError

func (o *EmsFilterGetDefault) IsClientError() bool

IsClientError returns true when this ems filter get default response has a 4xx status code

func (*EmsFilterGetDefault) IsCode

func (o *EmsFilterGetDefault) IsCode(code int) bool

IsCode returns true when this ems filter get default response a status code equal to that given

func (*EmsFilterGetDefault) IsRedirect

func (o *EmsFilterGetDefault) IsRedirect() bool

IsRedirect returns true when this ems filter get default response has a 3xx status code

func (*EmsFilterGetDefault) IsServerError

func (o *EmsFilterGetDefault) IsServerError() bool

IsServerError returns true when this ems filter get default response has a 5xx status code

func (*EmsFilterGetDefault) IsSuccess

func (o *EmsFilterGetDefault) IsSuccess() bool

IsSuccess returns true when this ems filter get default response has a 2xx status code

func (*EmsFilterGetDefault) String

func (o *EmsFilterGetDefault) String() string

type EmsFilterGetOK

type EmsFilterGetOK struct {
	Payload *models.EmsFilter
}

EmsFilterGetOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterGetOK

func NewEmsFilterGetOK() *EmsFilterGetOK

NewEmsFilterGetOK creates a EmsFilterGetOK with default headers values

func (*EmsFilterGetOK) Code

func (o *EmsFilterGetOK) Code() int

Code gets the status code for the ems filter get o k response

func (*EmsFilterGetOK) Error

func (o *EmsFilterGetOK) Error() string

func (*EmsFilterGetOK) GetPayload

func (o *EmsFilterGetOK) GetPayload() *models.EmsFilter

func (*EmsFilterGetOK) IsClientError

func (o *EmsFilterGetOK) IsClientError() bool

IsClientError returns true when this ems filter get o k response has a 4xx status code

func (*EmsFilterGetOK) IsCode

func (o *EmsFilterGetOK) IsCode(code int) bool

IsCode returns true when this ems filter get o k response a status code equal to that given

func (*EmsFilterGetOK) IsRedirect

func (o *EmsFilterGetOK) IsRedirect() bool

IsRedirect returns true when this ems filter get o k response has a 3xx status code

func (*EmsFilterGetOK) IsServerError

func (o *EmsFilterGetOK) IsServerError() bool

IsServerError returns true when this ems filter get o k response has a 5xx status code

func (*EmsFilterGetOK) IsSuccess

func (o *EmsFilterGetOK) IsSuccess() bool

IsSuccess returns true when this ems filter get o k response has a 2xx status code

func (*EmsFilterGetOK) String

func (o *EmsFilterGetOK) String() string

type EmsFilterGetParams

type EmsFilterGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   Filter name
	*/
	Name string

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

EmsFilterGetParams contains all the parameters to send to the API endpoint

for the ems filter get operation.

Typically these are written to a http.Request.

func NewEmsFilterGetParams

func NewEmsFilterGetParams() *EmsFilterGetParams

NewEmsFilterGetParams creates a new EmsFilterGetParams 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 NewEmsFilterGetParamsWithContext

func NewEmsFilterGetParamsWithContext(ctx context.Context) *EmsFilterGetParams

NewEmsFilterGetParamsWithContext creates a new EmsFilterGetParams object with the ability to set a context for a request.

func NewEmsFilterGetParamsWithHTTPClient

func NewEmsFilterGetParamsWithHTTPClient(client *http.Client) *EmsFilterGetParams

NewEmsFilterGetParamsWithHTTPClient creates a new EmsFilterGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterGetParamsWithTimeout

func NewEmsFilterGetParamsWithTimeout(timeout time.Duration) *EmsFilterGetParams

NewEmsFilterGetParamsWithTimeout creates a new EmsFilterGetParams object with the ability to set a timeout on a request.

func (*EmsFilterGetParams) SetContext

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

SetContext adds the context to the ems filter get params

func (*EmsFilterGetParams) SetDefaults

func (o *EmsFilterGetParams) SetDefaults()

SetDefaults hydrates default values in the ems filter get params (not the query body).

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

func (*EmsFilterGetParams) SetFields

func (o *EmsFilterGetParams) SetFields(fields []string)

SetFields adds the fields to the ems filter get params

func (*EmsFilterGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter get params

func (*EmsFilterGetParams) SetName

func (o *EmsFilterGetParams) SetName(name string)

SetName adds the name to the ems filter get params

func (*EmsFilterGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter get params

func (*EmsFilterGetParams) WithContext

WithContext adds the context to the ems filter get params

func (*EmsFilterGetParams) WithDefaults

func (o *EmsFilterGetParams) WithDefaults() *EmsFilterGetParams

WithDefaults hydrates default values in the ems filter get params (not the query body).

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

func (*EmsFilterGetParams) WithFields

func (o *EmsFilterGetParams) WithFields(fields []string) *EmsFilterGetParams

WithFields adds the fields to the ems filter get params

func (*EmsFilterGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter get params

func (*EmsFilterGetParams) WithName

func (o *EmsFilterGetParams) WithName(name string) *EmsFilterGetParams

WithName adds the name to the ems filter get params

func (*EmsFilterGetParams) WithTimeout

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

WithTimeout adds the timeout to the ems filter get params

func (*EmsFilterGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsFilterGetReader

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

EmsFilterGetReader is a Reader for the EmsFilterGet structure.

func (*EmsFilterGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterModifyDefault

type EmsFilterModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFilterModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983088 | The filter name provided is empty | | 983089 | The filter name provided cannot contain spaces | | 983092 | The index of the rule provided is outside the allowed range for the filter provided | | 983094 | The filter name provided is invalid. The filter name must contain between 2 and 64 characters and start and end with an alphanumeric symbol or (underscore). The allowed special characters are (underscore) and -(hyphen) | | 983095 | The rule index provided is invalid for the filter provided | | 983101 | No event is matched by the rule provided | | 983113 | Default filters cannot be modified or removed | | 983114 | The maximum number of filters is reached | | 983115 | The maximum number of filter rules is reached | | 983126 | A rule requires at least one name_pattern, severities, snmp_trap_types, or parameter pattern to be defined | | 983127 | A property cannot contain a combination of the wildcard characters and other values | | 983128 | An invalid value is provided for the property 'snmp_trap_types' | | 983146 | An invalid value is provided for the property 'severities' | | 983147 | The severities provided are not supported | | 983155 | The provided severities property does not match that of the name_pattern | | 983156 | The provided snmp_trap_types property does not match that of the name_pattern | | 983157 | The provided severities and snmp_trap_types properties do not match those of the name_pattern | | 983158 | The name_pattern provided does not exist | | 983195 | Empty field in parameter_criteria. Both name and value patterns must be specified | | 983196 | name_pattern and value_pattern fields in parameter_criteria are empty | | 983211 | Parameter criteria based filtering is not supported in this version of ONTAP | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFilterModifyDefault

func NewEmsFilterModifyDefault(code int) *EmsFilterModifyDefault

NewEmsFilterModifyDefault creates a EmsFilterModifyDefault with default headers values

func (*EmsFilterModifyDefault) Code

func (o *EmsFilterModifyDefault) Code() int

Code gets the status code for the ems filter modify default response

func (*EmsFilterModifyDefault) Error

func (o *EmsFilterModifyDefault) Error() string

func (*EmsFilterModifyDefault) GetPayload

func (o *EmsFilterModifyDefault) GetPayload() *models.ErrorResponse

func (*EmsFilterModifyDefault) IsClientError

func (o *EmsFilterModifyDefault) IsClientError() bool

IsClientError returns true when this ems filter modify default response has a 4xx status code

func (*EmsFilterModifyDefault) IsCode

func (o *EmsFilterModifyDefault) IsCode(code int) bool

IsCode returns true when this ems filter modify default response a status code equal to that given

func (*EmsFilterModifyDefault) IsRedirect

func (o *EmsFilterModifyDefault) IsRedirect() bool

IsRedirect returns true when this ems filter modify default response has a 3xx status code

func (*EmsFilterModifyDefault) IsServerError

func (o *EmsFilterModifyDefault) IsServerError() bool

IsServerError returns true when this ems filter modify default response has a 5xx status code

func (*EmsFilterModifyDefault) IsSuccess

func (o *EmsFilterModifyDefault) IsSuccess() bool

IsSuccess returns true when this ems filter modify default response has a 2xx status code

func (*EmsFilterModifyDefault) String

func (o *EmsFilterModifyDefault) String() string

type EmsFilterModifyOK

type EmsFilterModifyOK struct {
}

EmsFilterModifyOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterModifyOK

func NewEmsFilterModifyOK() *EmsFilterModifyOK

NewEmsFilterModifyOK creates a EmsFilterModifyOK with default headers values

func (*EmsFilterModifyOK) Code

func (o *EmsFilterModifyOK) Code() int

Code gets the status code for the ems filter modify o k response

func (*EmsFilterModifyOK) Error

func (o *EmsFilterModifyOK) Error() string

func (*EmsFilterModifyOK) IsClientError

func (o *EmsFilterModifyOK) IsClientError() bool

IsClientError returns true when this ems filter modify o k response has a 4xx status code

func (*EmsFilterModifyOK) IsCode

func (o *EmsFilterModifyOK) IsCode(code int) bool

IsCode returns true when this ems filter modify o k response a status code equal to that given

func (*EmsFilterModifyOK) IsRedirect

func (o *EmsFilterModifyOK) IsRedirect() bool

IsRedirect returns true when this ems filter modify o k response has a 3xx status code

func (*EmsFilterModifyOK) IsServerError

func (o *EmsFilterModifyOK) IsServerError() bool

IsServerError returns true when this ems filter modify o k response has a 5xx status code

func (*EmsFilterModifyOK) IsSuccess

func (o *EmsFilterModifyOK) IsSuccess() bool

IsSuccess returns true when this ems filter modify o k response has a 2xx status code

func (*EmsFilterModifyOK) String

func (o *EmsFilterModifyOK) String() string

type EmsFilterModifyParams

type EmsFilterModifyParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsFilter

	/* Name.

	   Filter name
	*/
	Name string

	/* NewName.

	   New filter name for renames. Valid in PATCH.
	*/
	NewName *string

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

EmsFilterModifyParams contains all the parameters to send to the API endpoint

for the ems filter modify operation.

Typically these are written to a http.Request.

func NewEmsFilterModifyParams

func NewEmsFilterModifyParams() *EmsFilterModifyParams

NewEmsFilterModifyParams creates a new EmsFilterModifyParams 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 NewEmsFilterModifyParamsWithContext

func NewEmsFilterModifyParamsWithContext(ctx context.Context) *EmsFilterModifyParams

NewEmsFilterModifyParamsWithContext creates a new EmsFilterModifyParams object with the ability to set a context for a request.

func NewEmsFilterModifyParamsWithHTTPClient

func NewEmsFilterModifyParamsWithHTTPClient(client *http.Client) *EmsFilterModifyParams

NewEmsFilterModifyParamsWithHTTPClient creates a new EmsFilterModifyParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterModifyParamsWithTimeout

func NewEmsFilterModifyParamsWithTimeout(timeout time.Duration) *EmsFilterModifyParams

NewEmsFilterModifyParamsWithTimeout creates a new EmsFilterModifyParams object with the ability to set a timeout on a request.

func (*EmsFilterModifyParams) SetContext

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

SetContext adds the context to the ems filter modify params

func (*EmsFilterModifyParams) SetDefaults

func (o *EmsFilterModifyParams) SetDefaults()

SetDefaults hydrates default values in the ems filter modify params (not the query body).

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

func (*EmsFilterModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter modify params

func (*EmsFilterModifyParams) SetInfo

func (o *EmsFilterModifyParams) SetInfo(info *models.EmsFilter)

SetInfo adds the info to the ems filter modify params

func (*EmsFilterModifyParams) SetName

func (o *EmsFilterModifyParams) SetName(name string)

SetName adds the name to the ems filter modify params

func (*EmsFilterModifyParams) SetNewName

func (o *EmsFilterModifyParams) SetNewName(newName *string)

SetNewName adds the newName to the ems filter modify params

func (*EmsFilterModifyParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter modify params

func (*EmsFilterModifyParams) WithContext

WithContext adds the context to the ems filter modify params

func (*EmsFilterModifyParams) WithDefaults

func (o *EmsFilterModifyParams) WithDefaults() *EmsFilterModifyParams

WithDefaults hydrates default values in the ems filter modify params (not the query body).

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

func (*EmsFilterModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter modify params

func (*EmsFilterModifyParams) WithInfo

WithInfo adds the info to the ems filter modify params

func (*EmsFilterModifyParams) WithName

WithName adds the name to the ems filter modify params

func (*EmsFilterModifyParams) WithNewName

func (o *EmsFilterModifyParams) WithNewName(newName *string) *EmsFilterModifyParams

WithNewName adds the newName to the ems filter modify params

func (*EmsFilterModifyParams) WithTimeout

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

WithTimeout adds the timeout to the ems filter modify params

func (*EmsFilterModifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EmsFilterModifyReader

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

EmsFilterModifyReader is a Reader for the EmsFilterModify structure.

func (*EmsFilterModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterRuleCollectionGetDefault

type EmsFilterRuleCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsFilterRuleCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsFilterRuleCollectionGetDefault

func NewEmsFilterRuleCollectionGetDefault(code int) *EmsFilterRuleCollectionGetDefault

NewEmsFilterRuleCollectionGetDefault creates a EmsFilterRuleCollectionGetDefault with default headers values

func (*EmsFilterRuleCollectionGetDefault) Code

Code gets the status code for the ems filter rule collection get default response

func (*EmsFilterRuleCollectionGetDefault) Error

func (*EmsFilterRuleCollectionGetDefault) GetPayload

func (*EmsFilterRuleCollectionGetDefault) IsClientError

func (o *EmsFilterRuleCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems filter rule collection get default response has a 4xx status code

func (*EmsFilterRuleCollectionGetDefault) IsCode

func (o *EmsFilterRuleCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this ems filter rule collection get default response a status code equal to that given

func (*EmsFilterRuleCollectionGetDefault) IsRedirect

func (o *EmsFilterRuleCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems filter rule collection get default response has a 3xx status code

func (*EmsFilterRuleCollectionGetDefault) IsServerError

func (o *EmsFilterRuleCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems filter rule collection get default response has a 5xx status code

func (*EmsFilterRuleCollectionGetDefault) IsSuccess

func (o *EmsFilterRuleCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this ems filter rule collection get default response has a 2xx status code

func (*EmsFilterRuleCollectionGetDefault) String

type EmsFilterRuleCollectionGetOK

type EmsFilterRuleCollectionGetOK struct {
	Payload *models.EmsFilterRuleResponse
}

EmsFilterRuleCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterRuleCollectionGetOK

func NewEmsFilterRuleCollectionGetOK() *EmsFilterRuleCollectionGetOK

NewEmsFilterRuleCollectionGetOK creates a EmsFilterRuleCollectionGetOK with default headers values

func (*EmsFilterRuleCollectionGetOK) Code

Code gets the status code for the ems filter rule collection get o k response

func (*EmsFilterRuleCollectionGetOK) Error

func (*EmsFilterRuleCollectionGetOK) GetPayload

func (*EmsFilterRuleCollectionGetOK) IsClientError

func (o *EmsFilterRuleCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems filter rule collection get o k response has a 4xx status code

func (*EmsFilterRuleCollectionGetOK) IsCode

func (o *EmsFilterRuleCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems filter rule collection get o k response a status code equal to that given

func (*EmsFilterRuleCollectionGetOK) IsRedirect

func (o *EmsFilterRuleCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems filter rule collection get o k response has a 3xx status code

func (*EmsFilterRuleCollectionGetOK) IsServerError

func (o *EmsFilterRuleCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems filter rule collection get o k response has a 5xx status code

func (*EmsFilterRuleCollectionGetOK) IsSuccess

func (o *EmsFilterRuleCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems filter rule collection get o k response has a 2xx status code

func (*EmsFilterRuleCollectionGetOK) String

type EmsFilterRuleCollectionGetParams

type EmsFilterRuleCollectionGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Index.

	   Filter by index
	*/
	Index *int64

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* MessageCriteriaNamePattern.

	   Filter by message_criteria.name_pattern
	*/
	MessageCriteriaNamePattern *string

	/* MessageCriteriaSeverities.

	   Filter by message_criteria.severities
	*/
	MessageCriteriaSeverities *string

	/* MessageCriteriaSnmpTrapTypes.

	   Filter by message_criteria.snmp_trap_types
	*/
	MessageCriteriaSnmpTrapTypes *string

	/* Name.

	   Filter Name
	*/
	Name string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ParameterCriteriaNamePattern.

	   Filter by parameter_criteria.name_pattern
	*/
	ParameterCriteriaNamePattern *string

	/* ParameterCriteriaValuePattern.

	   Filter by parameter_criteria.value_pattern
	*/
	ParameterCriteriaValuePattern *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Type.

	   Filter by type
	*/
	Type *string

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

EmsFilterRuleCollectionGetParams contains all the parameters to send to the API endpoint

for the ems filter rule collection get operation.

Typically these are written to a http.Request.

func NewEmsFilterRuleCollectionGetParams

func NewEmsFilterRuleCollectionGetParams() *EmsFilterRuleCollectionGetParams

NewEmsFilterRuleCollectionGetParams creates a new EmsFilterRuleCollectionGetParams 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 NewEmsFilterRuleCollectionGetParamsWithContext

func NewEmsFilterRuleCollectionGetParamsWithContext(ctx context.Context) *EmsFilterRuleCollectionGetParams

NewEmsFilterRuleCollectionGetParamsWithContext creates a new EmsFilterRuleCollectionGetParams object with the ability to set a context for a request.

func NewEmsFilterRuleCollectionGetParamsWithHTTPClient

func NewEmsFilterRuleCollectionGetParamsWithHTTPClient(client *http.Client) *EmsFilterRuleCollectionGetParams

NewEmsFilterRuleCollectionGetParamsWithHTTPClient creates a new EmsFilterRuleCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterRuleCollectionGetParamsWithTimeout

func NewEmsFilterRuleCollectionGetParamsWithTimeout(timeout time.Duration) *EmsFilterRuleCollectionGetParams

NewEmsFilterRuleCollectionGetParamsWithTimeout creates a new EmsFilterRuleCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsFilterRuleCollectionGetParams) SetContext

SetContext adds the context to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetDefaults

func (o *EmsFilterRuleCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems filter rule collection get params (not the query body).

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

func (*EmsFilterRuleCollectionGetParams) SetFields

func (o *EmsFilterRuleCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetIndex

func (o *EmsFilterRuleCollectionGetParams) SetIndex(index *int64)

SetIndex adds the index to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetMaxRecords

func (o *EmsFilterRuleCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetMessageCriteriaNamePattern

func (o *EmsFilterRuleCollectionGetParams) SetMessageCriteriaNamePattern(messageCriteriaNamePattern *string)

SetMessageCriteriaNamePattern adds the messageCriteriaNamePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetMessageCriteriaSeverities

func (o *EmsFilterRuleCollectionGetParams) SetMessageCriteriaSeverities(messageCriteriaSeverities *string)

SetMessageCriteriaSeverities adds the messageCriteriaSeverities to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetMessageCriteriaSnmpTrapTypes

func (o *EmsFilterRuleCollectionGetParams) SetMessageCriteriaSnmpTrapTypes(messageCriteriaSnmpTrapTypes *string)

SetMessageCriteriaSnmpTrapTypes adds the messageCriteriaSnmpTrapTypes to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetName

func (o *EmsFilterRuleCollectionGetParams) SetName(name string)

SetName adds the name to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetOrderBy

func (o *EmsFilterRuleCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetParameterCriteriaNamePattern

func (o *EmsFilterRuleCollectionGetParams) SetParameterCriteriaNamePattern(parameterCriteriaNamePattern *string)

SetParameterCriteriaNamePattern adds the parameterCriteriaNamePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetParameterCriteriaValuePattern

func (o *EmsFilterRuleCollectionGetParams) SetParameterCriteriaValuePattern(parameterCriteriaValuePattern *string)

SetParameterCriteriaValuePattern adds the parameterCriteriaValuePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetReturnRecords

func (o *EmsFilterRuleCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetReturnTimeout

func (o *EmsFilterRuleCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) SetType

func (o *EmsFilterRuleCollectionGetParams) SetType(typeVar *string)

SetType adds the type to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithContext

WithContext adds the context to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems filter rule collection get params (not the query body).

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

func (*EmsFilterRuleCollectionGetParams) WithFields

WithFields adds the fields to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithIndex

WithIndex adds the index to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithMessageCriteriaNamePattern

func (o *EmsFilterRuleCollectionGetParams) WithMessageCriteriaNamePattern(messageCriteriaNamePattern *string) *EmsFilterRuleCollectionGetParams

WithMessageCriteriaNamePattern adds the messageCriteriaNamePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithMessageCriteriaSeverities

func (o *EmsFilterRuleCollectionGetParams) WithMessageCriteriaSeverities(messageCriteriaSeverities *string) *EmsFilterRuleCollectionGetParams

WithMessageCriteriaSeverities adds the messageCriteriaSeverities to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithMessageCriteriaSnmpTrapTypes

func (o *EmsFilterRuleCollectionGetParams) WithMessageCriteriaSnmpTrapTypes(messageCriteriaSnmpTrapTypes *string) *EmsFilterRuleCollectionGetParams

WithMessageCriteriaSnmpTrapTypes adds the messageCriteriaSnmpTrapTypes to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithName

WithName adds the name to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithParameterCriteriaNamePattern

func (o *EmsFilterRuleCollectionGetParams) WithParameterCriteriaNamePattern(parameterCriteriaNamePattern *string) *EmsFilterRuleCollectionGetParams

WithParameterCriteriaNamePattern adds the parameterCriteriaNamePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithParameterCriteriaValuePattern

func (o *EmsFilterRuleCollectionGetParams) WithParameterCriteriaValuePattern(parameterCriteriaValuePattern *string) *EmsFilterRuleCollectionGetParams

WithParameterCriteriaValuePattern adds the parameterCriteriaValuePattern to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithReturnRecords

func (o *EmsFilterRuleCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsFilterRuleCollectionGetParams

WithReturnRecords adds the returnRecords to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithReturnTimeout

func (o *EmsFilterRuleCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsFilterRuleCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WithType

WithType adds the typeVar to the ems filter rule collection get params

func (*EmsFilterRuleCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFilterRuleCollectionGetReader

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

EmsFilterRuleCollectionGetReader is a Reader for the EmsFilterRuleCollectionGet structure.

func (*EmsFilterRuleCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterRuleDeleteDefault

type EmsFilterRuleDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFilterRuleDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983091 | A default rule cannot be removed | | 983092 | The index of the rule provided is outside the allowed range for the filter provided | | 983095 | The rule index provided is invalid for the filter provided | | 983110 | There are no user defined rules in the filter provided | | 983113 | Default filters cannot be modified or removed | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFilterRuleDeleteDefault

func NewEmsFilterRuleDeleteDefault(code int) *EmsFilterRuleDeleteDefault

NewEmsFilterRuleDeleteDefault creates a EmsFilterRuleDeleteDefault with default headers values

func (*EmsFilterRuleDeleteDefault) Code

func (o *EmsFilterRuleDeleteDefault) Code() int

Code gets the status code for the ems filter rule delete default response

func (*EmsFilterRuleDeleteDefault) Error

func (*EmsFilterRuleDeleteDefault) GetPayload

func (*EmsFilterRuleDeleteDefault) IsClientError

func (o *EmsFilterRuleDeleteDefault) IsClientError() bool

IsClientError returns true when this ems filter rule delete default response has a 4xx status code

func (*EmsFilterRuleDeleteDefault) IsCode

func (o *EmsFilterRuleDeleteDefault) IsCode(code int) bool

IsCode returns true when this ems filter rule delete default response a status code equal to that given

func (*EmsFilterRuleDeleteDefault) IsRedirect

func (o *EmsFilterRuleDeleteDefault) IsRedirect() bool

IsRedirect returns true when this ems filter rule delete default response has a 3xx status code

func (*EmsFilterRuleDeleteDefault) IsServerError

func (o *EmsFilterRuleDeleteDefault) IsServerError() bool

IsServerError returns true when this ems filter rule delete default response has a 5xx status code

func (*EmsFilterRuleDeleteDefault) IsSuccess

func (o *EmsFilterRuleDeleteDefault) IsSuccess() bool

IsSuccess returns true when this ems filter rule delete default response has a 2xx status code

func (*EmsFilterRuleDeleteDefault) String

func (o *EmsFilterRuleDeleteDefault) String() string

type EmsFilterRuleDeleteOK

type EmsFilterRuleDeleteOK struct {
}

EmsFilterRuleDeleteOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterRuleDeleteOK

func NewEmsFilterRuleDeleteOK() *EmsFilterRuleDeleteOK

NewEmsFilterRuleDeleteOK creates a EmsFilterRuleDeleteOK with default headers values

func (*EmsFilterRuleDeleteOK) Code

func (o *EmsFilterRuleDeleteOK) Code() int

Code gets the status code for the ems filter rule delete o k response

func (*EmsFilterRuleDeleteOK) Error

func (o *EmsFilterRuleDeleteOK) Error() string

func (*EmsFilterRuleDeleteOK) IsClientError

func (o *EmsFilterRuleDeleteOK) IsClientError() bool

IsClientError returns true when this ems filter rule delete o k response has a 4xx status code

func (*EmsFilterRuleDeleteOK) IsCode

func (o *EmsFilterRuleDeleteOK) IsCode(code int) bool

IsCode returns true when this ems filter rule delete o k response a status code equal to that given

func (*EmsFilterRuleDeleteOK) IsRedirect

func (o *EmsFilterRuleDeleteOK) IsRedirect() bool

IsRedirect returns true when this ems filter rule delete o k response has a 3xx status code

func (*EmsFilterRuleDeleteOK) IsServerError

func (o *EmsFilterRuleDeleteOK) IsServerError() bool

IsServerError returns true when this ems filter rule delete o k response has a 5xx status code

func (*EmsFilterRuleDeleteOK) IsSuccess

func (o *EmsFilterRuleDeleteOK) IsSuccess() bool

IsSuccess returns true when this ems filter rule delete o k response has a 2xx status code

func (*EmsFilterRuleDeleteOK) String

func (o *EmsFilterRuleDeleteOK) String() string

type EmsFilterRuleDeleteParams

type EmsFilterRuleDeleteParams struct {

	/* Index.

	   Filter rule index
	*/
	Index string

	/* Name.

	   Filter name
	*/
	Name string

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

EmsFilterRuleDeleteParams contains all the parameters to send to the API endpoint

for the ems filter rule delete operation.

Typically these are written to a http.Request.

func NewEmsFilterRuleDeleteParams

func NewEmsFilterRuleDeleteParams() *EmsFilterRuleDeleteParams

NewEmsFilterRuleDeleteParams creates a new EmsFilterRuleDeleteParams 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 NewEmsFilterRuleDeleteParamsWithContext

func NewEmsFilterRuleDeleteParamsWithContext(ctx context.Context) *EmsFilterRuleDeleteParams

NewEmsFilterRuleDeleteParamsWithContext creates a new EmsFilterRuleDeleteParams object with the ability to set a context for a request.

func NewEmsFilterRuleDeleteParamsWithHTTPClient

func NewEmsFilterRuleDeleteParamsWithHTTPClient(client *http.Client) *EmsFilterRuleDeleteParams

NewEmsFilterRuleDeleteParamsWithHTTPClient creates a new EmsFilterRuleDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterRuleDeleteParamsWithTimeout

func NewEmsFilterRuleDeleteParamsWithTimeout(timeout time.Duration) *EmsFilterRuleDeleteParams

NewEmsFilterRuleDeleteParamsWithTimeout creates a new EmsFilterRuleDeleteParams object with the ability to set a timeout on a request.

func (*EmsFilterRuleDeleteParams) SetContext

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

SetContext adds the context to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) SetDefaults

func (o *EmsFilterRuleDeleteParams) SetDefaults()

SetDefaults hydrates default values in the ems filter rule delete params (not the query body).

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

func (*EmsFilterRuleDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) SetIndex

func (o *EmsFilterRuleDeleteParams) SetIndex(index string)

SetIndex adds the index to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) SetName

func (o *EmsFilterRuleDeleteParams) SetName(name string)

SetName adds the name to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WithContext

WithContext adds the context to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WithDefaults

WithDefaults hydrates default values in the ems filter rule delete params (not the query body).

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

func (*EmsFilterRuleDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WithIndex

WithIndex adds the index to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WithName

WithName adds the name to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WithTimeout

WithTimeout adds the timeout to the ems filter rule delete params

func (*EmsFilterRuleDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFilterRuleDeleteReader

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

EmsFilterRuleDeleteReader is a Reader for the EmsFilterRuleDelete structure.

func (*EmsFilterRuleDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterRuleGetDefault

type EmsFilterRuleGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsFilterRuleGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsFilterRuleGetDefault

func NewEmsFilterRuleGetDefault(code int) *EmsFilterRuleGetDefault

NewEmsFilterRuleGetDefault creates a EmsFilterRuleGetDefault with default headers values

func (*EmsFilterRuleGetDefault) Code

func (o *EmsFilterRuleGetDefault) Code() int

Code gets the status code for the ems filter rule get default response

func (*EmsFilterRuleGetDefault) Error

func (o *EmsFilterRuleGetDefault) Error() string

func (*EmsFilterRuleGetDefault) GetPayload

func (o *EmsFilterRuleGetDefault) GetPayload() *models.ErrorResponse

func (*EmsFilterRuleGetDefault) IsClientError

func (o *EmsFilterRuleGetDefault) IsClientError() bool

IsClientError returns true when this ems filter rule get default response has a 4xx status code

func (*EmsFilterRuleGetDefault) IsCode

func (o *EmsFilterRuleGetDefault) IsCode(code int) bool

IsCode returns true when this ems filter rule get default response a status code equal to that given

func (*EmsFilterRuleGetDefault) IsRedirect

func (o *EmsFilterRuleGetDefault) IsRedirect() bool

IsRedirect returns true when this ems filter rule get default response has a 3xx status code

func (*EmsFilterRuleGetDefault) IsServerError

func (o *EmsFilterRuleGetDefault) IsServerError() bool

IsServerError returns true when this ems filter rule get default response has a 5xx status code

func (*EmsFilterRuleGetDefault) IsSuccess

func (o *EmsFilterRuleGetDefault) IsSuccess() bool

IsSuccess returns true when this ems filter rule get default response has a 2xx status code

func (*EmsFilterRuleGetDefault) String

func (o *EmsFilterRuleGetDefault) String() string

type EmsFilterRuleGetOK

type EmsFilterRuleGetOK struct {
	Payload *models.EmsFilterRule
}

EmsFilterRuleGetOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterRuleGetOK

func NewEmsFilterRuleGetOK() *EmsFilterRuleGetOK

NewEmsFilterRuleGetOK creates a EmsFilterRuleGetOK with default headers values

func (*EmsFilterRuleGetOK) Code

func (o *EmsFilterRuleGetOK) Code() int

Code gets the status code for the ems filter rule get o k response

func (*EmsFilterRuleGetOK) Error

func (o *EmsFilterRuleGetOK) Error() string

func (*EmsFilterRuleGetOK) GetPayload

func (o *EmsFilterRuleGetOK) GetPayload() *models.EmsFilterRule

func (*EmsFilterRuleGetOK) IsClientError

func (o *EmsFilterRuleGetOK) IsClientError() bool

IsClientError returns true when this ems filter rule get o k response has a 4xx status code

func (*EmsFilterRuleGetOK) IsCode

func (o *EmsFilterRuleGetOK) IsCode(code int) bool

IsCode returns true when this ems filter rule get o k response a status code equal to that given

func (*EmsFilterRuleGetOK) IsRedirect

func (o *EmsFilterRuleGetOK) IsRedirect() bool

IsRedirect returns true when this ems filter rule get o k response has a 3xx status code

func (*EmsFilterRuleGetOK) IsServerError

func (o *EmsFilterRuleGetOK) IsServerError() bool

IsServerError returns true when this ems filter rule get o k response has a 5xx status code

func (*EmsFilterRuleGetOK) IsSuccess

func (o *EmsFilterRuleGetOK) IsSuccess() bool

IsSuccess returns true when this ems filter rule get o k response has a 2xx status code

func (*EmsFilterRuleGetOK) String

func (o *EmsFilterRuleGetOK) String() string

type EmsFilterRuleGetParams

type EmsFilterRuleGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Index.

	   Filter rule index
	*/
	Index string

	/* Name.

	   Filter name
	*/
	Name string

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

EmsFilterRuleGetParams contains all the parameters to send to the API endpoint

for the ems filter rule get operation.

Typically these are written to a http.Request.

func NewEmsFilterRuleGetParams

func NewEmsFilterRuleGetParams() *EmsFilterRuleGetParams

NewEmsFilterRuleGetParams creates a new EmsFilterRuleGetParams 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 NewEmsFilterRuleGetParamsWithContext

func NewEmsFilterRuleGetParamsWithContext(ctx context.Context) *EmsFilterRuleGetParams

NewEmsFilterRuleGetParamsWithContext creates a new EmsFilterRuleGetParams object with the ability to set a context for a request.

func NewEmsFilterRuleGetParamsWithHTTPClient

func NewEmsFilterRuleGetParamsWithHTTPClient(client *http.Client) *EmsFilterRuleGetParams

NewEmsFilterRuleGetParamsWithHTTPClient creates a new EmsFilterRuleGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterRuleGetParamsWithTimeout

func NewEmsFilterRuleGetParamsWithTimeout(timeout time.Duration) *EmsFilterRuleGetParams

NewEmsFilterRuleGetParamsWithTimeout creates a new EmsFilterRuleGetParams object with the ability to set a timeout on a request.

func (*EmsFilterRuleGetParams) SetContext

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

SetContext adds the context to the ems filter rule get params

func (*EmsFilterRuleGetParams) SetDefaults

func (o *EmsFilterRuleGetParams) SetDefaults()

SetDefaults hydrates default values in the ems filter rule get params (not the query body).

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

func (*EmsFilterRuleGetParams) SetFields

func (o *EmsFilterRuleGetParams) SetFields(fields []string)

SetFields adds the fields to the ems filter rule get params

func (*EmsFilterRuleGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter rule get params

func (*EmsFilterRuleGetParams) SetIndex

func (o *EmsFilterRuleGetParams) SetIndex(index string)

SetIndex adds the index to the ems filter rule get params

func (*EmsFilterRuleGetParams) SetName

func (o *EmsFilterRuleGetParams) SetName(name string)

SetName adds the name to the ems filter rule get params

func (*EmsFilterRuleGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithContext

WithContext adds the context to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithDefaults

WithDefaults hydrates default values in the ems filter rule get params (not the query body).

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

func (*EmsFilterRuleGetParams) WithFields

func (o *EmsFilterRuleGetParams) WithFields(fields []string) *EmsFilterRuleGetParams

WithFields adds the fields to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithIndex

WithIndex adds the index to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithName

WithName adds the name to the ems filter rule get params

func (*EmsFilterRuleGetParams) WithTimeout

WithTimeout adds the timeout to the ems filter rule get params

func (*EmsFilterRuleGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFilterRuleGetReader

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

EmsFilterRuleGetReader is a Reader for the EmsFilterRuleGet structure.

func (*EmsFilterRuleGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFilterRuleModifyDefault

type EmsFilterRuleModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFilterRuleModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983092 | The index of the rule provided is outside the allowed range for the filter provided | | 983095 | The rule index provided is invalid for the filter provided | | 983113 | Default filters cannot be modified or removed | | 983126 | A rule requires at least one name_pattern, severities, snmp_trap_types, or parameter pattern to be defined | | 983127 | A property cannot contain a combination of the wildcard characters and other values. | | 983128 | An invalid value is provided for the property 'snmp_trap_types' | | 983146 | An invalid value is provided for the property 'severities' | | 983147 | The severities provided are not supported | | 983155 | The provided severities property does not match that of the name_pattern | | 983156 | The provided snmp_trap_types property does not match that of the name_pattern | | 983157 | The provided severities and snmp_trap_types properties do not match those of the name_pattern | | 983158 | The name_pattern provided does not exist | | 983195 | Empty field in parameter_criteria. Both name and value patterns must be specified | | 983196 | name_pattern and value_pattern fields in parameter_criteria are empty | | 983211 | Parameter criteria based filtering is not supported in this version of ONTAP | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFilterRuleModifyDefault

func NewEmsFilterRuleModifyDefault(code int) *EmsFilterRuleModifyDefault

NewEmsFilterRuleModifyDefault creates a EmsFilterRuleModifyDefault with default headers values

func (*EmsFilterRuleModifyDefault) Code

func (o *EmsFilterRuleModifyDefault) Code() int

Code gets the status code for the ems filter rule modify default response

func (*EmsFilterRuleModifyDefault) Error

func (*EmsFilterRuleModifyDefault) GetPayload

func (*EmsFilterRuleModifyDefault) IsClientError

func (o *EmsFilterRuleModifyDefault) IsClientError() bool

IsClientError returns true when this ems filter rule modify default response has a 4xx status code

func (*EmsFilterRuleModifyDefault) IsCode

func (o *EmsFilterRuleModifyDefault) IsCode(code int) bool

IsCode returns true when this ems filter rule modify default response a status code equal to that given

func (*EmsFilterRuleModifyDefault) IsRedirect

func (o *EmsFilterRuleModifyDefault) IsRedirect() bool

IsRedirect returns true when this ems filter rule modify default response has a 3xx status code

func (*EmsFilterRuleModifyDefault) IsServerError

func (o *EmsFilterRuleModifyDefault) IsServerError() bool

IsServerError returns true when this ems filter rule modify default response has a 5xx status code

func (*EmsFilterRuleModifyDefault) IsSuccess

func (o *EmsFilterRuleModifyDefault) IsSuccess() bool

IsSuccess returns true when this ems filter rule modify default response has a 2xx status code

func (*EmsFilterRuleModifyDefault) String

func (o *EmsFilterRuleModifyDefault) String() string

type EmsFilterRuleModifyOK

type EmsFilterRuleModifyOK struct {
}

EmsFilterRuleModifyOK describes a response with status code 200, with default header values.

OK

func NewEmsFilterRuleModifyOK

func NewEmsFilterRuleModifyOK() *EmsFilterRuleModifyOK

NewEmsFilterRuleModifyOK creates a EmsFilterRuleModifyOK with default headers values

func (*EmsFilterRuleModifyOK) Code

func (o *EmsFilterRuleModifyOK) Code() int

Code gets the status code for the ems filter rule modify o k response

func (*EmsFilterRuleModifyOK) Error

func (o *EmsFilterRuleModifyOK) Error() string

func (*EmsFilterRuleModifyOK) IsClientError

func (o *EmsFilterRuleModifyOK) IsClientError() bool

IsClientError returns true when this ems filter rule modify o k response has a 4xx status code

func (*EmsFilterRuleModifyOK) IsCode

func (o *EmsFilterRuleModifyOK) IsCode(code int) bool

IsCode returns true when this ems filter rule modify o k response a status code equal to that given

func (*EmsFilterRuleModifyOK) IsRedirect

func (o *EmsFilterRuleModifyOK) IsRedirect() bool

IsRedirect returns true when this ems filter rule modify o k response has a 3xx status code

func (*EmsFilterRuleModifyOK) IsServerError

func (o *EmsFilterRuleModifyOK) IsServerError() bool

IsServerError returns true when this ems filter rule modify o k response has a 5xx status code

func (*EmsFilterRuleModifyOK) IsSuccess

func (o *EmsFilterRuleModifyOK) IsSuccess() bool

IsSuccess returns true when this ems filter rule modify o k response has a 2xx status code

func (*EmsFilterRuleModifyOK) String

func (o *EmsFilterRuleModifyOK) String() string

type EmsFilterRuleModifyParams

type EmsFilterRuleModifyParams struct {

	/* Index.

	   Filter rule index
	*/
	Index string

	/* Info.

	   Information specification
	*/
	Info *models.EmsFilterRule

	/* Name.

	   Filter name
	*/
	Name string

	/* NewIndex.

	   New position for the filter rule index
	*/
	NewIndex *int64

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

EmsFilterRuleModifyParams contains all the parameters to send to the API endpoint

for the ems filter rule modify operation.

Typically these are written to a http.Request.

func NewEmsFilterRuleModifyParams

func NewEmsFilterRuleModifyParams() *EmsFilterRuleModifyParams

NewEmsFilterRuleModifyParams creates a new EmsFilterRuleModifyParams 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 NewEmsFilterRuleModifyParamsWithContext

func NewEmsFilterRuleModifyParamsWithContext(ctx context.Context) *EmsFilterRuleModifyParams

NewEmsFilterRuleModifyParamsWithContext creates a new EmsFilterRuleModifyParams object with the ability to set a context for a request.

func NewEmsFilterRuleModifyParamsWithHTTPClient

func NewEmsFilterRuleModifyParamsWithHTTPClient(client *http.Client) *EmsFilterRuleModifyParams

NewEmsFilterRuleModifyParamsWithHTTPClient creates a new EmsFilterRuleModifyParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFilterRuleModifyParamsWithTimeout

func NewEmsFilterRuleModifyParamsWithTimeout(timeout time.Duration) *EmsFilterRuleModifyParams

NewEmsFilterRuleModifyParamsWithTimeout creates a new EmsFilterRuleModifyParams object with the ability to set a timeout on a request.

func (*EmsFilterRuleModifyParams) SetContext

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

SetContext adds the context to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetDefaults

func (o *EmsFilterRuleModifyParams) SetDefaults()

SetDefaults hydrates default values in the ems filter rule modify params (not the query body).

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

func (*EmsFilterRuleModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetIndex

func (o *EmsFilterRuleModifyParams) SetIndex(index string)

SetIndex adds the index to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetInfo

SetInfo adds the info to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetName

func (o *EmsFilterRuleModifyParams) SetName(name string)

SetName adds the name to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetNewIndex

func (o *EmsFilterRuleModifyParams) SetNewIndex(newIndex *int64)

SetNewIndex adds the newIndex to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) SetTimeout

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

SetTimeout adds the timeout to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithContext

WithContext adds the context to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithDefaults

WithDefaults hydrates default values in the ems filter rule modify params (not the query body).

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

func (*EmsFilterRuleModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithIndex

WithIndex adds the index to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithInfo

WithInfo adds the info to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithName

WithName adds the name to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithNewIndex

func (o *EmsFilterRuleModifyParams) WithNewIndex(newIndex *int64) *EmsFilterRuleModifyParams

WithNewIndex adds the newIndex to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WithTimeout

WithTimeout adds the timeout to the ems filter rule modify params

func (*EmsFilterRuleModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFilterRuleModifyReader

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

EmsFilterRuleModifyReader is a Reader for the EmsFilterRuleModify structure.

func (*EmsFilterRuleModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsFiltersRulesCreateCreated

type EmsFiltersRulesCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.EmsFilterRuleResponse
}

EmsFiltersRulesCreateCreated describes a response with status code 201, with default header values.

Created

func NewEmsFiltersRulesCreateCreated

func NewEmsFiltersRulesCreateCreated() *EmsFiltersRulesCreateCreated

NewEmsFiltersRulesCreateCreated creates a EmsFiltersRulesCreateCreated with default headers values

func (*EmsFiltersRulesCreateCreated) Code

Code gets the status code for the ems filters rules create created response

func (*EmsFiltersRulesCreateCreated) Error

func (*EmsFiltersRulesCreateCreated) GetPayload

func (*EmsFiltersRulesCreateCreated) IsClientError

func (o *EmsFiltersRulesCreateCreated) IsClientError() bool

IsClientError returns true when this ems filters rules create created response has a 4xx status code

func (*EmsFiltersRulesCreateCreated) IsCode

func (o *EmsFiltersRulesCreateCreated) IsCode(code int) bool

IsCode returns true when this ems filters rules create created response a status code equal to that given

func (*EmsFiltersRulesCreateCreated) IsRedirect

func (o *EmsFiltersRulesCreateCreated) IsRedirect() bool

IsRedirect returns true when this ems filters rules create created response has a 3xx status code

func (*EmsFiltersRulesCreateCreated) IsServerError

func (o *EmsFiltersRulesCreateCreated) IsServerError() bool

IsServerError returns true when this ems filters rules create created response has a 5xx status code

func (*EmsFiltersRulesCreateCreated) IsSuccess

func (o *EmsFiltersRulesCreateCreated) IsSuccess() bool

IsSuccess returns true when this ems filters rules create created response has a 2xx status code

func (*EmsFiltersRulesCreateCreated) String

type EmsFiltersRulesCreateDefault

type EmsFiltersRulesCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsFiltersRulesCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983092 | The index of the rule provided is outside the allowed range for the filter provided | | 983095 | The rule index provided is invalid for the filter provided | | 983113 | Default filters cannot be modified or removed | | 983115 | The maximum number of filter rules is reached | | 983126 | A rule requires at least one name_pattern, severities, snmp_trap_types, or parameter pattern to be defined | | 983127 | A property cannot contain a combination of the wildcard characters and other values | | 983128 | An invalid value is provided for the property 'snmp_trap_types' | | 983146 | An invalid value is provided for the property 'severities' | | 983147 | The severities provided are not supported | | 983155 | The provided severities property does not match that of the name_pattern | | 983156 | The provided snmp_trap_types property does not match that of the name_pattern | | 983157 | The provided severities and snmp_trap_types properties do not match those of the name_pattern | | 983158 | The name_pattern provided does not exist | | 983195 | Empty field in parameter_criteria. Both name and value patterns must be specified | | 983196 | name_pattern and value_pattern fields in parameter_criteria are empty | | 983211 | Parameter criteria based filtering is not supported in this version of ONTAP | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsFiltersRulesCreateDefault

func NewEmsFiltersRulesCreateDefault(code int) *EmsFiltersRulesCreateDefault

NewEmsFiltersRulesCreateDefault creates a EmsFiltersRulesCreateDefault with default headers values

func (*EmsFiltersRulesCreateDefault) Code

Code gets the status code for the ems filters rules create default response

func (*EmsFiltersRulesCreateDefault) Error

func (*EmsFiltersRulesCreateDefault) GetPayload

func (*EmsFiltersRulesCreateDefault) IsClientError

func (o *EmsFiltersRulesCreateDefault) IsClientError() bool

IsClientError returns true when this ems filters rules create default response has a 4xx status code

func (*EmsFiltersRulesCreateDefault) IsCode

func (o *EmsFiltersRulesCreateDefault) IsCode(code int) bool

IsCode returns true when this ems filters rules create default response a status code equal to that given

func (*EmsFiltersRulesCreateDefault) IsRedirect

func (o *EmsFiltersRulesCreateDefault) IsRedirect() bool

IsRedirect returns true when this ems filters rules create default response has a 3xx status code

func (*EmsFiltersRulesCreateDefault) IsServerError

func (o *EmsFiltersRulesCreateDefault) IsServerError() bool

IsServerError returns true when this ems filters rules create default response has a 5xx status code

func (*EmsFiltersRulesCreateDefault) IsSuccess

func (o *EmsFiltersRulesCreateDefault) IsSuccess() bool

IsSuccess returns true when this ems filters rules create default response has a 2xx status code

func (*EmsFiltersRulesCreateDefault) String

type EmsFiltersRulesCreateParams

type EmsFiltersRulesCreateParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsFilterRule

	/* Name.

	   Filter name
	*/
	Name string

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

EmsFiltersRulesCreateParams contains all the parameters to send to the API endpoint

for the ems filters rules create operation.

Typically these are written to a http.Request.

func NewEmsFiltersRulesCreateParams

func NewEmsFiltersRulesCreateParams() *EmsFiltersRulesCreateParams

NewEmsFiltersRulesCreateParams creates a new EmsFiltersRulesCreateParams 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 NewEmsFiltersRulesCreateParamsWithContext

func NewEmsFiltersRulesCreateParamsWithContext(ctx context.Context) *EmsFiltersRulesCreateParams

NewEmsFiltersRulesCreateParamsWithContext creates a new EmsFiltersRulesCreateParams object with the ability to set a context for a request.

func NewEmsFiltersRulesCreateParamsWithHTTPClient

func NewEmsFiltersRulesCreateParamsWithHTTPClient(client *http.Client) *EmsFiltersRulesCreateParams

NewEmsFiltersRulesCreateParamsWithHTTPClient creates a new EmsFiltersRulesCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmsFiltersRulesCreateParamsWithTimeout

func NewEmsFiltersRulesCreateParamsWithTimeout(timeout time.Duration) *EmsFiltersRulesCreateParams

NewEmsFiltersRulesCreateParamsWithTimeout creates a new EmsFiltersRulesCreateParams object with the ability to set a timeout on a request.

func (*EmsFiltersRulesCreateParams) SetContext

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

SetContext adds the context to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) SetDefaults

func (o *EmsFiltersRulesCreateParams) SetDefaults()

SetDefaults hydrates default values in the ems filters rules create params (not the query body).

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

func (*EmsFiltersRulesCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) SetInfo

SetInfo adds the info to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) SetName

func (o *EmsFiltersRulesCreateParams) SetName(name string)

SetName adds the name to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) SetReturnRecords

func (o *EmsFiltersRulesCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithContext

WithContext adds the context to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithDefaults

WithDefaults hydrates default values in the ems filters rules create params (not the query body).

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

func (*EmsFiltersRulesCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithInfo

WithInfo adds the info to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithName

WithName adds the name to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithReturnRecords

func (o *EmsFiltersRulesCreateParams) WithReturnRecords(returnRecords *bool) *EmsFiltersRulesCreateParams

WithReturnRecords adds the returnRecords to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WithTimeout

WithTimeout adds the timeout to the ems filters rules create params

func (*EmsFiltersRulesCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsFiltersRulesCreateReader

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

EmsFiltersRulesCreateReader is a Reader for the EmsFiltersRulesCreate structure.

func (*EmsFiltersRulesCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsMessageCollectionGetDefault

type EmsMessageCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsMessageCollectionGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983093 | The provided filter is unknown. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsMessageCollectionGetDefault

func NewEmsMessageCollectionGetDefault(code int) *EmsMessageCollectionGetDefault

NewEmsMessageCollectionGetDefault creates a EmsMessageCollectionGetDefault with default headers values

func (*EmsMessageCollectionGetDefault) Code

Code gets the status code for the ems message collection get default response

func (*EmsMessageCollectionGetDefault) Error

func (*EmsMessageCollectionGetDefault) GetPayload

func (*EmsMessageCollectionGetDefault) IsClientError

func (o *EmsMessageCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems message collection get default response has a 4xx status code

func (*EmsMessageCollectionGetDefault) IsCode

func (o *EmsMessageCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this ems message collection get default response a status code equal to that given

func (*EmsMessageCollectionGetDefault) IsRedirect

func (o *EmsMessageCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems message collection get default response has a 3xx status code

func (*EmsMessageCollectionGetDefault) IsServerError

func (o *EmsMessageCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems message collection get default response has a 5xx status code

func (*EmsMessageCollectionGetDefault) IsSuccess

func (o *EmsMessageCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this ems message collection get default response has a 2xx status code

func (*EmsMessageCollectionGetDefault) String

type EmsMessageCollectionGetOK

type EmsMessageCollectionGetOK struct {
	Payload *models.EmsMessageResponse
}

EmsMessageCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsMessageCollectionGetOK

func NewEmsMessageCollectionGetOK() *EmsMessageCollectionGetOK

NewEmsMessageCollectionGetOK creates a EmsMessageCollectionGetOK with default headers values

func (*EmsMessageCollectionGetOK) Code

func (o *EmsMessageCollectionGetOK) Code() int

Code gets the status code for the ems message collection get o k response

func (*EmsMessageCollectionGetOK) Error

func (o *EmsMessageCollectionGetOK) Error() string

func (*EmsMessageCollectionGetOK) GetPayload

func (*EmsMessageCollectionGetOK) IsClientError

func (o *EmsMessageCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems message collection get o k response has a 4xx status code

func (*EmsMessageCollectionGetOK) IsCode

func (o *EmsMessageCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems message collection get o k response a status code equal to that given

func (*EmsMessageCollectionGetOK) IsRedirect

func (o *EmsMessageCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems message collection get o k response has a 3xx status code

func (*EmsMessageCollectionGetOK) IsServerError

func (o *EmsMessageCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems message collection get o k response has a 5xx status code

func (*EmsMessageCollectionGetOK) IsSuccess

func (o *EmsMessageCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems message collection get o k response has a 2xx status code

func (*EmsMessageCollectionGetOK) String

func (o *EmsMessageCollectionGetOK) String() string

type EmsMessageCollectionGetParams

type EmsMessageCollectionGetParams struct {

	/* CorrectiveAction.

	   Filter by corrective_action
	*/
	CorrectiveAction *string

	/* Deprecated.

	   Filter by deprecated
	*/
	Deprecated *bool

	/* Description.

	   Filter by description
	*/
	Description *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* FilterName.

	   The filter name that applies to the query.
	*/
	FilterName *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Severity.

	   Filter by severity
	*/
	Severity *string

	/* SnmpTrapType.

	   Filter by snmp_trap_type
	*/
	SnmpTrapType *string

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

EmsMessageCollectionGetParams contains all the parameters to send to the API endpoint

for the ems message collection get operation.

Typically these are written to a http.Request.

func NewEmsMessageCollectionGetParams

func NewEmsMessageCollectionGetParams() *EmsMessageCollectionGetParams

NewEmsMessageCollectionGetParams creates a new EmsMessageCollectionGetParams 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 NewEmsMessageCollectionGetParamsWithContext

func NewEmsMessageCollectionGetParamsWithContext(ctx context.Context) *EmsMessageCollectionGetParams

NewEmsMessageCollectionGetParamsWithContext creates a new EmsMessageCollectionGetParams object with the ability to set a context for a request.

func NewEmsMessageCollectionGetParamsWithHTTPClient

func NewEmsMessageCollectionGetParamsWithHTTPClient(client *http.Client) *EmsMessageCollectionGetParams

NewEmsMessageCollectionGetParamsWithHTTPClient creates a new EmsMessageCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsMessageCollectionGetParamsWithTimeout

func NewEmsMessageCollectionGetParamsWithTimeout(timeout time.Duration) *EmsMessageCollectionGetParams

NewEmsMessageCollectionGetParamsWithTimeout creates a new EmsMessageCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsMessageCollectionGetParams) SetContext

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

SetContext adds the context to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetCorrectiveAction

func (o *EmsMessageCollectionGetParams) SetCorrectiveAction(correctiveAction *string)

SetCorrectiveAction adds the correctiveAction to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetDefaults

func (o *EmsMessageCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems message collection get params (not the query body).

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

func (*EmsMessageCollectionGetParams) SetDeprecated

func (o *EmsMessageCollectionGetParams) SetDeprecated(deprecated *bool)

SetDeprecated adds the deprecated to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetDescription

func (o *EmsMessageCollectionGetParams) SetDescription(description *string)

SetDescription adds the description to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetFields

func (o *EmsMessageCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetFilterName

func (o *EmsMessageCollectionGetParams) SetFilterName(filterName *string)

SetFilterName adds the filterName to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetMaxRecords

func (o *EmsMessageCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetName

func (o *EmsMessageCollectionGetParams) SetName(name *string)

SetName adds the name to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetOrderBy

func (o *EmsMessageCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetReturnRecords

func (o *EmsMessageCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetReturnTimeout

func (o *EmsMessageCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetSeverity

func (o *EmsMessageCollectionGetParams) SetSeverity(severity *string)

SetSeverity adds the severity to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetSnmpTrapType

func (o *EmsMessageCollectionGetParams) SetSnmpTrapType(snmpTrapType *string)

SetSnmpTrapType adds the snmpTrapType to the ems message collection get params

func (*EmsMessageCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithContext

WithContext adds the context to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithCorrectiveAction

func (o *EmsMessageCollectionGetParams) WithCorrectiveAction(correctiveAction *string) *EmsMessageCollectionGetParams

WithCorrectiveAction adds the correctiveAction to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems message collection get params (not the query body).

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

func (*EmsMessageCollectionGetParams) WithDeprecated

func (o *EmsMessageCollectionGetParams) WithDeprecated(deprecated *bool) *EmsMessageCollectionGetParams

WithDeprecated adds the deprecated to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithDescription

func (o *EmsMessageCollectionGetParams) WithDescription(description *string) *EmsMessageCollectionGetParams

WithDescription adds the description to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithFields

WithFields adds the fields to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithFilterName

func (o *EmsMessageCollectionGetParams) WithFilterName(filterName *string) *EmsMessageCollectionGetParams

WithFilterName adds the filterName to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithMaxRecords

func (o *EmsMessageCollectionGetParams) WithMaxRecords(maxRecords *int64) *EmsMessageCollectionGetParams

WithMaxRecords adds the maxRecords to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithName

WithName adds the name to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithReturnRecords

func (o *EmsMessageCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsMessageCollectionGetParams

WithReturnRecords adds the returnRecords to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithReturnTimeout

func (o *EmsMessageCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsMessageCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithSeverity

WithSeverity adds the severity to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithSnmpTrapType

func (o *EmsMessageCollectionGetParams) WithSnmpTrapType(snmpTrapType *string) *EmsMessageCollectionGetParams

WithSnmpTrapType adds the snmpTrapType to the ems message collection get params

func (*EmsMessageCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems message collection get params

func (*EmsMessageCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsMessageCollectionGetReader

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

EmsMessageCollectionGetReader is a Reader for the EmsMessageCollectionGet structure.

func (*EmsMessageCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsRoleConfigCollectionGetDefault

type EmsRoleConfigCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsRoleConfigCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsRoleConfigCollectionGetDefault

func NewEmsRoleConfigCollectionGetDefault(code int) *EmsRoleConfigCollectionGetDefault

NewEmsRoleConfigCollectionGetDefault creates a EmsRoleConfigCollectionGetDefault with default headers values

func (*EmsRoleConfigCollectionGetDefault) Code

Code gets the status code for the ems role config collection get default response

func (*EmsRoleConfigCollectionGetDefault) Error

func (*EmsRoleConfigCollectionGetDefault) GetPayload

func (*EmsRoleConfigCollectionGetDefault) IsClientError

func (o *EmsRoleConfigCollectionGetDefault) IsClientError() bool

IsClientError returns true when this ems role config collection get default response has a 4xx status code

func (*EmsRoleConfigCollectionGetDefault) IsCode

func (o *EmsRoleConfigCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this ems role config collection get default response a status code equal to that given

func (*EmsRoleConfigCollectionGetDefault) IsRedirect

func (o *EmsRoleConfigCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this ems role config collection get default response has a 3xx status code

func (*EmsRoleConfigCollectionGetDefault) IsServerError

func (o *EmsRoleConfigCollectionGetDefault) IsServerError() bool

IsServerError returns true when this ems role config collection get default response has a 5xx status code

func (*EmsRoleConfigCollectionGetDefault) IsSuccess

func (o *EmsRoleConfigCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this ems role config collection get default response has a 2xx status code

func (*EmsRoleConfigCollectionGetDefault) String

type EmsRoleConfigCollectionGetOK

type EmsRoleConfigCollectionGetOK struct {
	Payload *models.EmsRoleConfigResponse
}

EmsRoleConfigCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewEmsRoleConfigCollectionGetOK

func NewEmsRoleConfigCollectionGetOK() *EmsRoleConfigCollectionGetOK

NewEmsRoleConfigCollectionGetOK creates a EmsRoleConfigCollectionGetOK with default headers values

func (*EmsRoleConfigCollectionGetOK) Code

Code gets the status code for the ems role config collection get o k response

func (*EmsRoleConfigCollectionGetOK) Error

func (*EmsRoleConfigCollectionGetOK) GetPayload

func (*EmsRoleConfigCollectionGetOK) IsClientError

func (o *EmsRoleConfigCollectionGetOK) IsClientError() bool

IsClientError returns true when this ems role config collection get o k response has a 4xx status code

func (*EmsRoleConfigCollectionGetOK) IsCode

func (o *EmsRoleConfigCollectionGetOK) IsCode(code int) bool

IsCode returns true when this ems role config collection get o k response a status code equal to that given

func (*EmsRoleConfigCollectionGetOK) IsRedirect

func (o *EmsRoleConfigCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this ems role config collection get o k response has a 3xx status code

func (*EmsRoleConfigCollectionGetOK) IsServerError

func (o *EmsRoleConfigCollectionGetOK) IsServerError() bool

IsServerError returns true when this ems role config collection get o k response has a 5xx status code

func (*EmsRoleConfigCollectionGetOK) IsSuccess

func (o *EmsRoleConfigCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this ems role config collection get o k response has a 2xx status code

func (*EmsRoleConfigCollectionGetOK) String

type EmsRoleConfigCollectionGetParams

type EmsRoleConfigCollectionGetParams struct {

	/* AccessControlRoleName.

	   Filter by access_control_role.name
	*/
	AccessControlRoleName *string

	/* EventFilterName.

	   Filter by event_filter.name
	*/
	EventFilterName *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* LimitAccessToGlobalConfigs.

	   Filter by limit_access_to_global_configs
	*/
	LimitAccessToGlobalConfigs *bool

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

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

EmsRoleConfigCollectionGetParams contains all the parameters to send to the API endpoint

for the ems role config collection get operation.

Typically these are written to a http.Request.

func NewEmsRoleConfigCollectionGetParams

func NewEmsRoleConfigCollectionGetParams() *EmsRoleConfigCollectionGetParams

NewEmsRoleConfigCollectionGetParams creates a new EmsRoleConfigCollectionGetParams 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 NewEmsRoleConfigCollectionGetParamsWithContext

func NewEmsRoleConfigCollectionGetParamsWithContext(ctx context.Context) *EmsRoleConfigCollectionGetParams

NewEmsRoleConfigCollectionGetParamsWithContext creates a new EmsRoleConfigCollectionGetParams object with the ability to set a context for a request.

func NewEmsRoleConfigCollectionGetParamsWithHTTPClient

func NewEmsRoleConfigCollectionGetParamsWithHTTPClient(client *http.Client) *EmsRoleConfigCollectionGetParams

NewEmsRoleConfigCollectionGetParamsWithHTTPClient creates a new EmsRoleConfigCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsRoleConfigCollectionGetParamsWithTimeout

func NewEmsRoleConfigCollectionGetParamsWithTimeout(timeout time.Duration) *EmsRoleConfigCollectionGetParams

NewEmsRoleConfigCollectionGetParamsWithTimeout creates a new EmsRoleConfigCollectionGetParams object with the ability to set a timeout on a request.

func (*EmsRoleConfigCollectionGetParams) SetAccessControlRoleName

func (o *EmsRoleConfigCollectionGetParams) SetAccessControlRoleName(accessControlRoleName *string)

SetAccessControlRoleName adds the accessControlRoleName to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetContext

SetContext adds the context to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetDefaults

func (o *EmsRoleConfigCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the ems role config collection get params (not the query body).

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

func (*EmsRoleConfigCollectionGetParams) SetEventFilterName

func (o *EmsRoleConfigCollectionGetParams) SetEventFilterName(eventFilterName *string)

SetEventFilterName adds the eventFilterName to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetFields

func (o *EmsRoleConfigCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetLimitAccessToGlobalConfigs

func (o *EmsRoleConfigCollectionGetParams) SetLimitAccessToGlobalConfigs(limitAccessToGlobalConfigs *bool)

SetLimitAccessToGlobalConfigs adds the limitAccessToGlobalConfigs to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetMaxRecords

func (o *EmsRoleConfigCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetOrderBy

func (o *EmsRoleConfigCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetReturnRecords

func (o *EmsRoleConfigCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetReturnTimeout

func (o *EmsRoleConfigCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithAccessControlRoleName

func (o *EmsRoleConfigCollectionGetParams) WithAccessControlRoleName(accessControlRoleName *string) *EmsRoleConfigCollectionGetParams

WithAccessControlRoleName adds the accessControlRoleName to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithContext

WithContext adds the context to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the ems role config collection get params (not the query body).

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

func (*EmsRoleConfigCollectionGetParams) WithEventFilterName

func (o *EmsRoleConfigCollectionGetParams) WithEventFilterName(eventFilterName *string) *EmsRoleConfigCollectionGetParams

WithEventFilterName adds the eventFilterName to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithFields

WithFields adds the fields to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithLimitAccessToGlobalConfigs

func (o *EmsRoleConfigCollectionGetParams) WithLimitAccessToGlobalConfigs(limitAccessToGlobalConfigs *bool) *EmsRoleConfigCollectionGetParams

WithLimitAccessToGlobalConfigs adds the limitAccessToGlobalConfigs to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithReturnRecords

func (o *EmsRoleConfigCollectionGetParams) WithReturnRecords(returnRecords *bool) *EmsRoleConfigCollectionGetParams

WithReturnRecords adds the returnRecords to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithReturnTimeout

func (o *EmsRoleConfigCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *EmsRoleConfigCollectionGetParams

WithReturnTimeout adds the returnTimeout to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the ems role config collection get params

func (*EmsRoleConfigCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsRoleConfigCollectionGetReader

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

EmsRoleConfigCollectionGetReader is a Reader for the EmsRoleConfigCollectionGet structure.

func (*EmsRoleConfigCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsRoleConfigCreateCreated

type EmsRoleConfigCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.EmsRoleConfigResponse
}

EmsRoleConfigCreateCreated describes a response with status code 201, with default header values.

Created

func NewEmsRoleConfigCreateCreated

func NewEmsRoleConfigCreateCreated() *EmsRoleConfigCreateCreated

NewEmsRoleConfigCreateCreated creates a EmsRoleConfigCreateCreated with default headers values

func (*EmsRoleConfigCreateCreated) Code

func (o *EmsRoleConfigCreateCreated) Code() int

Code gets the status code for the ems role config create created response

func (*EmsRoleConfigCreateCreated) Error

func (*EmsRoleConfigCreateCreated) GetPayload

func (*EmsRoleConfigCreateCreated) IsClientError

func (o *EmsRoleConfigCreateCreated) IsClientError() bool

IsClientError returns true when this ems role config create created response has a 4xx status code

func (*EmsRoleConfigCreateCreated) IsCode

func (o *EmsRoleConfigCreateCreated) IsCode(code int) bool

IsCode returns true when this ems role config create created response a status code equal to that given

func (*EmsRoleConfigCreateCreated) IsRedirect

func (o *EmsRoleConfigCreateCreated) IsRedirect() bool

IsRedirect returns true when this ems role config create created response has a 3xx status code

func (*EmsRoleConfigCreateCreated) IsServerError

func (o *EmsRoleConfigCreateCreated) IsServerError() bool

IsServerError returns true when this ems role config create created response has a 5xx status code

func (*EmsRoleConfigCreateCreated) IsSuccess

func (o *EmsRoleConfigCreateCreated) IsSuccess() bool

IsSuccess returns true when this ems role config create created response has a 2xx status code

func (*EmsRoleConfigCreateCreated) String

func (o *EmsRoleConfigCreateCreated) String() string

type EmsRoleConfigCreateDefault

type EmsRoleConfigCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsRoleConfigCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983198 | The event filter provided does not exist. | | 983199 | The access control role provided does not exist. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsRoleConfigCreateDefault

func NewEmsRoleConfigCreateDefault(code int) *EmsRoleConfigCreateDefault

NewEmsRoleConfigCreateDefault creates a EmsRoleConfigCreateDefault with default headers values

func (*EmsRoleConfigCreateDefault) Code

func (o *EmsRoleConfigCreateDefault) Code() int

Code gets the status code for the ems role config create default response

func (*EmsRoleConfigCreateDefault) Error

func (*EmsRoleConfigCreateDefault) GetPayload

func (*EmsRoleConfigCreateDefault) IsClientError

func (o *EmsRoleConfigCreateDefault) IsClientError() bool

IsClientError returns true when this ems role config create default response has a 4xx status code

func (*EmsRoleConfigCreateDefault) IsCode

func (o *EmsRoleConfigCreateDefault) IsCode(code int) bool

IsCode returns true when this ems role config create default response a status code equal to that given

func (*EmsRoleConfigCreateDefault) IsRedirect

func (o *EmsRoleConfigCreateDefault) IsRedirect() bool

IsRedirect returns true when this ems role config create default response has a 3xx status code

func (*EmsRoleConfigCreateDefault) IsServerError

func (o *EmsRoleConfigCreateDefault) IsServerError() bool

IsServerError returns true when this ems role config create default response has a 5xx status code

func (*EmsRoleConfigCreateDefault) IsSuccess

func (o *EmsRoleConfigCreateDefault) IsSuccess() bool

IsSuccess returns true when this ems role config create default response has a 2xx status code

func (*EmsRoleConfigCreateDefault) String

func (o *EmsRoleConfigCreateDefault) String() string

type EmsRoleConfigCreateParams

type EmsRoleConfigCreateParams struct {

	/* Info.

	   Information specification
	*/
	Info *models.EmsRoleConfig

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

EmsRoleConfigCreateParams contains all the parameters to send to the API endpoint

for the ems role config create operation.

Typically these are written to a http.Request.

func NewEmsRoleConfigCreateParams

func NewEmsRoleConfigCreateParams() *EmsRoleConfigCreateParams

NewEmsRoleConfigCreateParams creates a new EmsRoleConfigCreateParams 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 NewEmsRoleConfigCreateParamsWithContext

func NewEmsRoleConfigCreateParamsWithContext(ctx context.Context) *EmsRoleConfigCreateParams

NewEmsRoleConfigCreateParamsWithContext creates a new EmsRoleConfigCreateParams object with the ability to set a context for a request.

func NewEmsRoleConfigCreateParamsWithHTTPClient

func NewEmsRoleConfigCreateParamsWithHTTPClient(client *http.Client) *EmsRoleConfigCreateParams

NewEmsRoleConfigCreateParamsWithHTTPClient creates a new EmsRoleConfigCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmsRoleConfigCreateParamsWithTimeout

func NewEmsRoleConfigCreateParamsWithTimeout(timeout time.Duration) *EmsRoleConfigCreateParams

NewEmsRoleConfigCreateParamsWithTimeout creates a new EmsRoleConfigCreateParams object with the ability to set a timeout on a request.

func (*EmsRoleConfigCreateParams) SetContext

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

SetContext adds the context to the ems role config create params

func (*EmsRoleConfigCreateParams) SetDefaults

func (o *EmsRoleConfigCreateParams) SetDefaults()

SetDefaults hydrates default values in the ems role config create params (not the query body).

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

func (*EmsRoleConfigCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems role config create params

func (*EmsRoleConfigCreateParams) SetInfo

SetInfo adds the info to the ems role config create params

func (*EmsRoleConfigCreateParams) SetReturnRecords

func (o *EmsRoleConfigCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the ems role config create params

func (*EmsRoleConfigCreateParams) SetTimeout

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

SetTimeout adds the timeout to the ems role config create params

func (*EmsRoleConfigCreateParams) WithContext

WithContext adds the context to the ems role config create params

func (*EmsRoleConfigCreateParams) WithDefaults

WithDefaults hydrates default values in the ems role config create params (not the query body).

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

func (*EmsRoleConfigCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems role config create params

func (*EmsRoleConfigCreateParams) WithInfo

WithInfo adds the info to the ems role config create params

func (*EmsRoleConfigCreateParams) WithReturnRecords

func (o *EmsRoleConfigCreateParams) WithReturnRecords(returnRecords *bool) *EmsRoleConfigCreateParams

WithReturnRecords adds the returnRecords to the ems role config create params

func (*EmsRoleConfigCreateParams) WithTimeout

WithTimeout adds the timeout to the ems role config create params

func (*EmsRoleConfigCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsRoleConfigCreateReader

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

EmsRoleConfigCreateReader is a Reader for the EmsRoleConfigCreate structure.

func (*EmsRoleConfigCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsRoleConfigDeleteDefault

type EmsRoleConfigDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsRoleConfigDeleteDefault describes a response with status code -1, with default header values.

Error

func NewEmsRoleConfigDeleteDefault

func NewEmsRoleConfigDeleteDefault(code int) *EmsRoleConfigDeleteDefault

NewEmsRoleConfigDeleteDefault creates a EmsRoleConfigDeleteDefault with default headers values

func (*EmsRoleConfigDeleteDefault) Code

func (o *EmsRoleConfigDeleteDefault) Code() int

Code gets the status code for the ems role config delete default response

func (*EmsRoleConfigDeleteDefault) Error

func (*EmsRoleConfigDeleteDefault) GetPayload

func (*EmsRoleConfigDeleteDefault) IsClientError

func (o *EmsRoleConfigDeleteDefault) IsClientError() bool

IsClientError returns true when this ems role config delete default response has a 4xx status code

func (*EmsRoleConfigDeleteDefault) IsCode

func (o *EmsRoleConfigDeleteDefault) IsCode(code int) bool

IsCode returns true when this ems role config delete default response a status code equal to that given

func (*EmsRoleConfigDeleteDefault) IsRedirect

func (o *EmsRoleConfigDeleteDefault) IsRedirect() bool

IsRedirect returns true when this ems role config delete default response has a 3xx status code

func (*EmsRoleConfigDeleteDefault) IsServerError

func (o *EmsRoleConfigDeleteDefault) IsServerError() bool

IsServerError returns true when this ems role config delete default response has a 5xx status code

func (*EmsRoleConfigDeleteDefault) IsSuccess

func (o *EmsRoleConfigDeleteDefault) IsSuccess() bool

IsSuccess returns true when this ems role config delete default response has a 2xx status code

func (*EmsRoleConfigDeleteDefault) String

func (o *EmsRoleConfigDeleteDefault) String() string

type EmsRoleConfigDeleteOK

type EmsRoleConfigDeleteOK struct {
}

EmsRoleConfigDeleteOK describes a response with status code 200, with default header values.

OK

func NewEmsRoleConfigDeleteOK

func NewEmsRoleConfigDeleteOK() *EmsRoleConfigDeleteOK

NewEmsRoleConfigDeleteOK creates a EmsRoleConfigDeleteOK with default headers values

func (*EmsRoleConfigDeleteOK) Code

func (o *EmsRoleConfigDeleteOK) Code() int

Code gets the status code for the ems role config delete o k response

func (*EmsRoleConfigDeleteOK) Error

func (o *EmsRoleConfigDeleteOK) Error() string

func (*EmsRoleConfigDeleteOK) IsClientError

func (o *EmsRoleConfigDeleteOK) IsClientError() bool

IsClientError returns true when this ems role config delete o k response has a 4xx status code

func (*EmsRoleConfigDeleteOK) IsCode

func (o *EmsRoleConfigDeleteOK) IsCode(code int) bool

IsCode returns true when this ems role config delete o k response a status code equal to that given

func (*EmsRoleConfigDeleteOK) IsRedirect

func (o *EmsRoleConfigDeleteOK) IsRedirect() bool

IsRedirect returns true when this ems role config delete o k response has a 3xx status code

func (*EmsRoleConfigDeleteOK) IsServerError

func (o *EmsRoleConfigDeleteOK) IsServerError() bool

IsServerError returns true when this ems role config delete o k response has a 5xx status code

func (*EmsRoleConfigDeleteOK) IsSuccess

func (o *EmsRoleConfigDeleteOK) IsSuccess() bool

IsSuccess returns true when this ems role config delete o k response has a 2xx status code

func (*EmsRoleConfigDeleteOK) String

func (o *EmsRoleConfigDeleteOK) String() string

type EmsRoleConfigDeleteParams

type EmsRoleConfigDeleteParams struct {

	/* AccessControlRoleName.

	   Access control role name
	*/
	AccessControlRoleName string

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

EmsRoleConfigDeleteParams contains all the parameters to send to the API endpoint

for the ems role config delete operation.

Typically these are written to a http.Request.

func NewEmsRoleConfigDeleteParams

func NewEmsRoleConfigDeleteParams() *EmsRoleConfigDeleteParams

NewEmsRoleConfigDeleteParams creates a new EmsRoleConfigDeleteParams 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 NewEmsRoleConfigDeleteParamsWithContext

func NewEmsRoleConfigDeleteParamsWithContext(ctx context.Context) *EmsRoleConfigDeleteParams

NewEmsRoleConfigDeleteParamsWithContext creates a new EmsRoleConfigDeleteParams object with the ability to set a context for a request.

func NewEmsRoleConfigDeleteParamsWithHTTPClient

func NewEmsRoleConfigDeleteParamsWithHTTPClient(client *http.Client) *EmsRoleConfigDeleteParams

NewEmsRoleConfigDeleteParamsWithHTTPClient creates a new EmsRoleConfigDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewEmsRoleConfigDeleteParamsWithTimeout

func NewEmsRoleConfigDeleteParamsWithTimeout(timeout time.Duration) *EmsRoleConfigDeleteParams

NewEmsRoleConfigDeleteParamsWithTimeout creates a new EmsRoleConfigDeleteParams object with the ability to set a timeout on a request.

func (*EmsRoleConfigDeleteParams) SetAccessControlRoleName

func (o *EmsRoleConfigDeleteParams) SetAccessControlRoleName(accessControlRoleName string)

SetAccessControlRoleName adds the accessControlRoleName to the ems role config delete params

func (*EmsRoleConfigDeleteParams) SetContext

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

SetContext adds the context to the ems role config delete params

func (*EmsRoleConfigDeleteParams) SetDefaults

func (o *EmsRoleConfigDeleteParams) SetDefaults()

SetDefaults hydrates default values in the ems role config delete params (not the query body).

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

func (*EmsRoleConfigDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems role config delete params

func (*EmsRoleConfigDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ems role config delete params

func (*EmsRoleConfigDeleteParams) WithAccessControlRoleName

func (o *EmsRoleConfigDeleteParams) WithAccessControlRoleName(accessControlRoleName string) *EmsRoleConfigDeleteParams

WithAccessControlRoleName adds the accessControlRoleName to the ems role config delete params

func (*EmsRoleConfigDeleteParams) WithContext

WithContext adds the context to the ems role config delete params

func (*EmsRoleConfigDeleteParams) WithDefaults

WithDefaults hydrates default values in the ems role config delete params (not the query body).

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

func (*EmsRoleConfigDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems role config delete params

func (*EmsRoleConfigDeleteParams) WithTimeout

WithTimeout adds the timeout to the ems role config delete params

func (*EmsRoleConfigDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsRoleConfigDeleteReader

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

EmsRoleConfigDeleteReader is a Reader for the EmsRoleConfigDelete structure.

func (*EmsRoleConfigDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsRoleConfigGetDefault

type EmsRoleConfigGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

EmsRoleConfigGetDefault describes a response with status code -1, with default header values.

Error

func NewEmsRoleConfigGetDefault

func NewEmsRoleConfigGetDefault(code int) *EmsRoleConfigGetDefault

NewEmsRoleConfigGetDefault creates a EmsRoleConfigGetDefault with default headers values

func (*EmsRoleConfigGetDefault) Code

func (o *EmsRoleConfigGetDefault) Code() int

Code gets the status code for the ems role config get default response

func (*EmsRoleConfigGetDefault) Error

func (o *EmsRoleConfigGetDefault) Error() string

func (*EmsRoleConfigGetDefault) GetPayload

func (o *EmsRoleConfigGetDefault) GetPayload() *models.ErrorResponse

func (*EmsRoleConfigGetDefault) IsClientError

func (o *EmsRoleConfigGetDefault) IsClientError() bool

IsClientError returns true when this ems role config get default response has a 4xx status code

func (*EmsRoleConfigGetDefault) IsCode

func (o *EmsRoleConfigGetDefault) IsCode(code int) bool

IsCode returns true when this ems role config get default response a status code equal to that given

func (*EmsRoleConfigGetDefault) IsRedirect

func (o *EmsRoleConfigGetDefault) IsRedirect() bool

IsRedirect returns true when this ems role config get default response has a 3xx status code

func (*EmsRoleConfigGetDefault) IsServerError

func (o *EmsRoleConfigGetDefault) IsServerError() bool

IsServerError returns true when this ems role config get default response has a 5xx status code

func (*EmsRoleConfigGetDefault) IsSuccess

func (o *EmsRoleConfigGetDefault) IsSuccess() bool

IsSuccess returns true when this ems role config get default response has a 2xx status code

func (*EmsRoleConfigGetDefault) String

func (o *EmsRoleConfigGetDefault) String() string

type EmsRoleConfigGetOK

type EmsRoleConfigGetOK struct {
	Payload *models.EmsRoleConfig
}

EmsRoleConfigGetOK describes a response with status code 200, with default header values.

OK

func NewEmsRoleConfigGetOK

func NewEmsRoleConfigGetOK() *EmsRoleConfigGetOK

NewEmsRoleConfigGetOK creates a EmsRoleConfigGetOK with default headers values

func (*EmsRoleConfigGetOK) Code

func (o *EmsRoleConfigGetOK) Code() int

Code gets the status code for the ems role config get o k response

func (*EmsRoleConfigGetOK) Error

func (o *EmsRoleConfigGetOK) Error() string

func (*EmsRoleConfigGetOK) GetPayload

func (o *EmsRoleConfigGetOK) GetPayload() *models.EmsRoleConfig

func (*EmsRoleConfigGetOK) IsClientError

func (o *EmsRoleConfigGetOK) IsClientError() bool

IsClientError returns true when this ems role config get o k response has a 4xx status code

func (*EmsRoleConfigGetOK) IsCode

func (o *EmsRoleConfigGetOK) IsCode(code int) bool

IsCode returns true when this ems role config get o k response a status code equal to that given

func (*EmsRoleConfigGetOK) IsRedirect

func (o *EmsRoleConfigGetOK) IsRedirect() bool

IsRedirect returns true when this ems role config get o k response has a 3xx status code

func (*EmsRoleConfigGetOK) IsServerError

func (o *EmsRoleConfigGetOK) IsServerError() bool

IsServerError returns true when this ems role config get o k response has a 5xx status code

func (*EmsRoleConfigGetOK) IsSuccess

func (o *EmsRoleConfigGetOK) IsSuccess() bool

IsSuccess returns true when this ems role config get o k response has a 2xx status code

func (*EmsRoleConfigGetOK) String

func (o *EmsRoleConfigGetOK) String() string

type EmsRoleConfigGetParams

type EmsRoleConfigGetParams struct {

	/* AccessControlRoleName.

	   Access control role name
	*/
	AccessControlRoleName string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

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

EmsRoleConfigGetParams contains all the parameters to send to the API endpoint

for the ems role config get operation.

Typically these are written to a http.Request.

func NewEmsRoleConfigGetParams

func NewEmsRoleConfigGetParams() *EmsRoleConfigGetParams

NewEmsRoleConfigGetParams creates a new EmsRoleConfigGetParams 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 NewEmsRoleConfigGetParamsWithContext

func NewEmsRoleConfigGetParamsWithContext(ctx context.Context) *EmsRoleConfigGetParams

NewEmsRoleConfigGetParamsWithContext creates a new EmsRoleConfigGetParams object with the ability to set a context for a request.

func NewEmsRoleConfigGetParamsWithHTTPClient

func NewEmsRoleConfigGetParamsWithHTTPClient(client *http.Client) *EmsRoleConfigGetParams

NewEmsRoleConfigGetParamsWithHTTPClient creates a new EmsRoleConfigGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmsRoleConfigGetParamsWithTimeout

func NewEmsRoleConfigGetParamsWithTimeout(timeout time.Duration) *EmsRoleConfigGetParams

NewEmsRoleConfigGetParamsWithTimeout creates a new EmsRoleConfigGetParams object with the ability to set a timeout on a request.

func (*EmsRoleConfigGetParams) SetAccessControlRoleName

func (o *EmsRoleConfigGetParams) SetAccessControlRoleName(accessControlRoleName string)

SetAccessControlRoleName adds the accessControlRoleName to the ems role config get params

func (*EmsRoleConfigGetParams) SetContext

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

SetContext adds the context to the ems role config get params

func (*EmsRoleConfigGetParams) SetDefaults

func (o *EmsRoleConfigGetParams) SetDefaults()

SetDefaults hydrates default values in the ems role config get params (not the query body).

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

func (*EmsRoleConfigGetParams) SetFields

func (o *EmsRoleConfigGetParams) SetFields(fields []string)

SetFields adds the fields to the ems role config get params

func (*EmsRoleConfigGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems role config get params

func (*EmsRoleConfigGetParams) SetTimeout

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

SetTimeout adds the timeout to the ems role config get params

func (*EmsRoleConfigGetParams) WithAccessControlRoleName

func (o *EmsRoleConfigGetParams) WithAccessControlRoleName(accessControlRoleName string) *EmsRoleConfigGetParams

WithAccessControlRoleName adds the accessControlRoleName to the ems role config get params

func (*EmsRoleConfigGetParams) WithContext

WithContext adds the context to the ems role config get params

func (*EmsRoleConfigGetParams) WithDefaults

WithDefaults hydrates default values in the ems role config get params (not the query body).

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

func (*EmsRoleConfigGetParams) WithFields

func (o *EmsRoleConfigGetParams) WithFields(fields []string) *EmsRoleConfigGetParams

WithFields adds the fields to the ems role config get params

func (*EmsRoleConfigGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems role config get params

func (*EmsRoleConfigGetParams) WithTimeout

WithTimeout adds the timeout to the ems role config get params

func (*EmsRoleConfigGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsRoleConfigGetReader

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

EmsRoleConfigGetReader is a Reader for the EmsRoleConfigGet structure.

func (*EmsRoleConfigGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EmsRoleConfigModifyDefault

type EmsRoleConfigModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
EmsRoleConfigModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 983197 | The event filter provided is the same as the currently assigned filter. | | 983198 | The event filter provided does not exist. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewEmsRoleConfigModifyDefault

func NewEmsRoleConfigModifyDefault(code int) *EmsRoleConfigModifyDefault

NewEmsRoleConfigModifyDefault creates a EmsRoleConfigModifyDefault with default headers values

func (*EmsRoleConfigModifyDefault) Code

func (o *EmsRoleConfigModifyDefault) Code() int

Code gets the status code for the ems role config modify default response

func (*EmsRoleConfigModifyDefault) Error

func (*EmsRoleConfigModifyDefault) GetPayload

func (*EmsRoleConfigModifyDefault) IsClientError

func (o *EmsRoleConfigModifyDefault) IsClientError() bool

IsClientError returns true when this ems role config modify default response has a 4xx status code

func (*EmsRoleConfigModifyDefault) IsCode

func (o *EmsRoleConfigModifyDefault) IsCode(code int) bool

IsCode returns true when this ems role config modify default response a status code equal to that given

func (*EmsRoleConfigModifyDefault) IsRedirect

func (o *EmsRoleConfigModifyDefault) IsRedirect() bool

IsRedirect returns true when this ems role config modify default response has a 3xx status code

func (*EmsRoleConfigModifyDefault) IsServerError

func (o *EmsRoleConfigModifyDefault) IsServerError() bool

IsServerError returns true when this ems role config modify default response has a 5xx status code

func (*EmsRoleConfigModifyDefault) IsSuccess

func (o *EmsRoleConfigModifyDefault) IsSuccess() bool

IsSuccess returns true when this ems role config modify default response has a 2xx status code

func (*EmsRoleConfigModifyDefault) String

func (o *EmsRoleConfigModifyDefault) String() string

type EmsRoleConfigModifyOK

type EmsRoleConfigModifyOK struct {
}

EmsRoleConfigModifyOK describes a response with status code 200, with default header values.

OK

func NewEmsRoleConfigModifyOK

func NewEmsRoleConfigModifyOK() *EmsRoleConfigModifyOK

NewEmsRoleConfigModifyOK creates a EmsRoleConfigModifyOK with default headers values

func (*EmsRoleConfigModifyOK) Code

func (o *EmsRoleConfigModifyOK) Code() int

Code gets the status code for the ems role config modify o k response

func (*EmsRoleConfigModifyOK) Error

func (o *EmsRoleConfigModifyOK) Error() string

func (*EmsRoleConfigModifyOK) IsClientError

func (o *EmsRoleConfigModifyOK) IsClientError() bool

IsClientError returns true when this ems role config modify o k response has a 4xx status code

func (*EmsRoleConfigModifyOK) IsCode

func (o *EmsRoleConfigModifyOK) IsCode(code int) bool

IsCode returns true when this ems role config modify o k response a status code equal to that given

func (*EmsRoleConfigModifyOK) IsRedirect

func (o *EmsRoleConfigModifyOK) IsRedirect() bool

IsRedirect returns true when this ems role config modify o k response has a 3xx status code

func (*EmsRoleConfigModifyOK) IsServerError

func (o *EmsRoleConfigModifyOK) IsServerError() bool

IsServerError returns true when this ems role config modify o k response has a 5xx status code

func (*EmsRoleConfigModifyOK) IsSuccess

func (o *EmsRoleConfigModifyOK) IsSuccess() bool

IsSuccess returns true when this ems role config modify o k response has a 2xx status code

func (*EmsRoleConfigModifyOK) String

func (o *EmsRoleConfigModifyOK) String() string

type EmsRoleConfigModifyParams

type EmsRoleConfigModifyParams struct {

	/* AccessControlRoleName.

	   Access control role name
	*/
	AccessControlRoleName string

	/* Info.

	   Information specification
	*/
	Info *models.EmsRoleConfig

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

EmsRoleConfigModifyParams contains all the parameters to send to the API endpoint

for the ems role config modify operation.

Typically these are written to a http.Request.

func NewEmsRoleConfigModifyParams

func NewEmsRoleConfigModifyParams() *EmsRoleConfigModifyParams

NewEmsRoleConfigModifyParams creates a new EmsRoleConfigModifyParams 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 NewEmsRoleConfigModifyParamsWithContext

func NewEmsRoleConfigModifyParamsWithContext(ctx context.Context) *EmsRoleConfigModifyParams

NewEmsRoleConfigModifyParamsWithContext creates a new EmsRoleConfigModifyParams object with the ability to set a context for a request.

func NewEmsRoleConfigModifyParamsWithHTTPClient

func NewEmsRoleConfigModifyParamsWithHTTPClient(client *http.Client) *EmsRoleConfigModifyParams

NewEmsRoleConfigModifyParamsWithHTTPClient creates a new EmsRoleConfigModifyParams object with the ability to set a custom HTTPClient for a request.

func NewEmsRoleConfigModifyParamsWithTimeout

func NewEmsRoleConfigModifyParamsWithTimeout(timeout time.Duration) *EmsRoleConfigModifyParams

NewEmsRoleConfigModifyParamsWithTimeout creates a new EmsRoleConfigModifyParams object with the ability to set a timeout on a request.

func (*EmsRoleConfigModifyParams) SetAccessControlRoleName

func (o *EmsRoleConfigModifyParams) SetAccessControlRoleName(accessControlRoleName string)

SetAccessControlRoleName adds the accessControlRoleName to the ems role config modify params

func (*EmsRoleConfigModifyParams) SetContext

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

SetContext adds the context to the ems role config modify params

func (*EmsRoleConfigModifyParams) SetDefaults

func (o *EmsRoleConfigModifyParams) SetDefaults()

SetDefaults hydrates default values in the ems role config modify params (not the query body).

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

func (*EmsRoleConfigModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ems role config modify params

func (*EmsRoleConfigModifyParams) SetInfo

SetInfo adds the info to the ems role config modify params

func (*EmsRoleConfigModifyParams) SetTimeout

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

SetTimeout adds the timeout to the ems role config modify params

func (*EmsRoleConfigModifyParams) WithAccessControlRoleName

func (o *EmsRoleConfigModifyParams) WithAccessControlRoleName(accessControlRoleName string) *EmsRoleConfigModifyParams

WithAccessControlRoleName adds the accessControlRoleName to the ems role config modify params

func (*EmsRoleConfigModifyParams) WithContext

WithContext adds the context to the ems role config modify params

func (*EmsRoleConfigModifyParams) WithDefaults

WithDefaults hydrates default values in the ems role config modify params (not the query body).

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

func (*EmsRoleConfigModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ems role config modify params

func (*EmsRoleConfigModifyParams) WithInfo

WithInfo adds the info to the ems role config modify params

func (*EmsRoleConfigModifyParams) WithTimeout

WithTimeout adds the timeout to the ems role config modify params

func (*EmsRoleConfigModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmsRoleConfigModifyReader

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

EmsRoleConfigModifyReader is a Reader for the EmsRoleConfigModify structure.

func (*EmsRoleConfigModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpGetDefault

type SnmpGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnmpGetDefault describes a response with status code -1, with default header values.

Error

func NewSnmpGetDefault

func NewSnmpGetDefault(code int) *SnmpGetDefault

NewSnmpGetDefault creates a SnmpGetDefault with default headers values

func (*SnmpGetDefault) Code

func (o *SnmpGetDefault) Code() int

Code gets the status code for the snmp get default response

func (*SnmpGetDefault) Error

func (o *SnmpGetDefault) Error() string

func (*SnmpGetDefault) GetPayload

func (o *SnmpGetDefault) GetPayload() *models.ErrorResponse

func (*SnmpGetDefault) IsClientError

func (o *SnmpGetDefault) IsClientError() bool

IsClientError returns true when this snmp get default response has a 4xx status code

func (*SnmpGetDefault) IsCode

func (o *SnmpGetDefault) IsCode(code int) bool

IsCode returns true when this snmp get default response a status code equal to that given

func (*SnmpGetDefault) IsRedirect

func (o *SnmpGetDefault) IsRedirect() bool

IsRedirect returns true when this snmp get default response has a 3xx status code

func (*SnmpGetDefault) IsServerError

func (o *SnmpGetDefault) IsServerError() bool

IsServerError returns true when this snmp get default response has a 5xx status code

func (*SnmpGetDefault) IsSuccess

func (o *SnmpGetDefault) IsSuccess() bool

IsSuccess returns true when this snmp get default response has a 2xx status code

func (*SnmpGetDefault) String

func (o *SnmpGetDefault) String() string

type SnmpGetOK

type SnmpGetOK struct {
	Payload *models.Snmp
}

SnmpGetOK describes a response with status code 200, with default header values.

OK

func NewSnmpGetOK

func NewSnmpGetOK() *SnmpGetOK

NewSnmpGetOK creates a SnmpGetOK with default headers values

func (*SnmpGetOK) Code

func (o *SnmpGetOK) Code() int

Code gets the status code for the snmp get o k response

func (*SnmpGetOK) Error

func (o *SnmpGetOK) Error() string

func (*SnmpGetOK) GetPayload

func (o *SnmpGetOK) GetPayload() *models.Snmp

func (*SnmpGetOK) IsClientError

func (o *SnmpGetOK) IsClientError() bool

IsClientError returns true when this snmp get o k response has a 4xx status code

func (*SnmpGetOK) IsCode

func (o *SnmpGetOK) IsCode(code int) bool

IsCode returns true when this snmp get o k response a status code equal to that given

func (*SnmpGetOK) IsRedirect

func (o *SnmpGetOK) IsRedirect() bool

IsRedirect returns true when this snmp get o k response has a 3xx status code

func (*SnmpGetOK) IsServerError

func (o *SnmpGetOK) IsServerError() bool

IsServerError returns true when this snmp get o k response has a 5xx status code

func (*SnmpGetOK) IsSuccess

func (o *SnmpGetOK) IsSuccess() bool

IsSuccess returns true when this snmp get o k response has a 2xx status code

func (*SnmpGetOK) String

func (o *SnmpGetOK) String() string

type SnmpGetParams

type SnmpGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

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

SnmpGetParams contains all the parameters to send to the API endpoint

for the snmp get operation.

Typically these are written to a http.Request.

func NewSnmpGetParams

func NewSnmpGetParams() *SnmpGetParams

NewSnmpGetParams creates a new SnmpGetParams 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 NewSnmpGetParamsWithContext

func NewSnmpGetParamsWithContext(ctx context.Context) *SnmpGetParams

NewSnmpGetParamsWithContext creates a new SnmpGetParams object with the ability to set a context for a request.

func NewSnmpGetParamsWithHTTPClient

func NewSnmpGetParamsWithHTTPClient(client *http.Client) *SnmpGetParams

NewSnmpGetParamsWithHTTPClient creates a new SnmpGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpGetParamsWithTimeout

func NewSnmpGetParamsWithTimeout(timeout time.Duration) *SnmpGetParams

NewSnmpGetParamsWithTimeout creates a new SnmpGetParams object with the ability to set a timeout on a request.

func (*SnmpGetParams) SetContext

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

SetContext adds the context to the snmp get params

func (*SnmpGetParams) SetDefaults

func (o *SnmpGetParams) SetDefaults()

SetDefaults hydrates default values in the snmp get params (not the query body).

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

func (*SnmpGetParams) SetFields

func (o *SnmpGetParams) SetFields(fields []string)

SetFields adds the fields to the snmp get params

func (*SnmpGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp get params

func (*SnmpGetParams) SetMaxRecords

func (o *SnmpGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snmp get params

func (*SnmpGetParams) SetOrderBy

func (o *SnmpGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snmp get params

func (*SnmpGetParams) SetReturnRecords

func (o *SnmpGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snmp get params

func (*SnmpGetParams) SetReturnTimeout

func (o *SnmpGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp get params

func (*SnmpGetParams) SetTimeout

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

SetTimeout adds the timeout to the snmp get params

func (*SnmpGetParams) WithContext

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

WithContext adds the context to the snmp get params

func (*SnmpGetParams) WithDefaults

func (o *SnmpGetParams) WithDefaults() *SnmpGetParams

WithDefaults hydrates default values in the snmp get params (not the query body).

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

func (*SnmpGetParams) WithFields

func (o *SnmpGetParams) WithFields(fields []string) *SnmpGetParams

WithFields adds the fields to the snmp get params

func (*SnmpGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp get params

func (*SnmpGetParams) WithMaxRecords

func (o *SnmpGetParams) WithMaxRecords(maxRecords *int64) *SnmpGetParams

WithMaxRecords adds the maxRecords to the snmp get params

func (*SnmpGetParams) WithOrderBy

func (o *SnmpGetParams) WithOrderBy(orderBy []string) *SnmpGetParams

WithOrderBy adds the orderBy to the snmp get params

func (*SnmpGetParams) WithReturnRecords

func (o *SnmpGetParams) WithReturnRecords(returnRecords *bool) *SnmpGetParams

WithReturnRecords adds the returnRecords to the snmp get params

func (*SnmpGetParams) WithReturnTimeout

func (o *SnmpGetParams) WithReturnTimeout(returnTimeout *int64) *SnmpGetParams

WithReturnTimeout adds the returnTimeout to the snmp get params

func (*SnmpGetParams) WithTimeout

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

WithTimeout adds the timeout to the snmp get params

func (*SnmpGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpGetReader

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

SnmpGetReader is a Reader for the SnmpGet structure.

func (*SnmpGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpModifyDefault

type SnmpModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 1179738 | Cluster identification not available for modification since a cluster has not been created. | | 1179739 | Cluster identification modification is not available in maintenance mode or other boot modes. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpModifyDefault

func NewSnmpModifyDefault(code int) *SnmpModifyDefault

NewSnmpModifyDefault creates a SnmpModifyDefault with default headers values

func (*SnmpModifyDefault) Code

func (o *SnmpModifyDefault) Code() int

Code gets the status code for the snmp modify default response

func (*SnmpModifyDefault) Error

func (o *SnmpModifyDefault) Error() string

func (*SnmpModifyDefault) GetPayload

func (o *SnmpModifyDefault) GetPayload() *models.ErrorResponse

func (*SnmpModifyDefault) IsClientError

func (o *SnmpModifyDefault) IsClientError() bool

IsClientError returns true when this snmp modify default response has a 4xx status code

func (*SnmpModifyDefault) IsCode

func (o *SnmpModifyDefault) IsCode(code int) bool

IsCode returns true when this snmp modify default response a status code equal to that given

func (*SnmpModifyDefault) IsRedirect

func (o *SnmpModifyDefault) IsRedirect() bool

IsRedirect returns true when this snmp modify default response has a 3xx status code

func (*SnmpModifyDefault) IsServerError

func (o *SnmpModifyDefault) IsServerError() bool

IsServerError returns true when this snmp modify default response has a 5xx status code

func (*SnmpModifyDefault) IsSuccess

func (o *SnmpModifyDefault) IsSuccess() bool

IsSuccess returns true when this snmp modify default response has a 2xx status code

func (*SnmpModifyDefault) String

func (o *SnmpModifyDefault) String() string

type SnmpModifyOK

type SnmpModifyOK struct {
}

SnmpModifyOK describes a response with status code 200, with default header values.

OK

func NewSnmpModifyOK

func NewSnmpModifyOK() *SnmpModifyOK

NewSnmpModifyOK creates a SnmpModifyOK with default headers values

func (*SnmpModifyOK) Code

func (o *SnmpModifyOK) Code() int

Code gets the status code for the snmp modify o k response

func (*SnmpModifyOK) Error

func (o *SnmpModifyOK) Error() string

func (*SnmpModifyOK) IsClientError

func (o *SnmpModifyOK) IsClientError() bool

IsClientError returns true when this snmp modify o k response has a 4xx status code

func (*SnmpModifyOK) IsCode

func (o *SnmpModifyOK) IsCode(code int) bool

IsCode returns true when this snmp modify o k response a status code equal to that given

func (*SnmpModifyOK) IsRedirect

func (o *SnmpModifyOK) IsRedirect() bool

IsRedirect returns true when this snmp modify o k response has a 3xx status code

func (*SnmpModifyOK) IsServerError

func (o *SnmpModifyOK) IsServerError() bool

IsServerError returns true when this snmp modify o k response has a 5xx status code

func (*SnmpModifyOK) IsSuccess

func (o *SnmpModifyOK) IsSuccess() bool

IsSuccess returns true when this snmp modify o k response has a 2xx status code

func (*SnmpModifyOK) String

func (o *SnmpModifyOK) String() string

type SnmpModifyParams

type SnmpModifyParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.Snmp

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

SnmpModifyParams contains all the parameters to send to the API endpoint

for the snmp modify operation.

Typically these are written to a http.Request.

func NewSnmpModifyParams

func NewSnmpModifyParams() *SnmpModifyParams

NewSnmpModifyParams creates a new SnmpModifyParams 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 NewSnmpModifyParamsWithContext

func NewSnmpModifyParamsWithContext(ctx context.Context) *SnmpModifyParams

NewSnmpModifyParamsWithContext creates a new SnmpModifyParams object with the ability to set a context for a request.

func NewSnmpModifyParamsWithHTTPClient

func NewSnmpModifyParamsWithHTTPClient(client *http.Client) *SnmpModifyParams

NewSnmpModifyParamsWithHTTPClient creates a new SnmpModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpModifyParamsWithTimeout

func NewSnmpModifyParamsWithTimeout(timeout time.Duration) *SnmpModifyParams

NewSnmpModifyParamsWithTimeout creates a new SnmpModifyParams object with the ability to set a timeout on a request.

func (*SnmpModifyParams) SetContext

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

SetContext adds the context to the snmp modify params

func (*SnmpModifyParams) SetDefaults

func (o *SnmpModifyParams) SetDefaults()

SetDefaults hydrates default values in the snmp modify params (not the query body).

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

func (*SnmpModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp modify params

func (*SnmpModifyParams) SetInfo

func (o *SnmpModifyParams) SetInfo(info *models.Snmp)

SetInfo adds the info to the snmp modify params

func (*SnmpModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snmp modify params

func (*SnmpModifyParams) WithContext

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

WithContext adds the context to the snmp modify params

func (*SnmpModifyParams) WithDefaults

func (o *SnmpModifyParams) WithDefaults() *SnmpModifyParams

WithDefaults hydrates default values in the snmp modify params (not the query body).

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

func (*SnmpModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp modify params

func (*SnmpModifyParams) WithInfo

func (o *SnmpModifyParams) WithInfo(info *models.Snmp) *SnmpModifyParams

WithInfo adds the info to the snmp modify params

func (*SnmpModifyParams) WithTimeout

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

WithTimeout adds the timeout to the snmp modify params

func (*SnmpModifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpModifyReader

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

SnmpModifyReader is a Reader for the SnmpModify structure.

func (*SnmpModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpTraphostsCollectionGetDefault

type SnmpTraphostsCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnmpTraphostsCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewSnmpTraphostsCollectionGetDefault

func NewSnmpTraphostsCollectionGetDefault(code int) *SnmpTraphostsCollectionGetDefault

NewSnmpTraphostsCollectionGetDefault creates a SnmpTraphostsCollectionGetDefault with default headers values

func (*SnmpTraphostsCollectionGetDefault) Code

Code gets the status code for the snmp traphosts collection get default response

func (*SnmpTraphostsCollectionGetDefault) Error

func (*SnmpTraphostsCollectionGetDefault) GetPayload

func (*SnmpTraphostsCollectionGetDefault) IsClientError

func (o *SnmpTraphostsCollectionGetDefault) IsClientError() bool

IsClientError returns true when this snmp traphosts collection get default response has a 4xx status code

func (*SnmpTraphostsCollectionGetDefault) IsCode

func (o *SnmpTraphostsCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this snmp traphosts collection get default response a status code equal to that given

func (*SnmpTraphostsCollectionGetDefault) IsRedirect

func (o *SnmpTraphostsCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this snmp traphosts collection get default response has a 3xx status code

func (*SnmpTraphostsCollectionGetDefault) IsServerError

func (o *SnmpTraphostsCollectionGetDefault) IsServerError() bool

IsServerError returns true when this snmp traphosts collection get default response has a 5xx status code

func (*SnmpTraphostsCollectionGetDefault) IsSuccess

func (o *SnmpTraphostsCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this snmp traphosts collection get default response has a 2xx status code

func (*SnmpTraphostsCollectionGetDefault) String

type SnmpTraphostsCollectionGetOK

type SnmpTraphostsCollectionGetOK struct {
	Payload *models.SnmpTraphostResponse
}

SnmpTraphostsCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewSnmpTraphostsCollectionGetOK

func NewSnmpTraphostsCollectionGetOK() *SnmpTraphostsCollectionGetOK

NewSnmpTraphostsCollectionGetOK creates a SnmpTraphostsCollectionGetOK with default headers values

func (*SnmpTraphostsCollectionGetOK) Code

Code gets the status code for the snmp traphosts collection get o k response

func (*SnmpTraphostsCollectionGetOK) Error

func (*SnmpTraphostsCollectionGetOK) GetPayload

func (*SnmpTraphostsCollectionGetOK) IsClientError

func (o *SnmpTraphostsCollectionGetOK) IsClientError() bool

IsClientError returns true when this snmp traphosts collection get o k response has a 4xx status code

func (*SnmpTraphostsCollectionGetOK) IsCode

func (o *SnmpTraphostsCollectionGetOK) IsCode(code int) bool

IsCode returns true when this snmp traphosts collection get o k response a status code equal to that given

func (*SnmpTraphostsCollectionGetOK) IsRedirect

func (o *SnmpTraphostsCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this snmp traphosts collection get o k response has a 3xx status code

func (*SnmpTraphostsCollectionGetOK) IsServerError

func (o *SnmpTraphostsCollectionGetOK) IsServerError() bool

IsServerError returns true when this snmp traphosts collection get o k response has a 5xx status code

func (*SnmpTraphostsCollectionGetOK) IsSuccess

func (o *SnmpTraphostsCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this snmp traphosts collection get o k response has a 2xx status code

func (*SnmpTraphostsCollectionGetOK) String

type SnmpTraphostsCollectionGetParams

type SnmpTraphostsCollectionGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Host.

	   Filter by host
	*/
	Host *string

	/* IPAddress.

	   Filter by ip_address
	*/
	IPAddress *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* UserName.

	   Filter by user.name
	*/
	UserName *string

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

SnmpTraphostsCollectionGetParams contains all the parameters to send to the API endpoint

for the snmp traphosts collection get operation.

Typically these are written to a http.Request.

func NewSnmpTraphostsCollectionGetParams

func NewSnmpTraphostsCollectionGetParams() *SnmpTraphostsCollectionGetParams

NewSnmpTraphostsCollectionGetParams creates a new SnmpTraphostsCollectionGetParams 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 NewSnmpTraphostsCollectionGetParamsWithContext

func NewSnmpTraphostsCollectionGetParamsWithContext(ctx context.Context) *SnmpTraphostsCollectionGetParams

NewSnmpTraphostsCollectionGetParamsWithContext creates a new SnmpTraphostsCollectionGetParams object with the ability to set a context for a request.

func NewSnmpTraphostsCollectionGetParamsWithHTTPClient

func NewSnmpTraphostsCollectionGetParamsWithHTTPClient(client *http.Client) *SnmpTraphostsCollectionGetParams

NewSnmpTraphostsCollectionGetParamsWithHTTPClient creates a new SnmpTraphostsCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpTraphostsCollectionGetParamsWithTimeout

func NewSnmpTraphostsCollectionGetParamsWithTimeout(timeout time.Duration) *SnmpTraphostsCollectionGetParams

NewSnmpTraphostsCollectionGetParamsWithTimeout creates a new SnmpTraphostsCollectionGetParams object with the ability to set a timeout on a request.

func (*SnmpTraphostsCollectionGetParams) SetContext

SetContext adds the context to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetDefaults

func (o *SnmpTraphostsCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the snmp traphosts collection get params (not the query body).

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

func (*SnmpTraphostsCollectionGetParams) SetFields

func (o *SnmpTraphostsCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetHost

func (o *SnmpTraphostsCollectionGetParams) SetHost(host *string)

SetHost adds the host to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetIPAddress

func (o *SnmpTraphostsCollectionGetParams) SetIPAddress(iPAddress *string)

SetIPAddress adds the ipAddress to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetMaxRecords

func (o *SnmpTraphostsCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetOrderBy

func (o *SnmpTraphostsCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetReturnRecords

func (o *SnmpTraphostsCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetReturnTimeout

func (o *SnmpTraphostsCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) SetUserName

func (o *SnmpTraphostsCollectionGetParams) SetUserName(userName *string)

SetUserName adds the userName to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithContext

WithContext adds the context to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snmp traphosts collection get params (not the query body).

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

func (*SnmpTraphostsCollectionGetParams) WithFields

WithFields adds the fields to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithHost

WithHost adds the host to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithIPAddress

WithIPAddress adds the iPAddress to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithReturnRecords

func (o *SnmpTraphostsCollectionGetParams) WithReturnRecords(returnRecords *bool) *SnmpTraphostsCollectionGetParams

WithReturnRecords adds the returnRecords to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithReturnTimeout

func (o *SnmpTraphostsCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *SnmpTraphostsCollectionGetParams

WithReturnTimeout adds the returnTimeout to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WithUserName

WithUserName adds the userName to the snmp traphosts collection get params

func (*SnmpTraphostsCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnmpTraphostsCollectionGetReader

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

SnmpTraphostsCollectionGetReader is a Reader for the SnmpTraphostsCollectionGet structure.

func (*SnmpTraphostsCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpTraphostsCreateCreated

type SnmpTraphostsCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.SnmpTraphostResponse
}

SnmpTraphostsCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnmpTraphostsCreateCreated

func NewSnmpTraphostsCreateCreated() *SnmpTraphostsCreateCreated

NewSnmpTraphostsCreateCreated creates a SnmpTraphostsCreateCreated with default headers values

func (*SnmpTraphostsCreateCreated) Code

func (o *SnmpTraphostsCreateCreated) Code() int

Code gets the status code for the snmp traphosts create created response

func (*SnmpTraphostsCreateCreated) Error

func (*SnmpTraphostsCreateCreated) GetPayload

func (*SnmpTraphostsCreateCreated) IsClientError

func (o *SnmpTraphostsCreateCreated) IsClientError() bool

IsClientError returns true when this snmp traphosts create created response has a 4xx status code

func (*SnmpTraphostsCreateCreated) IsCode

func (o *SnmpTraphostsCreateCreated) IsCode(code int) bool

IsCode returns true when this snmp traphosts create created response a status code equal to that given

func (*SnmpTraphostsCreateCreated) IsRedirect

func (o *SnmpTraphostsCreateCreated) IsRedirect() bool

IsRedirect returns true when this snmp traphosts create created response has a 3xx status code

func (*SnmpTraphostsCreateCreated) IsServerError

func (o *SnmpTraphostsCreateCreated) IsServerError() bool

IsServerError returns true when this snmp traphosts create created response has a 5xx status code

func (*SnmpTraphostsCreateCreated) IsSuccess

func (o *SnmpTraphostsCreateCreated) IsSuccess() bool

IsSuccess returns true when this snmp traphosts create created response has a 2xx status code

func (*SnmpTraphostsCreateCreated) String

func (o *SnmpTraphostsCreateCreated) String() string

type SnmpTraphostsCreateDefault

type SnmpTraphostsCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpTraphostsCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 8847365 | Unknown host. | | 9043969 | Duplicate traphost entry. | | 9043980 | IPv6 support is disabled. | | 9043991 | Not a USM user. | | 9043993 | Current cluster version does not support SNMPv3 traps. | | 9044001 | Failed to create SNMPv1 traphost. | | 9044002 | Failed to create SNMPv3 traphost. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpTraphostsCreateDefault

func NewSnmpTraphostsCreateDefault(code int) *SnmpTraphostsCreateDefault

NewSnmpTraphostsCreateDefault creates a SnmpTraphostsCreateDefault with default headers values

func (*SnmpTraphostsCreateDefault) Code

func (o *SnmpTraphostsCreateDefault) Code() int

Code gets the status code for the snmp traphosts create default response

func (*SnmpTraphostsCreateDefault) Error

func (*SnmpTraphostsCreateDefault) GetPayload

func (*SnmpTraphostsCreateDefault) IsClientError

func (o *SnmpTraphostsCreateDefault) IsClientError() bool

IsClientError returns true when this snmp traphosts create default response has a 4xx status code

func (*SnmpTraphostsCreateDefault) IsCode

func (o *SnmpTraphostsCreateDefault) IsCode(code int) bool

IsCode returns true when this snmp traphosts create default response a status code equal to that given

func (*SnmpTraphostsCreateDefault) IsRedirect

func (o *SnmpTraphostsCreateDefault) IsRedirect() bool

IsRedirect returns true when this snmp traphosts create default response has a 3xx status code

func (*SnmpTraphostsCreateDefault) IsServerError

func (o *SnmpTraphostsCreateDefault) IsServerError() bool

IsServerError returns true when this snmp traphosts create default response has a 5xx status code

func (*SnmpTraphostsCreateDefault) IsSuccess

func (o *SnmpTraphostsCreateDefault) IsSuccess() bool

IsSuccess returns true when this snmp traphosts create default response has a 2xx status code

func (*SnmpTraphostsCreateDefault) String

func (o *SnmpTraphostsCreateDefault) String() string

type SnmpTraphostsCreateParams

type SnmpTraphostsCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnmpTraphost

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

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

SnmpTraphostsCreateParams contains all the parameters to send to the API endpoint

for the snmp traphosts create operation.

Typically these are written to a http.Request.

func NewSnmpTraphostsCreateParams

func NewSnmpTraphostsCreateParams() *SnmpTraphostsCreateParams

NewSnmpTraphostsCreateParams creates a new SnmpTraphostsCreateParams 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 NewSnmpTraphostsCreateParamsWithContext

func NewSnmpTraphostsCreateParamsWithContext(ctx context.Context) *SnmpTraphostsCreateParams

NewSnmpTraphostsCreateParamsWithContext creates a new SnmpTraphostsCreateParams object with the ability to set a context for a request.

func NewSnmpTraphostsCreateParamsWithHTTPClient

func NewSnmpTraphostsCreateParamsWithHTTPClient(client *http.Client) *SnmpTraphostsCreateParams

NewSnmpTraphostsCreateParamsWithHTTPClient creates a new SnmpTraphostsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpTraphostsCreateParamsWithTimeout

func NewSnmpTraphostsCreateParamsWithTimeout(timeout time.Duration) *SnmpTraphostsCreateParams

NewSnmpTraphostsCreateParamsWithTimeout creates a new SnmpTraphostsCreateParams object with the ability to set a timeout on a request.

func (*SnmpTraphostsCreateParams) SetContext

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

SetContext adds the context to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) SetDefaults

func (o *SnmpTraphostsCreateParams) SetDefaults()

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

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

func (*SnmpTraphostsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) SetInfo

func (o *SnmpTraphostsCreateParams) SetInfo(info *models.SnmpTraphost)

SetInfo adds the info to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) SetReturnRecords

func (o *SnmpTraphostsCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WithContext

WithContext adds the context to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WithDefaults

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

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

func (*SnmpTraphostsCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WithInfo

WithInfo adds the info to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WithReturnRecords

func (o *SnmpTraphostsCreateParams) WithReturnRecords(returnRecords *bool) *SnmpTraphostsCreateParams

WithReturnRecords adds the returnRecords to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WithTimeout

WithTimeout adds the timeout to the snmp traphosts create params

func (*SnmpTraphostsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnmpTraphostsCreateReader

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

SnmpTraphostsCreateReader is a Reader for the SnmpTraphostsCreate structure.

func (*SnmpTraphostsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpTraphostsDeleteDefault

type SnmpTraphostsDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpTraphostsDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 8847365 | Unknown host. | | 9043970 | Traphost entry does not exist. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpTraphostsDeleteDefault

func NewSnmpTraphostsDeleteDefault(code int) *SnmpTraphostsDeleteDefault

NewSnmpTraphostsDeleteDefault creates a SnmpTraphostsDeleteDefault with default headers values

func (*SnmpTraphostsDeleteDefault) Code

func (o *SnmpTraphostsDeleteDefault) Code() int

Code gets the status code for the snmp traphosts delete default response

func (*SnmpTraphostsDeleteDefault) Error

func (*SnmpTraphostsDeleteDefault) GetPayload

func (*SnmpTraphostsDeleteDefault) IsClientError

func (o *SnmpTraphostsDeleteDefault) IsClientError() bool

IsClientError returns true when this snmp traphosts delete default response has a 4xx status code

func (*SnmpTraphostsDeleteDefault) IsCode

func (o *SnmpTraphostsDeleteDefault) IsCode(code int) bool

IsCode returns true when this snmp traphosts delete default response a status code equal to that given

func (*SnmpTraphostsDeleteDefault) IsRedirect

func (o *SnmpTraphostsDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snmp traphosts delete default response has a 3xx status code

func (*SnmpTraphostsDeleteDefault) IsServerError

func (o *SnmpTraphostsDeleteDefault) IsServerError() bool

IsServerError returns true when this snmp traphosts delete default response has a 5xx status code

func (*SnmpTraphostsDeleteDefault) IsSuccess

func (o *SnmpTraphostsDeleteDefault) IsSuccess() bool

IsSuccess returns true when this snmp traphosts delete default response has a 2xx status code

func (*SnmpTraphostsDeleteDefault) String

func (o *SnmpTraphostsDeleteDefault) String() string

type SnmpTraphostsDeleteOK

type SnmpTraphostsDeleteOK struct {
}

SnmpTraphostsDeleteOK describes a response with status code 200, with default header values.

OK

func NewSnmpTraphostsDeleteOK

func NewSnmpTraphostsDeleteOK() *SnmpTraphostsDeleteOK

NewSnmpTraphostsDeleteOK creates a SnmpTraphostsDeleteOK with default headers values

func (*SnmpTraphostsDeleteOK) Code

func (o *SnmpTraphostsDeleteOK) Code() int

Code gets the status code for the snmp traphosts delete o k response

func (*SnmpTraphostsDeleteOK) Error

func (o *SnmpTraphostsDeleteOK) Error() string

func (*SnmpTraphostsDeleteOK) IsClientError

func (o *SnmpTraphostsDeleteOK) IsClientError() bool

IsClientError returns true when this snmp traphosts delete o k response has a 4xx status code

func (*SnmpTraphostsDeleteOK) IsCode

func (o *SnmpTraphostsDeleteOK) IsCode(code int) bool

IsCode returns true when this snmp traphosts delete o k response a status code equal to that given

func (*SnmpTraphostsDeleteOK) IsRedirect

func (o *SnmpTraphostsDeleteOK) IsRedirect() bool

IsRedirect returns true when this snmp traphosts delete o k response has a 3xx status code

func (*SnmpTraphostsDeleteOK) IsServerError

func (o *SnmpTraphostsDeleteOK) IsServerError() bool

IsServerError returns true when this snmp traphosts delete o k response has a 5xx status code

func (*SnmpTraphostsDeleteOK) IsSuccess

func (o *SnmpTraphostsDeleteOK) IsSuccess() bool

IsSuccess returns true when this snmp traphosts delete o k response has a 2xx status code

func (*SnmpTraphostsDeleteOK) String

func (o *SnmpTraphostsDeleteOK) String() string

type SnmpTraphostsDeleteParams

type SnmpTraphostsDeleteParams struct {

	/* Host.

	   Fully Qualified Domain Name (FQDN), IPv4 address or IPv6 address of SNMP traphost.
	*/
	Host string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

SnmpTraphostsDeleteParams contains all the parameters to send to the API endpoint

for the snmp traphosts delete operation.

Typically these are written to a http.Request.

func NewSnmpTraphostsDeleteParams

func NewSnmpTraphostsDeleteParams() *SnmpTraphostsDeleteParams

NewSnmpTraphostsDeleteParams creates a new SnmpTraphostsDeleteParams 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 NewSnmpTraphostsDeleteParamsWithContext

func NewSnmpTraphostsDeleteParamsWithContext(ctx context.Context) *SnmpTraphostsDeleteParams

NewSnmpTraphostsDeleteParamsWithContext creates a new SnmpTraphostsDeleteParams object with the ability to set a context for a request.

func NewSnmpTraphostsDeleteParamsWithHTTPClient

func NewSnmpTraphostsDeleteParamsWithHTTPClient(client *http.Client) *SnmpTraphostsDeleteParams

NewSnmpTraphostsDeleteParamsWithHTTPClient creates a new SnmpTraphostsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpTraphostsDeleteParamsWithTimeout

func NewSnmpTraphostsDeleteParamsWithTimeout(timeout time.Duration) *SnmpTraphostsDeleteParams

NewSnmpTraphostsDeleteParamsWithTimeout creates a new SnmpTraphostsDeleteParams object with the ability to set a timeout on a request.

func (*SnmpTraphostsDeleteParams) SetContext

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

SetContext adds the context to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) SetDefaults

func (o *SnmpTraphostsDeleteParams) SetDefaults()

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

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

func (*SnmpTraphostsDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) SetHost

func (o *SnmpTraphostsDeleteParams) SetHost(host string)

SetHost adds the host to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) SetReturnTimeout

func (o *SnmpTraphostsDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WithContext

WithContext adds the context to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WithDefaults

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

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

func (*SnmpTraphostsDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WithHost

WithHost adds the host to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WithReturnTimeout

func (o *SnmpTraphostsDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnmpTraphostsDeleteParams

WithReturnTimeout adds the returnTimeout to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WithTimeout

WithTimeout adds the timeout to the snmp traphosts delete params

func (*SnmpTraphostsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnmpTraphostsDeleteReader

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

SnmpTraphostsDeleteReader is a Reader for the SnmpTraphostsDelete structure.

func (*SnmpTraphostsDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpTraphostsGetDefault

type SnmpTraphostsGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpTraphostsGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 8847365 | Unknown host. | | 9043970 | Traphost entry does not exist. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpTraphostsGetDefault

func NewSnmpTraphostsGetDefault(code int) *SnmpTraphostsGetDefault

NewSnmpTraphostsGetDefault creates a SnmpTraphostsGetDefault with default headers values

func (*SnmpTraphostsGetDefault) Code

func (o *SnmpTraphostsGetDefault) Code() int

Code gets the status code for the snmp traphosts get default response

func (*SnmpTraphostsGetDefault) Error

func (o *SnmpTraphostsGetDefault) Error() string

func (*SnmpTraphostsGetDefault) GetPayload

func (o *SnmpTraphostsGetDefault) GetPayload() *models.ErrorResponse

func (*SnmpTraphostsGetDefault) IsClientError

func (o *SnmpTraphostsGetDefault) IsClientError() bool

IsClientError returns true when this snmp traphosts get default response has a 4xx status code

func (*SnmpTraphostsGetDefault) IsCode

func (o *SnmpTraphostsGetDefault) IsCode(code int) bool

IsCode returns true when this snmp traphosts get default response a status code equal to that given

func (*SnmpTraphostsGetDefault) IsRedirect

func (o *SnmpTraphostsGetDefault) IsRedirect() bool

IsRedirect returns true when this snmp traphosts get default response has a 3xx status code

func (*SnmpTraphostsGetDefault) IsServerError

func (o *SnmpTraphostsGetDefault) IsServerError() bool

IsServerError returns true when this snmp traphosts get default response has a 5xx status code

func (*SnmpTraphostsGetDefault) IsSuccess

func (o *SnmpTraphostsGetDefault) IsSuccess() bool

IsSuccess returns true when this snmp traphosts get default response has a 2xx status code

func (*SnmpTraphostsGetDefault) String

func (o *SnmpTraphostsGetDefault) String() string

type SnmpTraphostsGetOK

type SnmpTraphostsGetOK struct {
	Payload *models.SnmpTraphost
}

SnmpTraphostsGetOK describes a response with status code 200, with default header values.

OK

func NewSnmpTraphostsGetOK

func NewSnmpTraphostsGetOK() *SnmpTraphostsGetOK

NewSnmpTraphostsGetOK creates a SnmpTraphostsGetOK with default headers values

func (*SnmpTraphostsGetOK) Code

func (o *SnmpTraphostsGetOK) Code() int

Code gets the status code for the snmp traphosts get o k response

func (*SnmpTraphostsGetOK) Error

func (o *SnmpTraphostsGetOK) Error() string

func (*SnmpTraphostsGetOK) GetPayload

func (o *SnmpTraphostsGetOK) GetPayload() *models.SnmpTraphost

func (*SnmpTraphostsGetOK) IsClientError

func (o *SnmpTraphostsGetOK) IsClientError() bool

IsClientError returns true when this snmp traphosts get o k response has a 4xx status code

func (*SnmpTraphostsGetOK) IsCode

func (o *SnmpTraphostsGetOK) IsCode(code int) bool

IsCode returns true when this snmp traphosts get o k response a status code equal to that given

func (*SnmpTraphostsGetOK) IsRedirect

func (o *SnmpTraphostsGetOK) IsRedirect() bool

IsRedirect returns true when this snmp traphosts get o k response has a 3xx status code

func (*SnmpTraphostsGetOK) IsServerError

func (o *SnmpTraphostsGetOK) IsServerError() bool

IsServerError returns true when this snmp traphosts get o k response has a 5xx status code

func (*SnmpTraphostsGetOK) IsSuccess

func (o *SnmpTraphostsGetOK) IsSuccess() bool

IsSuccess returns true when this snmp traphosts get o k response has a 2xx status code

func (*SnmpTraphostsGetOK) String

func (o *SnmpTraphostsGetOK) String() string

type SnmpTraphostsGetParams

type SnmpTraphostsGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Host.

	   Fully Qualified Domain Name (FQDN), IPv4 address or IPv6 address of SNMP traphost.
	*/
	Host string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

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

SnmpTraphostsGetParams contains all the parameters to send to the API endpoint

for the snmp traphosts get operation.

Typically these are written to a http.Request.

func NewSnmpTraphostsGetParams

func NewSnmpTraphostsGetParams() *SnmpTraphostsGetParams

NewSnmpTraphostsGetParams creates a new SnmpTraphostsGetParams 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 NewSnmpTraphostsGetParamsWithContext

func NewSnmpTraphostsGetParamsWithContext(ctx context.Context) *SnmpTraphostsGetParams

NewSnmpTraphostsGetParamsWithContext creates a new SnmpTraphostsGetParams object with the ability to set a context for a request.

func NewSnmpTraphostsGetParamsWithHTTPClient

func NewSnmpTraphostsGetParamsWithHTTPClient(client *http.Client) *SnmpTraphostsGetParams

NewSnmpTraphostsGetParamsWithHTTPClient creates a new SnmpTraphostsGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpTraphostsGetParamsWithTimeout

func NewSnmpTraphostsGetParamsWithTimeout(timeout time.Duration) *SnmpTraphostsGetParams

NewSnmpTraphostsGetParamsWithTimeout creates a new SnmpTraphostsGetParams object with the ability to set a timeout on a request.

func (*SnmpTraphostsGetParams) SetContext

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

SetContext adds the context to the snmp traphosts get params

func (*SnmpTraphostsGetParams) SetDefaults

func (o *SnmpTraphostsGetParams) SetDefaults()

SetDefaults hydrates default values in the snmp traphosts get params (not the query body).

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

func (*SnmpTraphostsGetParams) SetFields

func (o *SnmpTraphostsGetParams) SetFields(fields []string)

SetFields adds the fields to the snmp traphosts get params

func (*SnmpTraphostsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp traphosts get params

func (*SnmpTraphostsGetParams) SetHost

func (o *SnmpTraphostsGetParams) SetHost(host string)

SetHost adds the host to the snmp traphosts get params

func (*SnmpTraphostsGetParams) SetReturnTimeout

func (o *SnmpTraphostsGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp traphosts get params

func (*SnmpTraphostsGetParams) SetTimeout

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

SetTimeout adds the timeout to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithContext

WithContext adds the context to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithDefaults

WithDefaults hydrates default values in the snmp traphosts get params (not the query body).

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

func (*SnmpTraphostsGetParams) WithFields

func (o *SnmpTraphostsGetParams) WithFields(fields []string) *SnmpTraphostsGetParams

WithFields adds the fields to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithHost

WithHost adds the host to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithReturnTimeout

func (o *SnmpTraphostsGetParams) WithReturnTimeout(returnTimeout *int64) *SnmpTraphostsGetParams

WithReturnTimeout adds the returnTimeout to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WithTimeout

WithTimeout adds the timeout to the snmp traphosts get params

func (*SnmpTraphostsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnmpTraphostsGetReader

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

SnmpTraphostsGetReader is a Reader for the SnmpTraphostsGet structure.

func (*SnmpTraphostsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpUsersCollectionGetDefault

type SnmpUsersCollectionGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnmpUsersCollectionGetDefault describes a response with status code -1, with default header values.

Error

func NewSnmpUsersCollectionGetDefault

func NewSnmpUsersCollectionGetDefault(code int) *SnmpUsersCollectionGetDefault

NewSnmpUsersCollectionGetDefault creates a SnmpUsersCollectionGetDefault with default headers values

func (*SnmpUsersCollectionGetDefault) Code

Code gets the status code for the snmp users collection get default response

func (*SnmpUsersCollectionGetDefault) Error

func (*SnmpUsersCollectionGetDefault) GetPayload

func (*SnmpUsersCollectionGetDefault) IsClientError

func (o *SnmpUsersCollectionGetDefault) IsClientError() bool

IsClientError returns true when this snmp users collection get default response has a 4xx status code

func (*SnmpUsersCollectionGetDefault) IsCode

func (o *SnmpUsersCollectionGetDefault) IsCode(code int) bool

IsCode returns true when this snmp users collection get default response a status code equal to that given

func (*SnmpUsersCollectionGetDefault) IsRedirect

func (o *SnmpUsersCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this snmp users collection get default response has a 3xx status code

func (*SnmpUsersCollectionGetDefault) IsServerError

func (o *SnmpUsersCollectionGetDefault) IsServerError() bool

IsServerError returns true when this snmp users collection get default response has a 5xx status code

func (*SnmpUsersCollectionGetDefault) IsSuccess

func (o *SnmpUsersCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this snmp users collection get default response has a 2xx status code

func (*SnmpUsersCollectionGetDefault) String

type SnmpUsersCollectionGetOK

type SnmpUsersCollectionGetOK struct {
	Payload *models.SnmpUserResponse
}

SnmpUsersCollectionGetOK describes a response with status code 200, with default header values.

OK

func NewSnmpUsersCollectionGetOK

func NewSnmpUsersCollectionGetOK() *SnmpUsersCollectionGetOK

NewSnmpUsersCollectionGetOK creates a SnmpUsersCollectionGetOK with default headers values

func (*SnmpUsersCollectionGetOK) Code

func (o *SnmpUsersCollectionGetOK) Code() int

Code gets the status code for the snmp users collection get o k response

func (*SnmpUsersCollectionGetOK) Error

func (o *SnmpUsersCollectionGetOK) Error() string

func (*SnmpUsersCollectionGetOK) GetPayload

func (*SnmpUsersCollectionGetOK) IsClientError

func (o *SnmpUsersCollectionGetOK) IsClientError() bool

IsClientError returns true when this snmp users collection get o k response has a 4xx status code

func (*SnmpUsersCollectionGetOK) IsCode

func (o *SnmpUsersCollectionGetOK) IsCode(code int) bool

IsCode returns true when this snmp users collection get o k response a status code equal to that given

func (*SnmpUsersCollectionGetOK) IsRedirect

func (o *SnmpUsersCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this snmp users collection get o k response has a 3xx status code

func (*SnmpUsersCollectionGetOK) IsServerError

func (o *SnmpUsersCollectionGetOK) IsServerError() bool

IsServerError returns true when this snmp users collection get o k response has a 5xx status code

func (*SnmpUsersCollectionGetOK) IsSuccess

func (o *SnmpUsersCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this snmp users collection get o k response has a 2xx status code

func (*SnmpUsersCollectionGetOK) String

func (o *SnmpUsersCollectionGetOK) String() string

type SnmpUsersCollectionGetParams

type SnmpUsersCollectionGetParams struct {

	/* AuthenticationMethod.

	   Filter by authentication_method
	*/
	AuthenticationMethod *string

	/* Comment.

	   Filter by comment
	*/
	Comment *string

	/* EngineID.

	   Filter by engine_id
	*/
	EngineID *string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecords *int64

	/* Name.

	   Filter by name
	*/
	Name *string

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderBy []string

	/* OwnerName.

	   Filter by owner.name
	*/
	OwnerName *string

	/* OwnerUUID.

	   Filter by owner.uuid
	*/
	OwnerUUID *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

	/* Scope.

	   Filter by scope
	*/
	Scope *string

	/* Snmpv3AuthenticationProtocol.

	   Filter by snmpv3.authentication_protocol
	*/
	Snmpv3AuthenticationProtocol *string

	/* Snmpv3PrivacyProtocol.

	   Filter by snmpv3.privacy_protocol
	*/
	Snmpv3PrivacyProtocol *string

	/* SwitchAddress.

	   Filter by switch_address
	*/
	SwitchAddress *string

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

SnmpUsersCollectionGetParams contains all the parameters to send to the API endpoint

for the snmp users collection get operation.

Typically these are written to a http.Request.

func NewSnmpUsersCollectionGetParams

func NewSnmpUsersCollectionGetParams() *SnmpUsersCollectionGetParams

NewSnmpUsersCollectionGetParams creates a new SnmpUsersCollectionGetParams 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 NewSnmpUsersCollectionGetParamsWithContext

func NewSnmpUsersCollectionGetParamsWithContext(ctx context.Context) *SnmpUsersCollectionGetParams

NewSnmpUsersCollectionGetParamsWithContext creates a new SnmpUsersCollectionGetParams object with the ability to set a context for a request.

func NewSnmpUsersCollectionGetParamsWithHTTPClient

func NewSnmpUsersCollectionGetParamsWithHTTPClient(client *http.Client) *SnmpUsersCollectionGetParams

NewSnmpUsersCollectionGetParamsWithHTTPClient creates a new SnmpUsersCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpUsersCollectionGetParamsWithTimeout

func NewSnmpUsersCollectionGetParamsWithTimeout(timeout time.Duration) *SnmpUsersCollectionGetParams

NewSnmpUsersCollectionGetParamsWithTimeout creates a new SnmpUsersCollectionGetParams object with the ability to set a timeout on a request.

func (*SnmpUsersCollectionGetParams) SetAuthenticationMethod

func (o *SnmpUsersCollectionGetParams) SetAuthenticationMethod(authenticationMethod *string)

SetAuthenticationMethod adds the authenticationMethod to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetComment

func (o *SnmpUsersCollectionGetParams) SetComment(comment *string)

SetComment adds the comment to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetContext

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

SetContext adds the context to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetDefaults

func (o *SnmpUsersCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the snmp users collection get params (not the query body).

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

func (*SnmpUsersCollectionGetParams) SetEngineID

func (o *SnmpUsersCollectionGetParams) SetEngineID(engineID *string)

SetEngineID adds the engineId to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetFields

func (o *SnmpUsersCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetMaxRecords

func (o *SnmpUsersCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetName

func (o *SnmpUsersCollectionGetParams) SetName(name *string)

SetName adds the name to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetOrderBy

func (o *SnmpUsersCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetOwnerName

func (o *SnmpUsersCollectionGetParams) SetOwnerName(ownerName *string)

SetOwnerName adds the ownerName to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetOwnerUUID

func (o *SnmpUsersCollectionGetParams) SetOwnerUUID(ownerUUID *string)

SetOwnerUUID adds the ownerUuid to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetReturnRecords

func (o *SnmpUsersCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetReturnTimeout

func (o *SnmpUsersCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetScope

func (o *SnmpUsersCollectionGetParams) SetScope(scope *string)

SetScope adds the scope to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetSnmpv3AuthenticationProtocol

func (o *SnmpUsersCollectionGetParams) SetSnmpv3AuthenticationProtocol(snmpv3AuthenticationProtocol *string)

SetSnmpv3AuthenticationProtocol adds the snmpv3AuthenticationProtocol to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetSnmpv3PrivacyProtocol

func (o *SnmpUsersCollectionGetParams) SetSnmpv3PrivacyProtocol(snmpv3PrivacyProtocol *string)

SetSnmpv3PrivacyProtocol adds the snmpv3PrivacyProtocol to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetSwitchAddress

func (o *SnmpUsersCollectionGetParams) SetSwitchAddress(switchAddress *string)

SetSwitchAddress adds the switchAddress to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithAuthenticationMethod

func (o *SnmpUsersCollectionGetParams) WithAuthenticationMethod(authenticationMethod *string) *SnmpUsersCollectionGetParams

WithAuthenticationMethod adds the authenticationMethod to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithComment

WithComment adds the comment to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithContext

WithContext adds the context to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snmp users collection get params (not the query body).

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

func (*SnmpUsersCollectionGetParams) WithEngineID

WithEngineID adds the engineID to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithFields

WithFields adds the fields to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithMaxRecords

func (o *SnmpUsersCollectionGetParams) WithMaxRecords(maxRecords *int64) *SnmpUsersCollectionGetParams

WithMaxRecords adds the maxRecords to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithName

WithName adds the name to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithOwnerName

WithOwnerName adds the ownerName to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithOwnerUUID

WithOwnerUUID adds the ownerUUID to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithReturnRecords

func (o *SnmpUsersCollectionGetParams) WithReturnRecords(returnRecords *bool) *SnmpUsersCollectionGetParams

WithReturnRecords adds the returnRecords to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithReturnTimeout

func (o *SnmpUsersCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *SnmpUsersCollectionGetParams

WithReturnTimeout adds the returnTimeout to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithScope

WithScope adds the scope to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithSnmpv3AuthenticationProtocol

func (o *SnmpUsersCollectionGetParams) WithSnmpv3AuthenticationProtocol(snmpv3AuthenticationProtocol *string) *SnmpUsersCollectionGetParams

WithSnmpv3AuthenticationProtocol adds the snmpv3AuthenticationProtocol to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithSnmpv3PrivacyProtocol

func (o *SnmpUsersCollectionGetParams) WithSnmpv3PrivacyProtocol(snmpv3PrivacyProtocol *string) *SnmpUsersCollectionGetParams

WithSnmpv3PrivacyProtocol adds the snmpv3PrivacyProtocol to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithSwitchAddress

func (o *SnmpUsersCollectionGetParams) WithSwitchAddress(switchAddress *string) *SnmpUsersCollectionGetParams

WithSwitchAddress adds the switchAddress to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snmp users collection get params

func (*SnmpUsersCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnmpUsersCollectionGetReader

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

SnmpUsersCollectionGetReader is a Reader for the SnmpUsersCollectionGet structure.

func (*SnmpUsersCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpUsersCreateCreated

type SnmpUsersCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.SnmpUser
}

SnmpUsersCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnmpUsersCreateCreated

func NewSnmpUsersCreateCreated() *SnmpUsersCreateCreated

NewSnmpUsersCreateCreated creates a SnmpUsersCreateCreated with default headers values

func (*SnmpUsersCreateCreated) Code

func (o *SnmpUsersCreateCreated) Code() int

Code gets the status code for the snmp users create created response

func (*SnmpUsersCreateCreated) Error

func (o *SnmpUsersCreateCreated) Error() string

func (*SnmpUsersCreateCreated) GetPayload

func (o *SnmpUsersCreateCreated) GetPayload() *models.SnmpUser

func (*SnmpUsersCreateCreated) IsClientError

func (o *SnmpUsersCreateCreated) IsClientError() bool

IsClientError returns true when this snmp users create created response has a 4xx status code

func (*SnmpUsersCreateCreated) IsCode

func (o *SnmpUsersCreateCreated) IsCode(code int) bool

IsCode returns true when this snmp users create created response a status code equal to that given

func (*SnmpUsersCreateCreated) IsRedirect

func (o *SnmpUsersCreateCreated) IsRedirect() bool

IsRedirect returns true when this snmp users create created response has a 3xx status code

func (*SnmpUsersCreateCreated) IsServerError

func (o *SnmpUsersCreateCreated) IsServerError() bool

IsServerError returns true when this snmp users create created response has a 5xx status code

func (*SnmpUsersCreateCreated) IsSuccess

func (o *SnmpUsersCreateCreated) IsSuccess() bool

IsSuccess returns true when this snmp users create created response has a 2xx status code

func (*SnmpUsersCreateCreated) String

func (o *SnmpUsersCreateCreated) String() string

type SnmpUsersCreateDefault

type SnmpUsersCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpUsersCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 2621475 | This operation is not allowed on a node SVM. | | 2621601 | This operation is not permitted on a system SVM. | | 5636101 | One role for all applications and authentication methods is recommended for a user account. | | 5636106 | Engine ID starting with first bit set as 1 in first octet should have a minimum of 5 or maximum of 32 octets. | | 5636107 | Engine ID specified is based on an IP address, and must therefore be 9 octets in length. | | 5636108 | Engine ID specified is based on an IPv6 address, and must therefore be 21 octets in length. | | 5636109 | Engine ID specified is based on a MAC address, and must therefore be 11 octets in length. | | 5636110 | Engine ID starting with first bit set as 0 in the first octet needs to be 12 octets in length. | | 5636111 | Engine ID cannot have all zeroes. | | 5636112 | Invalid Engine ID specified. | | 5636113 | Cannot enable SNMP user capability for data SVM. | | 5636116 | Cannot read SNMP user capability for data SVM. | | 5636121 | User account name is reserved for use by the system. | | 5636123 | Cannot create an SNMP user with a role other than readonly, none, or admin. | | 5636124 | Cannot create an SNMP user with a role other than vsadmin-readonly, none, or vsadmin. | | 5636148 | Failed to discover SNMPv3 engine ID of remote SNMP agent. | | 5636150 | The switch_address parameter can be specified only for administrative SVMs. | | 5636152 | 0.0.0.0 cannot be specified as the IP Address for the switch_address parameter. | | 5636153 | Engine ID is already associated with user. | | 7077897 | Invalid character in username. Valid characters\":\" A-Z, a-z, 0-9, \".\", \"_\", and \"-\". Note that the user name cannot start with \"-\". | | 7077899 | Username does not meet length requirements. | | 7077906 | Cannot use given role with this SVM because a role with that name has not been defined for the SVM. | | 9043995 | Failed to create SNMP community. Reason\":\" SNMPv1 and SNMPv2c are not supported when cluster FIPS mode is enabled. | | 9043999 | ONTAP failed to create an SNMPv3 user because SNMPv3 is disabled in the cluster. | | 9044021 | The specified authentication protocol is not supported when cluster FIPS mode is enabled. | | 9044022 | The specified privacy protocol is not supported when cluster FIPS mode is enabled. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpUsersCreateDefault

func NewSnmpUsersCreateDefault(code int) *SnmpUsersCreateDefault

NewSnmpUsersCreateDefault creates a SnmpUsersCreateDefault with default headers values

func (*SnmpUsersCreateDefault) Code

func (o *SnmpUsersCreateDefault) Code() int

Code gets the status code for the snmp users create default response

func (*SnmpUsersCreateDefault) Error

func (o *SnmpUsersCreateDefault) Error() string

func (*SnmpUsersCreateDefault) GetPayload

func (o *SnmpUsersCreateDefault) GetPayload() *models.ErrorResponse

func (*SnmpUsersCreateDefault) IsClientError

func (o *SnmpUsersCreateDefault) IsClientError() bool

IsClientError returns true when this snmp users create default response has a 4xx status code

func (*SnmpUsersCreateDefault) IsCode

func (o *SnmpUsersCreateDefault) IsCode(code int) bool

IsCode returns true when this snmp users create default response a status code equal to that given

func (*SnmpUsersCreateDefault) IsRedirect

func (o *SnmpUsersCreateDefault) IsRedirect() bool

IsRedirect returns true when this snmp users create default response has a 3xx status code

func (*SnmpUsersCreateDefault) IsServerError

func (o *SnmpUsersCreateDefault) IsServerError() bool

IsServerError returns true when this snmp users create default response has a 5xx status code

func (*SnmpUsersCreateDefault) IsSuccess

func (o *SnmpUsersCreateDefault) IsSuccess() bool

IsSuccess returns true when this snmp users create default response has a 2xx status code

func (*SnmpUsersCreateDefault) String

func (o *SnmpUsersCreateDefault) String() string

type SnmpUsersCreateParams

type SnmpUsersCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnmpUser

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

SnmpUsersCreateParams contains all the parameters to send to the API endpoint

for the snmp users create operation.

Typically these are written to a http.Request.

func NewSnmpUsersCreateParams

func NewSnmpUsersCreateParams() *SnmpUsersCreateParams

NewSnmpUsersCreateParams creates a new SnmpUsersCreateParams 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 NewSnmpUsersCreateParamsWithContext

func NewSnmpUsersCreateParamsWithContext(ctx context.Context) *SnmpUsersCreateParams

NewSnmpUsersCreateParamsWithContext creates a new SnmpUsersCreateParams object with the ability to set a context for a request.

func NewSnmpUsersCreateParamsWithHTTPClient

func NewSnmpUsersCreateParamsWithHTTPClient(client *http.Client) *SnmpUsersCreateParams

NewSnmpUsersCreateParamsWithHTTPClient creates a new SnmpUsersCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpUsersCreateParamsWithTimeout

func NewSnmpUsersCreateParamsWithTimeout(timeout time.Duration) *SnmpUsersCreateParams

NewSnmpUsersCreateParamsWithTimeout creates a new SnmpUsersCreateParams object with the ability to set a timeout on a request.

func (*SnmpUsersCreateParams) SetContext

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

SetContext adds the context to the snmp users create params

func (*SnmpUsersCreateParams) SetDefaults

func (o *SnmpUsersCreateParams) SetDefaults()

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

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

func (*SnmpUsersCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp users create params

func (*SnmpUsersCreateParams) SetInfo

func (o *SnmpUsersCreateParams) SetInfo(info *models.SnmpUser)

SetInfo adds the info to the snmp users create params

func (*SnmpUsersCreateParams) SetReturnRecords

func (o *SnmpUsersCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snmp users create params

func (*SnmpUsersCreateParams) SetReturnTimeout

func (o *SnmpUsersCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp users create params

func (*SnmpUsersCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snmp users create params

func (*SnmpUsersCreateParams) WithContext

WithContext adds the context to the snmp users create params

func (*SnmpUsersCreateParams) WithDefaults

func (o *SnmpUsersCreateParams) WithDefaults() *SnmpUsersCreateParams

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

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

func (*SnmpUsersCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp users create params

func (*SnmpUsersCreateParams) WithInfo

WithInfo adds the info to the snmp users create params

func (*SnmpUsersCreateParams) WithReturnRecords

func (o *SnmpUsersCreateParams) WithReturnRecords(returnRecords *bool) *SnmpUsersCreateParams

WithReturnRecords adds the returnRecords to the snmp users create params

func (*SnmpUsersCreateParams) WithReturnTimeout

func (o *SnmpUsersCreateParams) WithReturnTimeout(returnTimeout *int64) *SnmpUsersCreateParams

WithReturnTimeout adds the returnTimeout to the snmp users create params

func (*SnmpUsersCreateParams) WithTimeout

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

WithTimeout adds the timeout to the snmp users create params

func (*SnmpUsersCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpUsersCreateReader

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

SnmpUsersCreateReader is a Reader for the SnmpUsersCreate structure.

func (*SnmpUsersCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpUsersDeleteDefault

type SnmpUsersDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnmpUsersDeleteDefault describes a response with status code -1, with default header values.

Error

func NewSnmpUsersDeleteDefault

func NewSnmpUsersDeleteDefault(code int) *SnmpUsersDeleteDefault

NewSnmpUsersDeleteDefault creates a SnmpUsersDeleteDefault with default headers values

func (*SnmpUsersDeleteDefault) Code

func (o *SnmpUsersDeleteDefault) Code() int

Code gets the status code for the snmp users delete default response

func (*SnmpUsersDeleteDefault) Error

func (o *SnmpUsersDeleteDefault) Error() string

func (*SnmpUsersDeleteDefault) GetPayload

func (o *SnmpUsersDeleteDefault) GetPayload() *models.ErrorResponse

func (*SnmpUsersDeleteDefault) IsClientError

func (o *SnmpUsersDeleteDefault) IsClientError() bool

IsClientError returns true when this snmp users delete default response has a 4xx status code

func (*SnmpUsersDeleteDefault) IsCode

func (o *SnmpUsersDeleteDefault) IsCode(code int) bool

IsCode returns true when this snmp users delete default response a status code equal to that given

func (*SnmpUsersDeleteDefault) IsRedirect

func (o *SnmpUsersDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snmp users delete default response has a 3xx status code

func (*SnmpUsersDeleteDefault) IsServerError

func (o *SnmpUsersDeleteDefault) IsServerError() bool

IsServerError returns true when this snmp users delete default response has a 5xx status code

func (*SnmpUsersDeleteDefault) IsSuccess

func (o *SnmpUsersDeleteDefault) IsSuccess() bool

IsSuccess returns true when this snmp users delete default response has a 2xx status code

func (*SnmpUsersDeleteDefault) String

func (o *SnmpUsersDeleteDefault) String() string

type SnmpUsersDeleteOK

type SnmpUsersDeleteOK struct {
}

SnmpUsersDeleteOK describes a response with status code 200, with default header values.

OK

func NewSnmpUsersDeleteOK

func NewSnmpUsersDeleteOK() *SnmpUsersDeleteOK

NewSnmpUsersDeleteOK creates a SnmpUsersDeleteOK with default headers values

func (*SnmpUsersDeleteOK) Code

func (o *SnmpUsersDeleteOK) Code() int

Code gets the status code for the snmp users delete o k response

func (*SnmpUsersDeleteOK) Error

func (o *SnmpUsersDeleteOK) Error() string

func (*SnmpUsersDeleteOK) IsClientError

func (o *SnmpUsersDeleteOK) IsClientError() bool

IsClientError returns true when this snmp users delete o k response has a 4xx status code

func (*SnmpUsersDeleteOK) IsCode

func (o *SnmpUsersDeleteOK) IsCode(code int) bool

IsCode returns true when this snmp users delete o k response a status code equal to that given

func (*SnmpUsersDeleteOK) IsRedirect

func (o *SnmpUsersDeleteOK) IsRedirect() bool

IsRedirect returns true when this snmp users delete o k response has a 3xx status code

func (*SnmpUsersDeleteOK) IsServerError

func (o *SnmpUsersDeleteOK) IsServerError() bool

IsServerError returns true when this snmp users delete o k response has a 5xx status code

func (*SnmpUsersDeleteOK) IsSuccess

func (o *SnmpUsersDeleteOK) IsSuccess() bool

IsSuccess returns true when this snmp users delete o k response has a 2xx status code

func (*SnmpUsersDeleteOK) String

func (o *SnmpUsersDeleteOK) String() string

type SnmpUsersDeleteParams

type SnmpUsersDeleteParams struct {

	/* EngineID.

	   Engine ID of owning SVM or remote switch.
	*/
	EngineID string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   SNMP user name.
	*/
	Name string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

SnmpUsersDeleteParams contains all the parameters to send to the API endpoint

for the snmp users delete operation.

Typically these are written to a http.Request.

func NewSnmpUsersDeleteParams

func NewSnmpUsersDeleteParams() *SnmpUsersDeleteParams

NewSnmpUsersDeleteParams creates a new SnmpUsersDeleteParams 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 NewSnmpUsersDeleteParamsWithContext

func NewSnmpUsersDeleteParamsWithContext(ctx context.Context) *SnmpUsersDeleteParams

NewSnmpUsersDeleteParamsWithContext creates a new SnmpUsersDeleteParams object with the ability to set a context for a request.

func NewSnmpUsersDeleteParamsWithHTTPClient

func NewSnmpUsersDeleteParamsWithHTTPClient(client *http.Client) *SnmpUsersDeleteParams

NewSnmpUsersDeleteParamsWithHTTPClient creates a new SnmpUsersDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpUsersDeleteParamsWithTimeout

func NewSnmpUsersDeleteParamsWithTimeout(timeout time.Duration) *SnmpUsersDeleteParams

NewSnmpUsersDeleteParamsWithTimeout creates a new SnmpUsersDeleteParams object with the ability to set a timeout on a request.

func (*SnmpUsersDeleteParams) SetContext

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

SetContext adds the context to the snmp users delete params

func (*SnmpUsersDeleteParams) SetDefaults

func (o *SnmpUsersDeleteParams) SetDefaults()

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

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

func (*SnmpUsersDeleteParams) SetEngineID

func (o *SnmpUsersDeleteParams) SetEngineID(engineID string)

SetEngineID adds the engineId to the snmp users delete params

func (*SnmpUsersDeleteParams) SetFields

func (o *SnmpUsersDeleteParams) SetFields(fields []string)

SetFields adds the fields to the snmp users delete params

func (*SnmpUsersDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp users delete params

func (*SnmpUsersDeleteParams) SetName

func (o *SnmpUsersDeleteParams) SetName(name string)

SetName adds the name to the snmp users delete params

func (*SnmpUsersDeleteParams) SetReturnTimeout

func (o *SnmpUsersDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp users delete params

func (*SnmpUsersDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snmp users delete params

func (*SnmpUsersDeleteParams) WithContext

WithContext adds the context to the snmp users delete params

func (*SnmpUsersDeleteParams) WithDefaults

func (o *SnmpUsersDeleteParams) WithDefaults() *SnmpUsersDeleteParams

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

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

func (*SnmpUsersDeleteParams) WithEngineID

func (o *SnmpUsersDeleteParams) WithEngineID(engineID string) *SnmpUsersDeleteParams

WithEngineID adds the engineID to the snmp users delete params

func (*SnmpUsersDeleteParams) WithFields

func (o *SnmpUsersDeleteParams) WithFields(fields []string) *SnmpUsersDeleteParams

WithFields adds the fields to the snmp users delete params

func (*SnmpUsersDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp users delete params

func (*SnmpUsersDeleteParams) WithName

WithName adds the name to the snmp users delete params

func (*SnmpUsersDeleteParams) WithReturnTimeout

func (o *SnmpUsersDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnmpUsersDeleteParams

WithReturnTimeout adds the returnTimeout to the snmp users delete params

func (*SnmpUsersDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the snmp users delete params

func (*SnmpUsersDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpUsersDeleteReader

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

SnmpUsersDeleteReader is a Reader for the SnmpUsersDelete structure.

func (*SnmpUsersDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpUsersGetDefault

type SnmpUsersGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnmpUsersGetDefault describes a response with status code -1, with default header values.

Error

func NewSnmpUsersGetDefault

func NewSnmpUsersGetDefault(code int) *SnmpUsersGetDefault

NewSnmpUsersGetDefault creates a SnmpUsersGetDefault with default headers values

func (*SnmpUsersGetDefault) Code

func (o *SnmpUsersGetDefault) Code() int

Code gets the status code for the snmp users get default response

func (*SnmpUsersGetDefault) Error

func (o *SnmpUsersGetDefault) Error() string

func (*SnmpUsersGetDefault) GetPayload

func (o *SnmpUsersGetDefault) GetPayload() *models.ErrorResponse

func (*SnmpUsersGetDefault) IsClientError

func (o *SnmpUsersGetDefault) IsClientError() bool

IsClientError returns true when this snmp users get default response has a 4xx status code

func (*SnmpUsersGetDefault) IsCode

func (o *SnmpUsersGetDefault) IsCode(code int) bool

IsCode returns true when this snmp users get default response a status code equal to that given

func (*SnmpUsersGetDefault) IsRedirect

func (o *SnmpUsersGetDefault) IsRedirect() bool

IsRedirect returns true when this snmp users get default response has a 3xx status code

func (*SnmpUsersGetDefault) IsServerError

func (o *SnmpUsersGetDefault) IsServerError() bool

IsServerError returns true when this snmp users get default response has a 5xx status code

func (*SnmpUsersGetDefault) IsSuccess

func (o *SnmpUsersGetDefault) IsSuccess() bool

IsSuccess returns true when this snmp users get default response has a 2xx status code

func (*SnmpUsersGetDefault) String

func (o *SnmpUsersGetDefault) String() string

type SnmpUsersGetOK

type SnmpUsersGetOK struct {
	Payload *models.SnmpUser
}

SnmpUsersGetOK describes a response with status code 200, with default header values.

OK

func NewSnmpUsersGetOK

func NewSnmpUsersGetOK() *SnmpUsersGetOK

NewSnmpUsersGetOK creates a SnmpUsersGetOK with default headers values

func (*SnmpUsersGetOK) Code

func (o *SnmpUsersGetOK) Code() int

Code gets the status code for the snmp users get o k response

func (*SnmpUsersGetOK) Error

func (o *SnmpUsersGetOK) Error() string

func (*SnmpUsersGetOK) GetPayload

func (o *SnmpUsersGetOK) GetPayload() *models.SnmpUser

func (*SnmpUsersGetOK) IsClientError

func (o *SnmpUsersGetOK) IsClientError() bool

IsClientError returns true when this snmp users get o k response has a 4xx status code

func (*SnmpUsersGetOK) IsCode

func (o *SnmpUsersGetOK) IsCode(code int) bool

IsCode returns true when this snmp users get o k response a status code equal to that given

func (*SnmpUsersGetOK) IsRedirect

func (o *SnmpUsersGetOK) IsRedirect() bool

IsRedirect returns true when this snmp users get o k response has a 3xx status code

func (*SnmpUsersGetOK) IsServerError

func (o *SnmpUsersGetOK) IsServerError() bool

IsServerError returns true when this snmp users get o k response has a 5xx status code

func (*SnmpUsersGetOK) IsSuccess

func (o *SnmpUsersGetOK) IsSuccess() bool

IsSuccess returns true when this snmp users get o k response has a 2xx status code

func (*SnmpUsersGetOK) String

func (o *SnmpUsersGetOK) String() string

type SnmpUsersGetParams

type SnmpUsersGetParams struct {

	/* EngineID.

	   Engine ID of owning SVM or remote switch.
	*/
	EngineID string

	/* Fields.

	   Specify the fields to return.
	*/
	Fields []string

	/* Name.

	   SNMP user name.
	*/
	Name string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeout *int64

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

SnmpUsersGetParams contains all the parameters to send to the API endpoint

for the snmp users get operation.

Typically these are written to a http.Request.

func NewSnmpUsersGetParams

func NewSnmpUsersGetParams() *SnmpUsersGetParams

NewSnmpUsersGetParams creates a new SnmpUsersGetParams 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 NewSnmpUsersGetParamsWithContext

func NewSnmpUsersGetParamsWithContext(ctx context.Context) *SnmpUsersGetParams

NewSnmpUsersGetParamsWithContext creates a new SnmpUsersGetParams object with the ability to set a context for a request.

func NewSnmpUsersGetParamsWithHTTPClient

func NewSnmpUsersGetParamsWithHTTPClient(client *http.Client) *SnmpUsersGetParams

NewSnmpUsersGetParamsWithHTTPClient creates a new SnmpUsersGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpUsersGetParamsWithTimeout

func NewSnmpUsersGetParamsWithTimeout(timeout time.Duration) *SnmpUsersGetParams

NewSnmpUsersGetParamsWithTimeout creates a new SnmpUsersGetParams object with the ability to set a timeout on a request.

func (*SnmpUsersGetParams) SetContext

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

SetContext adds the context to the snmp users get params

func (*SnmpUsersGetParams) SetDefaults

func (o *SnmpUsersGetParams) SetDefaults()

SetDefaults hydrates default values in the snmp users get params (not the query body).

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

func (*SnmpUsersGetParams) SetEngineID

func (o *SnmpUsersGetParams) SetEngineID(engineID string)

SetEngineID adds the engineId to the snmp users get params

func (*SnmpUsersGetParams) SetFields

func (o *SnmpUsersGetParams) SetFields(fields []string)

SetFields adds the fields to the snmp users get params

func (*SnmpUsersGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp users get params

func (*SnmpUsersGetParams) SetName

func (o *SnmpUsersGetParams) SetName(name string)

SetName adds the name to the snmp users get params

func (*SnmpUsersGetParams) SetReturnTimeout

func (o *SnmpUsersGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp users get params

func (*SnmpUsersGetParams) SetTimeout

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

SetTimeout adds the timeout to the snmp users get params

func (*SnmpUsersGetParams) WithContext

WithContext adds the context to the snmp users get params

func (*SnmpUsersGetParams) WithDefaults

func (o *SnmpUsersGetParams) WithDefaults() *SnmpUsersGetParams

WithDefaults hydrates default values in the snmp users get params (not the query body).

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

func (*SnmpUsersGetParams) WithEngineID

func (o *SnmpUsersGetParams) WithEngineID(engineID string) *SnmpUsersGetParams

WithEngineID adds the engineID to the snmp users get params

func (*SnmpUsersGetParams) WithFields

func (o *SnmpUsersGetParams) WithFields(fields []string) *SnmpUsersGetParams

WithFields adds the fields to the snmp users get params

func (*SnmpUsersGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp users get params

func (*SnmpUsersGetParams) WithName

func (o *SnmpUsersGetParams) WithName(name string) *SnmpUsersGetParams

WithName adds the name to the snmp users get params

func (*SnmpUsersGetParams) WithReturnTimeout

func (o *SnmpUsersGetParams) WithReturnTimeout(returnTimeout *int64) *SnmpUsersGetParams

WithReturnTimeout adds the returnTimeout to the snmp users get params

func (*SnmpUsersGetParams) WithTimeout

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

WithTimeout adds the timeout to the snmp users get params

func (*SnmpUsersGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpUsersGetReader

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

SnmpUsersGetReader is a Reader for the SnmpUsersGet structure.

func (*SnmpUsersGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnmpUsersModifyDefault

type SnmpUsersModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnmpUsersModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 2621475 | This operation is not allowed on a node SVM. | | 2621699 | This operation is not allowed on a system SVM. | | 5636123 | Cannot create an SNMP user with a role other than readonly, none, or admin. | | 5636124 | Cannot create an SNMP user with a role other than vsadmin-readonly, none, or vsadmin. | | 5832712 | Cannot modify attributes for user \"diag.\" | | 7077906 | Cannot use given role with this SVM because a role with that name has not been defined for the SVM. | | 9043999 | ONTAP failed to create an SNMPv3 user because SNMPv3 is disabled in the cluster. | Also see the table of common errors in the <a href="#Response_body">Response body</a> overview section of this documentation.

func NewSnmpUsersModifyDefault

func NewSnmpUsersModifyDefault(code int) *SnmpUsersModifyDefault

NewSnmpUsersModifyDefault creates a SnmpUsersModifyDefault with default headers values

func (*SnmpUsersModifyDefault) Code

func (o *SnmpUsersModifyDefault) Code() int

Code gets the status code for the snmp users modify default response

func (*SnmpUsersModifyDefault) Error

func (o *SnmpUsersModifyDefault) Error() string

func (*SnmpUsersModifyDefault) GetPayload

func (o *SnmpUsersModifyDefault) GetPayload() *models.ErrorResponse

func (*SnmpUsersModifyDefault) IsClientError

func (o *SnmpUsersModifyDefault) IsClientError() bool

IsClientError returns true when this snmp users modify default response has a 4xx status code

func (*SnmpUsersModifyDefault) IsCode

func (o *SnmpUsersModifyDefault) IsCode(code int) bool

IsCode returns true when this snmp users modify default response a status code equal to that given

func (*SnmpUsersModifyDefault) IsRedirect

func (o *SnmpUsersModifyDefault) IsRedirect() bool

IsRedirect returns true when this snmp users modify default response has a 3xx status code

func (*SnmpUsersModifyDefault) IsServerError

func (o *SnmpUsersModifyDefault) IsServerError() bool

IsServerError returns true when this snmp users modify default response has a 5xx status code

func (*SnmpUsersModifyDefault) IsSuccess

func (o *SnmpUsersModifyDefault) IsSuccess() bool

IsSuccess returns true when this snmp users modify default response has a 2xx status code

func (*SnmpUsersModifyDefault) String

func (o *SnmpUsersModifyDefault) String() string

type SnmpUsersModifyOK

type SnmpUsersModifyOK struct {
}

SnmpUsersModifyOK describes a response with status code 200, with default header values.

OK

func NewSnmpUsersModifyOK

func NewSnmpUsersModifyOK() *SnmpUsersModifyOK

NewSnmpUsersModifyOK creates a SnmpUsersModifyOK with default headers values

func (*SnmpUsersModifyOK) Code

func (o *SnmpUsersModifyOK) Code() int

Code gets the status code for the snmp users modify o k response

func (*SnmpUsersModifyOK) Error

func (o *SnmpUsersModifyOK) Error() string

func (*SnmpUsersModifyOK) IsClientError

func (o *SnmpUsersModifyOK) IsClientError() bool

IsClientError returns true when this snmp users modify o k response has a 4xx status code

func (*SnmpUsersModifyOK) IsCode

func (o *SnmpUsersModifyOK) IsCode(code int) bool

IsCode returns true when this snmp users modify o k response a status code equal to that given

func (*SnmpUsersModifyOK) IsRedirect

func (o *SnmpUsersModifyOK) IsRedirect() bool

IsRedirect returns true when this snmp users modify o k response has a 3xx status code

func (*SnmpUsersModifyOK) IsServerError

func (o *SnmpUsersModifyOK) IsServerError() bool

IsServerError returns true when this snmp users modify o k response has a 5xx status code

func (*SnmpUsersModifyOK) IsSuccess

func (o *SnmpUsersModifyOK) IsSuccess() bool

IsSuccess returns true when this snmp users modify o k response has a 2xx status code

func (*SnmpUsersModifyOK) String

func (o *SnmpUsersModifyOK) String() string

type SnmpUsersModifyParams

type SnmpUsersModifyParams struct {

	/* EngineID.

	   Engine ID of owning SVM or remote switch.
	*/
	EngineID string

	/* Info.

	   Info specification
	*/
	Info *models.SnmpUser

	/* Name.

	   SNMP user name.
	*/
	Name string

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeout *int64

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

SnmpUsersModifyParams contains all the parameters to send to the API endpoint

for the snmp users modify operation.

Typically these are written to a http.Request.

func NewSnmpUsersModifyParams

func NewSnmpUsersModifyParams() *SnmpUsersModifyParams

NewSnmpUsersModifyParams creates a new SnmpUsersModifyParams 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 NewSnmpUsersModifyParamsWithContext

func NewSnmpUsersModifyParamsWithContext(ctx context.Context) *SnmpUsersModifyParams

NewSnmpUsersModifyParamsWithContext creates a new SnmpUsersModifyParams object with the ability to set a context for a request.

func NewSnmpUsersModifyParamsWithHTTPClient

func NewSnmpUsersModifyParamsWithHTTPClient(client *http.Client) *SnmpUsersModifyParams

NewSnmpUsersModifyParamsWithHTTPClient creates a new SnmpUsersModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnmpUsersModifyParamsWithTimeout

func NewSnmpUsersModifyParamsWithTimeout(timeout time.Duration) *SnmpUsersModifyParams

NewSnmpUsersModifyParamsWithTimeout creates a new SnmpUsersModifyParams object with the ability to set a timeout on a request.

func (*SnmpUsersModifyParams) SetContext

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

SetContext adds the context to the snmp users modify params

func (*SnmpUsersModifyParams) SetDefaults

func (o *SnmpUsersModifyParams) SetDefaults()

SetDefaults hydrates default values in the snmp users modify params (not the query body).

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

func (*SnmpUsersModifyParams) SetEngineID

func (o *SnmpUsersModifyParams) SetEngineID(engineID string)

SetEngineID adds the engineId to the snmp users modify params

func (*SnmpUsersModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snmp users modify params

func (*SnmpUsersModifyParams) SetInfo

func (o *SnmpUsersModifyParams) SetInfo(info *models.SnmpUser)

SetInfo adds the info to the snmp users modify params

func (*SnmpUsersModifyParams) SetName

func (o *SnmpUsersModifyParams) SetName(name string)

SetName adds the name to the snmp users modify params

func (*SnmpUsersModifyParams) SetReturnTimeout

func (o *SnmpUsersModifyParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snmp users modify params

func (*SnmpUsersModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snmp users modify params

func (*SnmpUsersModifyParams) WithContext

WithContext adds the context to the snmp users modify params

func (*SnmpUsersModifyParams) WithDefaults

func (o *SnmpUsersModifyParams) WithDefaults() *SnmpUsersModifyParams

WithDefaults hydrates default values in the snmp users modify params (not the query body).

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

func (*SnmpUsersModifyParams) WithEngineID

func (o *SnmpUsersModifyParams) WithEngineID(engineID string) *SnmpUsersModifyParams

WithEngineID adds the engineID to the snmp users modify params

func (*SnmpUsersModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snmp users modify params

func (*SnmpUsersModifyParams) WithInfo

WithInfo adds the info to the snmp users modify params

func (*SnmpUsersModifyParams) WithName

WithName adds the name to the snmp users modify params

func (*SnmpUsersModifyParams) WithReturnTimeout

func (o *SnmpUsersModifyParams) WithReturnTimeout(returnTimeout *int64) *SnmpUsersModifyParams

WithReturnTimeout adds the returnTimeout to the snmp users modify params

func (*SnmpUsersModifyParams) WithTimeout

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

WithTimeout adds the timeout to the snmp users modify params

func (*SnmpUsersModifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SnmpUsersModifyReader

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

SnmpUsersModifyReader is a Reader for the SnmpUsersModify structure.

func (*SnmpUsersModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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