data

package
v0.0.0-...-eefc88d Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-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 data API

func (*Client) IngestData

func (a *Client) IngestData(params *IngestDataParams) (*IngestDataOK, error)

IngestData ingests data into cloud mon

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	IngestData(params *IngestDataParams) (*IngestDataOK, 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 data API client.

type IngestDataDefault

type IngestDataDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

IngestDataDefault handles this case with default header values.

unexpected error

func NewIngestDataDefault

func NewIngestDataDefault(code int) *IngestDataDefault

NewIngestDataDefault creates a IngestDataDefault with default headers values

func (*IngestDataDefault) Code

func (o *IngestDataDefault) Code() int

Code gets the status code for the ingest data default response

func (*IngestDataDefault) Error

func (o *IngestDataDefault) Error() string

func (*IngestDataDefault) GetPayload

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

type IngestDataOK

type IngestDataOK struct {
	Payload *models.Message
}

IngestDataOK handles this case with default header values.

payload is processed successfully

func NewIngestDataOK

func NewIngestDataOK() *IngestDataOK

NewIngestDataOK creates a IngestDataOK with default headers values

func (*IngestDataOK) Error

func (o *IngestDataOK) Error() string

func (*IngestDataOK) GetPayload

func (o *IngestDataOK) GetPayload() *models.Message

type IngestDataParams

type IngestDataParams struct {

	/*AppdynamicsAPIKey*/
	AppdynamicsAPIKey *string
	/*AppdynamicsAccount*/
	AppdynamicsAccount *string
	/*Body
	  Payload object to be ingested

	*/
	Body *models.Payload

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

IngestDataParams contains all the parameters to send to the API endpoint for the ingest data operation typically these are written to a http.Request

func NewIngestDataParams

func NewIngestDataParams() *IngestDataParams

NewIngestDataParams creates a new IngestDataParams object with the default values initialized.

func NewIngestDataParamsWithContext

func NewIngestDataParamsWithContext(ctx context.Context) *IngestDataParams

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

func NewIngestDataParamsWithHTTPClient

func NewIngestDataParamsWithHTTPClient(client *http.Client) *IngestDataParams

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

func NewIngestDataParamsWithTimeout

func NewIngestDataParamsWithTimeout(timeout time.Duration) *IngestDataParams

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

func (*IngestDataParams) SetAppdynamicsAPIKey

func (o *IngestDataParams) SetAppdynamicsAPIKey(appdynamicsAPIKey *string)

SetAppdynamicsAPIKey adds the appdynamicsApiKey to the ingest data params

func (*IngestDataParams) SetAppdynamicsAccount

func (o *IngestDataParams) SetAppdynamicsAccount(appdynamicsAccount *string)

SetAppdynamicsAccount adds the appdynamicsAccount to the ingest data params

func (*IngestDataParams) SetBody

func (o *IngestDataParams) SetBody(body *models.Payload)

SetBody adds the body to the ingest data params

func (*IngestDataParams) SetContext

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

SetContext adds the context to the ingest data params

func (*IngestDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ingest data params

func (*IngestDataParams) SetTimeout

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

SetTimeout adds the timeout to the ingest data params

func (*IngestDataParams) WithAppdynamicsAPIKey

func (o *IngestDataParams) WithAppdynamicsAPIKey(appdynamicsAPIKey *string) *IngestDataParams

WithAppdynamicsAPIKey adds the appdynamicsAPIKey to the ingest data params

func (*IngestDataParams) WithAppdynamicsAccount

func (o *IngestDataParams) WithAppdynamicsAccount(appdynamicsAccount *string) *IngestDataParams

WithAppdynamicsAccount adds the appdynamicsAccount to the ingest data params

func (*IngestDataParams) WithBody

func (o *IngestDataParams) WithBody(body *models.Payload) *IngestDataParams

WithBody adds the body to the ingest data params

func (*IngestDataParams) WithContext

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

WithContext adds the context to the ingest data params

func (*IngestDataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ingest data params

func (*IngestDataParams) WithTimeout

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

WithTimeout adds the timeout to the ingest data params

func (*IngestDataParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IngestDataReader

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

IngestDataReader is a Reader for the IngestData structure.

func (*IngestDataReader) ReadResponse

func (o *IngestDataReader) 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