s_i_e_m

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for s i e m API

func (*Client) SearchSiems

func (a *Client) SearchSiems(params *SearchSiemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSiemsOK, error)

SearchSiems searches s i e m endpoints

Search SIEM Endpoints by name.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SiemCreate

func (a *Client) SiemCreate(params *SiemCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemCreateCreated, error)

SiemCreate creates s i e m endpoint

Creates a new SIEM endpoint.

func (*Client) SiemDelete

func (a *Client) SiemDelete(params *SiemDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemDeleteOK, error)

SiemDelete deletes s i e m endpoint

Delete an existing SIEM endpoint.

func (*Client) SiemGet

func (a *Client) SiemGet(params *SiemGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemGetOK, error)

SiemGet gets s i e m endpoint

Retrieve an existing SIEM endpoint.

func (*Client) SiemUpdate

func (a *Client) SiemUpdate(params *SiemUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemUpdateOK, error)

SiemUpdate updates s i e m endpoint

Update an existing SIEM endpoint. Update sets "failed" to "false" and "failedEvents" to "0" automatically.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SearchSiems(params *SearchSiemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchSiemsOK, error)

	SiemCreate(params *SiemCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemCreateCreated, error)

	SiemDelete(params *SiemDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemDeleteOK, error)

	SiemGet(params *SiemGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemGetOK, error)

	SiemUpdate(params *SiemUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SiemUpdateOK, 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 s i e m API client.

type SearchSiemsBadRequest

type SearchSiemsBadRequest struct {
	Payload *models.HTTPError
}
SearchSiemsBadRequest describes a response with status code 400, with default header values.

bad request

func NewSearchSiemsBadRequest

func NewSearchSiemsBadRequest() *SearchSiemsBadRequest

NewSearchSiemsBadRequest creates a SearchSiemsBadRequest with default headers values

func (*SearchSiemsBadRequest) Error

func (o *SearchSiemsBadRequest) Error() string

func (*SearchSiemsBadRequest) GetPayload

func (o *SearchSiemsBadRequest) GetPayload() *models.HTTPError

func (*SearchSiemsBadRequest) IsClientError

func (o *SearchSiemsBadRequest) IsClientError() bool

IsClientError returns true when this search siems bad request response has a 4xx status code

func (*SearchSiemsBadRequest) IsCode

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

IsCode returns true when this search siems bad request response a status code equal to that given

func (*SearchSiemsBadRequest) IsRedirect

func (o *SearchSiemsBadRequest) IsRedirect() bool

IsRedirect returns true when this search siems bad request response has a 3xx status code

func (*SearchSiemsBadRequest) IsServerError

func (o *SearchSiemsBadRequest) IsServerError() bool

IsServerError returns true when this search siems bad request response has a 5xx status code

func (*SearchSiemsBadRequest) IsSuccess

func (o *SearchSiemsBadRequest) IsSuccess() bool

IsSuccess returns true when this search siems bad request response has a 2xx status code

func (*SearchSiemsBadRequest) String

func (o *SearchSiemsBadRequest) String() string

type SearchSiemsForbidden

type SearchSiemsForbidden struct {
	Payload *models.HTTPError
}
SearchSiemsForbidden describes a response with status code 403, with default header values.

forbidden

func NewSearchSiemsForbidden

func NewSearchSiemsForbidden() *SearchSiemsForbidden

NewSearchSiemsForbidden creates a SearchSiemsForbidden with default headers values

func (*SearchSiemsForbidden) Error

func (o *SearchSiemsForbidden) Error() string

func (*SearchSiemsForbidden) GetPayload

func (o *SearchSiemsForbidden) GetPayload() *models.HTTPError

func (*SearchSiemsForbidden) IsClientError

func (o *SearchSiemsForbidden) IsClientError() bool

IsClientError returns true when this search siems forbidden response has a 4xx status code

func (*SearchSiemsForbidden) IsCode

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

IsCode returns true when this search siems forbidden response a status code equal to that given

func (*SearchSiemsForbidden) IsRedirect

func (o *SearchSiemsForbidden) IsRedirect() bool

IsRedirect returns true when this search siems forbidden response has a 3xx status code

func (*SearchSiemsForbidden) IsServerError

func (o *SearchSiemsForbidden) IsServerError() bool

IsServerError returns true when this search siems forbidden response has a 5xx status code

func (*SearchSiemsForbidden) IsSuccess

func (o *SearchSiemsForbidden) IsSuccess() bool

IsSuccess returns true when this search siems forbidden response has a 2xx status code

func (*SearchSiemsForbidden) String

func (o *SearchSiemsForbidden) String() string

type SearchSiemsInternalServerError

type SearchSiemsInternalServerError struct {
	Payload *models.HTTPError
}
SearchSiemsInternalServerError describes a response with status code 500, with default header values.

server error

func NewSearchSiemsInternalServerError

func NewSearchSiemsInternalServerError() *SearchSiemsInternalServerError

NewSearchSiemsInternalServerError creates a SearchSiemsInternalServerError with default headers values

func (*SearchSiemsInternalServerError) Error

func (*SearchSiemsInternalServerError) GetPayload

func (*SearchSiemsInternalServerError) IsClientError

func (o *SearchSiemsInternalServerError) IsClientError() bool

IsClientError returns true when this search siems internal server error response has a 4xx status code

func (*SearchSiemsInternalServerError) IsCode

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

IsCode returns true when this search siems internal server error response a status code equal to that given

func (*SearchSiemsInternalServerError) IsRedirect

func (o *SearchSiemsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search siems internal server error response has a 3xx status code

func (*SearchSiemsInternalServerError) IsServerError

func (o *SearchSiemsInternalServerError) IsServerError() bool

IsServerError returns true when this search siems internal server error response has a 5xx status code

func (*SearchSiemsInternalServerError) IsSuccess

func (o *SearchSiemsInternalServerError) IsSuccess() bool

IsSuccess returns true when this search siems internal server error response has a 2xx status code

func (*SearchSiemsInternalServerError) String

type SearchSiemsNotFound

type SearchSiemsNotFound struct {
	Payload *models.HTTPError
}
SearchSiemsNotFound describes a response with status code 404, with default header values.

not found

func NewSearchSiemsNotFound

func NewSearchSiemsNotFound() *SearchSiemsNotFound

NewSearchSiemsNotFound creates a SearchSiemsNotFound with default headers values

func (*SearchSiemsNotFound) Error

func (o *SearchSiemsNotFound) Error() string

func (*SearchSiemsNotFound) GetPayload

func (o *SearchSiemsNotFound) GetPayload() *models.HTTPError

func (*SearchSiemsNotFound) IsClientError

func (o *SearchSiemsNotFound) IsClientError() bool

IsClientError returns true when this search siems not found response has a 4xx status code

func (*SearchSiemsNotFound) IsCode

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

IsCode returns true when this search siems not found response a status code equal to that given

func (*SearchSiemsNotFound) IsRedirect

func (o *SearchSiemsNotFound) IsRedirect() bool

IsRedirect returns true when this search siems not found response has a 3xx status code

func (*SearchSiemsNotFound) IsServerError

func (o *SearchSiemsNotFound) IsServerError() bool

IsServerError returns true when this search siems not found response has a 5xx status code

func (*SearchSiemsNotFound) IsSuccess

func (o *SearchSiemsNotFound) IsSuccess() bool

IsSuccess returns true when this search siems not found response has a 2xx status code

func (*SearchSiemsNotFound) String

func (o *SearchSiemsNotFound) String() string

type SearchSiemsOK

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

no error

func NewSearchSiemsOK

func NewSearchSiemsOK() *SearchSiemsOK

NewSearchSiemsOK creates a SearchSiemsOK with default headers values

func (*SearchSiemsOK) Error

func (o *SearchSiemsOK) Error() string

func (*SearchSiemsOK) GetPayload

func (o *SearchSiemsOK) GetPayload() *models.ResponseModelSearch

func (*SearchSiemsOK) IsClientError

func (o *SearchSiemsOK) IsClientError() bool

IsClientError returns true when this search siems o k response has a 4xx status code

func (*SearchSiemsOK) IsCode

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

IsCode returns true when this search siems o k response a status code equal to that given

func (*SearchSiemsOK) IsRedirect

func (o *SearchSiemsOK) IsRedirect() bool

IsRedirect returns true when this search siems o k response has a 3xx status code

func (*SearchSiemsOK) IsServerError

func (o *SearchSiemsOK) IsServerError() bool

IsServerError returns true when this search siems o k response has a 5xx status code

func (*SearchSiemsOK) IsSuccess

func (o *SearchSiemsOK) IsSuccess() bool

IsSuccess returns true when this search siems o k response has a 2xx status code

func (*SearchSiemsOK) String

func (o *SearchSiemsOK) String() string

type SearchSiemsParams

type SearchSiemsParams struct {

	/* Cursor.

	   Cursor to next batch of results
	*/
	Cursor *string

	/* Limit.

	   Limit for the number of results per page (cursor)

	   Format: int64
	*/
	Limit *int64

	/* SearchTerm.

	   Partial search term for search by name
	*/
	SearchTerm *string

	/* Sort.

	   Sort results ascending (asc) or descending (desc) order by name. Default is asc
	*/
	Sort *string

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

SearchSiemsParams contains all the parameters to send to the API endpoint

for the search siems operation.

Typically these are written to a http.Request.

func NewSearchSiemsParams

func NewSearchSiemsParams() *SearchSiemsParams

NewSearchSiemsParams creates a new SearchSiemsParams 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 NewSearchSiemsParamsWithContext

func NewSearchSiemsParamsWithContext(ctx context.Context) *SearchSiemsParams

NewSearchSiemsParamsWithContext creates a new SearchSiemsParams object with the ability to set a context for a request.

func NewSearchSiemsParamsWithHTTPClient

func NewSearchSiemsParamsWithHTTPClient(client *http.Client) *SearchSiemsParams

NewSearchSiemsParamsWithHTTPClient creates a new SearchSiemsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchSiemsParamsWithTimeout

func NewSearchSiemsParamsWithTimeout(timeout time.Duration) *SearchSiemsParams

NewSearchSiemsParamsWithTimeout creates a new SearchSiemsParams object with the ability to set a timeout on a request.

func (*SearchSiemsParams) SetContext

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

SetContext adds the context to the search siems params

func (*SearchSiemsParams) SetCursor

func (o *SearchSiemsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the search siems params

func (*SearchSiemsParams) SetDefaults

func (o *SearchSiemsParams) SetDefaults()

SetDefaults hydrates default values in the search siems params (not the query body).

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

func (*SearchSiemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search siems params

func (*SearchSiemsParams) SetLimit

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

SetLimit adds the limit to the search siems params

func (*SearchSiemsParams) SetSearchTerm

func (o *SearchSiemsParams) SetSearchTerm(searchTerm *string)

SetSearchTerm adds the searchTerm to the search siems params

func (*SearchSiemsParams) SetSort

func (o *SearchSiemsParams) SetSort(sort *string)

SetSort adds the sort to the search siems params

func (*SearchSiemsParams) SetTimeout

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

SetTimeout adds the timeout to the search siems params

func (*SearchSiemsParams) WithContext

func (o *SearchSiemsParams) WithContext(ctx context.Context) *SearchSiemsParams

WithContext adds the context to the search siems params

func (*SearchSiemsParams) WithCursor

func (o *SearchSiemsParams) WithCursor(cursor *string) *SearchSiemsParams

WithCursor adds the cursor to the search siems params

func (*SearchSiemsParams) WithDefaults

func (o *SearchSiemsParams) WithDefaults() *SearchSiemsParams

WithDefaults hydrates default values in the search siems params (not the query body).

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

func (*SearchSiemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search siems params

func (*SearchSiemsParams) WithLimit

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

WithLimit adds the limit to the search siems params

func (*SearchSiemsParams) WithSearchTerm

func (o *SearchSiemsParams) WithSearchTerm(searchTerm *string) *SearchSiemsParams

WithSearchTerm adds the searchTerm to the search siems params

func (*SearchSiemsParams) WithSort

func (o *SearchSiemsParams) WithSort(sort *string) *SearchSiemsParams

WithSort adds the sort to the search siems params

func (*SearchSiemsParams) WithTimeout

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

WithTimeout adds the timeout to the search siems params

func (*SearchSiemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchSiemsReader

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

SearchSiemsReader is a Reader for the SearchSiems structure.

func (*SearchSiemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchSiemsUnauthorized

type SearchSiemsUnauthorized struct {
	Payload *models.HTTPError
}
SearchSiemsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSearchSiemsUnauthorized

func NewSearchSiemsUnauthorized() *SearchSiemsUnauthorized

NewSearchSiemsUnauthorized creates a SearchSiemsUnauthorized with default headers values

func (*SearchSiemsUnauthorized) Error

func (o *SearchSiemsUnauthorized) Error() string

func (*SearchSiemsUnauthorized) GetPayload

func (o *SearchSiemsUnauthorized) GetPayload() *models.HTTPError

func (*SearchSiemsUnauthorized) IsClientError

func (o *SearchSiemsUnauthorized) IsClientError() bool

IsClientError returns true when this search siems unauthorized response has a 4xx status code

func (*SearchSiemsUnauthorized) IsCode

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

IsCode returns true when this search siems unauthorized response a status code equal to that given

func (*SearchSiemsUnauthorized) IsRedirect

func (o *SearchSiemsUnauthorized) IsRedirect() bool

IsRedirect returns true when this search siems unauthorized response has a 3xx status code

func (*SearchSiemsUnauthorized) IsServerError

func (o *SearchSiemsUnauthorized) IsServerError() bool

IsServerError returns true when this search siems unauthorized response has a 5xx status code

func (*SearchSiemsUnauthorized) IsSuccess

func (o *SearchSiemsUnauthorized) IsSuccess() bool

IsSuccess returns true when this search siems unauthorized response has a 2xx status code

func (*SearchSiemsUnauthorized) String

func (o *SearchSiemsUnauthorized) String() string

type SiemCreateBadRequest

type SiemCreateBadRequest struct {
	Payload *models.HTTPError
}
SiemCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewSiemCreateBadRequest

func NewSiemCreateBadRequest() *SiemCreateBadRequest

NewSiemCreateBadRequest creates a SiemCreateBadRequest with default headers values

func (*SiemCreateBadRequest) Error

func (o *SiemCreateBadRequest) Error() string

func (*SiemCreateBadRequest) GetPayload

func (o *SiemCreateBadRequest) GetPayload() *models.HTTPError

func (*SiemCreateBadRequest) IsClientError

func (o *SiemCreateBadRequest) IsClientError() bool

IsClientError returns true when this siem create bad request response has a 4xx status code

func (*SiemCreateBadRequest) IsCode

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

IsCode returns true when this siem create bad request response a status code equal to that given

func (*SiemCreateBadRequest) IsRedirect

func (o *SiemCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this siem create bad request response has a 3xx status code

func (*SiemCreateBadRequest) IsServerError

func (o *SiemCreateBadRequest) IsServerError() bool

IsServerError returns true when this siem create bad request response has a 5xx status code

func (*SiemCreateBadRequest) IsSuccess

func (o *SiemCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this siem create bad request response has a 2xx status code

func (*SiemCreateBadRequest) String

func (o *SiemCreateBadRequest) String() string

type SiemCreateCreated

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

no error

func NewSiemCreateCreated

func NewSiemCreateCreated() *SiemCreateCreated

NewSiemCreateCreated creates a SiemCreateCreated with default headers values

func (*SiemCreateCreated) Error

func (o *SiemCreateCreated) Error() string

func (*SiemCreateCreated) GetPayload

func (o *SiemCreateCreated) GetPayload() *models.SiemResponseModel

func (*SiemCreateCreated) IsClientError

func (o *SiemCreateCreated) IsClientError() bool

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

func (*SiemCreateCreated) IsCode

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

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

func (*SiemCreateCreated) IsRedirect

func (o *SiemCreateCreated) IsRedirect() bool

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

func (*SiemCreateCreated) IsServerError

func (o *SiemCreateCreated) IsServerError() bool

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

func (*SiemCreateCreated) IsSuccess

func (o *SiemCreateCreated) IsSuccess() bool

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

func (*SiemCreateCreated) String

func (o *SiemCreateCreated) String() string

type SiemCreateForbidden

type SiemCreateForbidden struct {
	Payload *models.HTTPError
}
SiemCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewSiemCreateForbidden

func NewSiemCreateForbidden() *SiemCreateForbidden

NewSiemCreateForbidden creates a SiemCreateForbidden with default headers values

func (*SiemCreateForbidden) Error

func (o *SiemCreateForbidden) Error() string

func (*SiemCreateForbidden) GetPayload

func (o *SiemCreateForbidden) GetPayload() *models.HTTPError

func (*SiemCreateForbidden) IsClientError

func (o *SiemCreateForbidden) IsClientError() bool

IsClientError returns true when this siem create forbidden response has a 4xx status code

func (*SiemCreateForbidden) IsCode

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

IsCode returns true when this siem create forbidden response a status code equal to that given

func (*SiemCreateForbidden) IsRedirect

func (o *SiemCreateForbidden) IsRedirect() bool

IsRedirect returns true when this siem create forbidden response has a 3xx status code

func (*SiemCreateForbidden) IsServerError

func (o *SiemCreateForbidden) IsServerError() bool

IsServerError returns true when this siem create forbidden response has a 5xx status code

func (*SiemCreateForbidden) IsSuccess

func (o *SiemCreateForbidden) IsSuccess() bool

IsSuccess returns true when this siem create forbidden response has a 2xx status code

func (*SiemCreateForbidden) String

func (o *SiemCreateForbidden) String() string

type SiemCreateInternalServerError

type SiemCreateInternalServerError struct {
	Payload *models.HTTPError
}
SiemCreateInternalServerError describes a response with status code 500, with default header values.

server error

func NewSiemCreateInternalServerError

func NewSiemCreateInternalServerError() *SiemCreateInternalServerError

NewSiemCreateInternalServerError creates a SiemCreateInternalServerError with default headers values

func (*SiemCreateInternalServerError) Error

func (*SiemCreateInternalServerError) GetPayload

func (*SiemCreateInternalServerError) IsClientError

func (o *SiemCreateInternalServerError) IsClientError() bool

IsClientError returns true when this siem create internal server error response has a 4xx status code

func (*SiemCreateInternalServerError) IsCode

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

IsCode returns true when this siem create internal server error response a status code equal to that given

func (*SiemCreateInternalServerError) IsRedirect

func (o *SiemCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this siem create internal server error response has a 3xx status code

func (*SiemCreateInternalServerError) IsServerError

func (o *SiemCreateInternalServerError) IsServerError() bool

IsServerError returns true when this siem create internal server error response has a 5xx status code

func (*SiemCreateInternalServerError) IsSuccess

func (o *SiemCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this siem create internal server error response has a 2xx status code

func (*SiemCreateInternalServerError) String

type SiemCreateParams

type SiemCreateParams struct {

	// Body.
	Body *models.SiemCreateUpdateRequestModel

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

SiemCreateParams contains all the parameters to send to the API endpoint

for the siem create operation.

Typically these are written to a http.Request.

func NewSiemCreateParams

func NewSiemCreateParams() *SiemCreateParams

NewSiemCreateParams creates a new SiemCreateParams 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 NewSiemCreateParamsWithContext

func NewSiemCreateParamsWithContext(ctx context.Context) *SiemCreateParams

NewSiemCreateParamsWithContext creates a new SiemCreateParams object with the ability to set a context for a request.

func NewSiemCreateParamsWithHTTPClient

func NewSiemCreateParamsWithHTTPClient(client *http.Client) *SiemCreateParams

NewSiemCreateParamsWithHTTPClient creates a new SiemCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSiemCreateParamsWithTimeout

func NewSiemCreateParamsWithTimeout(timeout time.Duration) *SiemCreateParams

NewSiemCreateParamsWithTimeout creates a new SiemCreateParams object with the ability to set a timeout on a request.

func (*SiemCreateParams) SetBody

SetBody adds the body to the siem create params

func (*SiemCreateParams) SetContext

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

SetContext adds the context to the siem create params

func (*SiemCreateParams) SetDefaults

func (o *SiemCreateParams) SetDefaults()

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

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

func (*SiemCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the siem create params

func (*SiemCreateParams) SetTimeout

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

SetTimeout adds the timeout to the siem create params

func (*SiemCreateParams) WithBody

WithBody adds the body to the siem create params

func (*SiemCreateParams) WithContext

func (o *SiemCreateParams) WithContext(ctx context.Context) *SiemCreateParams

WithContext adds the context to the siem create params

func (*SiemCreateParams) WithDefaults

func (o *SiemCreateParams) WithDefaults() *SiemCreateParams

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

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

func (*SiemCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the siem create params

func (*SiemCreateParams) WithTimeout

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

WithTimeout adds the timeout to the siem create params

func (*SiemCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SiemCreateReader

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

SiemCreateReader is a Reader for the SiemCreate structure.

func (*SiemCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SiemCreateUnauthorized

type SiemCreateUnauthorized struct {
	Payload *models.HTTPError
}
SiemCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSiemCreateUnauthorized

func NewSiemCreateUnauthorized() *SiemCreateUnauthorized

NewSiemCreateUnauthorized creates a SiemCreateUnauthorized with default headers values

func (*SiemCreateUnauthorized) Error

func (o *SiemCreateUnauthorized) Error() string

func (*SiemCreateUnauthorized) GetPayload

func (o *SiemCreateUnauthorized) GetPayload() *models.HTTPError

func (*SiemCreateUnauthorized) IsClientError

func (o *SiemCreateUnauthorized) IsClientError() bool

IsClientError returns true when this siem create unauthorized response has a 4xx status code

func (*SiemCreateUnauthorized) IsCode

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

IsCode returns true when this siem create unauthorized response a status code equal to that given

func (*SiemCreateUnauthorized) IsRedirect

func (o *SiemCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this siem create unauthorized response has a 3xx status code

func (*SiemCreateUnauthorized) IsServerError

func (o *SiemCreateUnauthorized) IsServerError() bool

IsServerError returns true when this siem create unauthorized response has a 5xx status code

func (*SiemCreateUnauthorized) IsSuccess

func (o *SiemCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this siem create unauthorized response has a 2xx status code

func (*SiemCreateUnauthorized) String

func (o *SiemCreateUnauthorized) String() string

type SiemDeleteBadRequest

type SiemDeleteBadRequest struct {
	Payload *models.HTTPError
}
SiemDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewSiemDeleteBadRequest

func NewSiemDeleteBadRequest() *SiemDeleteBadRequest

NewSiemDeleteBadRequest creates a SiemDeleteBadRequest with default headers values

func (*SiemDeleteBadRequest) Error

func (o *SiemDeleteBadRequest) Error() string

func (*SiemDeleteBadRequest) GetPayload

func (o *SiemDeleteBadRequest) GetPayload() *models.HTTPError

func (*SiemDeleteBadRequest) IsClientError

func (o *SiemDeleteBadRequest) IsClientError() bool

IsClientError returns true when this siem delete bad request response has a 4xx status code

func (*SiemDeleteBadRequest) IsCode

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

IsCode returns true when this siem delete bad request response a status code equal to that given

func (*SiemDeleteBadRequest) IsRedirect

func (o *SiemDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this siem delete bad request response has a 3xx status code

func (*SiemDeleteBadRequest) IsServerError

func (o *SiemDeleteBadRequest) IsServerError() bool

IsServerError returns true when this siem delete bad request response has a 5xx status code

func (*SiemDeleteBadRequest) IsSuccess

func (o *SiemDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this siem delete bad request response has a 2xx status code

func (*SiemDeleteBadRequest) String

func (o *SiemDeleteBadRequest) String() string

type SiemDeleteForbidden

type SiemDeleteForbidden struct {
	Payload *models.HTTPError
}
SiemDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewSiemDeleteForbidden

func NewSiemDeleteForbidden() *SiemDeleteForbidden

NewSiemDeleteForbidden creates a SiemDeleteForbidden with default headers values

func (*SiemDeleteForbidden) Error

func (o *SiemDeleteForbidden) Error() string

func (*SiemDeleteForbidden) GetPayload

func (o *SiemDeleteForbidden) GetPayload() *models.HTTPError

func (*SiemDeleteForbidden) IsClientError

func (o *SiemDeleteForbidden) IsClientError() bool

IsClientError returns true when this siem delete forbidden response has a 4xx status code

func (*SiemDeleteForbidden) IsCode

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

IsCode returns true when this siem delete forbidden response a status code equal to that given

func (*SiemDeleteForbidden) IsRedirect

func (o *SiemDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this siem delete forbidden response has a 3xx status code

func (*SiemDeleteForbidden) IsServerError

func (o *SiemDeleteForbidden) IsServerError() bool

IsServerError returns true when this siem delete forbidden response has a 5xx status code

func (*SiemDeleteForbidden) IsSuccess

func (o *SiemDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this siem delete forbidden response has a 2xx status code

func (*SiemDeleteForbidden) String

func (o *SiemDeleteForbidden) String() string

type SiemDeleteInternalServerError

type SiemDeleteInternalServerError struct {
	Payload *models.HTTPError
}
SiemDeleteInternalServerError describes a response with status code 500, with default header values.

server error

func NewSiemDeleteInternalServerError

func NewSiemDeleteInternalServerError() *SiemDeleteInternalServerError

NewSiemDeleteInternalServerError creates a SiemDeleteInternalServerError with default headers values

func (*SiemDeleteInternalServerError) Error

func (*SiemDeleteInternalServerError) GetPayload

func (*SiemDeleteInternalServerError) IsClientError

func (o *SiemDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this siem delete internal server error response has a 4xx status code

func (*SiemDeleteInternalServerError) IsCode

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

IsCode returns true when this siem delete internal server error response a status code equal to that given

func (*SiemDeleteInternalServerError) IsRedirect

func (o *SiemDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this siem delete internal server error response has a 3xx status code

func (*SiemDeleteInternalServerError) IsServerError

func (o *SiemDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this siem delete internal server error response has a 5xx status code

func (*SiemDeleteInternalServerError) IsSuccess

func (o *SiemDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this siem delete internal server error response has a 2xx status code

func (*SiemDeleteInternalServerError) String

type SiemDeleteOK

type SiemDeleteOK struct {
}
SiemDeleteOK describes a response with status code 200, with default header values.

no error

func NewSiemDeleteOK

func NewSiemDeleteOK() *SiemDeleteOK

NewSiemDeleteOK creates a SiemDeleteOK with default headers values

func (*SiemDeleteOK) Error

func (o *SiemDeleteOK) Error() string

func (*SiemDeleteOK) IsClientError

func (o *SiemDeleteOK) IsClientError() bool

IsClientError returns true when this siem delete o k response has a 4xx status code

func (*SiemDeleteOK) IsCode

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

IsCode returns true when this siem delete o k response a status code equal to that given

func (*SiemDeleteOK) IsRedirect

func (o *SiemDeleteOK) IsRedirect() bool

IsRedirect returns true when this siem delete o k response has a 3xx status code

func (*SiemDeleteOK) IsServerError

func (o *SiemDeleteOK) IsServerError() bool

IsServerError returns true when this siem delete o k response has a 5xx status code

func (*SiemDeleteOK) IsSuccess

func (o *SiemDeleteOK) IsSuccess() bool

IsSuccess returns true when this siem delete o k response has a 2xx status code

func (*SiemDeleteOK) String

func (o *SiemDeleteOK) String() string

type SiemDeleteParams

type SiemDeleteParams struct {

	// Name.
	Name string

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

SiemDeleteParams contains all the parameters to send to the API endpoint

for the siem delete operation.

Typically these are written to a http.Request.

func NewSiemDeleteParams

func NewSiemDeleteParams() *SiemDeleteParams

NewSiemDeleteParams creates a new SiemDeleteParams 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 NewSiemDeleteParamsWithContext

func NewSiemDeleteParamsWithContext(ctx context.Context) *SiemDeleteParams

NewSiemDeleteParamsWithContext creates a new SiemDeleteParams object with the ability to set a context for a request.

func NewSiemDeleteParamsWithHTTPClient

func NewSiemDeleteParamsWithHTTPClient(client *http.Client) *SiemDeleteParams

NewSiemDeleteParamsWithHTTPClient creates a new SiemDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSiemDeleteParamsWithTimeout

func NewSiemDeleteParamsWithTimeout(timeout time.Duration) *SiemDeleteParams

NewSiemDeleteParamsWithTimeout creates a new SiemDeleteParams object with the ability to set a timeout on a request.

func (*SiemDeleteParams) SetContext

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

SetContext adds the context to the siem delete params

func (*SiemDeleteParams) SetDefaults

func (o *SiemDeleteParams) SetDefaults()

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

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

func (*SiemDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the siem delete params

func (*SiemDeleteParams) SetName

func (o *SiemDeleteParams) SetName(name string)

SetName adds the name to the siem delete params

func (*SiemDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the siem delete params

func (*SiemDeleteParams) WithContext

func (o *SiemDeleteParams) WithContext(ctx context.Context) *SiemDeleteParams

WithContext adds the context to the siem delete params

func (*SiemDeleteParams) WithDefaults

func (o *SiemDeleteParams) WithDefaults() *SiemDeleteParams

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

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

func (*SiemDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the siem delete params

func (*SiemDeleteParams) WithName

func (o *SiemDeleteParams) WithName(name string) *SiemDeleteParams

WithName adds the name to the siem delete params

func (*SiemDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the siem delete params

func (*SiemDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SiemDeleteReader

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

SiemDeleteReader is a Reader for the SiemDelete structure.

func (*SiemDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SiemDeleteUnauthorized

type SiemDeleteUnauthorized struct {
	Payload *models.HTTPError
}
SiemDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSiemDeleteUnauthorized

func NewSiemDeleteUnauthorized() *SiemDeleteUnauthorized

NewSiemDeleteUnauthorized creates a SiemDeleteUnauthorized with default headers values

func (*SiemDeleteUnauthorized) Error

func (o *SiemDeleteUnauthorized) Error() string

func (*SiemDeleteUnauthorized) GetPayload

func (o *SiemDeleteUnauthorized) GetPayload() *models.HTTPError

func (*SiemDeleteUnauthorized) IsClientError

func (o *SiemDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this siem delete unauthorized response has a 4xx status code

func (*SiemDeleteUnauthorized) IsCode

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

IsCode returns true when this siem delete unauthorized response a status code equal to that given

func (*SiemDeleteUnauthorized) IsRedirect

func (o *SiemDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this siem delete unauthorized response has a 3xx status code

func (*SiemDeleteUnauthorized) IsServerError

func (o *SiemDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this siem delete unauthorized response has a 5xx status code

func (*SiemDeleteUnauthorized) IsSuccess

func (o *SiemDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this siem delete unauthorized response has a 2xx status code

func (*SiemDeleteUnauthorized) String

func (o *SiemDeleteUnauthorized) String() string

type SiemGetBadRequest

type SiemGetBadRequest struct {
	Payload *models.HTTPError
}
SiemGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewSiemGetBadRequest

func NewSiemGetBadRequest() *SiemGetBadRequest

NewSiemGetBadRequest creates a SiemGetBadRequest with default headers values

func (*SiemGetBadRequest) Error

func (o *SiemGetBadRequest) Error() string

func (*SiemGetBadRequest) GetPayload

func (o *SiemGetBadRequest) GetPayload() *models.HTTPError

func (*SiemGetBadRequest) IsClientError

func (o *SiemGetBadRequest) IsClientError() bool

IsClientError returns true when this siem get bad request response has a 4xx status code

func (*SiemGetBadRequest) IsCode

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

IsCode returns true when this siem get bad request response a status code equal to that given

func (*SiemGetBadRequest) IsRedirect

func (o *SiemGetBadRequest) IsRedirect() bool

IsRedirect returns true when this siem get bad request response has a 3xx status code

func (*SiemGetBadRequest) IsServerError

func (o *SiemGetBadRequest) IsServerError() bool

IsServerError returns true when this siem get bad request response has a 5xx status code

func (*SiemGetBadRequest) IsSuccess

func (o *SiemGetBadRequest) IsSuccess() bool

IsSuccess returns true when this siem get bad request response has a 2xx status code

func (*SiemGetBadRequest) String

func (o *SiemGetBadRequest) String() string

type SiemGetForbidden

type SiemGetForbidden struct {
	Payload *models.HTTPError
}
SiemGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewSiemGetForbidden

func NewSiemGetForbidden() *SiemGetForbidden

NewSiemGetForbidden creates a SiemGetForbidden with default headers values

func (*SiemGetForbidden) Error

func (o *SiemGetForbidden) Error() string

func (*SiemGetForbidden) GetPayload

func (o *SiemGetForbidden) GetPayload() *models.HTTPError

func (*SiemGetForbidden) IsClientError

func (o *SiemGetForbidden) IsClientError() bool

IsClientError returns true when this siem get forbidden response has a 4xx status code

func (*SiemGetForbidden) IsCode

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

IsCode returns true when this siem get forbidden response a status code equal to that given

func (*SiemGetForbidden) IsRedirect

func (o *SiemGetForbidden) IsRedirect() bool

IsRedirect returns true when this siem get forbidden response has a 3xx status code

func (*SiemGetForbidden) IsServerError

func (o *SiemGetForbidden) IsServerError() bool

IsServerError returns true when this siem get forbidden response has a 5xx status code

func (*SiemGetForbidden) IsSuccess

func (o *SiemGetForbidden) IsSuccess() bool

IsSuccess returns true when this siem get forbidden response has a 2xx status code

func (*SiemGetForbidden) String

func (o *SiemGetForbidden) String() string

type SiemGetInternalServerError

type SiemGetInternalServerError struct {
	Payload *models.HTTPError
}
SiemGetInternalServerError describes a response with status code 500, with default header values.

server error

func NewSiemGetInternalServerError

func NewSiemGetInternalServerError() *SiemGetInternalServerError

NewSiemGetInternalServerError creates a SiemGetInternalServerError with default headers values

func (*SiemGetInternalServerError) Error

func (*SiemGetInternalServerError) GetPayload

func (o *SiemGetInternalServerError) GetPayload() *models.HTTPError

func (*SiemGetInternalServerError) IsClientError

func (o *SiemGetInternalServerError) IsClientError() bool

IsClientError returns true when this siem get internal server error response has a 4xx status code

func (*SiemGetInternalServerError) IsCode

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

IsCode returns true when this siem get internal server error response a status code equal to that given

func (*SiemGetInternalServerError) IsRedirect

func (o *SiemGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this siem get internal server error response has a 3xx status code

func (*SiemGetInternalServerError) IsServerError

func (o *SiemGetInternalServerError) IsServerError() bool

IsServerError returns true when this siem get internal server error response has a 5xx status code

func (*SiemGetInternalServerError) IsSuccess

func (o *SiemGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this siem get internal server error response has a 2xx status code

func (*SiemGetInternalServerError) String

func (o *SiemGetInternalServerError) String() string

type SiemGetOK

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

no error

func NewSiemGetOK

func NewSiemGetOK() *SiemGetOK

NewSiemGetOK creates a SiemGetOK with default headers values

func (*SiemGetOK) Error

func (o *SiemGetOK) Error() string

func (*SiemGetOK) GetPayload

func (o *SiemGetOK) GetPayload() *models.SiemResponseModel

func (*SiemGetOK) IsClientError

func (o *SiemGetOK) IsClientError() bool

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

func (*SiemGetOK) IsCode

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

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

func (*SiemGetOK) IsRedirect

func (o *SiemGetOK) IsRedirect() bool

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

func (*SiemGetOK) IsServerError

func (o *SiemGetOK) IsServerError() bool

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

func (*SiemGetOK) IsSuccess

func (o *SiemGetOK) IsSuccess() bool

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

func (*SiemGetOK) String

func (o *SiemGetOK) String() string

type SiemGetParams

type SiemGetParams struct {

	// Name.
	Name string

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

SiemGetParams contains all the parameters to send to the API endpoint

for the siem get operation.

Typically these are written to a http.Request.

func NewSiemGetParams

func NewSiemGetParams() *SiemGetParams

NewSiemGetParams creates a new SiemGetParams 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 NewSiemGetParamsWithContext

func NewSiemGetParamsWithContext(ctx context.Context) *SiemGetParams

NewSiemGetParamsWithContext creates a new SiemGetParams object with the ability to set a context for a request.

func NewSiemGetParamsWithHTTPClient

func NewSiemGetParamsWithHTTPClient(client *http.Client) *SiemGetParams

NewSiemGetParamsWithHTTPClient creates a new SiemGetParams object with the ability to set a custom HTTPClient for a request.

func NewSiemGetParamsWithTimeout

func NewSiemGetParamsWithTimeout(timeout time.Duration) *SiemGetParams

NewSiemGetParamsWithTimeout creates a new SiemGetParams object with the ability to set a timeout on a request.

func (*SiemGetParams) SetContext

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

SetContext adds the context to the siem get params

func (*SiemGetParams) SetDefaults

func (o *SiemGetParams) SetDefaults()

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

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

func (*SiemGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the siem get params

func (*SiemGetParams) SetName

func (o *SiemGetParams) SetName(name string)

SetName adds the name to the siem get params

func (*SiemGetParams) SetTimeout

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

SetTimeout adds the timeout to the siem get params

func (*SiemGetParams) WithContext

func (o *SiemGetParams) WithContext(ctx context.Context) *SiemGetParams

WithContext adds the context to the siem get params

func (*SiemGetParams) WithDefaults

func (o *SiemGetParams) WithDefaults() *SiemGetParams

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

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

func (*SiemGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the siem get params

func (*SiemGetParams) WithName

func (o *SiemGetParams) WithName(name string) *SiemGetParams

WithName adds the name to the siem get params

func (*SiemGetParams) WithTimeout

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

WithTimeout adds the timeout to the siem get params

func (*SiemGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SiemGetReader

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

SiemGetReader is a Reader for the SiemGet structure.

func (*SiemGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SiemGetUnauthorized

type SiemGetUnauthorized struct {
	Payload *models.HTTPError
}
SiemGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSiemGetUnauthorized

func NewSiemGetUnauthorized() *SiemGetUnauthorized

NewSiemGetUnauthorized creates a SiemGetUnauthorized with default headers values

func (*SiemGetUnauthorized) Error

func (o *SiemGetUnauthorized) Error() string

func (*SiemGetUnauthorized) GetPayload

func (o *SiemGetUnauthorized) GetPayload() *models.HTTPError

func (*SiemGetUnauthorized) IsClientError

func (o *SiemGetUnauthorized) IsClientError() bool

IsClientError returns true when this siem get unauthorized response has a 4xx status code

func (*SiemGetUnauthorized) IsCode

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

IsCode returns true when this siem get unauthorized response a status code equal to that given

func (*SiemGetUnauthorized) IsRedirect

func (o *SiemGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this siem get unauthorized response has a 3xx status code

func (*SiemGetUnauthorized) IsServerError

func (o *SiemGetUnauthorized) IsServerError() bool

IsServerError returns true when this siem get unauthorized response has a 5xx status code

func (*SiemGetUnauthorized) IsSuccess

func (o *SiemGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this siem get unauthorized response has a 2xx status code

func (*SiemGetUnauthorized) String

func (o *SiemGetUnauthorized) String() string

type SiemUpdateBadRequest

type SiemUpdateBadRequest struct {
	Payload *models.HTTPError
}
SiemUpdateBadRequest describes a response with status code 400, with default header values.

bad request

func NewSiemUpdateBadRequest

func NewSiemUpdateBadRequest() *SiemUpdateBadRequest

NewSiemUpdateBadRequest creates a SiemUpdateBadRequest with default headers values

func (*SiemUpdateBadRequest) Error

func (o *SiemUpdateBadRequest) Error() string

func (*SiemUpdateBadRequest) GetPayload

func (o *SiemUpdateBadRequest) GetPayload() *models.HTTPError

func (*SiemUpdateBadRequest) IsClientError

func (o *SiemUpdateBadRequest) IsClientError() bool

IsClientError returns true when this siem update bad request response has a 4xx status code

func (*SiemUpdateBadRequest) IsCode

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

IsCode returns true when this siem update bad request response a status code equal to that given

func (*SiemUpdateBadRequest) IsRedirect

func (o *SiemUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this siem update bad request response has a 3xx status code

func (*SiemUpdateBadRequest) IsServerError

func (o *SiemUpdateBadRequest) IsServerError() bool

IsServerError returns true when this siem update bad request response has a 5xx status code

func (*SiemUpdateBadRequest) IsSuccess

func (o *SiemUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this siem update bad request response has a 2xx status code

func (*SiemUpdateBadRequest) String

func (o *SiemUpdateBadRequest) String() string

type SiemUpdateForbidden

type SiemUpdateForbidden struct {
	Payload *models.HTTPError
}
SiemUpdateForbidden describes a response with status code 403, with default header values.

forbidden

func NewSiemUpdateForbidden

func NewSiemUpdateForbidden() *SiemUpdateForbidden

NewSiemUpdateForbidden creates a SiemUpdateForbidden with default headers values

func (*SiemUpdateForbidden) Error

func (o *SiemUpdateForbidden) Error() string

func (*SiemUpdateForbidden) GetPayload

func (o *SiemUpdateForbidden) GetPayload() *models.HTTPError

func (*SiemUpdateForbidden) IsClientError

func (o *SiemUpdateForbidden) IsClientError() bool

IsClientError returns true when this siem update forbidden response has a 4xx status code

func (*SiemUpdateForbidden) IsCode

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

IsCode returns true when this siem update forbidden response a status code equal to that given

func (*SiemUpdateForbidden) IsRedirect

func (o *SiemUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this siem update forbidden response has a 3xx status code

func (*SiemUpdateForbidden) IsServerError

func (o *SiemUpdateForbidden) IsServerError() bool

IsServerError returns true when this siem update forbidden response has a 5xx status code

func (*SiemUpdateForbidden) IsSuccess

func (o *SiemUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this siem update forbidden response has a 2xx status code

func (*SiemUpdateForbidden) String

func (o *SiemUpdateForbidden) String() string

type SiemUpdateInternalServerError

type SiemUpdateInternalServerError struct {
	Payload *models.HTTPError
}
SiemUpdateInternalServerError describes a response with status code 500, with default header values.

server error

func NewSiemUpdateInternalServerError

func NewSiemUpdateInternalServerError() *SiemUpdateInternalServerError

NewSiemUpdateInternalServerError creates a SiemUpdateInternalServerError with default headers values

func (*SiemUpdateInternalServerError) Error

func (*SiemUpdateInternalServerError) GetPayload

func (*SiemUpdateInternalServerError) IsClientError

func (o *SiemUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this siem update internal server error response has a 4xx status code

func (*SiemUpdateInternalServerError) IsCode

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

IsCode returns true when this siem update internal server error response a status code equal to that given

func (*SiemUpdateInternalServerError) IsRedirect

func (o *SiemUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this siem update internal server error response has a 3xx status code

func (*SiemUpdateInternalServerError) IsServerError

func (o *SiemUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this siem update internal server error response has a 5xx status code

func (*SiemUpdateInternalServerError) IsSuccess

func (o *SiemUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this siem update internal server error response has a 2xx status code

func (*SiemUpdateInternalServerError) String

type SiemUpdateOK

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

no error

func NewSiemUpdateOK

func NewSiemUpdateOK() *SiemUpdateOK

NewSiemUpdateOK creates a SiemUpdateOK with default headers values

func (*SiemUpdateOK) Error

func (o *SiemUpdateOK) Error() string

func (*SiemUpdateOK) GetPayload

func (o *SiemUpdateOK) GetPayload() *models.SiemResponseModel

func (*SiemUpdateOK) IsClientError

func (o *SiemUpdateOK) IsClientError() bool

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

func (*SiemUpdateOK) IsCode

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

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

func (*SiemUpdateOK) IsRedirect

func (o *SiemUpdateOK) IsRedirect() bool

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

func (*SiemUpdateOK) IsServerError

func (o *SiemUpdateOK) IsServerError() bool

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

func (*SiemUpdateOK) IsSuccess

func (o *SiemUpdateOK) IsSuccess() bool

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

func (*SiemUpdateOK) String

func (o *SiemUpdateOK) String() string

type SiemUpdateParams

type SiemUpdateParams struct {

	// Body.
	Body *models.SiemCreateUpdateRequestModel

	// Name.
	Name string

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

SiemUpdateParams contains all the parameters to send to the API endpoint

for the siem update operation.

Typically these are written to a http.Request.

func NewSiemUpdateParams

func NewSiemUpdateParams() *SiemUpdateParams

NewSiemUpdateParams creates a new SiemUpdateParams 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 NewSiemUpdateParamsWithContext

func NewSiemUpdateParamsWithContext(ctx context.Context) *SiemUpdateParams

NewSiemUpdateParamsWithContext creates a new SiemUpdateParams object with the ability to set a context for a request.

func NewSiemUpdateParamsWithHTTPClient

func NewSiemUpdateParamsWithHTTPClient(client *http.Client) *SiemUpdateParams

NewSiemUpdateParamsWithHTTPClient creates a new SiemUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewSiemUpdateParamsWithTimeout

func NewSiemUpdateParamsWithTimeout(timeout time.Duration) *SiemUpdateParams

NewSiemUpdateParamsWithTimeout creates a new SiemUpdateParams object with the ability to set a timeout on a request.

func (*SiemUpdateParams) SetBody

SetBody adds the body to the siem update params

func (*SiemUpdateParams) SetContext

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

SetContext adds the context to the siem update params

func (*SiemUpdateParams) SetDefaults

func (o *SiemUpdateParams) SetDefaults()

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

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

func (*SiemUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the siem update params

func (*SiemUpdateParams) SetName

func (o *SiemUpdateParams) SetName(name string)

SetName adds the name to the siem update params

func (*SiemUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the siem update params

func (*SiemUpdateParams) WithBody

WithBody adds the body to the siem update params

func (*SiemUpdateParams) WithContext

func (o *SiemUpdateParams) WithContext(ctx context.Context) *SiemUpdateParams

WithContext adds the context to the siem update params

func (*SiemUpdateParams) WithDefaults

func (o *SiemUpdateParams) WithDefaults() *SiemUpdateParams

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

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

func (*SiemUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the siem update params

func (*SiemUpdateParams) WithName

func (o *SiemUpdateParams) WithName(name string) *SiemUpdateParams

WithName adds the name to the siem update params

func (*SiemUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the siem update params

func (*SiemUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SiemUpdateReader

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

SiemUpdateReader is a Reader for the SiemUpdate structure.

func (*SiemUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SiemUpdateUnauthorized

type SiemUpdateUnauthorized struct {
	Payload *models.HTTPError
}
SiemUpdateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSiemUpdateUnauthorized

func NewSiemUpdateUnauthorized() *SiemUpdateUnauthorized

NewSiemUpdateUnauthorized creates a SiemUpdateUnauthorized with default headers values

func (*SiemUpdateUnauthorized) Error

func (o *SiemUpdateUnauthorized) Error() string

func (*SiemUpdateUnauthorized) GetPayload

func (o *SiemUpdateUnauthorized) GetPayload() *models.HTTPError

func (*SiemUpdateUnauthorized) IsClientError

func (o *SiemUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this siem update unauthorized response has a 4xx status code

func (*SiemUpdateUnauthorized) IsCode

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

IsCode returns true when this siem update unauthorized response a status code equal to that given

func (*SiemUpdateUnauthorized) IsRedirect

func (o *SiemUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this siem update unauthorized response has a 3xx status code

func (*SiemUpdateUnauthorized) IsServerError

func (o *SiemUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this siem update unauthorized response has a 5xx status code

func (*SiemUpdateUnauthorized) IsSuccess

func (o *SiemUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this siem update unauthorized response has a 2xx status code

func (*SiemUpdateUnauthorized) String

func (o *SiemUpdateUnauthorized) String() string

Jump to

Keyboard shortcuts

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