streaming_service

package
v0.128.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MPL-2.0 Imports: 10 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 streaming service API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StreamingServiceCreateDestination

func (a *Client) StreamingServiceCreateDestination(params *StreamingServiceCreateDestinationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceCreateDestinationOK, error)

StreamingServiceCreateDestination creates a streaming destination

func (*Client) StreamingServiceCreateDestinationFilter added in v0.115.0

StreamingServiceCreateDestinationFilter attaches a filter to a streaming destination

func (*Client) StreamingServiceDeleteDestination

func (a *Client) StreamingServiceDeleteDestination(params *StreamingServiceDeleteDestinationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceDeleteDestinationOK, error)

StreamingServiceDeleteDestination deletes a streaming destination

func (*Client) StreamingServiceGetDestination

func (a *Client) StreamingServiceGetDestination(params *StreamingServiceGetDestinationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceGetDestinationOK, error)

StreamingServiceGetDestination gets a streaming destination

func (*Client) StreamingServiceListDestinations

func (a *Client) StreamingServiceListDestinations(params *StreamingServiceListDestinationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceListDestinationsOK, error)

StreamingServiceListDestinations lists the streaming destinations in an organization

func (*Client) StreamingServiceTestDestination

func (a *Client) StreamingServiceTestDestination(params *StreamingServiceTestDestinationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceTestDestinationOK, error)

StreamingServiceTestDestination tests a streaming destination

func (*Client) StreamingServiceUpdateDestination

func (a *Client) StreamingServiceUpdateDestination(params *StreamingServiceUpdateDestinationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StreamingServiceUpdateDestinationOK, error)

StreamingServiceUpdateDestination updates a streaming destination

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new streaming service API client.

type StreamingServiceCreateDestinationDefault

type StreamingServiceCreateDestinationDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceCreateDestinationDefault

func NewStreamingServiceCreateDestinationDefault(code int) *StreamingServiceCreateDestinationDefault

NewStreamingServiceCreateDestinationDefault creates a StreamingServiceCreateDestinationDefault with default headers values

func (*StreamingServiceCreateDestinationDefault) Code

Code gets the status code for the streaming service create destination default response

func (*StreamingServiceCreateDestinationDefault) Error

func (*StreamingServiceCreateDestinationDefault) GetPayload

func (*StreamingServiceCreateDestinationDefault) IsClientError

IsClientError returns true when this streaming service create destination default response has a 4xx status code

func (*StreamingServiceCreateDestinationDefault) IsCode

IsCode returns true when this streaming service create destination default response a status code equal to that given

func (*StreamingServiceCreateDestinationDefault) IsRedirect

IsRedirect returns true when this streaming service create destination default response has a 3xx status code

func (*StreamingServiceCreateDestinationDefault) IsServerError

IsServerError returns true when this streaming service create destination default response has a 5xx status code

func (*StreamingServiceCreateDestinationDefault) IsSuccess

IsSuccess returns true when this streaming service create destination default response has a 2xx status code

func (*StreamingServiceCreateDestinationDefault) String

type StreamingServiceCreateDestinationFilterDefault added in v0.115.0

type StreamingServiceCreateDestinationFilterDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceCreateDestinationFilterDefault added in v0.115.0

func NewStreamingServiceCreateDestinationFilterDefault(code int) *StreamingServiceCreateDestinationFilterDefault

NewStreamingServiceCreateDestinationFilterDefault creates a StreamingServiceCreateDestinationFilterDefault with default headers values

func (*StreamingServiceCreateDestinationFilterDefault) Code added in v0.115.0

Code gets the status code for the streaming service create destination filter default response

func (*StreamingServiceCreateDestinationFilterDefault) Error added in v0.115.0

func (*StreamingServiceCreateDestinationFilterDefault) GetPayload added in v0.115.0

func (*StreamingServiceCreateDestinationFilterDefault) IsClientError added in v0.115.0

IsClientError returns true when this streaming service create destination filter default response has a 4xx status code

func (*StreamingServiceCreateDestinationFilterDefault) IsCode added in v0.115.0

IsCode returns true when this streaming service create destination filter default response a status code equal to that given

func (*StreamingServiceCreateDestinationFilterDefault) IsRedirect added in v0.115.0

IsRedirect returns true when this streaming service create destination filter default response has a 3xx status code

func (*StreamingServiceCreateDestinationFilterDefault) IsServerError added in v0.115.0

IsServerError returns true when this streaming service create destination filter default response has a 5xx status code

func (*StreamingServiceCreateDestinationFilterDefault) IsSuccess added in v0.115.0

IsSuccess returns true when this streaming service create destination filter default response has a 2xx status code

func (*StreamingServiceCreateDestinationFilterDefault) String added in v0.115.0

type StreamingServiceCreateDestinationFilterOK added in v0.115.0

type StreamingServiceCreateDestinationFilterOK struct {
	Payload interface{}
}

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

A successful response.

func NewStreamingServiceCreateDestinationFilterOK added in v0.115.0

func NewStreamingServiceCreateDestinationFilterOK() *StreamingServiceCreateDestinationFilterOK

NewStreamingServiceCreateDestinationFilterOK creates a StreamingServiceCreateDestinationFilterOK with default headers values

func (*StreamingServiceCreateDestinationFilterOK) Code added in v0.115.0

Code gets the status code for the streaming service create destination filter o k response

func (*StreamingServiceCreateDestinationFilterOK) Error added in v0.115.0

func (*StreamingServiceCreateDestinationFilterOK) GetPayload added in v0.115.0

func (o *StreamingServiceCreateDestinationFilterOK) GetPayload() interface{}

func (*StreamingServiceCreateDestinationFilterOK) IsClientError added in v0.115.0

IsClientError returns true when this streaming service create destination filter o k response has a 4xx status code

func (*StreamingServiceCreateDestinationFilterOK) IsCode added in v0.115.0

IsCode returns true when this streaming service create destination filter o k response a status code equal to that given

func (*StreamingServiceCreateDestinationFilterOK) IsRedirect added in v0.115.0

IsRedirect returns true when this streaming service create destination filter o k response has a 3xx status code

func (*StreamingServiceCreateDestinationFilterOK) IsServerError added in v0.115.0

IsServerError returns true when this streaming service create destination filter o k response has a 5xx status code

func (*StreamingServiceCreateDestinationFilterOK) IsSuccess added in v0.115.0

IsSuccess returns true when this streaming service create destination filter o k response has a 2xx status code

func (*StreamingServiceCreateDestinationFilterOK) String added in v0.115.0

type StreamingServiceCreateDestinationFilterParams added in v0.115.0

type StreamingServiceCreateDestinationFilterParams struct {

	// Body.
	Body *models.LogService20210330CreateDestinationFilterRequest

	/* DestinationID.

	   destination_id is the destination associated with the filter
	*/
	DestinationID string

	/* OrganizationID.

	   organization_id is the organization holding the destination and filter
	*/
	OrganizationID string

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

StreamingServiceCreateDestinationFilterParams contains all the parameters to send to the API endpoint

for the streaming service create destination filter operation.

Typically these are written to a http.Request.

func NewStreamingServiceCreateDestinationFilterParams added in v0.115.0

func NewStreamingServiceCreateDestinationFilterParams() *StreamingServiceCreateDestinationFilterParams

NewStreamingServiceCreateDestinationFilterParams creates a new StreamingServiceCreateDestinationFilterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceCreateDestinationFilterParamsWithContext added in v0.115.0

func NewStreamingServiceCreateDestinationFilterParamsWithContext(ctx context.Context) *StreamingServiceCreateDestinationFilterParams

NewStreamingServiceCreateDestinationFilterParamsWithContext creates a new StreamingServiceCreateDestinationFilterParams object with the ability to set a context for a request.

func NewStreamingServiceCreateDestinationFilterParamsWithHTTPClient added in v0.115.0

func NewStreamingServiceCreateDestinationFilterParamsWithHTTPClient(client *http.Client) *StreamingServiceCreateDestinationFilterParams

NewStreamingServiceCreateDestinationFilterParamsWithHTTPClient creates a new StreamingServiceCreateDestinationFilterParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceCreateDestinationFilterParamsWithTimeout added in v0.115.0

func NewStreamingServiceCreateDestinationFilterParamsWithTimeout(timeout time.Duration) *StreamingServiceCreateDestinationFilterParams

NewStreamingServiceCreateDestinationFilterParamsWithTimeout creates a new StreamingServiceCreateDestinationFilterParams object with the ability to set a timeout on a request.

func (*StreamingServiceCreateDestinationFilterParams) SetBody added in v0.115.0

SetBody adds the body to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) SetContext added in v0.115.0

SetContext adds the context to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) SetDefaults added in v0.115.0

SetDefaults hydrates default values in the streaming service create destination filter params (not the query body).

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

func (*StreamingServiceCreateDestinationFilterParams) SetDestinationID added in v0.115.0

func (o *StreamingServiceCreateDestinationFilterParams) SetDestinationID(destinationID string)

SetDestinationID adds the destinationId to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) SetHTTPClient added in v0.115.0

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

SetHTTPClient adds the HTTPClient to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) SetOrganizationID added in v0.115.0

func (o *StreamingServiceCreateDestinationFilterParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) SetTimeout added in v0.115.0

SetTimeout adds the timeout to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithBody added in v0.115.0

WithBody adds the body to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithContext added in v0.115.0

WithContext adds the context to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithDefaults added in v0.115.0

WithDefaults hydrates default values in the streaming service create destination filter params (not the query body).

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

func (*StreamingServiceCreateDestinationFilterParams) WithDestinationID added in v0.115.0

WithDestinationID adds the destinationID to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithHTTPClient added in v0.115.0

WithHTTPClient adds the HTTPClient to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithOrganizationID added in v0.115.0

WithOrganizationID adds the organizationID to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WithTimeout added in v0.115.0

WithTimeout adds the timeout to the streaming service create destination filter params

func (*StreamingServiceCreateDestinationFilterParams) WriteToRequest added in v0.115.0

WriteToRequest writes these params to a swagger request

type StreamingServiceCreateDestinationFilterReader added in v0.115.0

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

StreamingServiceCreateDestinationFilterReader is a Reader for the StreamingServiceCreateDestinationFilter structure.

func (*StreamingServiceCreateDestinationFilterReader) ReadResponse added in v0.115.0

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

ReadResponse reads a server response into the received o.

type StreamingServiceCreateDestinationOK

type StreamingServiceCreateDestinationOK struct {
	Payload *models.LogService20210330CreateDestinationResponse
}

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

A successful response.

func NewStreamingServiceCreateDestinationOK

func NewStreamingServiceCreateDestinationOK() *StreamingServiceCreateDestinationOK

NewStreamingServiceCreateDestinationOK creates a StreamingServiceCreateDestinationOK with default headers values

func (*StreamingServiceCreateDestinationOK) Code

Code gets the status code for the streaming service create destination o k response

func (*StreamingServiceCreateDestinationOK) Error

func (*StreamingServiceCreateDestinationOK) GetPayload

func (*StreamingServiceCreateDestinationOK) IsClientError

func (o *StreamingServiceCreateDestinationOK) IsClientError() bool

IsClientError returns true when this streaming service create destination o k response has a 4xx status code

func (*StreamingServiceCreateDestinationOK) IsCode

IsCode returns true when this streaming service create destination o k response a status code equal to that given

func (*StreamingServiceCreateDestinationOK) IsRedirect

func (o *StreamingServiceCreateDestinationOK) IsRedirect() bool

IsRedirect returns true when this streaming service create destination o k response has a 3xx status code

func (*StreamingServiceCreateDestinationOK) IsServerError

func (o *StreamingServiceCreateDestinationOK) IsServerError() bool

IsServerError returns true when this streaming service create destination o k response has a 5xx status code

func (*StreamingServiceCreateDestinationOK) IsSuccess

IsSuccess returns true when this streaming service create destination o k response has a 2xx status code

func (*StreamingServiceCreateDestinationOK) String

type StreamingServiceCreateDestinationParams

type StreamingServiceCreateDestinationParams struct {

	// Body.
	Body *models.LogService20210330CreateDestinationRequest

	// OrganizationID.
	OrganizationID string

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

StreamingServiceCreateDestinationParams contains all the parameters to send to the API endpoint

for the streaming service create destination operation.

Typically these are written to a http.Request.

func NewStreamingServiceCreateDestinationParams

func NewStreamingServiceCreateDestinationParams() *StreamingServiceCreateDestinationParams

NewStreamingServiceCreateDestinationParams creates a new StreamingServiceCreateDestinationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceCreateDestinationParamsWithContext

func NewStreamingServiceCreateDestinationParamsWithContext(ctx context.Context) *StreamingServiceCreateDestinationParams

NewStreamingServiceCreateDestinationParamsWithContext creates a new StreamingServiceCreateDestinationParams object with the ability to set a context for a request.

func NewStreamingServiceCreateDestinationParamsWithHTTPClient

func NewStreamingServiceCreateDestinationParamsWithHTTPClient(client *http.Client) *StreamingServiceCreateDestinationParams

NewStreamingServiceCreateDestinationParamsWithHTTPClient creates a new StreamingServiceCreateDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceCreateDestinationParamsWithTimeout

func NewStreamingServiceCreateDestinationParamsWithTimeout(timeout time.Duration) *StreamingServiceCreateDestinationParams

NewStreamingServiceCreateDestinationParamsWithTimeout creates a new StreamingServiceCreateDestinationParams object with the ability to set a timeout on a request.

func (*StreamingServiceCreateDestinationParams) SetBody

SetBody adds the body to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) SetContext

SetContext adds the context to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) SetDefaults

func (o *StreamingServiceCreateDestinationParams) SetDefaults()

SetDefaults hydrates default values in the streaming service create destination params (not the query body).

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

func (*StreamingServiceCreateDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) SetOrganizationID

func (o *StreamingServiceCreateDestinationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WithBody

WithBody adds the body to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WithContext

WithContext adds the context to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WithDefaults

WithDefaults hydrates default values in the streaming service create destination params (not the query body).

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

func (*StreamingServiceCreateDestinationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WithTimeout

WithTimeout adds the timeout to the streaming service create destination params

func (*StreamingServiceCreateDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceCreateDestinationReader

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

StreamingServiceCreateDestinationReader is a Reader for the StreamingServiceCreateDestination structure.

func (*StreamingServiceCreateDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StreamingServiceDeleteDestinationDefault

type StreamingServiceDeleteDestinationDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceDeleteDestinationDefault

func NewStreamingServiceDeleteDestinationDefault(code int) *StreamingServiceDeleteDestinationDefault

NewStreamingServiceDeleteDestinationDefault creates a StreamingServiceDeleteDestinationDefault with default headers values

func (*StreamingServiceDeleteDestinationDefault) Code

Code gets the status code for the streaming service delete destination default response

func (*StreamingServiceDeleteDestinationDefault) Error

func (*StreamingServiceDeleteDestinationDefault) GetPayload

func (*StreamingServiceDeleteDestinationDefault) IsClientError

IsClientError returns true when this streaming service delete destination default response has a 4xx status code

func (*StreamingServiceDeleteDestinationDefault) IsCode

IsCode returns true when this streaming service delete destination default response a status code equal to that given

func (*StreamingServiceDeleteDestinationDefault) IsRedirect

IsRedirect returns true when this streaming service delete destination default response has a 3xx status code

func (*StreamingServiceDeleteDestinationDefault) IsServerError

IsServerError returns true when this streaming service delete destination default response has a 5xx status code

func (*StreamingServiceDeleteDestinationDefault) IsSuccess

IsSuccess returns true when this streaming service delete destination default response has a 2xx status code

func (*StreamingServiceDeleteDestinationDefault) String

type StreamingServiceDeleteDestinationOK

type StreamingServiceDeleteDestinationOK struct {
	Payload models.LogService20210330DeleteDestinationResponse
}

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

A successful response.

func NewStreamingServiceDeleteDestinationOK

func NewStreamingServiceDeleteDestinationOK() *StreamingServiceDeleteDestinationOK

NewStreamingServiceDeleteDestinationOK creates a StreamingServiceDeleteDestinationOK with default headers values

func (*StreamingServiceDeleteDestinationOK) Code

Code gets the status code for the streaming service delete destination o k response

func (*StreamingServiceDeleteDestinationOK) Error

func (*StreamingServiceDeleteDestinationOK) GetPayload

func (*StreamingServiceDeleteDestinationOK) IsClientError

func (o *StreamingServiceDeleteDestinationOK) IsClientError() bool

IsClientError returns true when this streaming service delete destination o k response has a 4xx status code

func (*StreamingServiceDeleteDestinationOK) IsCode

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

func (*StreamingServiceDeleteDestinationOK) IsRedirect

func (o *StreamingServiceDeleteDestinationOK) IsRedirect() bool

IsRedirect returns true when this streaming service delete destination o k response has a 3xx status code

func (*StreamingServiceDeleteDestinationOK) IsServerError

func (o *StreamingServiceDeleteDestinationOK) IsServerError() bool

IsServerError returns true when this streaming service delete destination o k response has a 5xx status code

func (*StreamingServiceDeleteDestinationOK) IsSuccess

IsSuccess returns true when this streaming service delete destination o k response has a 2xx status code

func (*StreamingServiceDeleteDestinationOK) String

type StreamingServiceDeleteDestinationParams

type StreamingServiceDeleteDestinationParams struct {

	/* DestinationID.

	   destination_id represents the destination id to delete.
	*/
	DestinationID string

	// OrganizationID.
	OrganizationID string

	/* SourceChannel.

	   source_channel is the source channel from which the delete request came from. For example terraform vs HCP Portal.
	*/
	SourceChannel *string

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

StreamingServiceDeleteDestinationParams contains all the parameters to send to the API endpoint

for the streaming service delete destination operation.

Typically these are written to a http.Request.

func NewStreamingServiceDeleteDestinationParams

func NewStreamingServiceDeleteDestinationParams() *StreamingServiceDeleteDestinationParams

NewStreamingServiceDeleteDestinationParams creates a new StreamingServiceDeleteDestinationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceDeleteDestinationParamsWithContext

func NewStreamingServiceDeleteDestinationParamsWithContext(ctx context.Context) *StreamingServiceDeleteDestinationParams

NewStreamingServiceDeleteDestinationParamsWithContext creates a new StreamingServiceDeleteDestinationParams object with the ability to set a context for a request.

func NewStreamingServiceDeleteDestinationParamsWithHTTPClient

func NewStreamingServiceDeleteDestinationParamsWithHTTPClient(client *http.Client) *StreamingServiceDeleteDestinationParams

NewStreamingServiceDeleteDestinationParamsWithHTTPClient creates a new StreamingServiceDeleteDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceDeleteDestinationParamsWithTimeout

func NewStreamingServiceDeleteDestinationParamsWithTimeout(timeout time.Duration) *StreamingServiceDeleteDestinationParams

NewStreamingServiceDeleteDestinationParamsWithTimeout creates a new StreamingServiceDeleteDestinationParams object with the ability to set a timeout on a request.

func (*StreamingServiceDeleteDestinationParams) SetContext

SetContext adds the context to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) SetDefaults

func (o *StreamingServiceDeleteDestinationParams) SetDefaults()

SetDefaults hydrates default values in the streaming service delete destination params (not the query body).

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

func (*StreamingServiceDeleteDestinationParams) SetDestinationID

func (o *StreamingServiceDeleteDestinationParams) SetDestinationID(destinationID string)

SetDestinationID adds the destinationId to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) SetOrganizationID

func (o *StreamingServiceDeleteDestinationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) SetSourceChannel

func (o *StreamingServiceDeleteDestinationParams) SetSourceChannel(sourceChannel *string)

SetSourceChannel adds the sourceChannel to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithContext

WithContext adds the context to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithDefaults

WithDefaults hydrates default values in the streaming service delete destination params (not the query body).

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

func (*StreamingServiceDeleteDestinationParams) WithDestinationID

WithDestinationID adds the destinationID to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithSourceChannel

WithSourceChannel adds the sourceChannel to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WithTimeout

WithTimeout adds the timeout to the streaming service delete destination params

func (*StreamingServiceDeleteDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceDeleteDestinationReader

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

StreamingServiceDeleteDestinationReader is a Reader for the StreamingServiceDeleteDestination structure.

func (*StreamingServiceDeleteDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StreamingServiceGetDestinationDefault

type StreamingServiceGetDestinationDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceGetDestinationDefault

func NewStreamingServiceGetDestinationDefault(code int) *StreamingServiceGetDestinationDefault

NewStreamingServiceGetDestinationDefault creates a StreamingServiceGetDestinationDefault with default headers values

func (*StreamingServiceGetDestinationDefault) Code

Code gets the status code for the streaming service get destination default response

func (*StreamingServiceGetDestinationDefault) Error

func (*StreamingServiceGetDestinationDefault) GetPayload

func (*StreamingServiceGetDestinationDefault) IsClientError

func (o *StreamingServiceGetDestinationDefault) IsClientError() bool

IsClientError returns true when this streaming service get destination default response has a 4xx status code

func (*StreamingServiceGetDestinationDefault) IsCode

IsCode returns true when this streaming service get destination default response a status code equal to that given

func (*StreamingServiceGetDestinationDefault) IsRedirect

IsRedirect returns true when this streaming service get destination default response has a 3xx status code

func (*StreamingServiceGetDestinationDefault) IsServerError

func (o *StreamingServiceGetDestinationDefault) IsServerError() bool

IsServerError returns true when this streaming service get destination default response has a 5xx status code

func (*StreamingServiceGetDestinationDefault) IsSuccess

IsSuccess returns true when this streaming service get destination default response has a 2xx status code

func (*StreamingServiceGetDestinationDefault) String

type StreamingServiceGetDestinationOK

type StreamingServiceGetDestinationOK struct {
	Payload *models.LogService20210330GetDestinationResponse
}

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

A successful response.

func NewStreamingServiceGetDestinationOK

func NewStreamingServiceGetDestinationOK() *StreamingServiceGetDestinationOK

NewStreamingServiceGetDestinationOK creates a StreamingServiceGetDestinationOK with default headers values

func (*StreamingServiceGetDestinationOK) Code

Code gets the status code for the streaming service get destination o k response

func (*StreamingServiceGetDestinationOK) Error

func (*StreamingServiceGetDestinationOK) GetPayload

func (*StreamingServiceGetDestinationOK) IsClientError

func (o *StreamingServiceGetDestinationOK) IsClientError() bool

IsClientError returns true when this streaming service get destination o k response has a 4xx status code

func (*StreamingServiceGetDestinationOK) IsCode

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

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

func (*StreamingServiceGetDestinationOK) IsRedirect

func (o *StreamingServiceGetDestinationOK) IsRedirect() bool

IsRedirect returns true when this streaming service get destination o k response has a 3xx status code

func (*StreamingServiceGetDestinationOK) IsServerError

func (o *StreamingServiceGetDestinationOK) IsServerError() bool

IsServerError returns true when this streaming service get destination o k response has a 5xx status code

func (*StreamingServiceGetDestinationOK) IsSuccess

func (o *StreamingServiceGetDestinationOK) IsSuccess() bool

IsSuccess returns true when this streaming service get destination o k response has a 2xx status code

func (*StreamingServiceGetDestinationOK) String

type StreamingServiceGetDestinationParams

type StreamingServiceGetDestinationParams struct {

	/* DestinationID.

	   destination_id uniquely identifies the destination.
	*/
	DestinationID string

	// OrganizationID.
	OrganizationID string

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

StreamingServiceGetDestinationParams contains all the parameters to send to the API endpoint

for the streaming service get destination operation.

Typically these are written to a http.Request.

func NewStreamingServiceGetDestinationParams

func NewStreamingServiceGetDestinationParams() *StreamingServiceGetDestinationParams

NewStreamingServiceGetDestinationParams creates a new StreamingServiceGetDestinationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceGetDestinationParamsWithContext

func NewStreamingServiceGetDestinationParamsWithContext(ctx context.Context) *StreamingServiceGetDestinationParams

NewStreamingServiceGetDestinationParamsWithContext creates a new StreamingServiceGetDestinationParams object with the ability to set a context for a request.

func NewStreamingServiceGetDestinationParamsWithHTTPClient

func NewStreamingServiceGetDestinationParamsWithHTTPClient(client *http.Client) *StreamingServiceGetDestinationParams

NewStreamingServiceGetDestinationParamsWithHTTPClient creates a new StreamingServiceGetDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceGetDestinationParamsWithTimeout

func NewStreamingServiceGetDestinationParamsWithTimeout(timeout time.Duration) *StreamingServiceGetDestinationParams

NewStreamingServiceGetDestinationParamsWithTimeout creates a new StreamingServiceGetDestinationParams object with the ability to set a timeout on a request.

func (*StreamingServiceGetDestinationParams) SetContext

SetContext adds the context to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) SetDefaults

func (o *StreamingServiceGetDestinationParams) SetDefaults()

SetDefaults hydrates default values in the streaming service get destination params (not the query body).

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

func (*StreamingServiceGetDestinationParams) SetDestinationID

func (o *StreamingServiceGetDestinationParams) SetDestinationID(destinationID string)

SetDestinationID adds the destinationId to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) SetOrganizationID

func (o *StreamingServiceGetDestinationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WithContext

WithContext adds the context to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WithDefaults

WithDefaults hydrates default values in the streaming service get destination params (not the query body).

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

func (*StreamingServiceGetDestinationParams) WithDestinationID

WithDestinationID adds the destinationID to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WithTimeout

WithTimeout adds the timeout to the streaming service get destination params

func (*StreamingServiceGetDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceGetDestinationReader

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

StreamingServiceGetDestinationReader is a Reader for the StreamingServiceGetDestination structure.

func (*StreamingServiceGetDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StreamingServiceListDestinationsDefault

type StreamingServiceListDestinationsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceListDestinationsDefault

func NewStreamingServiceListDestinationsDefault(code int) *StreamingServiceListDestinationsDefault

NewStreamingServiceListDestinationsDefault creates a StreamingServiceListDestinationsDefault with default headers values

func (*StreamingServiceListDestinationsDefault) Code

Code gets the status code for the streaming service list destinations default response

func (*StreamingServiceListDestinationsDefault) Error

func (*StreamingServiceListDestinationsDefault) GetPayload

func (*StreamingServiceListDestinationsDefault) IsClientError

func (o *StreamingServiceListDestinationsDefault) IsClientError() bool

IsClientError returns true when this streaming service list destinations default response has a 4xx status code

func (*StreamingServiceListDestinationsDefault) IsCode

IsCode returns true when this streaming service list destinations default response a status code equal to that given

func (*StreamingServiceListDestinationsDefault) IsRedirect

IsRedirect returns true when this streaming service list destinations default response has a 3xx status code

func (*StreamingServiceListDestinationsDefault) IsServerError

func (o *StreamingServiceListDestinationsDefault) IsServerError() bool

IsServerError returns true when this streaming service list destinations default response has a 5xx status code

func (*StreamingServiceListDestinationsDefault) IsSuccess

IsSuccess returns true when this streaming service list destinations default response has a 2xx status code

func (*StreamingServiceListDestinationsDefault) String

type StreamingServiceListDestinationsOK

type StreamingServiceListDestinationsOK struct {
	Payload *models.LogService20210330ListDestinationsResponse
}

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

A successful response.

func NewStreamingServiceListDestinationsOK

func NewStreamingServiceListDestinationsOK() *StreamingServiceListDestinationsOK

NewStreamingServiceListDestinationsOK creates a StreamingServiceListDestinationsOK with default headers values

func (*StreamingServiceListDestinationsOK) Code

Code gets the status code for the streaming service list destinations o k response

func (*StreamingServiceListDestinationsOK) Error

func (*StreamingServiceListDestinationsOK) GetPayload

func (*StreamingServiceListDestinationsOK) IsClientError

func (o *StreamingServiceListDestinationsOK) IsClientError() bool

IsClientError returns true when this streaming service list destinations o k response has a 4xx status code

func (*StreamingServiceListDestinationsOK) IsCode

IsCode returns true when this streaming service list destinations o k response a status code equal to that given

func (*StreamingServiceListDestinationsOK) IsRedirect

func (o *StreamingServiceListDestinationsOK) IsRedirect() bool

IsRedirect returns true when this streaming service list destinations o k response has a 3xx status code

func (*StreamingServiceListDestinationsOK) IsServerError

func (o *StreamingServiceListDestinationsOK) IsServerError() bool

IsServerError returns true when this streaming service list destinations o k response has a 5xx status code

func (*StreamingServiceListDestinationsOK) IsSuccess

IsSuccess returns true when this streaming service list destinations o k response has a 2xx status code

func (*StreamingServiceListDestinationsOK) String

type StreamingServiceListDestinationsParams

type StreamingServiceListDestinationsParams struct {

	// OrganizationID.
	OrganizationID string

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

StreamingServiceListDestinationsParams contains all the parameters to send to the API endpoint

for the streaming service list destinations operation.

Typically these are written to a http.Request.

func NewStreamingServiceListDestinationsParams

func NewStreamingServiceListDestinationsParams() *StreamingServiceListDestinationsParams

NewStreamingServiceListDestinationsParams creates a new StreamingServiceListDestinationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceListDestinationsParamsWithContext

func NewStreamingServiceListDestinationsParamsWithContext(ctx context.Context) *StreamingServiceListDestinationsParams

NewStreamingServiceListDestinationsParamsWithContext creates a new StreamingServiceListDestinationsParams object with the ability to set a context for a request.

func NewStreamingServiceListDestinationsParamsWithHTTPClient

func NewStreamingServiceListDestinationsParamsWithHTTPClient(client *http.Client) *StreamingServiceListDestinationsParams

NewStreamingServiceListDestinationsParamsWithHTTPClient creates a new StreamingServiceListDestinationsParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceListDestinationsParamsWithTimeout

func NewStreamingServiceListDestinationsParamsWithTimeout(timeout time.Duration) *StreamingServiceListDestinationsParams

NewStreamingServiceListDestinationsParamsWithTimeout creates a new StreamingServiceListDestinationsParams object with the ability to set a timeout on a request.

func (*StreamingServiceListDestinationsParams) SetContext

SetContext adds the context to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) SetDefaults

func (o *StreamingServiceListDestinationsParams) SetDefaults()

SetDefaults hydrates default values in the streaming service list destinations params (not the query body).

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

func (*StreamingServiceListDestinationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) SetOrganizationID

func (o *StreamingServiceListDestinationsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) WithContext

WithContext adds the context to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) WithDefaults

WithDefaults hydrates default values in the streaming service list destinations params (not the query body).

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

func (*StreamingServiceListDestinationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) WithTimeout

WithTimeout adds the timeout to the streaming service list destinations params

func (*StreamingServiceListDestinationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceListDestinationsReader

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

StreamingServiceListDestinationsReader is a Reader for the StreamingServiceListDestinations structure.

func (*StreamingServiceListDestinationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StreamingServiceTestDestinationDefault

type StreamingServiceTestDestinationDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceTestDestinationDefault

func NewStreamingServiceTestDestinationDefault(code int) *StreamingServiceTestDestinationDefault

NewStreamingServiceTestDestinationDefault creates a StreamingServiceTestDestinationDefault with default headers values

func (*StreamingServiceTestDestinationDefault) Code

Code gets the status code for the streaming service test destination default response

func (*StreamingServiceTestDestinationDefault) Error

func (*StreamingServiceTestDestinationDefault) GetPayload

func (*StreamingServiceTestDestinationDefault) IsClientError

func (o *StreamingServiceTestDestinationDefault) IsClientError() bool

IsClientError returns true when this streaming service test destination default response has a 4xx status code

func (*StreamingServiceTestDestinationDefault) IsCode

IsCode returns true when this streaming service test destination default response a status code equal to that given

func (*StreamingServiceTestDestinationDefault) IsRedirect

IsRedirect returns true when this streaming service test destination default response has a 3xx status code

func (*StreamingServiceTestDestinationDefault) IsServerError

func (o *StreamingServiceTestDestinationDefault) IsServerError() bool

IsServerError returns true when this streaming service test destination default response has a 5xx status code

func (*StreamingServiceTestDestinationDefault) IsSuccess

IsSuccess returns true when this streaming service test destination default response has a 2xx status code

func (*StreamingServiceTestDestinationDefault) String

type StreamingServiceTestDestinationOK

type StreamingServiceTestDestinationOK struct {
	Payload *models.LogService20210330TestDestinationResponse
}

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

A successful response.

func NewStreamingServiceTestDestinationOK

func NewStreamingServiceTestDestinationOK() *StreamingServiceTestDestinationOK

NewStreamingServiceTestDestinationOK creates a StreamingServiceTestDestinationOK with default headers values

func (*StreamingServiceTestDestinationOK) Code

Code gets the status code for the streaming service test destination o k response

func (*StreamingServiceTestDestinationOK) Error

func (*StreamingServiceTestDestinationOK) GetPayload

func (*StreamingServiceTestDestinationOK) IsClientError

func (o *StreamingServiceTestDestinationOK) IsClientError() bool

IsClientError returns true when this streaming service test destination o k response has a 4xx status code

func (*StreamingServiceTestDestinationOK) IsCode

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

IsCode returns true when this streaming service test destination o k response a status code equal to that given

func (*StreamingServiceTestDestinationOK) IsRedirect

func (o *StreamingServiceTestDestinationOK) IsRedirect() bool

IsRedirect returns true when this streaming service test destination o k response has a 3xx status code

func (*StreamingServiceTestDestinationOK) IsServerError

func (o *StreamingServiceTestDestinationOK) IsServerError() bool

IsServerError returns true when this streaming service test destination o k response has a 5xx status code

func (*StreamingServiceTestDestinationOK) IsSuccess

func (o *StreamingServiceTestDestinationOK) IsSuccess() bool

IsSuccess returns true when this streaming service test destination o k response has a 2xx status code

func (*StreamingServiceTestDestinationOK) String

type StreamingServiceTestDestinationParams

type StreamingServiceTestDestinationParams struct {

	// Body.
	Body *models.LogService20210330TestDestinationRequest

	// OrganizationID.
	OrganizationID string

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

StreamingServiceTestDestinationParams contains all the parameters to send to the API endpoint

for the streaming service test destination operation.

Typically these are written to a http.Request.

func NewStreamingServiceTestDestinationParams

func NewStreamingServiceTestDestinationParams() *StreamingServiceTestDestinationParams

NewStreamingServiceTestDestinationParams creates a new StreamingServiceTestDestinationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceTestDestinationParamsWithContext

func NewStreamingServiceTestDestinationParamsWithContext(ctx context.Context) *StreamingServiceTestDestinationParams

NewStreamingServiceTestDestinationParamsWithContext creates a new StreamingServiceTestDestinationParams object with the ability to set a context for a request.

func NewStreamingServiceTestDestinationParamsWithHTTPClient

func NewStreamingServiceTestDestinationParamsWithHTTPClient(client *http.Client) *StreamingServiceTestDestinationParams

NewStreamingServiceTestDestinationParamsWithHTTPClient creates a new StreamingServiceTestDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceTestDestinationParamsWithTimeout

func NewStreamingServiceTestDestinationParamsWithTimeout(timeout time.Duration) *StreamingServiceTestDestinationParams

NewStreamingServiceTestDestinationParamsWithTimeout creates a new StreamingServiceTestDestinationParams object with the ability to set a timeout on a request.

func (*StreamingServiceTestDestinationParams) SetBody

SetBody adds the body to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) SetContext

SetContext adds the context to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) SetDefaults

func (o *StreamingServiceTestDestinationParams) SetDefaults()

SetDefaults hydrates default values in the streaming service test destination params (not the query body).

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

func (*StreamingServiceTestDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) SetOrganizationID

func (o *StreamingServiceTestDestinationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WithBody

WithBody adds the body to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WithContext

WithContext adds the context to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WithDefaults

WithDefaults hydrates default values in the streaming service test destination params (not the query body).

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

func (*StreamingServiceTestDestinationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WithTimeout

WithTimeout adds the timeout to the streaming service test destination params

func (*StreamingServiceTestDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceTestDestinationReader

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

StreamingServiceTestDestinationReader is a Reader for the StreamingServiceTestDestination structure.

func (*StreamingServiceTestDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StreamingServiceUpdateDestinationDefault

type StreamingServiceUpdateDestinationDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewStreamingServiceUpdateDestinationDefault

func NewStreamingServiceUpdateDestinationDefault(code int) *StreamingServiceUpdateDestinationDefault

NewStreamingServiceUpdateDestinationDefault creates a StreamingServiceUpdateDestinationDefault with default headers values

func (*StreamingServiceUpdateDestinationDefault) Code

Code gets the status code for the streaming service update destination default response

func (*StreamingServiceUpdateDestinationDefault) Error

func (*StreamingServiceUpdateDestinationDefault) GetPayload

func (*StreamingServiceUpdateDestinationDefault) IsClientError

IsClientError returns true when this streaming service update destination default response has a 4xx status code

func (*StreamingServiceUpdateDestinationDefault) IsCode

IsCode returns true when this streaming service update destination default response a status code equal to that given

func (*StreamingServiceUpdateDestinationDefault) IsRedirect

IsRedirect returns true when this streaming service update destination default response has a 3xx status code

func (*StreamingServiceUpdateDestinationDefault) IsServerError

IsServerError returns true when this streaming service update destination default response has a 5xx status code

func (*StreamingServiceUpdateDestinationDefault) IsSuccess

IsSuccess returns true when this streaming service update destination default response has a 2xx status code

func (*StreamingServiceUpdateDestinationDefault) String

type StreamingServiceUpdateDestinationOK

type StreamingServiceUpdateDestinationOK struct {
	Payload interface{}
}

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

A successful response.

func NewStreamingServiceUpdateDestinationOK

func NewStreamingServiceUpdateDestinationOK() *StreamingServiceUpdateDestinationOK

NewStreamingServiceUpdateDestinationOK creates a StreamingServiceUpdateDestinationOK with default headers values

func (*StreamingServiceUpdateDestinationOK) Code

Code gets the status code for the streaming service update destination o k response

func (*StreamingServiceUpdateDestinationOK) Error

func (*StreamingServiceUpdateDestinationOK) GetPayload

func (o *StreamingServiceUpdateDestinationOK) GetPayload() interface{}

func (*StreamingServiceUpdateDestinationOK) IsClientError

func (o *StreamingServiceUpdateDestinationOK) IsClientError() bool

IsClientError returns true when this streaming service update destination o k response has a 4xx status code

func (*StreamingServiceUpdateDestinationOK) IsCode

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

func (*StreamingServiceUpdateDestinationOK) IsRedirect

func (o *StreamingServiceUpdateDestinationOK) IsRedirect() bool

IsRedirect returns true when this streaming service update destination o k response has a 3xx status code

func (*StreamingServiceUpdateDestinationOK) IsServerError

func (o *StreamingServiceUpdateDestinationOK) IsServerError() bool

IsServerError returns true when this streaming service update destination o k response has a 5xx status code

func (*StreamingServiceUpdateDestinationOK) IsSuccess

IsSuccess returns true when this streaming service update destination o k response has a 2xx status code

func (*StreamingServiceUpdateDestinationOK) String

type StreamingServiceUpdateDestinationParams

type StreamingServiceUpdateDestinationParams struct {

	// Body.
	Body *models.LogService20210330UpdateDestinationRequest

	/* ID.

	   id - the destination's id, required.
	*/
	ID string

	/* OrganizationID.

	   organization_id - the organization holding the destination, required.
	*/
	OrganizationID string

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

StreamingServiceUpdateDestinationParams contains all the parameters to send to the API endpoint

for the streaming service update destination operation.

Typically these are written to a http.Request.

func NewStreamingServiceUpdateDestinationParams

func NewStreamingServiceUpdateDestinationParams() *StreamingServiceUpdateDestinationParams

NewStreamingServiceUpdateDestinationParams creates a new StreamingServiceUpdateDestinationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStreamingServiceUpdateDestinationParamsWithContext

func NewStreamingServiceUpdateDestinationParamsWithContext(ctx context.Context) *StreamingServiceUpdateDestinationParams

NewStreamingServiceUpdateDestinationParamsWithContext creates a new StreamingServiceUpdateDestinationParams object with the ability to set a context for a request.

func NewStreamingServiceUpdateDestinationParamsWithHTTPClient

func NewStreamingServiceUpdateDestinationParamsWithHTTPClient(client *http.Client) *StreamingServiceUpdateDestinationParams

NewStreamingServiceUpdateDestinationParamsWithHTTPClient creates a new StreamingServiceUpdateDestinationParams object with the ability to set a custom HTTPClient for a request.

func NewStreamingServiceUpdateDestinationParamsWithTimeout

func NewStreamingServiceUpdateDestinationParamsWithTimeout(timeout time.Duration) *StreamingServiceUpdateDestinationParams

NewStreamingServiceUpdateDestinationParamsWithTimeout creates a new StreamingServiceUpdateDestinationParams object with the ability to set a timeout on a request.

func (*StreamingServiceUpdateDestinationParams) SetBody

SetBody adds the body to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) SetContext

SetContext adds the context to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) SetDefaults

func (o *StreamingServiceUpdateDestinationParams) SetDefaults()

SetDefaults hydrates default values in the streaming service update destination params (not the query body).

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

func (*StreamingServiceUpdateDestinationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) SetID

SetID adds the id to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) SetOrganizationID

func (o *StreamingServiceUpdateDestinationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) SetTimeout

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

SetTimeout adds the timeout to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithBody

WithBody adds the body to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithContext

WithContext adds the context to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithDefaults

WithDefaults hydrates default values in the streaming service update destination params (not the query body).

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

func (*StreamingServiceUpdateDestinationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithID

WithID adds the id to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WithTimeout

WithTimeout adds the timeout to the streaming service update destination params

func (*StreamingServiceUpdateDestinationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StreamingServiceUpdateDestinationReader

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

StreamingServiceUpdateDestinationReader is a Reader for the StreamingServiceUpdateDestination structure.

func (*StreamingServiceUpdateDestinationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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