signals_on_call

package
v0.0.0-...-4387d94 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 8 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 signals on call API

func (*Client) GetV1SignalsOnCall

func (a *Client) GetV1SignalsOnCall(params *GetV1SignalsOnCallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SignalsOnCallOK, error)

GetV1SignalsOnCall lists all on call schedules

List all Signals on-call schedules for the entire organization.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetV1SignalsOnCall(params *GetV1SignalsOnCallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SignalsOnCallOK, 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 signals on call API client.

type GetV1SignalsOnCallOK

type GetV1SignalsOnCallOK struct {
}

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

List all Signals on-call schedules for the entire organization.

func NewGetV1SignalsOnCallOK

func NewGetV1SignalsOnCallOK() *GetV1SignalsOnCallOK

NewGetV1SignalsOnCallOK creates a GetV1SignalsOnCallOK with default headers values

func (*GetV1SignalsOnCallOK) Error

func (o *GetV1SignalsOnCallOK) Error() string

func (*GetV1SignalsOnCallOK) IsClientError

func (o *GetV1SignalsOnCallOK) IsClientError() bool

IsClientError returns true when this get v1 signals on call o k response has a 4xx status code

func (*GetV1SignalsOnCallOK) IsCode

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

IsCode returns true when this get v1 signals on call o k response a status code equal to that given

func (*GetV1SignalsOnCallOK) IsRedirect

func (o *GetV1SignalsOnCallOK) IsRedirect() bool

IsRedirect returns true when this get v1 signals on call o k response has a 3xx status code

func (*GetV1SignalsOnCallOK) IsServerError

func (o *GetV1SignalsOnCallOK) IsServerError() bool

IsServerError returns true when this get v1 signals on call o k response has a 5xx status code

func (*GetV1SignalsOnCallOK) IsSuccess

func (o *GetV1SignalsOnCallOK) IsSuccess() bool

IsSuccess returns true when this get v1 signals on call o k response has a 2xx status code

func (*GetV1SignalsOnCallOK) String

func (o *GetV1SignalsOnCallOK) String() string

type GetV1SignalsOnCallParams

type GetV1SignalsOnCallParams struct {

	/* TeamID.

	   An optional comma separated list of team IDs to filter currently on-call users by
	*/
	TeamID *string

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

GetV1SignalsOnCallParams contains all the parameters to send to the API endpoint

for the get v1 signals on call operation.

Typically these are written to a http.Request.

func NewGetV1SignalsOnCallParams

func NewGetV1SignalsOnCallParams() *GetV1SignalsOnCallParams

NewGetV1SignalsOnCallParams creates a new GetV1SignalsOnCallParams 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 NewGetV1SignalsOnCallParamsWithContext

func NewGetV1SignalsOnCallParamsWithContext(ctx context.Context) *GetV1SignalsOnCallParams

NewGetV1SignalsOnCallParamsWithContext creates a new GetV1SignalsOnCallParams object with the ability to set a context for a request.

func NewGetV1SignalsOnCallParamsWithHTTPClient

func NewGetV1SignalsOnCallParamsWithHTTPClient(client *http.Client) *GetV1SignalsOnCallParams

NewGetV1SignalsOnCallParamsWithHTTPClient creates a new GetV1SignalsOnCallParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SignalsOnCallParamsWithTimeout

func NewGetV1SignalsOnCallParamsWithTimeout(timeout time.Duration) *GetV1SignalsOnCallParams

NewGetV1SignalsOnCallParamsWithTimeout creates a new GetV1SignalsOnCallParams object with the ability to set a timeout on a request.

func (*GetV1SignalsOnCallParams) SetContext

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

SetContext adds the context to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) SetDefaults

func (o *GetV1SignalsOnCallParams) SetDefaults()

SetDefaults hydrates default values in the get v1 signals on call params (not the query body).

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

func (*GetV1SignalsOnCallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) SetTeamID

func (o *GetV1SignalsOnCallParams) SetTeamID(teamID *string)

SetTeamID adds the teamId to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) WithContext

WithContext adds the context to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) WithDefaults

WithDefaults hydrates default values in the get v1 signals on call params (not the query body).

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

func (*GetV1SignalsOnCallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) WithTeamID

WithTeamID adds the teamID to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) WithTimeout

WithTimeout adds the timeout to the get v1 signals on call params

func (*GetV1SignalsOnCallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SignalsOnCallReader

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

GetV1SignalsOnCallReader is a Reader for the GetV1SignalsOnCall structure.

func (*GetV1SignalsOnCallReader) ReadResponse

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