syslog

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 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 syslog API

func (*Client) DeleteAPI24SyslogServers

func (a *Client) DeleteAPI24SyslogServers(params *DeleteAPI24SyslogServersParams) (*DeleteApi24SyslogServersOK, error)

DeleteAPI24SyslogServers deletes syslog server

Deletes a configured syslog server and stop forwarding syslog messages.

func (*Client) GetAPI24SyslogServers

func (a *Client) GetAPI24SyslogServers(params *GetAPI24SyslogServersParams) (*GetApi24SyslogServersOK, error)

GetAPI24SyslogServers lists syslog servers

Displays a list of configured syslog servers.

func (*Client) GetAPI24SyslogServersSettings

func (a *Client) GetAPI24SyslogServersSettings(params *GetAPI24SyslogServersSettingsParams) (*GetApi24SyslogServersSettingsOK, error)

GetAPI24SyslogServersSettings lists syslog settings

Displays syslog settings. Values include `continuation_token`, `items`, `more_items_remaining`, and `total_item_count`.

func (*Client) GetAPI24SyslogServersTest

func (a *Client) GetAPI24SyslogServersTest(params *GetAPI24SyslogServersTestParams) (*GetApi24SyslogServersTestOK, error)

GetAPI24SyslogServersTest lists syslog server test results

Displays syslog server test results, which indicate whether the syslog is working and configured correctly.

func (*Client) PatchAPI24SyslogServers

func (a *Client) PatchAPI24SyslogServers(params *PatchAPI24SyslogServersParams) (*PatchApi24SyslogServersOK, error)

PatchAPI24SyslogServers modifies syslog server

Modifies the URI of a configured syslog server.

func (*Client) PatchAPI24SyslogServersSettings

func (a *Client) PatchAPI24SyslogServersSettings(params *PatchAPI24SyslogServersSettingsParams) (*PatchApi24SyslogServersSettingsOK, error)

PatchAPI24SyslogServersSettings modifies syslog settings

Modifies syslog settings. Values include `continuation_token`, `items`, `more_items_remaining`, and `total_item_count`.

func (*Client) PostAPI24SyslogServers

func (a *Client) PostAPI24SyslogServers(params *PostAPI24SyslogServersParams) (*PostApi24SyslogServersOK, error)

PostAPI24SyslogServers creates syslog server

Creates a new syslog server. Transmission of syslog messages is enabled immediately.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24SyslogServers(params *DeleteAPI24SyslogServersParams) (*DeleteApi24SyslogServersOK, error)

	GetAPI24SyslogServers(params *GetAPI24SyslogServersParams) (*GetApi24SyslogServersOK, error)

	GetAPI24SyslogServersSettings(params *GetAPI24SyslogServersSettingsParams) (*GetApi24SyslogServersSettingsOK, error)

	GetAPI24SyslogServersTest(params *GetAPI24SyslogServersTestParams) (*GetApi24SyslogServersTestOK, error)

	PatchAPI24SyslogServers(params *PatchAPI24SyslogServersParams) (*PatchApi24SyslogServersOK, error)

	PatchAPI24SyslogServersSettings(params *PatchAPI24SyslogServersSettingsParams) (*PatchApi24SyslogServersSettingsOK, error)

	PostAPI24SyslogServers(params *PostAPI24SyslogServersParams) (*PostApi24SyslogServersOK, 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 syslog API client.

type DeleteAPI24SyslogServersParams

type DeleteAPI24SyslogServersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

DeleteAPI24SyslogServersParams contains all the parameters to send to the API endpoint for the delete API 24 syslog servers operation typically these are written to a http.Request

func NewDeleteAPI24SyslogServersParams

func NewDeleteAPI24SyslogServersParams() *DeleteAPI24SyslogServersParams

NewDeleteAPI24SyslogServersParams creates a new DeleteAPI24SyslogServersParams object with the default values initialized.

func NewDeleteAPI24SyslogServersParamsWithContext

func NewDeleteAPI24SyslogServersParamsWithContext(ctx context.Context) *DeleteAPI24SyslogServersParams

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

func NewDeleteAPI24SyslogServersParamsWithHTTPClient

func NewDeleteAPI24SyslogServersParamsWithHTTPClient(client *http.Client) *DeleteAPI24SyslogServersParams

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

func NewDeleteAPI24SyslogServersParamsWithTimeout

func NewDeleteAPI24SyslogServersParamsWithTimeout(timeout time.Duration) *DeleteAPI24SyslogServersParams

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

func (*DeleteAPI24SyslogServersParams) SetAuthorization

func (o *DeleteAPI24SyslogServersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) SetContext

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

SetContext adds the context to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) SetNames

func (o *DeleteAPI24SyslogServersParams) SetNames(names []string)

SetNames adds the names to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) SetXRequestID

func (o *DeleteAPI24SyslogServersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithAuthorization

func (o *DeleteAPI24SyslogServersParams) WithAuthorization(authorization *string) *DeleteAPI24SyslogServersParams

WithAuthorization adds the authorization to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithContext

WithContext adds the context to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithNames

WithNames adds the names to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WithXRequestID

WithXRequestID adds the xRequestID to the delete API 24 syslog servers params

func (*DeleteAPI24SyslogServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24SyslogServersReader

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

DeleteAPI24SyslogServersReader is a Reader for the DeleteAPI24SyslogServers structure.

func (*DeleteAPI24SyslogServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24SyslogServersBadRequest

type DeleteApi24SyslogServersBadRequest struct {
	Payload *models.Error
}

DeleteApi24SyslogServersBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24SyslogServersBadRequest

func NewDeleteApi24SyslogServersBadRequest() *DeleteApi24SyslogServersBadRequest

NewDeleteApi24SyslogServersBadRequest creates a DeleteApi24SyslogServersBadRequest with default headers values

func (*DeleteApi24SyslogServersBadRequest) Error

func (*DeleteApi24SyslogServersBadRequest) GetPayload

type DeleteApi24SyslogServersOK

type DeleteApi24SyslogServersOK struct {
}

DeleteApi24SyslogServersOK handles this case with default header values.

OK

func NewDeleteApi24SyslogServersOK

func NewDeleteApi24SyslogServersOK() *DeleteApi24SyslogServersOK

NewDeleteApi24SyslogServersOK creates a DeleteApi24SyslogServersOK with default headers values

func (*DeleteApi24SyslogServersOK) Error

type GetAPI24SyslogServersParams

type GetAPI24SyslogServersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24SyslogServersParams contains all the parameters to send to the API endpoint for the get API 24 syslog servers operation typically these are written to a http.Request

func NewGetAPI24SyslogServersParams

func NewGetAPI24SyslogServersParams() *GetAPI24SyslogServersParams

NewGetAPI24SyslogServersParams creates a new GetAPI24SyslogServersParams object with the default values initialized.

func NewGetAPI24SyslogServersParamsWithContext

func NewGetAPI24SyslogServersParamsWithContext(ctx context.Context) *GetAPI24SyslogServersParams

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

func NewGetAPI24SyslogServersParamsWithHTTPClient

func NewGetAPI24SyslogServersParamsWithHTTPClient(client *http.Client) *GetAPI24SyslogServersParams

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

func NewGetAPI24SyslogServersParamsWithTimeout

func NewGetAPI24SyslogServersParamsWithTimeout(timeout time.Duration) *GetAPI24SyslogServersParams

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

func (*GetAPI24SyslogServersParams) SetAuthorization

func (o *GetAPI24SyslogServersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetContext

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

SetContext adds the context to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetContinuationToken

func (o *GetAPI24SyslogServersParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetFilter

func (o *GetAPI24SyslogServersParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetLimit

func (o *GetAPI24SyslogServersParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetNames

func (o *GetAPI24SyslogServersParams) SetNames(names []string)

SetNames adds the names to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetOffset

func (o *GetAPI24SyslogServersParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetSort

func (o *GetAPI24SyslogServersParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetTotalItemCount

func (o *GetAPI24SyslogServersParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) SetXRequestID

func (o *GetAPI24SyslogServersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithAuthorization

func (o *GetAPI24SyslogServersParams) WithAuthorization(authorization *string) *GetAPI24SyslogServersParams

WithAuthorization adds the authorization to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithContext

WithContext adds the context to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithContinuationToken

func (o *GetAPI24SyslogServersParams) WithContinuationToken(continuationToken *string) *GetAPI24SyslogServersParams

WithContinuationToken adds the continuationToken to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithFilter

WithFilter adds the filter to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithLimit

WithLimit adds the limit to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithNames

WithNames adds the names to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithOffset

WithOffset adds the offset to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithSort

WithSort adds the sort to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithTimeout

WithTimeout adds the timeout to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithTotalItemCount

func (o *GetAPI24SyslogServersParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SyslogServersParams

WithTotalItemCount adds the totalItemCount to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WithXRequestID

func (o *GetAPI24SyslogServersParams) WithXRequestID(xRequestID *string) *GetAPI24SyslogServersParams

WithXRequestID adds the xRequestID to the get API 24 syslog servers params

func (*GetAPI24SyslogServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24SyslogServersReader

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

GetAPI24SyslogServersReader is a Reader for the GetAPI24SyslogServers structure.

func (*GetAPI24SyslogServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24SyslogServersSettingsParams

type GetAPI24SyslogServersSettingsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24SyslogServersSettingsParams contains all the parameters to send to the API endpoint for the get API 24 syslog servers settings operation typically these are written to a http.Request

func NewGetAPI24SyslogServersSettingsParams

func NewGetAPI24SyslogServersSettingsParams() *GetAPI24SyslogServersSettingsParams

NewGetAPI24SyslogServersSettingsParams creates a new GetAPI24SyslogServersSettingsParams object with the default values initialized.

func NewGetAPI24SyslogServersSettingsParamsWithContext

func NewGetAPI24SyslogServersSettingsParamsWithContext(ctx context.Context) *GetAPI24SyslogServersSettingsParams

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

func NewGetAPI24SyslogServersSettingsParamsWithHTTPClient

func NewGetAPI24SyslogServersSettingsParamsWithHTTPClient(client *http.Client) *GetAPI24SyslogServersSettingsParams

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

func NewGetAPI24SyslogServersSettingsParamsWithTimeout

func NewGetAPI24SyslogServersSettingsParamsWithTimeout(timeout time.Duration) *GetAPI24SyslogServersSettingsParams

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

func (*GetAPI24SyslogServersSettingsParams) SetAuthorization

func (o *GetAPI24SyslogServersSettingsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetContext

SetContext adds the context to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetFilter

func (o *GetAPI24SyslogServersSettingsParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetLimit

func (o *GetAPI24SyslogServersSettingsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetOffset

func (o *GetAPI24SyslogServersSettingsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetSort

func (o *GetAPI24SyslogServersSettingsParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetTotalItemCount

func (o *GetAPI24SyslogServersSettingsParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) SetXRequestID

func (o *GetAPI24SyslogServersSettingsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithAuthorization

WithAuthorization adds the authorization to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithContext

WithContext adds the context to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithFilter

WithFilter adds the filter to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithLimit

WithLimit adds the limit to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithOffset

WithOffset adds the offset to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithSort

WithSort adds the sort to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithTimeout

WithTimeout adds the timeout to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithTotalItemCount

func (o *GetAPI24SyslogServersSettingsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SyslogServersSettingsParams

WithTotalItemCount adds the totalItemCount to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 syslog servers settings params

func (*GetAPI24SyslogServersSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24SyslogServersSettingsReader

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

GetAPI24SyslogServersSettingsReader is a Reader for the GetAPI24SyslogServersSettings structure.

func (*GetAPI24SyslogServersSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPI24SyslogServersTestParams

type GetAPI24SyslogServersTestParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24SyslogServersTestParams contains all the parameters to send to the API endpoint for the get API 24 syslog servers test operation typically these are written to a http.Request

func NewGetAPI24SyslogServersTestParams

func NewGetAPI24SyslogServersTestParams() *GetAPI24SyslogServersTestParams

NewGetAPI24SyslogServersTestParams creates a new GetAPI24SyslogServersTestParams object with the default values initialized.

func NewGetAPI24SyslogServersTestParamsWithContext

func NewGetAPI24SyslogServersTestParamsWithContext(ctx context.Context) *GetAPI24SyslogServersTestParams

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

func NewGetAPI24SyslogServersTestParamsWithHTTPClient

func NewGetAPI24SyslogServersTestParamsWithHTTPClient(client *http.Client) *GetAPI24SyslogServersTestParams

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

func NewGetAPI24SyslogServersTestParamsWithTimeout

func NewGetAPI24SyslogServersTestParamsWithTimeout(timeout time.Duration) *GetAPI24SyslogServersTestParams

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

func (*GetAPI24SyslogServersTestParams) SetAuthorization

func (o *GetAPI24SyslogServersTestParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetContext

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

SetContext adds the context to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetFilter

func (o *GetAPI24SyslogServersTestParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetLimit

func (o *GetAPI24SyslogServersTestParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetOffset

func (o *GetAPI24SyslogServersTestParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetSort

func (o *GetAPI24SyslogServersTestParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetTotalItemCount

func (o *GetAPI24SyslogServersTestParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) SetXRequestID

func (o *GetAPI24SyslogServersTestParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithAuthorization

func (o *GetAPI24SyslogServersTestParams) WithAuthorization(authorization *string) *GetAPI24SyslogServersTestParams

WithAuthorization adds the authorization to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithContext

WithContext adds the context to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithFilter

WithFilter adds the filter to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithLimit

WithLimit adds the limit to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithOffset

WithOffset adds the offset to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithSort

WithSort adds the sort to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithTimeout

WithTimeout adds the timeout to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithTotalItemCount

func (o *GetAPI24SyslogServersTestParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24SyslogServersTestParams

WithTotalItemCount adds the totalItemCount to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 syslog servers test params

func (*GetAPI24SyslogServersTestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24SyslogServersTestReader

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

GetAPI24SyslogServersTestReader is a Reader for the GetAPI24SyslogServersTest structure.

func (*GetAPI24SyslogServersTestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24SyslogServersBadRequest

type GetApi24SyslogServersBadRequest struct {
	Payload *models.Error
}

GetApi24SyslogServersBadRequest handles this case with default header values.

BadRequest

func NewGetApi24SyslogServersBadRequest

func NewGetApi24SyslogServersBadRequest() *GetApi24SyslogServersBadRequest

NewGetApi24SyslogServersBadRequest creates a GetApi24SyslogServersBadRequest with default headers values

func (*GetApi24SyslogServersBadRequest) Error

func (*GetApi24SyslogServersBadRequest) GetPayload

func (o *GetApi24SyslogServersBadRequest) GetPayload() *models.Error

type GetApi24SyslogServersOK

type GetApi24SyslogServersOK struct {
	Payload *models.SyslogServerGetResponse
}

GetApi24SyslogServersOK handles this case with default header values.

OK

func NewGetApi24SyslogServersOK

func NewGetApi24SyslogServersOK() *GetApi24SyslogServersOK

NewGetApi24SyslogServersOK creates a GetApi24SyslogServersOK with default headers values

func (*GetApi24SyslogServersOK) Error

func (o *GetApi24SyslogServersOK) Error() string

func (*GetApi24SyslogServersOK) GetPayload

type GetApi24SyslogServersSettingsBadRequest

type GetApi24SyslogServersSettingsBadRequest struct {
	Payload *models.Error
}

GetApi24SyslogServersSettingsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24SyslogServersSettingsBadRequest

func NewGetApi24SyslogServersSettingsBadRequest() *GetApi24SyslogServersSettingsBadRequest

NewGetApi24SyslogServersSettingsBadRequest creates a GetApi24SyslogServersSettingsBadRequest with default headers values

func (*GetApi24SyslogServersSettingsBadRequest) Error

func (*GetApi24SyslogServersSettingsBadRequest) GetPayload

type GetApi24SyslogServersSettingsOK

type GetApi24SyslogServersSettingsOK struct {
	Payload *models.SyslogServerSettingsGetResponse
}

GetApi24SyslogServersSettingsOK handles this case with default header values.

OK

func NewGetApi24SyslogServersSettingsOK

func NewGetApi24SyslogServersSettingsOK() *GetApi24SyslogServersSettingsOK

NewGetApi24SyslogServersSettingsOK creates a GetApi24SyslogServersSettingsOK with default headers values

func (*GetApi24SyslogServersSettingsOK) Error

func (*GetApi24SyslogServersSettingsOK) GetPayload

type GetApi24SyslogServersTestBadRequest

type GetApi24SyslogServersTestBadRequest struct {
	Payload *models.Error
}

GetApi24SyslogServersTestBadRequest handles this case with default header values.

BadRequest

func NewGetApi24SyslogServersTestBadRequest

func NewGetApi24SyslogServersTestBadRequest() *GetApi24SyslogServersTestBadRequest

NewGetApi24SyslogServersTestBadRequest creates a GetApi24SyslogServersTestBadRequest with default headers values

func (*GetApi24SyslogServersTestBadRequest) Error

func (*GetApi24SyslogServersTestBadRequest) GetPayload

type GetApi24SyslogServersTestOK

type GetApi24SyslogServersTestOK struct {
	Payload *models.TestResultWithResourceGetResponse
}

GetApi24SyslogServersTestOK handles this case with default header values.

OK

func NewGetApi24SyslogServersTestOK

func NewGetApi24SyslogServersTestOK() *GetApi24SyslogServersTestOK

NewGetApi24SyslogServersTestOK creates a GetApi24SyslogServersTestOK with default headers values

func (*GetApi24SyslogServersTestOK) Error

func (*GetApi24SyslogServersTestOK) GetPayload

type PatchAPI24SyslogServersParams

type PatchAPI24SyslogServersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*SyslogServer*/
	SyslogServer *models.SyslogServer

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

PatchAPI24SyslogServersParams contains all the parameters to send to the API endpoint for the patch API 24 syslog servers operation typically these are written to a http.Request

func NewPatchAPI24SyslogServersParams

func NewPatchAPI24SyslogServersParams() *PatchAPI24SyslogServersParams

NewPatchAPI24SyslogServersParams creates a new PatchAPI24SyslogServersParams object with the default values initialized.

func NewPatchAPI24SyslogServersParamsWithContext

func NewPatchAPI24SyslogServersParamsWithContext(ctx context.Context) *PatchAPI24SyslogServersParams

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

func NewPatchAPI24SyslogServersParamsWithHTTPClient

func NewPatchAPI24SyslogServersParamsWithHTTPClient(client *http.Client) *PatchAPI24SyslogServersParams

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

func NewPatchAPI24SyslogServersParamsWithTimeout

func NewPatchAPI24SyslogServersParamsWithTimeout(timeout time.Duration) *PatchAPI24SyslogServersParams

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

func (*PatchAPI24SyslogServersParams) SetAuthorization

func (o *PatchAPI24SyslogServersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetContext

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

SetContext adds the context to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetNames

func (o *PatchAPI24SyslogServersParams) SetNames(names []string)

SetNames adds the names to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetSyslogServer

func (o *PatchAPI24SyslogServersParams) SetSyslogServer(syslogServer *models.SyslogServer)

SetSyslogServer adds the syslogServer to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) SetXRequestID

func (o *PatchAPI24SyslogServersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithAuthorization

func (o *PatchAPI24SyslogServersParams) WithAuthorization(authorization *string) *PatchAPI24SyslogServersParams

WithAuthorization adds the authorization to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithContext

WithContext adds the context to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithNames

WithNames adds the names to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithSyslogServer

WithSyslogServer adds the syslogServer to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WithXRequestID

func (o *PatchAPI24SyslogServersParams) WithXRequestID(xRequestID *string) *PatchAPI24SyslogServersParams

WithXRequestID adds the xRequestID to the patch API 24 syslog servers params

func (*PatchAPI24SyslogServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24SyslogServersReader

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

PatchAPI24SyslogServersReader is a Reader for the PatchAPI24SyslogServers structure.

func (*PatchAPI24SyslogServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPI24SyslogServersSettingsParams

type PatchAPI24SyslogServersSettingsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*SyslogServerSettings*/
	SyslogServerSettings *models.SyslogServerSettings

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

PatchAPI24SyslogServersSettingsParams contains all the parameters to send to the API endpoint for the patch API 24 syslog servers settings operation typically these are written to a http.Request

func NewPatchAPI24SyslogServersSettingsParams

func NewPatchAPI24SyslogServersSettingsParams() *PatchAPI24SyslogServersSettingsParams

NewPatchAPI24SyslogServersSettingsParams creates a new PatchAPI24SyslogServersSettingsParams object with the default values initialized.

func NewPatchAPI24SyslogServersSettingsParamsWithContext

func NewPatchAPI24SyslogServersSettingsParamsWithContext(ctx context.Context) *PatchAPI24SyslogServersSettingsParams

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

func NewPatchAPI24SyslogServersSettingsParamsWithHTTPClient

func NewPatchAPI24SyslogServersSettingsParamsWithHTTPClient(client *http.Client) *PatchAPI24SyslogServersSettingsParams

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

func NewPatchAPI24SyslogServersSettingsParamsWithTimeout

func NewPatchAPI24SyslogServersSettingsParamsWithTimeout(timeout time.Duration) *PatchAPI24SyslogServersSettingsParams

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

func (*PatchAPI24SyslogServersSettingsParams) SetAuthorization

func (o *PatchAPI24SyslogServersSettingsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) SetContext

SetContext adds the context to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) SetSyslogServerSettings

func (o *PatchAPI24SyslogServersSettingsParams) SetSyslogServerSettings(syslogServerSettings *models.SyslogServerSettings)

SetSyslogServerSettings adds the syslogServerSettings to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) SetXRequestID

func (o *PatchAPI24SyslogServersSettingsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithAuthorization

WithAuthorization adds the authorization to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithContext

WithContext adds the context to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithSyslogServerSettings

WithSyslogServerSettings adds the syslogServerSettings to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WithXRequestID

WithXRequestID adds the xRequestID to the patch API 24 syslog servers settings params

func (*PatchAPI24SyslogServersSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24SyslogServersSettingsReader

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

PatchAPI24SyslogServersSettingsReader is a Reader for the PatchAPI24SyslogServersSettings structure.

func (*PatchAPI24SyslogServersSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24SyslogServersBadRequest

type PatchApi24SyslogServersBadRequest struct {
	Payload *models.Error
}

PatchApi24SyslogServersBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24SyslogServersBadRequest

func NewPatchApi24SyslogServersBadRequest() *PatchApi24SyslogServersBadRequest

NewPatchApi24SyslogServersBadRequest creates a PatchApi24SyslogServersBadRequest with default headers values

func (*PatchApi24SyslogServersBadRequest) Error

func (*PatchApi24SyslogServersBadRequest) GetPayload

type PatchApi24SyslogServersOK

type PatchApi24SyslogServersOK struct {
	Payload *models.SyslogServerResponse
}

PatchApi24SyslogServersOK handles this case with default header values.

Displays the newly updated syslog server.

func NewPatchApi24SyslogServersOK

func NewPatchApi24SyslogServersOK() *PatchApi24SyslogServersOK

NewPatchApi24SyslogServersOK creates a PatchApi24SyslogServersOK with default headers values

func (*PatchApi24SyslogServersOK) Error

func (o *PatchApi24SyslogServersOK) Error() string

func (*PatchApi24SyslogServersOK) GetPayload

type PatchApi24SyslogServersSettingsBadRequest

type PatchApi24SyslogServersSettingsBadRequest struct {
	Payload *models.Error
}

PatchApi24SyslogServersSettingsBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24SyslogServersSettingsBadRequest

func NewPatchApi24SyslogServersSettingsBadRequest() *PatchApi24SyslogServersSettingsBadRequest

NewPatchApi24SyslogServersSettingsBadRequest creates a PatchApi24SyslogServersSettingsBadRequest with default headers values

func (*PatchApi24SyslogServersSettingsBadRequest) Error

func (*PatchApi24SyslogServersSettingsBadRequest) GetPayload

type PatchApi24SyslogServersSettingsOK

type PatchApi24SyslogServersSettingsOK struct {
	Payload *models.SyslogServerSettingsResponse
}

PatchApi24SyslogServersSettingsOK handles this case with default header values.

OK

func NewPatchApi24SyslogServersSettingsOK

func NewPatchApi24SyslogServersSettingsOK() *PatchApi24SyslogServersSettingsOK

NewPatchApi24SyslogServersSettingsOK creates a PatchApi24SyslogServersSettingsOK with default headers values

func (*PatchApi24SyslogServersSettingsOK) Error

func (*PatchApi24SyslogServersSettingsOK) GetPayload

type PostAPI24SyslogServersParams

type PostAPI24SyslogServersParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*SyslogServer*/
	SyslogServer *models.SyslogServer

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

PostAPI24SyslogServersParams contains all the parameters to send to the API endpoint for the post API 24 syslog servers operation typically these are written to a http.Request

func NewPostAPI24SyslogServersParams

func NewPostAPI24SyslogServersParams() *PostAPI24SyslogServersParams

NewPostAPI24SyslogServersParams creates a new PostAPI24SyslogServersParams object with the default values initialized.

func NewPostAPI24SyslogServersParamsWithContext

func NewPostAPI24SyslogServersParamsWithContext(ctx context.Context) *PostAPI24SyslogServersParams

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

func NewPostAPI24SyslogServersParamsWithHTTPClient

func NewPostAPI24SyslogServersParamsWithHTTPClient(client *http.Client) *PostAPI24SyslogServersParams

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

func NewPostAPI24SyslogServersParamsWithTimeout

func NewPostAPI24SyslogServersParamsWithTimeout(timeout time.Duration) *PostAPI24SyslogServersParams

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

func (*PostAPI24SyslogServersParams) SetAuthorization

func (o *PostAPI24SyslogServersParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetContext

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

SetContext adds the context to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetNames

func (o *PostAPI24SyslogServersParams) SetNames(names []string)

SetNames adds the names to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetSyslogServer

func (o *PostAPI24SyslogServersParams) SetSyslogServer(syslogServer *models.SyslogServer)

SetSyslogServer adds the syslogServer to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) SetXRequestID

func (o *PostAPI24SyslogServersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithAuthorization

func (o *PostAPI24SyslogServersParams) WithAuthorization(authorization *string) *PostAPI24SyslogServersParams

WithAuthorization adds the authorization to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithContext

WithContext adds the context to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithNames

WithNames adds the names to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithSyslogServer

WithSyslogServer adds the syslogServer to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithTimeout

WithTimeout adds the timeout to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WithXRequestID

func (o *PostAPI24SyslogServersParams) WithXRequestID(xRequestID *string) *PostAPI24SyslogServersParams

WithXRequestID adds the xRequestID to the post API 24 syslog servers params

func (*PostAPI24SyslogServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24SyslogServersReader

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

PostAPI24SyslogServersReader is a Reader for the PostAPI24SyslogServers structure.

func (*PostAPI24SyslogServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24SyslogServersBadRequest

type PostApi24SyslogServersBadRequest struct {
	Payload *models.Error
}

PostApi24SyslogServersBadRequest handles this case with default header values.

BadRequest

func NewPostApi24SyslogServersBadRequest

func NewPostApi24SyslogServersBadRequest() *PostApi24SyslogServersBadRequest

NewPostApi24SyslogServersBadRequest creates a PostApi24SyslogServersBadRequest with default headers values

func (*PostApi24SyslogServersBadRequest) Error

func (*PostApi24SyslogServersBadRequest) GetPayload

type PostApi24SyslogServersOK

type PostApi24SyslogServersOK struct {
	Payload *models.SyslogServerResponse
}

PostApi24SyslogServersOK handles this case with default header values.

Displays the newly configured syslog server.

func NewPostApi24SyslogServersOK

func NewPostApi24SyslogServersOK() *PostApi24SyslogServersOK

NewPostApi24SyslogServersOK creates a PostApi24SyslogServersOK with default headers values

func (*PostApi24SyslogServersOK) Error

func (o *PostApi24SyslogServersOK) Error() string

func (*PostApi24SyslogServersOK) GetPayload

Jump to

Keyboard shortcuts

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