v3_organization_id_audits

package
v2.8.0-rc.51+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0, BSD-2-Clause 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 v3 organization id audits API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v3 organization id audits API client.

func (*Client) GetAuditEventByOrganization

func (a *Client) GetAuditEventByOrganization(params *GetAuditEventByOrganizationParams) (*GetAuditEventByOrganizationOK, error)

GetAuditEventByOrganization gets audit event in organization

Audit event operations

func (*Client) GetAuditEventsInOrganization

func (a *Client) GetAuditEventsInOrganization(params *GetAuditEventsInOrganizationParams) (*GetAuditEventsInOrganizationOK, error)

GetAuditEventsInOrganization lists audit events for the given organization

Audit event operations

func (*Client) GetAuditEventsZipInOrganization

func (a *Client) GetAuditEventsZipInOrganization(params *GetAuditEventsZipInOrganizationParams) error

GetAuditEventsZipInOrganization lists audit events for the given organization in zip file

Audit event operations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetAuditEventByOrganizationOK

type GetAuditEventByOrganizationOK struct {
	Payload *models_cloudbreak.AuditEvent
}

GetAuditEventByOrganizationOK handles this case with default header values.

successful operation

func NewGetAuditEventByOrganizationOK

func NewGetAuditEventByOrganizationOK() *GetAuditEventByOrganizationOK

NewGetAuditEventByOrganizationOK creates a GetAuditEventByOrganizationOK with default headers values

func (*GetAuditEventByOrganizationOK) Error

type GetAuditEventByOrganizationParams

type GetAuditEventByOrganizationParams struct {

	/*AuditID*/
	AuditID int64
	/*OrganizationID*/
	OrganizationID int64

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

GetAuditEventByOrganizationParams contains all the parameters to send to the API endpoint for the get audit event by organization operation typically these are written to a http.Request

func NewGetAuditEventByOrganizationParams

func NewGetAuditEventByOrganizationParams() *GetAuditEventByOrganizationParams

NewGetAuditEventByOrganizationParams creates a new GetAuditEventByOrganizationParams object with the default values initialized.

func NewGetAuditEventByOrganizationParamsWithContext

func NewGetAuditEventByOrganizationParamsWithContext(ctx context.Context) *GetAuditEventByOrganizationParams

NewGetAuditEventByOrganizationParamsWithContext creates a new GetAuditEventByOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditEventByOrganizationParamsWithHTTPClient

func NewGetAuditEventByOrganizationParamsWithHTTPClient(client *http.Client) *GetAuditEventByOrganizationParams

NewGetAuditEventByOrganizationParamsWithHTTPClient creates a new GetAuditEventByOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditEventByOrganizationParamsWithTimeout

func NewGetAuditEventByOrganizationParamsWithTimeout(timeout time.Duration) *GetAuditEventByOrganizationParams

NewGetAuditEventByOrganizationParamsWithTimeout creates a new GetAuditEventByOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditEventByOrganizationParams) SetAuditID

func (o *GetAuditEventByOrganizationParams) SetAuditID(auditID int64)

SetAuditID adds the auditId to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) SetContext

SetContext adds the context to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) SetOrganizationID

func (o *GetAuditEventByOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WithAuditID

WithAuditID adds the auditID to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WithContext

WithContext adds the context to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WithOrganizationID

func (o *GetAuditEventByOrganizationParams) WithOrganizationID(organizationID int64) *GetAuditEventByOrganizationParams

WithOrganizationID adds the organizationID to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WithTimeout

WithTimeout adds the timeout to the get audit event by organization params

func (*GetAuditEventByOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventByOrganizationReader

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

GetAuditEventByOrganizationReader is a Reader for the GetAuditEventByOrganization structure.

func (*GetAuditEventByOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEventsInOrganizationOK

type GetAuditEventsInOrganizationOK struct {
	Payload []*models_cloudbreak.AuditEvent
}

GetAuditEventsInOrganizationOK handles this case with default header values.

successful operation

func NewGetAuditEventsInOrganizationOK

func NewGetAuditEventsInOrganizationOK() *GetAuditEventsInOrganizationOK

NewGetAuditEventsInOrganizationOK creates a GetAuditEventsInOrganizationOK with default headers values

func (*GetAuditEventsInOrganizationOK) Error

type GetAuditEventsInOrganizationParams

type GetAuditEventsInOrganizationParams struct {

	/*OrganizationID*/
	OrganizationID int64
	/*ResourceID*/
	ResourceID int64
	/*ResourceType*/
	ResourceType string

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

GetAuditEventsInOrganizationParams contains all the parameters to send to the API endpoint for the get audit events in organization operation typically these are written to a http.Request

func NewGetAuditEventsInOrganizationParams

func NewGetAuditEventsInOrganizationParams() *GetAuditEventsInOrganizationParams

NewGetAuditEventsInOrganizationParams creates a new GetAuditEventsInOrganizationParams object with the default values initialized.

func NewGetAuditEventsInOrganizationParamsWithContext

func NewGetAuditEventsInOrganizationParamsWithContext(ctx context.Context) *GetAuditEventsInOrganizationParams

NewGetAuditEventsInOrganizationParamsWithContext creates a new GetAuditEventsInOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditEventsInOrganizationParamsWithHTTPClient

func NewGetAuditEventsInOrganizationParamsWithHTTPClient(client *http.Client) *GetAuditEventsInOrganizationParams

NewGetAuditEventsInOrganizationParamsWithHTTPClient creates a new GetAuditEventsInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditEventsInOrganizationParamsWithTimeout

func NewGetAuditEventsInOrganizationParamsWithTimeout(timeout time.Duration) *GetAuditEventsInOrganizationParams

NewGetAuditEventsInOrganizationParamsWithTimeout creates a new GetAuditEventsInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditEventsInOrganizationParams) SetContext

SetContext adds the context to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) SetOrganizationID

func (o *GetAuditEventsInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) SetResourceID

func (o *GetAuditEventsInOrganizationParams) SetResourceID(resourceID int64)

SetResourceID adds the resourceId to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) SetResourceType

func (o *GetAuditEventsInOrganizationParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithContext

WithContext adds the context to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithOrganizationID

func (o *GetAuditEventsInOrganizationParams) WithOrganizationID(organizationID int64) *GetAuditEventsInOrganizationParams

WithOrganizationID adds the organizationID to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithResourceID

WithResourceID adds the resourceID to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithResourceType

WithResourceType adds the resourceType to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WithTimeout

WithTimeout adds the timeout to the get audit events in organization params

func (*GetAuditEventsInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventsInOrganizationReader

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

GetAuditEventsInOrganizationReader is a Reader for the GetAuditEventsInOrganization structure.

func (*GetAuditEventsInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEventsZipInOrganizationDefault

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

GetAuditEventsZipInOrganizationDefault handles this case with default header values.

successful operation

func NewGetAuditEventsZipInOrganizationDefault

func NewGetAuditEventsZipInOrganizationDefault(code int) *GetAuditEventsZipInOrganizationDefault

NewGetAuditEventsZipInOrganizationDefault creates a GetAuditEventsZipInOrganizationDefault with default headers values

func (*GetAuditEventsZipInOrganizationDefault) Code

Code gets the status code for the get audit events zip in organization default response

func (*GetAuditEventsZipInOrganizationDefault) Error

type GetAuditEventsZipInOrganizationParams

type GetAuditEventsZipInOrganizationParams struct {

	/*OrganizationID*/
	OrganizationID int64
	/*ResourceID*/
	ResourceID int64
	/*ResourceType*/
	ResourceType string

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

GetAuditEventsZipInOrganizationParams contains all the parameters to send to the API endpoint for the get audit events zip in organization operation typically these are written to a http.Request

func NewGetAuditEventsZipInOrganizationParams

func NewGetAuditEventsZipInOrganizationParams() *GetAuditEventsZipInOrganizationParams

NewGetAuditEventsZipInOrganizationParams creates a new GetAuditEventsZipInOrganizationParams object with the default values initialized.

func NewGetAuditEventsZipInOrganizationParamsWithContext

func NewGetAuditEventsZipInOrganizationParamsWithContext(ctx context.Context) *GetAuditEventsZipInOrganizationParams

NewGetAuditEventsZipInOrganizationParamsWithContext creates a new GetAuditEventsZipInOrganizationParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditEventsZipInOrganizationParamsWithHTTPClient

func NewGetAuditEventsZipInOrganizationParamsWithHTTPClient(client *http.Client) *GetAuditEventsZipInOrganizationParams

NewGetAuditEventsZipInOrganizationParamsWithHTTPClient creates a new GetAuditEventsZipInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditEventsZipInOrganizationParamsWithTimeout

func NewGetAuditEventsZipInOrganizationParamsWithTimeout(timeout time.Duration) *GetAuditEventsZipInOrganizationParams

NewGetAuditEventsZipInOrganizationParamsWithTimeout creates a new GetAuditEventsZipInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditEventsZipInOrganizationParams) SetContext

SetContext adds the context to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) SetOrganizationID

func (o *GetAuditEventsZipInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) SetResourceID

func (o *GetAuditEventsZipInOrganizationParams) SetResourceID(resourceID int64)

SetResourceID adds the resourceId to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) SetResourceType

func (o *GetAuditEventsZipInOrganizationParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithContext

WithContext adds the context to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithResourceID

WithResourceID adds the resourceID to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithResourceType

WithResourceType adds the resourceType to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WithTimeout

WithTimeout adds the timeout to the get audit events zip in organization params

func (*GetAuditEventsZipInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventsZipInOrganizationReader

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

GetAuditEventsZipInOrganizationReader is a Reader for the GetAuditEventsZipInOrganization structure.

func (*GetAuditEventsZipInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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