deployment_requests

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 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 deployment requests API

func (*Client) GetDeploymentRequestsUsingGET

func (a *Client) GetDeploymentRequestsUsingGET(params *GetDeploymentRequestsUsingGETParams, opts ...ClientOption) (*GetDeploymentRequestsUsingGETOK, error)

GetDeploymentRequestsUsingGET fetches deployment requests

Returns the requests for the deployment.

func (*Client) GetEventLogsUsingGET

func (a *Client) GetEventLogsUsingGET(params *GetEventLogsUsingGETParams, opts ...ClientOption) (*GetEventLogsUsingGETOK, error)

GetEventLogsUsingGET fetches event logs

Returns the logs for an event.

func (*Client) GetRequestEventsUsingGET

func (a *Client) GetRequestEventsUsingGET(params *GetRequestEventsUsingGETParams, opts ...ClientOption) (*GetRequestEventsUsingGETOK, error)

GetRequestEventsUsingGET fetches request events

Returns all the events for a request.

func (*Client) GetRequestUsingGET

func (a *Client) GetRequestUsingGET(params *GetRequestUsingGETParams, opts ...ClientOption) (*GetRequestUsingGETOK, error)

GetRequestUsingGET gets the request

Returns the request with the given ID.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetDeploymentRequestsUsingGET(params *GetDeploymentRequestsUsingGETParams, opts ...ClientOption) (*GetDeploymentRequestsUsingGETOK, error)

	GetEventLogsUsingGET(params *GetEventLogsUsingGETParams, opts ...ClientOption) (*GetEventLogsUsingGETOK, error)

	GetRequestEventsUsingGET(params *GetRequestEventsUsingGETParams, opts ...ClientOption) (*GetRequestEventsUsingGETOK, error)

	GetRequestUsingGET(params *GetRequestUsingGETParams, opts ...ClientOption) (*GetRequestUsingGETOK, 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 deployment requests API client.

type GetDeploymentRequestsUsingGETNotFound

type GetDeploymentRequestsUsingGETNotFound struct {
	Payload *models.Error
}
GetDeploymentRequestsUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDeploymentRequestsUsingGETNotFound

func NewGetDeploymentRequestsUsingGETNotFound() *GetDeploymentRequestsUsingGETNotFound

NewGetDeploymentRequestsUsingGETNotFound creates a GetDeploymentRequestsUsingGETNotFound with default headers values

func (*GetDeploymentRequestsUsingGETNotFound) Error

func (*GetDeploymentRequestsUsingGETNotFound) GetPayload

type GetDeploymentRequestsUsingGETOK

type GetDeploymentRequestsUsingGETOK struct {
	Payload *models.PageOfRequest
}
GetDeploymentRequestsUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetDeploymentRequestsUsingGETOK

func NewGetDeploymentRequestsUsingGETOK() *GetDeploymentRequestsUsingGETOK

NewGetDeploymentRequestsUsingGETOK creates a GetDeploymentRequestsUsingGETOK with default headers values

func (*GetDeploymentRequestsUsingGETOK) Error

func (*GetDeploymentRequestsUsingGETOK) GetPayload

type GetDeploymentRequestsUsingGETParams

type GetDeploymentRequestsUsingGETParams struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* Deleted.

	   Retrieves the soft-deleted requests that have not yet been completely deleted.
	*/
	Deleted *bool

	/* DepID.

	   Deployment ID

	   Format: uuid
	*/
	DepID strfmt.UUID

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

GetDeploymentRequestsUsingGETParams contains all the parameters to send to the API endpoint

for the get deployment requests using g e t operation.

Typically these are written to a http.Request.

func NewGetDeploymentRequestsUsingGETParams

func NewGetDeploymentRequestsUsingGETParams() *GetDeploymentRequestsUsingGETParams

NewGetDeploymentRequestsUsingGETParams creates a new GetDeploymentRequestsUsingGETParams 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 NewGetDeploymentRequestsUsingGETParamsWithContext

func NewGetDeploymentRequestsUsingGETParamsWithContext(ctx context.Context) *GetDeploymentRequestsUsingGETParams

NewGetDeploymentRequestsUsingGETParamsWithContext creates a new GetDeploymentRequestsUsingGETParams object with the ability to set a context for a request.

func NewGetDeploymentRequestsUsingGETParamsWithHTTPClient

func NewGetDeploymentRequestsUsingGETParamsWithHTTPClient(client *http.Client) *GetDeploymentRequestsUsingGETParams

NewGetDeploymentRequestsUsingGETParamsWithHTTPClient creates a new GetDeploymentRequestsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeploymentRequestsUsingGETParamsWithTimeout

func NewGetDeploymentRequestsUsingGETParamsWithTimeout(timeout time.Duration) *GetDeploymentRequestsUsingGETParams

NewGetDeploymentRequestsUsingGETParamsWithTimeout creates a new GetDeploymentRequestsUsingGETParams object with the ability to set a timeout on a request.

func (*GetDeploymentRequestsUsingGETParams) SetAPIVersion

func (o *GetDeploymentRequestsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetContext

SetContext adds the context to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetDefaults added in v0.2.20

func (o *GetDeploymentRequestsUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get deployment requests using get params (not the query body).

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

func (*GetDeploymentRequestsUsingGETParams) SetDeleted

func (o *GetDeploymentRequestsUsingGETParams) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetDepID

func (o *GetDeploymentRequestsUsingGETParams) SetDepID(depID strfmt.UUID)

SetDepID adds the depId to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetDollarOrderby

func (o *GetDeploymentRequestsUsingGETParams) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetDollarSkip

func (o *GetDeploymentRequestsUsingGETParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetDollarTop

func (o *GetDeploymentRequestsUsingGETParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithContext

WithContext adds the context to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get deployment requests using get params (not the query body).

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

func (*GetDeploymentRequestsUsingGETParams) WithDeleted

WithDeleted adds the deleted to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithDepID

WithDepID adds the depID to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithDollarTop

WithDollarTop adds the dollarTop to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get deployment requests using get params

func (*GetDeploymentRequestsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeploymentRequestsUsingGETReader

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

GetDeploymentRequestsUsingGETReader is a Reader for the GetDeploymentRequestsUsingGET structure.

func (*GetDeploymentRequestsUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentRequestsUsingGETUnauthorized

type GetDeploymentRequestsUsingGETUnauthorized struct {
}
GetDeploymentRequestsUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDeploymentRequestsUsingGETUnauthorized

func NewGetDeploymentRequestsUsingGETUnauthorized() *GetDeploymentRequestsUsingGETUnauthorized

NewGetDeploymentRequestsUsingGETUnauthorized creates a GetDeploymentRequestsUsingGETUnauthorized with default headers values

func (*GetDeploymentRequestsUsingGETUnauthorized) Error

type GetEventLogsUsingGETNotFound

type GetEventLogsUsingGETNotFound struct {
	Payload *models.Error
}
GetEventLogsUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetEventLogsUsingGETNotFound

func NewGetEventLogsUsingGETNotFound() *GetEventLogsUsingGETNotFound

NewGetEventLogsUsingGETNotFound creates a GetEventLogsUsingGETNotFound with default headers values

func (*GetEventLogsUsingGETNotFound) Error

func (*GetEventLogsUsingGETNotFound) GetPayload

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

type GetEventLogsUsingGETOK

type GetEventLogsUsingGETOK struct {
	Payload *models.SliceOfEventLog
}
GetEventLogsUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetEventLogsUsingGETOK

func NewGetEventLogsUsingGETOK() *GetEventLogsUsingGETOK

NewGetEventLogsUsingGETOK creates a GetEventLogsUsingGETOK with default headers values

func (*GetEventLogsUsingGETOK) Error

func (o *GetEventLogsUsingGETOK) Error() string

func (*GetEventLogsUsingGETOK) GetPayload

type GetEventLogsUsingGETParams

type GetEventLogsUsingGETParams struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* Deleted.

	   Retrieves the soft-deleted event logs that have not yet been completely deleted.
	*/
	Deleted *bool

	/* DepID.

	   Deployment ID

	   Format: uuid
	*/
	DepID strfmt.UUID

	/* EventID.

	   Event ID

	   Format: uuid
	*/
	EventID strfmt.UUID

	/* RequestID.

	   Request ID

	   Format: uuid
	*/
	RequestID strfmt.UUID

	/* SinceRow.

	   A positive row number from which to show logs.

	   Format: int32
	*/
	SinceRow *int32

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

GetEventLogsUsingGETParams contains all the parameters to send to the API endpoint

for the get event logs using g e t operation.

Typically these are written to a http.Request.

func NewGetEventLogsUsingGETParams

func NewGetEventLogsUsingGETParams() *GetEventLogsUsingGETParams

NewGetEventLogsUsingGETParams creates a new GetEventLogsUsingGETParams 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 NewGetEventLogsUsingGETParamsWithContext

func NewGetEventLogsUsingGETParamsWithContext(ctx context.Context) *GetEventLogsUsingGETParams

NewGetEventLogsUsingGETParamsWithContext creates a new GetEventLogsUsingGETParams object with the ability to set a context for a request.

func NewGetEventLogsUsingGETParamsWithHTTPClient

func NewGetEventLogsUsingGETParamsWithHTTPClient(client *http.Client) *GetEventLogsUsingGETParams

NewGetEventLogsUsingGETParamsWithHTTPClient creates a new GetEventLogsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventLogsUsingGETParamsWithTimeout

func NewGetEventLogsUsingGETParamsWithTimeout(timeout time.Duration) *GetEventLogsUsingGETParams

NewGetEventLogsUsingGETParamsWithTimeout creates a new GetEventLogsUsingGETParams object with the ability to set a timeout on a request.

func (*GetEventLogsUsingGETParams) SetAPIVersion

func (o *GetEventLogsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetContext

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

SetContext adds the context to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetDefaults added in v0.2.20

func (o *GetEventLogsUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get event logs using get params (not the query body).

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

func (*GetEventLogsUsingGETParams) SetDeleted

func (o *GetEventLogsUsingGETParams) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetDepID

func (o *GetEventLogsUsingGETParams) SetDepID(depID strfmt.UUID)

SetDepID adds the depId to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetDollarOrderby

func (o *GetEventLogsUsingGETParams) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetDollarSkip

func (o *GetEventLogsUsingGETParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetDollarTop

func (o *GetEventLogsUsingGETParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetEventID

func (o *GetEventLogsUsingGETParams) SetEventID(eventID strfmt.UUID)

SetEventID adds the eventId to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetRequestID

func (o *GetEventLogsUsingGETParams) SetRequestID(requestID strfmt.UUID)

SetRequestID adds the requestId to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetSinceRow

func (o *GetEventLogsUsingGETParams) SetSinceRow(sinceRow *int32)

SetSinceRow adds the sinceRow to the get event logs using get params

func (*GetEventLogsUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithAPIVersion

func (o *GetEventLogsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetEventLogsUsingGETParams

WithAPIVersion adds the aPIVersion to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithContext

WithContext adds the context to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get event logs using get params (not the query body).

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

func (*GetEventLogsUsingGETParams) WithDeleted

WithDeleted adds the deleted to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithDepID

WithDepID adds the depID to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithDollarOrderby

func (o *GetEventLogsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetEventLogsUsingGETParams

WithDollarOrderby adds the dollarOrderby to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithDollarSkip

func (o *GetEventLogsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetEventLogsUsingGETParams

WithDollarSkip adds the dollarSkip to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithDollarTop

func (o *GetEventLogsUsingGETParams) WithDollarTop(dollarTop *int32) *GetEventLogsUsingGETParams

WithDollarTop adds the dollarTop to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithEventID

WithEventID adds the eventID to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithRequestID

WithRequestID adds the requestID to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithSinceRow

func (o *GetEventLogsUsingGETParams) WithSinceRow(sinceRow *int32) *GetEventLogsUsingGETParams

WithSinceRow adds the sinceRow to the get event logs using get params

func (*GetEventLogsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get event logs using get params

func (*GetEventLogsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventLogsUsingGETReader

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

GetEventLogsUsingGETReader is a Reader for the GetEventLogsUsingGET structure.

func (*GetEventLogsUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventLogsUsingGETUnauthorized

type GetEventLogsUsingGETUnauthorized struct {
}
GetEventLogsUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetEventLogsUsingGETUnauthorized

func NewGetEventLogsUsingGETUnauthorized() *GetEventLogsUsingGETUnauthorized

NewGetEventLogsUsingGETUnauthorized creates a GetEventLogsUsingGETUnauthorized with default headers values

func (*GetEventLogsUsingGETUnauthorized) Error

type GetRequestEventsUsingGETNotFound

type GetRequestEventsUsingGETNotFound struct {
	Payload *models.Error
}
GetRequestEventsUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetRequestEventsUsingGETNotFound

func NewGetRequestEventsUsingGETNotFound() *GetRequestEventsUsingGETNotFound

NewGetRequestEventsUsingGETNotFound creates a GetRequestEventsUsingGETNotFound with default headers values

func (*GetRequestEventsUsingGETNotFound) Error

func (*GetRequestEventsUsingGETNotFound) GetPayload

type GetRequestEventsUsingGETOK

type GetRequestEventsUsingGETOK struct {
	Payload *models.PageOfEvent
}
GetRequestEventsUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetRequestEventsUsingGETOK

func NewGetRequestEventsUsingGETOK() *GetRequestEventsUsingGETOK

NewGetRequestEventsUsingGETOK creates a GetRequestEventsUsingGETOK with default headers values

func (*GetRequestEventsUsingGETOK) Error

func (*GetRequestEventsUsingGETOK) GetPayload

type GetRequestEventsUsingGETParams

type GetRequestEventsUsingGETParams struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* Deleted.

	   Retrieves the soft-deleted events of the request that have not yet been completely deleted.
	*/
	Deleted *bool

	/* DepID.

	   Deployment ID

	   Format: uuid
	*/
	DepID strfmt.UUID

	/* RequestID.

	   Request ID

	   Format: uuid
	*/
	RequestID strfmt.UUID

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

GetRequestEventsUsingGETParams contains all the parameters to send to the API endpoint

for the get request events using g e t operation.

Typically these are written to a http.Request.

func NewGetRequestEventsUsingGETParams

func NewGetRequestEventsUsingGETParams() *GetRequestEventsUsingGETParams

NewGetRequestEventsUsingGETParams creates a new GetRequestEventsUsingGETParams 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 NewGetRequestEventsUsingGETParamsWithContext

func NewGetRequestEventsUsingGETParamsWithContext(ctx context.Context) *GetRequestEventsUsingGETParams

NewGetRequestEventsUsingGETParamsWithContext creates a new GetRequestEventsUsingGETParams object with the ability to set a context for a request.

func NewGetRequestEventsUsingGETParamsWithHTTPClient

func NewGetRequestEventsUsingGETParamsWithHTTPClient(client *http.Client) *GetRequestEventsUsingGETParams

NewGetRequestEventsUsingGETParamsWithHTTPClient creates a new GetRequestEventsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetRequestEventsUsingGETParamsWithTimeout

func NewGetRequestEventsUsingGETParamsWithTimeout(timeout time.Duration) *GetRequestEventsUsingGETParams

NewGetRequestEventsUsingGETParamsWithTimeout creates a new GetRequestEventsUsingGETParams object with the ability to set a timeout on a request.

func (*GetRequestEventsUsingGETParams) SetAPIVersion

func (o *GetRequestEventsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetContext

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

SetContext adds the context to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetDefaults added in v0.2.20

func (o *GetRequestEventsUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get request events using get params (not the query body).

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

func (*GetRequestEventsUsingGETParams) SetDeleted

func (o *GetRequestEventsUsingGETParams) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetDepID

func (o *GetRequestEventsUsingGETParams) SetDepID(depID strfmt.UUID)

SetDepID adds the depId to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetDollarOrderby

func (o *GetRequestEventsUsingGETParams) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetDollarSkip

func (o *GetRequestEventsUsingGETParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetDollarTop

func (o *GetRequestEventsUsingGETParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetRequestID

func (o *GetRequestEventsUsingGETParams) SetRequestID(requestID strfmt.UUID)

SetRequestID adds the requestId to the get request events using get params

func (*GetRequestEventsUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithContext

WithContext adds the context to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get request events using get params (not the query body).

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

func (*GetRequestEventsUsingGETParams) WithDeleted

WithDeleted adds the deleted to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithDepID

WithDepID adds the depID to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithDollarOrderby

func (o *GetRequestEventsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetRequestEventsUsingGETParams

WithDollarOrderby adds the dollarOrderby to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithDollarTop

WithDollarTop adds the dollarTop to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithRequestID

WithRequestID adds the requestID to the get request events using get params

func (*GetRequestEventsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get request events using get params

func (*GetRequestEventsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRequestEventsUsingGETReader

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

GetRequestEventsUsingGETReader is a Reader for the GetRequestEventsUsingGET structure.

func (*GetRequestEventsUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRequestEventsUsingGETUnauthorized

type GetRequestEventsUsingGETUnauthorized struct {
}
GetRequestEventsUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetRequestEventsUsingGETUnauthorized

func NewGetRequestEventsUsingGETUnauthorized() *GetRequestEventsUsingGETUnauthorized

NewGetRequestEventsUsingGETUnauthorized creates a GetRequestEventsUsingGETUnauthorized with default headers values

func (*GetRequestEventsUsingGETUnauthorized) Error

type GetRequestUsingGETNotFound

type GetRequestUsingGETNotFound struct {
	Payload *models.Error
}
GetRequestUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetRequestUsingGETNotFound

func NewGetRequestUsingGETNotFound() *GetRequestUsingGETNotFound

NewGetRequestUsingGETNotFound creates a GetRequestUsingGETNotFound with default headers values

func (*GetRequestUsingGETNotFound) Error

func (*GetRequestUsingGETNotFound) GetPayload

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

type GetRequestUsingGETOK

type GetRequestUsingGETOK struct {
	Payload *models.Request
}
GetRequestUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetRequestUsingGETOK

func NewGetRequestUsingGETOK() *GetRequestUsingGETOK

NewGetRequestUsingGETOK creates a GetRequestUsingGETOK with default headers values

func (*GetRequestUsingGETOK) Error

func (o *GetRequestUsingGETOK) Error() string

func (*GetRequestUsingGETOK) GetPayload

func (o *GetRequestUsingGETOK) GetPayload() *models.Request

type GetRequestUsingGETParams

type GetRequestUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* Deleted.

	   Retrieves the request, includes soft-deleted request that have not yet been completely deleted.
	*/
	Deleted *bool

	/* DepID.

	   Deployment ID

	   Format: uuid
	*/
	DepID strfmt.UUID

	/* RequestID.

	   Request ID

	   Format: uuid
	*/
	RequestID strfmt.UUID

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

GetRequestUsingGETParams contains all the parameters to send to the API endpoint

for the get request using g e t operation.

Typically these are written to a http.Request.

func NewGetRequestUsingGETParams

func NewGetRequestUsingGETParams() *GetRequestUsingGETParams

NewGetRequestUsingGETParams creates a new GetRequestUsingGETParams 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 NewGetRequestUsingGETParamsWithContext

func NewGetRequestUsingGETParamsWithContext(ctx context.Context) *GetRequestUsingGETParams

NewGetRequestUsingGETParamsWithContext creates a new GetRequestUsingGETParams object with the ability to set a context for a request.

func NewGetRequestUsingGETParamsWithHTTPClient

func NewGetRequestUsingGETParamsWithHTTPClient(client *http.Client) *GetRequestUsingGETParams

NewGetRequestUsingGETParamsWithHTTPClient creates a new GetRequestUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetRequestUsingGETParamsWithTimeout

func NewGetRequestUsingGETParamsWithTimeout(timeout time.Duration) *GetRequestUsingGETParams

NewGetRequestUsingGETParamsWithTimeout creates a new GetRequestUsingGETParams object with the ability to set a timeout on a request.

func (*GetRequestUsingGETParams) SetAPIVersion

func (o *GetRequestUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get request using get params

func (*GetRequestUsingGETParams) SetContext

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

SetContext adds the context to the get request using get params

func (*GetRequestUsingGETParams) SetDefaults added in v0.2.20

func (o *GetRequestUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get request using get params (not the query body).

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

func (*GetRequestUsingGETParams) SetDeleted

func (o *GetRequestUsingGETParams) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the get request using get params

func (*GetRequestUsingGETParams) SetDepID

func (o *GetRequestUsingGETParams) SetDepID(depID strfmt.UUID)

SetDepID adds the depId to the get request using get params

func (*GetRequestUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get request using get params

func (*GetRequestUsingGETParams) SetRequestID

func (o *GetRequestUsingGETParams) SetRequestID(requestID strfmt.UUID)

SetRequestID adds the requestId to the get request using get params

func (*GetRequestUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get request using get params

func (*GetRequestUsingGETParams) WithAPIVersion

func (o *GetRequestUsingGETParams) WithAPIVersion(aPIVersion *string) *GetRequestUsingGETParams

WithAPIVersion adds the aPIVersion to the get request using get params

func (*GetRequestUsingGETParams) WithContext

WithContext adds the context to the get request using get params

func (*GetRequestUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get request using get params (not the query body).

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

func (*GetRequestUsingGETParams) WithDeleted

func (o *GetRequestUsingGETParams) WithDeleted(deleted *bool) *GetRequestUsingGETParams

WithDeleted adds the deleted to the get request using get params

func (*GetRequestUsingGETParams) WithDepID

WithDepID adds the depID to the get request using get params

func (*GetRequestUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get request using get params

func (*GetRequestUsingGETParams) WithRequestID

func (o *GetRequestUsingGETParams) WithRequestID(requestID strfmt.UUID) *GetRequestUsingGETParams

WithRequestID adds the requestID to the get request using get params

func (*GetRequestUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get request using get params

func (*GetRequestUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRequestUsingGETReader

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

GetRequestUsingGETReader is a Reader for the GetRequestUsingGET structure.

func (*GetRequestUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRequestUsingGETUnauthorized

type GetRequestUsingGETUnauthorized struct {
}
GetRequestUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetRequestUsingGETUnauthorized

func NewGetRequestUsingGETUnauthorized() *GetRequestUsingGETUnauthorized

NewGetRequestUsingGETUnauthorized creates a GetRequestUsingGETUnauthorized with default headers values

func (*GetRequestUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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