Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNetworkClientSecurityEvents(params *GetNetworkClientSecurityEventsParams, ...) (*GetNetworkClientSecurityEventsOK, error)
- func (a *Client) GetNetworkSecurityEvents(params *GetNetworkSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityEventsOK, error)
- func (a *Client) GetOrganizationSecurityEvents(params *GetOrganizationSecurityEventsParams, ...) (*GetOrganizationSecurityEventsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetNetworkClientSecurityEventsOK
- type GetNetworkClientSecurityEventsParams
- func NewGetNetworkClientSecurityEventsParams() *GetNetworkClientSecurityEventsParams
- func NewGetNetworkClientSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkClientSecurityEventsParams
- func NewGetNetworkClientSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkClientSecurityEventsParams
- func NewGetNetworkClientSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) SetClientID(clientID string)
- func (o *GetNetworkClientSecurityEventsParams) SetContext(ctx context.Context)
- func (o *GetNetworkClientSecurityEventsParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkClientSecurityEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkClientSecurityEventsParams) SetNetworkID(networkID string)
- func (o *GetNetworkClientSecurityEventsParams) SetPerPage(perPage *int32)
- func (o *GetNetworkClientSecurityEventsParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkClientSecurityEventsParams) SetT0(t0 *string)
- func (o *GetNetworkClientSecurityEventsParams) SetT1(t1 *string)
- func (o *GetNetworkClientSecurityEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkClientSecurityEventsParams) SetTimespan(timespan *float64)
- func (o *GetNetworkClientSecurityEventsParams) WithClientID(clientID string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithContext(ctx context.Context) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithHTTPClient(client *http.Client) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithNetworkID(networkID string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithPerPage(perPage *int32) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithT0(t0 *string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithT1(t1 *string) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithTimeout(timeout time.Duration) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WithTimespan(timespan *float64) *GetNetworkClientSecurityEventsParams
- func (o *GetNetworkClientSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkClientSecurityEventsReader
- type GetNetworkSecurityEventsOK
- type GetNetworkSecurityEventsParams
- func NewGetNetworkSecurityEventsParams() *GetNetworkSecurityEventsParams
- func NewGetNetworkSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkSecurityEventsParams
- func NewGetNetworkSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkSecurityEventsParams
- func NewGetNetworkSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSecurityEventsParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkSecurityEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSecurityEventsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSecurityEventsParams) SetPerPage(perPage *int32)
- func (o *GetNetworkSecurityEventsParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkSecurityEventsParams) SetT0(t0 *string)
- func (o *GetNetworkSecurityEventsParams) SetT1(t1 *string)
- func (o *GetNetworkSecurityEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSecurityEventsParams) SetTimespan(timespan *float64)
- func (o *GetNetworkSecurityEventsParams) WithContext(ctx context.Context) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithHTTPClient(client *http.Client) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithNetworkID(networkID string) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithPerPage(perPage *int32) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithT0(t0 *string) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithT1(t1 *string) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithTimeout(timeout time.Duration) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WithTimespan(timespan *float64) *GetNetworkSecurityEventsParams
- func (o *GetNetworkSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSecurityEventsReader
- type GetOrganizationSecurityEventsOK
- type GetOrganizationSecurityEventsParams
- func NewGetOrganizationSecurityEventsParams() *GetOrganizationSecurityEventsParams
- func NewGetOrganizationSecurityEventsParamsWithContext(ctx context.Context) *GetOrganizationSecurityEventsParams
- func NewGetOrganizationSecurityEventsParamsWithHTTPClient(client *http.Client) *GetOrganizationSecurityEventsParams
- func NewGetOrganizationSecurityEventsParamsWithTimeout(timeout time.Duration) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationSecurityEventsParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationSecurityEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationSecurityEventsParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationSecurityEventsParams) SetPerPage(perPage *int32)
- func (o *GetOrganizationSecurityEventsParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationSecurityEventsParams) SetT0(t0 *string)
- func (o *GetOrganizationSecurityEventsParams) SetT1(t1 *string)
- func (o *GetOrganizationSecurityEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationSecurityEventsParams) SetTimespan(timespan *float64)
- func (o *GetOrganizationSecurityEventsParams) WithContext(ctx context.Context) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithHTTPClient(client *http.Client) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithOrganizationID(organizationID string) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithPerPage(perPage *int32) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithT0(t0 *string) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithT1(t1 *string) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithTimeout(timeout time.Duration) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WithTimespan(timespan *float64) *GetOrganizationSecurityEventsParams
- func (o *GetOrganizationSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationSecurityEventsReader
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 security events API
func (*Client) GetNetworkClientSecurityEvents ¶
func (a *Client) GetNetworkClientSecurityEvents(params *GetNetworkClientSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkClientSecurityEventsOK, error)
GetNetworkClientSecurityEvents gets network client security events
List the security events for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.
func (*Client) GetNetworkSecurityEvents ¶
func (a *Client) GetNetworkSecurityEvents(params *GetNetworkSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityEventsOK, error)
GetNetworkSecurityEvents gets network security events
List the security events for a network
func (*Client) GetOrganizationSecurityEvents ¶
func (a *Client) GetOrganizationSecurityEvents(params *GetOrganizationSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSecurityEventsOK, error)
GetOrganizationSecurityEvents gets organization security events
List the security events for an organization
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetNetworkClientSecurityEvents(params *GetNetworkClientSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkClientSecurityEventsOK, error) GetNetworkSecurityEvents(params *GetNetworkSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityEventsOK, error) GetOrganizationSecurityEvents(params *GetOrganizationSecurityEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrganizationSecurityEventsOK, 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 security events API client.
type GetNetworkClientSecurityEventsOK ¶
type GetNetworkClientSecurityEventsOK struct {
Payload interface{}
}
GetNetworkClientSecurityEventsOK handles this case with default header values.
Successful operation
func NewGetNetworkClientSecurityEventsOK ¶
func NewGetNetworkClientSecurityEventsOK() *GetNetworkClientSecurityEventsOK
NewGetNetworkClientSecurityEventsOK creates a GetNetworkClientSecurityEventsOK with default headers values
func (*GetNetworkClientSecurityEventsOK) Error ¶
func (o *GetNetworkClientSecurityEventsOK) Error() string
func (*GetNetworkClientSecurityEventsOK) GetPayload ¶
func (o *GetNetworkClientSecurityEventsOK) GetPayload() interface{}
type GetNetworkClientSecurityEventsParams ¶
type GetNetworkClientSecurityEventsParams struct { /*ClientID*/ ClientID string /*EndingBefore A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /*NetworkID*/ NetworkID string /*PerPage The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100. */ PerPage *int32 /*StartingAfter A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /*T0 The beginning of the timespan for the data. The maximum lookback period is 791 days from today. */ T0 *string /*T1 The end of the timespan for the data. t1 can be a maximum of 791 days after t0. */ T1 *string /*Timespan The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 31 days. */ Timespan *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkClientSecurityEventsParams contains all the parameters to send to the API endpoint for the get network client security events operation typically these are written to a http.Request
func NewGetNetworkClientSecurityEventsParams ¶
func NewGetNetworkClientSecurityEventsParams() *GetNetworkClientSecurityEventsParams
NewGetNetworkClientSecurityEventsParams creates a new GetNetworkClientSecurityEventsParams object with the default values initialized.
func NewGetNetworkClientSecurityEventsParamsWithContext ¶
func NewGetNetworkClientSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkClientSecurityEventsParams
NewGetNetworkClientSecurityEventsParamsWithContext creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkClientSecurityEventsParamsWithHTTPClient ¶
func NewGetNetworkClientSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkClientSecurityEventsParams
NewGetNetworkClientSecurityEventsParamsWithHTTPClient creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkClientSecurityEventsParamsWithTimeout ¶
func NewGetNetworkClientSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkClientSecurityEventsParams
NewGetNetworkClientSecurityEventsParamsWithTimeout creates a new GetNetworkClientSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkClientSecurityEventsParams) SetClientID ¶
func (o *GetNetworkClientSecurityEventsParams) SetClientID(clientID string)
SetClientID adds the clientId to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetContext ¶
func (o *GetNetworkClientSecurityEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetEndingBefore ¶
func (o *GetNetworkClientSecurityEventsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetHTTPClient ¶
func (o *GetNetworkClientSecurityEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetNetworkID ¶
func (o *GetNetworkClientSecurityEventsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetPerPage ¶
func (o *GetNetworkClientSecurityEventsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetStartingAfter ¶
func (o *GetNetworkClientSecurityEventsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetT0 ¶
func (o *GetNetworkClientSecurityEventsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetT1 ¶
func (o *GetNetworkClientSecurityEventsParams) SetT1(t1 *string)
SetT1 adds the t1 to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetTimeout ¶
func (o *GetNetworkClientSecurityEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) SetTimespan ¶
func (o *GetNetworkClientSecurityEventsParams) SetTimespan(timespan *float64)
SetTimespan adds the timespan to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithClientID ¶
func (o *GetNetworkClientSecurityEventsParams) WithClientID(clientID string) *GetNetworkClientSecurityEventsParams
WithClientID adds the clientID to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithContext ¶
func (o *GetNetworkClientSecurityEventsParams) WithContext(ctx context.Context) *GetNetworkClientSecurityEventsParams
WithContext adds the context to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithEndingBefore ¶
func (o *GetNetworkClientSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkClientSecurityEventsParams
WithEndingBefore adds the endingBefore to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithHTTPClient ¶
func (o *GetNetworkClientSecurityEventsParams) WithHTTPClient(client *http.Client) *GetNetworkClientSecurityEventsParams
WithHTTPClient adds the HTTPClient to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithNetworkID ¶
func (o *GetNetworkClientSecurityEventsParams) WithNetworkID(networkID string) *GetNetworkClientSecurityEventsParams
WithNetworkID adds the networkID to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithPerPage ¶
func (o *GetNetworkClientSecurityEventsParams) WithPerPage(perPage *int32) *GetNetworkClientSecurityEventsParams
WithPerPage adds the perPage to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithStartingAfter ¶
func (o *GetNetworkClientSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkClientSecurityEventsParams
WithStartingAfter adds the startingAfter to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithT0 ¶
func (o *GetNetworkClientSecurityEventsParams) WithT0(t0 *string) *GetNetworkClientSecurityEventsParams
WithT0 adds the t0 to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithT1 ¶
func (o *GetNetworkClientSecurityEventsParams) WithT1(t1 *string) *GetNetworkClientSecurityEventsParams
WithT1 adds the t1 to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithTimeout ¶
func (o *GetNetworkClientSecurityEventsParams) WithTimeout(timeout time.Duration) *GetNetworkClientSecurityEventsParams
WithTimeout adds the timeout to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WithTimespan ¶
func (o *GetNetworkClientSecurityEventsParams) WithTimespan(timespan *float64) *GetNetworkClientSecurityEventsParams
WithTimespan adds the timespan to the get network client security events params
func (*GetNetworkClientSecurityEventsParams) WriteToRequest ¶
func (o *GetNetworkClientSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkClientSecurityEventsReader ¶
type GetNetworkClientSecurityEventsReader struct {
// contains filtered or unexported fields
}
GetNetworkClientSecurityEventsReader is a Reader for the GetNetworkClientSecurityEvents structure.
func (*GetNetworkClientSecurityEventsReader) ReadResponse ¶
func (o *GetNetworkClientSecurityEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSecurityEventsOK ¶
type GetNetworkSecurityEventsOK struct {
Payload interface{}
}
GetNetworkSecurityEventsOK handles this case with default header values.
Successful operation
func NewGetNetworkSecurityEventsOK ¶
func NewGetNetworkSecurityEventsOK() *GetNetworkSecurityEventsOK
NewGetNetworkSecurityEventsOK creates a GetNetworkSecurityEventsOK with default headers values
func (*GetNetworkSecurityEventsOK) Error ¶
func (o *GetNetworkSecurityEventsOK) Error() string
func (*GetNetworkSecurityEventsOK) GetPayload ¶
func (o *GetNetworkSecurityEventsOK) GetPayload() interface{}
type GetNetworkSecurityEventsParams ¶
type GetNetworkSecurityEventsParams struct { /*EndingBefore A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /*NetworkID*/ NetworkID string /*PerPage The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100. */ PerPage *int32 /*StartingAfter A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /*T0 The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ T0 *string /*T1 The end of the timespan for the data. t1 can be a maximum of 365 days after t0. */ T1 *string /*Timespan The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days. */ Timespan *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSecurityEventsParams contains all the parameters to send to the API endpoint for the get network security events operation typically these are written to a http.Request
func NewGetNetworkSecurityEventsParams ¶
func NewGetNetworkSecurityEventsParams() *GetNetworkSecurityEventsParams
NewGetNetworkSecurityEventsParams creates a new GetNetworkSecurityEventsParams object with the default values initialized.
func NewGetNetworkSecurityEventsParamsWithContext ¶
func NewGetNetworkSecurityEventsParamsWithContext(ctx context.Context) *GetNetworkSecurityEventsParams
NewGetNetworkSecurityEventsParamsWithContext creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkSecurityEventsParamsWithHTTPClient ¶
func NewGetNetworkSecurityEventsParamsWithHTTPClient(client *http.Client) *GetNetworkSecurityEventsParams
NewGetNetworkSecurityEventsParamsWithHTTPClient creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkSecurityEventsParamsWithTimeout ¶
func NewGetNetworkSecurityEventsParamsWithTimeout(timeout time.Duration) *GetNetworkSecurityEventsParams
NewGetNetworkSecurityEventsParamsWithTimeout creates a new GetNetworkSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkSecurityEventsParams) SetContext ¶
func (o *GetNetworkSecurityEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network security events params
func (*GetNetworkSecurityEventsParams) SetEndingBefore ¶
func (o *GetNetworkSecurityEventsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network security events params
func (*GetNetworkSecurityEventsParams) SetHTTPClient ¶
func (o *GetNetworkSecurityEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network security events params
func (*GetNetworkSecurityEventsParams) SetNetworkID ¶
func (o *GetNetworkSecurityEventsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network security events params
func (*GetNetworkSecurityEventsParams) SetPerPage ¶
func (o *GetNetworkSecurityEventsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get network security events params
func (*GetNetworkSecurityEventsParams) SetStartingAfter ¶
func (o *GetNetworkSecurityEventsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network security events params
func (*GetNetworkSecurityEventsParams) SetT0 ¶
func (o *GetNetworkSecurityEventsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get network security events params
func (*GetNetworkSecurityEventsParams) SetT1 ¶
func (o *GetNetworkSecurityEventsParams) SetT1(t1 *string)
SetT1 adds the t1 to the get network security events params
func (*GetNetworkSecurityEventsParams) SetTimeout ¶
func (o *GetNetworkSecurityEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network security events params
func (*GetNetworkSecurityEventsParams) SetTimespan ¶
func (o *GetNetworkSecurityEventsParams) SetTimespan(timespan *float64)
SetTimespan adds the timespan to the get network security events params
func (*GetNetworkSecurityEventsParams) WithContext ¶
func (o *GetNetworkSecurityEventsParams) WithContext(ctx context.Context) *GetNetworkSecurityEventsParams
WithContext adds the context to the get network security events params
func (*GetNetworkSecurityEventsParams) WithEndingBefore ¶
func (o *GetNetworkSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetNetworkSecurityEventsParams
WithEndingBefore adds the endingBefore to the get network security events params
func (*GetNetworkSecurityEventsParams) WithHTTPClient ¶
func (o *GetNetworkSecurityEventsParams) WithHTTPClient(client *http.Client) *GetNetworkSecurityEventsParams
WithHTTPClient adds the HTTPClient to the get network security events params
func (*GetNetworkSecurityEventsParams) WithNetworkID ¶
func (o *GetNetworkSecurityEventsParams) WithNetworkID(networkID string) *GetNetworkSecurityEventsParams
WithNetworkID adds the networkID to the get network security events params
func (*GetNetworkSecurityEventsParams) WithPerPage ¶
func (o *GetNetworkSecurityEventsParams) WithPerPage(perPage *int32) *GetNetworkSecurityEventsParams
WithPerPage adds the perPage to the get network security events params
func (*GetNetworkSecurityEventsParams) WithStartingAfter ¶
func (o *GetNetworkSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetNetworkSecurityEventsParams
WithStartingAfter adds the startingAfter to the get network security events params
func (*GetNetworkSecurityEventsParams) WithT0 ¶
func (o *GetNetworkSecurityEventsParams) WithT0(t0 *string) *GetNetworkSecurityEventsParams
WithT0 adds the t0 to the get network security events params
func (*GetNetworkSecurityEventsParams) WithT1 ¶
func (o *GetNetworkSecurityEventsParams) WithT1(t1 *string) *GetNetworkSecurityEventsParams
WithT1 adds the t1 to the get network security events params
func (*GetNetworkSecurityEventsParams) WithTimeout ¶
func (o *GetNetworkSecurityEventsParams) WithTimeout(timeout time.Duration) *GetNetworkSecurityEventsParams
WithTimeout adds the timeout to the get network security events params
func (*GetNetworkSecurityEventsParams) WithTimespan ¶
func (o *GetNetworkSecurityEventsParams) WithTimespan(timespan *float64) *GetNetworkSecurityEventsParams
WithTimespan adds the timespan to the get network security events params
func (*GetNetworkSecurityEventsParams) WriteToRequest ¶
func (o *GetNetworkSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSecurityEventsReader ¶
type GetNetworkSecurityEventsReader struct {
// contains filtered or unexported fields
}
GetNetworkSecurityEventsReader is a Reader for the GetNetworkSecurityEvents structure.
func (*GetNetworkSecurityEventsReader) ReadResponse ¶
func (o *GetNetworkSecurityEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationSecurityEventsOK ¶
type GetOrganizationSecurityEventsOK struct {
Payload interface{}
}
GetOrganizationSecurityEventsOK handles this case with default header values.
Successful operation
func NewGetOrganizationSecurityEventsOK ¶
func NewGetOrganizationSecurityEventsOK() *GetOrganizationSecurityEventsOK
NewGetOrganizationSecurityEventsOK creates a GetOrganizationSecurityEventsOK with default headers values
func (*GetOrganizationSecurityEventsOK) Error ¶
func (o *GetOrganizationSecurityEventsOK) Error() string
func (*GetOrganizationSecurityEventsOK) GetPayload ¶
func (o *GetOrganizationSecurityEventsOK) GetPayload() interface{}
type GetOrganizationSecurityEventsParams ¶
type GetOrganizationSecurityEventsParams struct { /*EndingBefore A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /*OrganizationID*/ OrganizationID string /*PerPage The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100. */ PerPage *int32 /*StartingAfter A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /*T0 The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ T0 *string /*T1 The end of the timespan for the data. t1 can be a maximum of 365 days after t0. */ T1 *string /*Timespan The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days. */ Timespan *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationSecurityEventsParams contains all the parameters to send to the API endpoint for the get organization security events operation typically these are written to a http.Request
func NewGetOrganizationSecurityEventsParams ¶
func NewGetOrganizationSecurityEventsParams() *GetOrganizationSecurityEventsParams
NewGetOrganizationSecurityEventsParams creates a new GetOrganizationSecurityEventsParams object with the default values initialized.
func NewGetOrganizationSecurityEventsParamsWithContext ¶
func NewGetOrganizationSecurityEventsParamsWithContext(ctx context.Context) *GetOrganizationSecurityEventsParams
NewGetOrganizationSecurityEventsParamsWithContext creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrganizationSecurityEventsParamsWithHTTPClient ¶
func NewGetOrganizationSecurityEventsParamsWithHTTPClient(client *http.Client) *GetOrganizationSecurityEventsParams
NewGetOrganizationSecurityEventsParamsWithHTTPClient creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrganizationSecurityEventsParamsWithTimeout ¶
func NewGetOrganizationSecurityEventsParamsWithTimeout(timeout time.Duration) *GetOrganizationSecurityEventsParams
NewGetOrganizationSecurityEventsParamsWithTimeout creates a new GetOrganizationSecurityEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrganizationSecurityEventsParams) SetContext ¶
func (o *GetOrganizationSecurityEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetEndingBefore ¶
func (o *GetOrganizationSecurityEventsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetHTTPClient ¶
func (o *GetOrganizationSecurityEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetOrganizationID ¶
func (o *GetOrganizationSecurityEventsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetPerPage ¶
func (o *GetOrganizationSecurityEventsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetStartingAfter ¶
func (o *GetOrganizationSecurityEventsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetT0 ¶
func (o *GetOrganizationSecurityEventsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetT1 ¶
func (o *GetOrganizationSecurityEventsParams) SetT1(t1 *string)
SetT1 adds the t1 to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetTimeout ¶
func (o *GetOrganizationSecurityEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization security events params
func (*GetOrganizationSecurityEventsParams) SetTimespan ¶
func (o *GetOrganizationSecurityEventsParams) SetTimespan(timespan *float64)
SetTimespan adds the timespan to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithContext ¶
func (o *GetOrganizationSecurityEventsParams) WithContext(ctx context.Context) *GetOrganizationSecurityEventsParams
WithContext adds the context to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithEndingBefore ¶
func (o *GetOrganizationSecurityEventsParams) WithEndingBefore(endingBefore *string) *GetOrganizationSecurityEventsParams
WithEndingBefore adds the endingBefore to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithHTTPClient ¶
func (o *GetOrganizationSecurityEventsParams) WithHTTPClient(client *http.Client) *GetOrganizationSecurityEventsParams
WithHTTPClient adds the HTTPClient to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithOrganizationID ¶
func (o *GetOrganizationSecurityEventsParams) WithOrganizationID(organizationID string) *GetOrganizationSecurityEventsParams
WithOrganizationID adds the organizationID to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithPerPage ¶
func (o *GetOrganizationSecurityEventsParams) WithPerPage(perPage *int32) *GetOrganizationSecurityEventsParams
WithPerPage adds the perPage to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithStartingAfter ¶
func (o *GetOrganizationSecurityEventsParams) WithStartingAfter(startingAfter *string) *GetOrganizationSecurityEventsParams
WithStartingAfter adds the startingAfter to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithT0 ¶
func (o *GetOrganizationSecurityEventsParams) WithT0(t0 *string) *GetOrganizationSecurityEventsParams
WithT0 adds the t0 to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithT1 ¶
func (o *GetOrganizationSecurityEventsParams) WithT1(t1 *string) *GetOrganizationSecurityEventsParams
WithT1 adds the t1 to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithTimeout ¶
func (o *GetOrganizationSecurityEventsParams) WithTimeout(timeout time.Duration) *GetOrganizationSecurityEventsParams
WithTimeout adds the timeout to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WithTimespan ¶
func (o *GetOrganizationSecurityEventsParams) WithTimespan(timespan *float64) *GetOrganizationSecurityEventsParams
WithTimespan adds the timespan to the get organization security events params
func (*GetOrganizationSecurityEventsParams) WriteToRequest ¶
func (o *GetOrganizationSecurityEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationSecurityEventsReader ¶
type GetOrganizationSecurityEventsReader struct {
// contains filtered or unexported fields
}
GetOrganizationSecurityEventsReader is a Reader for the GetOrganizationSecurityEvents structure.
func (*GetOrganizationSecurityEventsReader) ReadResponse ¶
func (o *GetOrganizationSecurityEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.