teams

package
v0.0.0-...-d3fc958 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT 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 teams API

func (*Client) DeleteV1TeamsTeamID

func (a *Client) DeleteV1TeamsTeamID(params *DeleteV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDOK, error)

DeleteV1TeamsTeamID archives a team

Archives an team which will hide it from lists and metrics

func (*Client) DeleteV1TeamsTeamIDEscalationPoliciesID

DeleteV1TeamsTeamIDEscalationPoliciesID deletes an escalation policy

Delete a Signals escalation policy by ID

func (*Client) DeleteV1TeamsTeamIDOnCallSchedulesScheduleID

DeleteV1TeamsTeamIDOnCallSchedulesScheduleID deletes an on call schedule

Delete a Signals on-call schedule by ID

func (*Client) DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID deletes an on call shift

Delete a Signals on-call shift by ID

func (*Client) DeleteV1TeamsTeamIDSignalRulesID

DeleteV1TeamsTeamIDSignalRulesID deletes a signals rule

Delete a Signals rule by ID

func (*Client) GetV1Teams

func (a *Client) GetV1Teams(params *GetV1TeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsOK, error)

GetV1Teams lists all teams

List all of the teams in the organization

func (*Client) GetV1TeamsTeamID

func (a *Client) GetV1TeamsTeamID(params *GetV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOK, error)

GetV1TeamsTeamID retrieves a team

Retrieve a single team from its ID

func (*Client) GetV1TeamsTeamIDEscalationPolicies

func (a *Client) GetV1TeamsTeamIDEscalationPolicies(params *GetV1TeamsTeamIDEscalationPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDEscalationPoliciesOK, error)

GetV1TeamsTeamIDEscalationPolicies lists escalation policies

List all Signals escalation policies for a team.

func (*Client) GetV1TeamsTeamIDEscalationPoliciesID

func (a *Client) GetV1TeamsTeamIDEscalationPoliciesID(params *GetV1TeamsTeamIDEscalationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDEscalationPoliciesIDOK, error)

GetV1TeamsTeamIDEscalationPoliciesID gets an escalation policy

Get a Signals escalation policy by ID

func (*Client) GetV1TeamsTeamIDOnCallSchedules

func (a *Client) GetV1TeamsTeamIDOnCallSchedules(params *GetV1TeamsTeamIDOnCallSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOnCallSchedulesOK, error)

GetV1TeamsTeamIDOnCallSchedules lists on call schedules

List all Signals on-call schedules for a team.

func (*Client) GetV1TeamsTeamIDOnCallSchedulesScheduleID

GetV1TeamsTeamIDOnCallSchedulesScheduleID gets an on call schedule

Get a Signals on-call schedule by ID

func (*Client) GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID gets an on call shift

Get a Signals on-call shift by ID

func (*Client) GetV1TeamsTeamIDSignalRules

func (a *Client) GetV1TeamsTeamIDSignalRules(params *GetV1TeamsTeamIDSignalRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDSignalRulesOK, error)

GetV1TeamsTeamIDSignalRules lists signals rules

List all Signals rules for a team.

func (*Client) GetV1TeamsTeamIDSignalRulesID

func (a *Client) GetV1TeamsTeamIDSignalRulesID(params *GetV1TeamsTeamIDSignalRulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDSignalRulesIDOK, error)

GetV1TeamsTeamIDSignalRulesID gets a signals rule

Get a Signals rule by ID.

func (*Client) PatchV1TeamsTeamID

func (a *Client) PatchV1TeamsTeamID(params *PatchV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDOK, error)

PatchV1TeamsTeamID updates a team

Update a single team from its ID

func (*Client) PatchV1TeamsTeamIDEscalationPoliciesID

PatchV1TeamsTeamIDEscalationPoliciesID updates an escalation policy

Update a Signals escalation policy by ID

func (*Client) PatchV1TeamsTeamIDOnCallSchedulesScheduleID

PatchV1TeamsTeamIDOnCallSchedulesScheduleID updates an on call schedule

Update a Signals on-call schedule by ID

func (*Client) PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID updates an on call shift

Update a Signals on-call shift by ID

func (*Client) PatchV1TeamsTeamIDSignalRulesID

func (a *Client) PatchV1TeamsTeamIDSignalRulesID(params *PatchV1TeamsTeamIDSignalRulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDSignalRulesIDOK, error)

PatchV1TeamsTeamIDSignalRulesID updates a signals rule

Update a Signals rule by ID

func (*Client) PostV1Teams

func (a *Client) PostV1Teams(params *PostV1TeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsCreated, error)

PostV1Teams creates a team

Create a new team

func (*Client) PostV1TeamsTeamIDEscalationPolicies

PostV1TeamsTeamIDEscalationPolicies creates an escalation policy

Create a Signals escalation policy for a team.

func (*Client) PostV1TeamsTeamIDOnCallSchedules

PostV1TeamsTeamIDOnCallSchedules creates an on call schedule

Create a Signals on-call schedule for a team.

func (*Client) PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts

PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts creates an on call shift

Create a Signals on-call shift in a schedule.

func (*Client) PostV1TeamsTeamIDSignalRules

PostV1TeamsTeamIDSignalRules creates a signals rule

Create a Signals rule for a team.

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 {
	DeleteV1TeamsTeamID(params *DeleteV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDOK, error)

	DeleteV1TeamsTeamIDEscalationPoliciesID(params *DeleteV1TeamsTeamIDEscalationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent, error)

	DeleteV1TeamsTeamIDOnCallSchedulesScheduleID(params *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent, error)

	DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID(params *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent, error)

	DeleteV1TeamsTeamIDSignalRulesID(params *DeleteV1TeamsTeamIDSignalRulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1TeamsTeamIDSignalRulesIDNoContent, error)

	GetV1Teams(params *GetV1TeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsOK, error)

	GetV1TeamsTeamID(params *GetV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOK, error)

	GetV1TeamsTeamIDEscalationPolicies(params *GetV1TeamsTeamIDEscalationPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDEscalationPoliciesOK, error)

	GetV1TeamsTeamIDEscalationPoliciesID(params *GetV1TeamsTeamIDEscalationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDEscalationPoliciesIDOK, error)

	GetV1TeamsTeamIDOnCallSchedules(params *GetV1TeamsTeamIDOnCallSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOnCallSchedulesOK, error)

	GetV1TeamsTeamIDOnCallSchedulesScheduleID(params *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK, error)

	GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID(params *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK, error)

	GetV1TeamsTeamIDSignalRules(params *GetV1TeamsTeamIDSignalRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDSignalRulesOK, error)

	GetV1TeamsTeamIDSignalRulesID(params *GetV1TeamsTeamIDSignalRulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1TeamsTeamIDSignalRulesIDOK, error)

	PatchV1TeamsTeamID(params *PatchV1TeamsTeamIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDOK, error)

	PatchV1TeamsTeamIDEscalationPoliciesID(params *PatchV1TeamsTeamIDEscalationPoliciesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDEscalationPoliciesIDOK, error)

	PatchV1TeamsTeamIDOnCallSchedulesScheduleID(params *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK, error)

	PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID(params *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK, error)

	PatchV1TeamsTeamIDSignalRulesID(params *PatchV1TeamsTeamIDSignalRulesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1TeamsTeamIDSignalRulesIDOK, error)

	PostV1Teams(params *PostV1TeamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsCreated, error)

	PostV1TeamsTeamIDEscalationPolicies(params *PostV1TeamsTeamIDEscalationPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsTeamIDEscalationPoliciesCreated, error)

	PostV1TeamsTeamIDOnCallSchedules(params *PostV1TeamsTeamIDOnCallSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsTeamIDOnCallSchedulesCreated, error)

	PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts(params *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated, error)

	PostV1TeamsTeamIDSignalRules(params *PostV1TeamsTeamIDSignalRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1TeamsTeamIDSignalRulesCreated, 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 teams API client.

type DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent

type DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent struct {
}

DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent describes a response with status code 204, with default header values.

Delete a Signals escalation policy by ID

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDNoContent

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDNoContent() *DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent

NewDeleteV1TeamsTeamIDEscalationPoliciesIDNoContent creates a DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent with default headers values

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) Error

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) IsClientError

IsClientError returns true when this delete v1 teams team Id escalation policies Id no content response has a 4xx status code

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) IsCode

IsCode returns true when this delete v1 teams team Id escalation policies Id no content response a status code equal to that given

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 teams team Id escalation policies Id no content response has a 3xx status code

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) IsServerError

IsServerError returns true when this delete v1 teams team Id escalation policies Id no content response has a 5xx status code

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 teams team Id escalation policies Id no content response has a 2xx status code

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDNoContent) String

type DeleteV1TeamsTeamIDEscalationPoliciesIDParams

type DeleteV1TeamsTeamIDEscalationPoliciesIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	/* TeamID.

	   The ID of the team for which you want to manage Signals escalation policies.
	*/
	TeamID string

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

DeleteV1TeamsTeamIDEscalationPoliciesIDParams contains all the parameters to send to the API endpoint

for the delete v1 teams team Id escalation policies Id operation.

Typically these are written to a http.Request.

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParams

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParams() *DeleteV1TeamsTeamIDEscalationPoliciesIDParams

NewDeleteV1TeamsTeamIDEscalationPoliciesIDParams creates a new DeleteV1TeamsTeamIDEscalationPoliciesIDParams 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 NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithContext

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithContext(ctx context.Context) *DeleteV1TeamsTeamIDEscalationPoliciesIDParams

NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithContext creates a new DeleteV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a context for a request.

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient(client *http.Client) *DeleteV1TeamsTeamIDEscalationPoliciesIDParams

NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient creates a new DeleteV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout

func NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout(timeout time.Duration) *DeleteV1TeamsTeamIDEscalationPoliciesIDParams

NewDeleteV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout creates a new DeleteV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a timeout on a request.

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetContext

SetContext adds the context to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 teams team Id escalation policies Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetID

SetID adds the id to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetTeamID

SetTeamID adds the teamId to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithContext

WithContext adds the context to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 teams team Id escalation policies Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithID

WithID adds the id to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithTeamID

WithTeamID adds the teamID to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 teams team Id escalation policies Id params

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TeamsTeamIDEscalationPoliciesIDReader

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

DeleteV1TeamsTeamIDEscalationPoliciesIDReader is a Reader for the DeleteV1TeamsTeamIDEscalationPoliciesID structure.

func (*DeleteV1TeamsTeamIDEscalationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1TeamsTeamIDOK

type DeleteV1TeamsTeamIDOK struct {
	Payload *models.TeamEntity
}

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

Archives an team which will hide it from lists and metrics

func NewDeleteV1TeamsTeamIDOK

func NewDeleteV1TeamsTeamIDOK() *DeleteV1TeamsTeamIDOK

NewDeleteV1TeamsTeamIDOK creates a DeleteV1TeamsTeamIDOK with default headers values

func (*DeleteV1TeamsTeamIDOK) Error

func (o *DeleteV1TeamsTeamIDOK) Error() string

func (*DeleteV1TeamsTeamIDOK) GetPayload

func (o *DeleteV1TeamsTeamIDOK) GetPayload() *models.TeamEntity

func (*DeleteV1TeamsTeamIDOK) IsClientError

func (o *DeleteV1TeamsTeamIDOK) IsClientError() bool

IsClientError returns true when this delete v1 teams team Id o k response has a 4xx status code

func (*DeleteV1TeamsTeamIDOK) IsCode

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

IsCode returns true when this delete v1 teams team Id o k response a status code equal to that given

func (*DeleteV1TeamsTeamIDOK) IsRedirect

func (o *DeleteV1TeamsTeamIDOK) IsRedirect() bool

IsRedirect returns true when this delete v1 teams team Id o k response has a 3xx status code

func (*DeleteV1TeamsTeamIDOK) IsServerError

func (o *DeleteV1TeamsTeamIDOK) IsServerError() bool

IsServerError returns true when this delete v1 teams team Id o k response has a 5xx status code

func (*DeleteV1TeamsTeamIDOK) IsSuccess

func (o *DeleteV1TeamsTeamIDOK) IsSuccess() bool

IsSuccess returns true when this delete v1 teams team Id o k response has a 2xx status code

func (*DeleteV1TeamsTeamIDOK) String

func (o *DeleteV1TeamsTeamIDOK) String() string

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent struct {
}

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent describes a response with status code 204, with default header values.

Delete a Signals on-call schedule by ID

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent() *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent creates a DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent with default headers values

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) Error

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) IsClientError

IsClientError returns true when this delete v1 teams team Id on call schedules schedule Id no content response has a 4xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) IsCode

IsCode returns true when this delete v1 teams team Id on call schedules schedule Id no content response a status code equal to that given

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 teams team Id on call schedules schedule Id no content response has a 3xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) IsServerError

IsServerError returns true when this delete v1 teams team Id on call schedules schedule Id no content response has a 5xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 teams team Id on call schedules schedule Id no content response has a 2xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDNoContent) String

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams struct {

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	/* TeamID.

	   The ID of the team for which you want to manage Signals on-call schedules.
	*/
	TeamID string

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

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams contains all the parameters to send to the API endpoint

for the delete v1 teams team Id on call schedules schedule Id operation.

Typically these are written to a http.Request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams() *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams 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 NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext(ctx context.Context) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a context for a request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient(client *http.Client) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout(timeout time.Duration) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a timeout on a request.

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetContext

SetContext adds the context to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID

func (o *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID(scheduleID int32)

SetScheduleID adds the scheduleId to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTeamID

SetTeamID adds the teamId to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithContext

WithContext adds the context to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTeamID

WithTeamID adds the teamID to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 teams team Id on call schedules schedule Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDReader

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

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDReader is a Reader for the DeleteV1TeamsTeamIDOnCallSchedulesScheduleID structure.

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent struct {
}

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent describes a response with status code 204, with default header values.

Delete a Signals on-call shift by ID

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent() *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent creates a DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent with default headers values

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) Error

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) IsClientError

IsClientError returns true when this delete v1 teams team Id on call schedules schedule Id shifts Id no content response has a 4xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) IsCode

IsCode returns true when this delete v1 teams team Id on call schedules schedule Id shifts Id no content response a status code equal to that given

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 teams team Id on call schedules schedule Id shifts Id no content response has a 3xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) IsServerError

IsServerError returns true when this delete v1 teams team Id on call schedules schedule Id shifts Id no content response has a 5xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 teams team Id on call schedules schedule Id shifts Id no content response has a 2xx status code

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDNoContent) String

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	// TeamID.
	//
	// Format: int32
	TeamID int32

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

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams contains all the parameters to send to the API endpoint

for the delete v1 teams team Id on call schedules schedule Id shifts Id operation.

Typically these are written to a http.Request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams() *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams 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 NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext(ctx context.Context) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a context for a request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient(client *http.Client) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout

func NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout(timeout time.Duration) *DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewDeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout creates a new DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a timeout on a request.

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetContext

SetContext adds the context to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetID

SetID adds the id to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetScheduleID

SetScheduleID adds the scheduleId to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTeamID

SetTeamID adds the teamId to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithContext

WithContext adds the context to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithID

WithID adds the id to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTeamID

WithTeamID adds the teamID to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 teams team Id on call schedules schedule Id shifts Id params

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader

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

DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader is a Reader for the DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID structure.

func (*DeleteV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type DeleteV1TeamsTeamIDParams

type DeleteV1TeamsTeamIDParams struct {

	// TeamID.
	TeamID string

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

DeleteV1TeamsTeamIDParams contains all the parameters to send to the API endpoint

for the delete v1 teams team Id operation.

Typically these are written to a http.Request.

func NewDeleteV1TeamsTeamIDParams

func NewDeleteV1TeamsTeamIDParams() *DeleteV1TeamsTeamIDParams

NewDeleteV1TeamsTeamIDParams creates a new DeleteV1TeamsTeamIDParams 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 NewDeleteV1TeamsTeamIDParamsWithContext

func NewDeleteV1TeamsTeamIDParamsWithContext(ctx context.Context) *DeleteV1TeamsTeamIDParams

NewDeleteV1TeamsTeamIDParamsWithContext creates a new DeleteV1TeamsTeamIDParams object with the ability to set a context for a request.

func NewDeleteV1TeamsTeamIDParamsWithHTTPClient

func NewDeleteV1TeamsTeamIDParamsWithHTTPClient(client *http.Client) *DeleteV1TeamsTeamIDParams

NewDeleteV1TeamsTeamIDParamsWithHTTPClient creates a new DeleteV1TeamsTeamIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1TeamsTeamIDParamsWithTimeout

func NewDeleteV1TeamsTeamIDParamsWithTimeout(timeout time.Duration) *DeleteV1TeamsTeamIDParams

NewDeleteV1TeamsTeamIDParamsWithTimeout creates a new DeleteV1TeamsTeamIDParams object with the ability to set a timeout on a request.

func (*DeleteV1TeamsTeamIDParams) SetContext

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

SetContext adds the context to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) SetDefaults

func (o *DeleteV1TeamsTeamIDParams) SetDefaults()

SetDefaults hydrates default values in the delete v1 teams team Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) SetTeamID

func (o *DeleteV1TeamsTeamIDParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) WithContext

WithContext adds the context to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 teams team Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) WithTeamID

WithTeamID adds the teamID to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 teams team Id params

func (*DeleteV1TeamsTeamIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TeamsTeamIDReader

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

DeleteV1TeamsTeamIDReader is a Reader for the DeleteV1TeamsTeamID structure.

func (*DeleteV1TeamsTeamIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1TeamsTeamIDSignalRulesIDNoContent

type DeleteV1TeamsTeamIDSignalRulesIDNoContent struct {
}

DeleteV1TeamsTeamIDSignalRulesIDNoContent describes a response with status code 204, with default header values.

Delete a Signals rule by ID

func NewDeleteV1TeamsTeamIDSignalRulesIDNoContent

func NewDeleteV1TeamsTeamIDSignalRulesIDNoContent() *DeleteV1TeamsTeamIDSignalRulesIDNoContent

NewDeleteV1TeamsTeamIDSignalRulesIDNoContent creates a DeleteV1TeamsTeamIDSignalRulesIDNoContent with default headers values

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) Error

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) IsClientError

IsClientError returns true when this delete v1 teams team Id signal rules Id no content response has a 4xx status code

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) IsCode

IsCode returns true when this delete v1 teams team Id signal rules Id no content response a status code equal to that given

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 teams team Id signal rules Id no content response has a 3xx status code

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) IsServerError

IsServerError returns true when this delete v1 teams team Id signal rules Id no content response has a 5xx status code

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 teams team Id signal rules Id no content response has a 2xx status code

func (*DeleteV1TeamsTeamIDSignalRulesIDNoContent) String

type DeleteV1TeamsTeamIDSignalRulesIDParams

type DeleteV1TeamsTeamIDSignalRulesIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	/* TeamID.

	   The ID of the team for which you want to manage Signals rules.
	*/
	TeamID string

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

DeleteV1TeamsTeamIDSignalRulesIDParams contains all the parameters to send to the API endpoint

for the delete v1 teams team Id signal rules Id operation.

Typically these are written to a http.Request.

func NewDeleteV1TeamsTeamIDSignalRulesIDParams

func NewDeleteV1TeamsTeamIDSignalRulesIDParams() *DeleteV1TeamsTeamIDSignalRulesIDParams

NewDeleteV1TeamsTeamIDSignalRulesIDParams creates a new DeleteV1TeamsTeamIDSignalRulesIDParams 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 NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithContext

func NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithContext(ctx context.Context) *DeleteV1TeamsTeamIDSignalRulesIDParams

NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithContext creates a new DeleteV1TeamsTeamIDSignalRulesIDParams object with the ability to set a context for a request.

func NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient

func NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient(client *http.Client) *DeleteV1TeamsTeamIDSignalRulesIDParams

NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient creates a new DeleteV1TeamsTeamIDSignalRulesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithTimeout

func NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithTimeout(timeout time.Duration) *DeleteV1TeamsTeamIDSignalRulesIDParams

NewDeleteV1TeamsTeamIDSignalRulesIDParamsWithTimeout creates a new DeleteV1TeamsTeamIDSignalRulesIDParams object with the ability to set a timeout on a request.

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetContext

SetContext adds the context to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetDefaults

func (o *DeleteV1TeamsTeamIDSignalRulesIDParams) SetDefaults()

SetDefaults hydrates default values in the delete v1 teams team Id signal rules Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetID

SetID adds the id to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetTeamID

func (o *DeleteV1TeamsTeamIDSignalRulesIDParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithContext

WithContext adds the context to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 teams team Id signal rules Id params (not the query body).

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

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithID

WithID adds the id to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithTeamID

WithTeamID adds the teamID to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 teams team Id signal rules Id params

func (*DeleteV1TeamsTeamIDSignalRulesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TeamsTeamIDSignalRulesIDReader

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

DeleteV1TeamsTeamIDSignalRulesIDReader is a Reader for the DeleteV1TeamsTeamIDSignalRulesID structure.

func (*DeleteV1TeamsTeamIDSignalRulesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsOK

type GetV1TeamsOK struct {
	Payload *models.TeamEntityPaginated
}

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

List all of the teams in the organization

func NewGetV1TeamsOK

func NewGetV1TeamsOK() *GetV1TeamsOK

NewGetV1TeamsOK creates a GetV1TeamsOK with default headers values

func (*GetV1TeamsOK) Error

func (o *GetV1TeamsOK) Error() string

func (*GetV1TeamsOK) GetPayload

func (o *GetV1TeamsOK) GetPayload() *models.TeamEntityPaginated

func (*GetV1TeamsOK) IsClientError

func (o *GetV1TeamsOK) IsClientError() bool

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

func (*GetV1TeamsOK) IsCode

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

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

func (*GetV1TeamsOK) IsRedirect

func (o *GetV1TeamsOK) IsRedirect() bool

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

func (*GetV1TeamsOK) IsServerError

func (o *GetV1TeamsOK) IsServerError() bool

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

func (*GetV1TeamsOK) IsSuccess

func (o *GetV1TeamsOK) IsSuccess() bool

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

func (*GetV1TeamsOK) String

func (o *GetV1TeamsOK) String() string

type GetV1TeamsParams

type GetV1TeamsParams struct {

	/* DefaultIncidentRole.

	   Filter by teams that have or do not have members with a default incident role asssigned. Value may be 'present', 'blank', or the ID of an incident role.
	*/
	DefaultIncidentRole *string

	/* Lite.

	   Boolean to determine whether to return a slimified version of the teams object
	*/
	Lite *bool

	/* Name.

	   A query to search teams by their name
	*/
	Name *string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

	/* Query.

	   A query to search teams by their name or description
	*/
	Query *string

	/* Services.

	   A comma separated list of service IDs
	*/
	Services *string

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

GetV1TeamsParams contains all the parameters to send to the API endpoint

for the get v1 teams operation.

Typically these are written to a http.Request.

func NewGetV1TeamsParams

func NewGetV1TeamsParams() *GetV1TeamsParams

NewGetV1TeamsParams creates a new GetV1TeamsParams 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 NewGetV1TeamsParamsWithContext

func NewGetV1TeamsParamsWithContext(ctx context.Context) *GetV1TeamsParams

NewGetV1TeamsParamsWithContext creates a new GetV1TeamsParams object with the ability to set a context for a request.

func NewGetV1TeamsParamsWithHTTPClient

func NewGetV1TeamsParamsWithHTTPClient(client *http.Client) *GetV1TeamsParams

NewGetV1TeamsParamsWithHTTPClient creates a new GetV1TeamsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsParamsWithTimeout

func NewGetV1TeamsParamsWithTimeout(timeout time.Duration) *GetV1TeamsParams

NewGetV1TeamsParamsWithTimeout creates a new GetV1TeamsParams object with the ability to set a timeout on a request.

func (*GetV1TeamsParams) SetContext

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

SetContext adds the context to the get v1 teams params

func (*GetV1TeamsParams) SetDefaultIncidentRole

func (o *GetV1TeamsParams) SetDefaultIncidentRole(defaultIncidentRole *string)

SetDefaultIncidentRole adds the defaultIncidentRole to the get v1 teams params

func (*GetV1TeamsParams) SetDefaults

func (o *GetV1TeamsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 teams params (not the query body).

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

func (*GetV1TeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams params

func (*GetV1TeamsParams) SetLite

func (o *GetV1TeamsParams) SetLite(lite *bool)

SetLite adds the lite to the get v1 teams params

func (*GetV1TeamsParams) SetName

func (o *GetV1TeamsParams) SetName(name *string)

SetName adds the name to the get v1 teams params

func (*GetV1TeamsParams) SetPage

func (o *GetV1TeamsParams) SetPage(page *int32)

SetPage adds the page to the get v1 teams params

func (*GetV1TeamsParams) SetPerPage

func (o *GetV1TeamsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 teams params

func (*GetV1TeamsParams) SetQuery

func (o *GetV1TeamsParams) SetQuery(query *string)

SetQuery adds the query to the get v1 teams params

func (*GetV1TeamsParams) SetServices

func (o *GetV1TeamsParams) SetServices(services *string)

SetServices adds the services to the get v1 teams params

func (*GetV1TeamsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 teams params

func (*GetV1TeamsParams) WithContext

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

WithContext adds the context to the get v1 teams params

func (*GetV1TeamsParams) WithDefaultIncidentRole

func (o *GetV1TeamsParams) WithDefaultIncidentRole(defaultIncidentRole *string) *GetV1TeamsParams

WithDefaultIncidentRole adds the defaultIncidentRole to the get v1 teams params

func (*GetV1TeamsParams) WithDefaults

func (o *GetV1TeamsParams) WithDefaults() *GetV1TeamsParams

WithDefaults hydrates default values in the get v1 teams params (not the query body).

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

func (*GetV1TeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 teams params

func (*GetV1TeamsParams) WithLite

func (o *GetV1TeamsParams) WithLite(lite *bool) *GetV1TeamsParams

WithLite adds the lite to the get v1 teams params

func (*GetV1TeamsParams) WithName

func (o *GetV1TeamsParams) WithName(name *string) *GetV1TeamsParams

WithName adds the name to the get v1 teams params

func (*GetV1TeamsParams) WithPage

func (o *GetV1TeamsParams) WithPage(page *int32) *GetV1TeamsParams

WithPage adds the page to the get v1 teams params

func (*GetV1TeamsParams) WithPerPage

func (o *GetV1TeamsParams) WithPerPage(perPage *int32) *GetV1TeamsParams

WithPerPage adds the perPage to the get v1 teams params

func (*GetV1TeamsParams) WithQuery

func (o *GetV1TeamsParams) WithQuery(query *string) *GetV1TeamsParams

WithQuery adds the query to the get v1 teams params

func (*GetV1TeamsParams) WithServices

func (o *GetV1TeamsParams) WithServices(services *string) *GetV1TeamsParams

WithServices adds the services to the get v1 teams params

func (*GetV1TeamsParams) WithTimeout

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

WithTimeout adds the timeout to the get v1 teams params

func (*GetV1TeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetV1TeamsReader

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

GetV1TeamsReader is a Reader for the GetV1Teams structure.

func (*GetV1TeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDEscalationPoliciesIDOK

type GetV1TeamsTeamIDEscalationPoliciesIDOK struct {
}

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

Get a Signals escalation policy by ID

func NewGetV1TeamsTeamIDEscalationPoliciesIDOK

func NewGetV1TeamsTeamIDEscalationPoliciesIDOK() *GetV1TeamsTeamIDEscalationPoliciesIDOK

NewGetV1TeamsTeamIDEscalationPoliciesIDOK creates a GetV1TeamsTeamIDEscalationPoliciesIDOK with default headers values

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) Error

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) IsClientError

func (o *GetV1TeamsTeamIDEscalationPoliciesIDOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id escalation policies Id o k response has a 4xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) IsCode

IsCode returns true when this get v1 teams team Id escalation policies Id o k response a status code equal to that given

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) IsRedirect

IsRedirect returns true when this get v1 teams team Id escalation policies Id o k response has a 3xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) IsServerError

func (o *GetV1TeamsTeamIDEscalationPoliciesIDOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id escalation policies Id o k response has a 5xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) IsSuccess

IsSuccess returns true when this get v1 teams team Id escalation policies Id o k response has a 2xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesIDOK) String

type GetV1TeamsTeamIDEscalationPoliciesIDParams

type GetV1TeamsTeamIDEscalationPoliciesIDParams struct {

	/* ID.

	   The ID of the escalation policy you want to manage.
	*/
	ID string

	/* TeamID.

	   The ID of the team for which you want to manage Signals escalation policies.
	*/
	TeamID string

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

GetV1TeamsTeamIDEscalationPoliciesIDParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id escalation policies Id operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDEscalationPoliciesIDParams

func NewGetV1TeamsTeamIDEscalationPoliciesIDParams() *GetV1TeamsTeamIDEscalationPoliciesIDParams

NewGetV1TeamsTeamIDEscalationPoliciesIDParams creates a new GetV1TeamsTeamIDEscalationPoliciesIDParams 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 NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithContext

func NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDEscalationPoliciesIDParams

NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithContext creates a new GetV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient

func NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDEscalationPoliciesIDParams

NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient creates a new GetV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout

func NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDEscalationPoliciesIDParams

NewGetV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout creates a new GetV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetContext

SetContext adds the context to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 teams team Id escalation policies Id params (not the query body).

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

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetID

SetID adds the id to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetTeamID

SetTeamID adds the teamId to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithContext

WithContext adds the context to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id escalation policies Id params (not the query body).

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

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithID

WithID adds the id to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id escalation policies Id params

func (*GetV1TeamsTeamIDEscalationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDEscalationPoliciesIDReader

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

GetV1TeamsTeamIDEscalationPoliciesIDReader is a Reader for the GetV1TeamsTeamIDEscalationPoliciesID structure.

func (*GetV1TeamsTeamIDEscalationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDEscalationPoliciesOK

type GetV1TeamsTeamIDEscalationPoliciesOK struct {
}

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

List all Signals escalation policies for a team.

func NewGetV1TeamsTeamIDEscalationPoliciesOK

func NewGetV1TeamsTeamIDEscalationPoliciesOK() *GetV1TeamsTeamIDEscalationPoliciesOK

NewGetV1TeamsTeamIDEscalationPoliciesOK creates a GetV1TeamsTeamIDEscalationPoliciesOK with default headers values

func (*GetV1TeamsTeamIDEscalationPoliciesOK) Error

func (*GetV1TeamsTeamIDEscalationPoliciesOK) IsClientError

func (o *GetV1TeamsTeamIDEscalationPoliciesOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id escalation policies o k response has a 4xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesOK) IsCode

IsCode returns true when this get v1 teams team Id escalation policies o k response a status code equal to that given

func (*GetV1TeamsTeamIDEscalationPoliciesOK) IsRedirect

IsRedirect returns true when this get v1 teams team Id escalation policies o k response has a 3xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesOK) IsServerError

func (o *GetV1TeamsTeamIDEscalationPoliciesOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id escalation policies o k response has a 5xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesOK) IsSuccess

IsSuccess returns true when this get v1 teams team Id escalation policies o k response has a 2xx status code

func (*GetV1TeamsTeamIDEscalationPoliciesOK) String

type GetV1TeamsTeamIDEscalationPoliciesParams

type GetV1TeamsTeamIDEscalationPoliciesParams struct {

	/* TeamID.

	   The ID of the team for which you want to manage Signals escalation policies.
	*/
	TeamID string

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

GetV1TeamsTeamIDEscalationPoliciesParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id escalation policies operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDEscalationPoliciesParams

func NewGetV1TeamsTeamIDEscalationPoliciesParams() *GetV1TeamsTeamIDEscalationPoliciesParams

NewGetV1TeamsTeamIDEscalationPoliciesParams creates a new GetV1TeamsTeamIDEscalationPoliciesParams 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 NewGetV1TeamsTeamIDEscalationPoliciesParamsWithContext

func NewGetV1TeamsTeamIDEscalationPoliciesParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDEscalationPoliciesParams

NewGetV1TeamsTeamIDEscalationPoliciesParamsWithContext creates a new GetV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient

func NewGetV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDEscalationPoliciesParams

NewGetV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient creates a new GetV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDEscalationPoliciesParamsWithTimeout

func NewGetV1TeamsTeamIDEscalationPoliciesParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDEscalationPoliciesParams

NewGetV1TeamsTeamIDEscalationPoliciesParamsWithTimeout creates a new GetV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDEscalationPoliciesParams) SetContext

SetContext adds the context to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) SetDefaults

SetDefaults hydrates default values in the get v1 teams team Id escalation policies params (not the query body).

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

func (*GetV1TeamsTeamIDEscalationPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) SetTeamID

func (o *GetV1TeamsTeamIDEscalationPoliciesParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) SetTimeout

SetTimeout adds the timeout to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WithContext

WithContext adds the context to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id escalation policies params (not the query body).

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

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id escalation policies params

func (*GetV1TeamsTeamIDEscalationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDEscalationPoliciesReader

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

GetV1TeamsTeamIDEscalationPoliciesReader is a Reader for the GetV1TeamsTeamIDEscalationPolicies structure.

func (*GetV1TeamsTeamIDEscalationPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDOK

type GetV1TeamsTeamIDOK struct {
	Payload *models.TeamEntity
}

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

Retrieve a single team from its ID

func NewGetV1TeamsTeamIDOK

func NewGetV1TeamsTeamIDOK() *GetV1TeamsTeamIDOK

NewGetV1TeamsTeamIDOK creates a GetV1TeamsTeamIDOK with default headers values

func (*GetV1TeamsTeamIDOK) Error

func (o *GetV1TeamsTeamIDOK) Error() string

func (*GetV1TeamsTeamIDOK) GetPayload

func (o *GetV1TeamsTeamIDOK) GetPayload() *models.TeamEntity

func (*GetV1TeamsTeamIDOK) IsClientError

func (o *GetV1TeamsTeamIDOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id o k response has a 4xx status code

func (*GetV1TeamsTeamIDOK) IsCode

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

IsCode returns true when this get v1 teams team Id o k response a status code equal to that given

func (*GetV1TeamsTeamIDOK) IsRedirect

func (o *GetV1TeamsTeamIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 teams team Id o k response has a 3xx status code

func (*GetV1TeamsTeamIDOK) IsServerError

func (o *GetV1TeamsTeamIDOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id o k response has a 5xx status code

func (*GetV1TeamsTeamIDOK) IsSuccess

func (o *GetV1TeamsTeamIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 teams team Id o k response has a 2xx status code

func (*GetV1TeamsTeamIDOK) String

func (o *GetV1TeamsTeamIDOK) String() string

type GetV1TeamsTeamIDOnCallSchedulesOK

type GetV1TeamsTeamIDOnCallSchedulesOK struct {
}

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

List all Signals on-call schedules for a team.

func NewGetV1TeamsTeamIDOnCallSchedulesOK

func NewGetV1TeamsTeamIDOnCallSchedulesOK() *GetV1TeamsTeamIDOnCallSchedulesOK

NewGetV1TeamsTeamIDOnCallSchedulesOK creates a GetV1TeamsTeamIDOnCallSchedulesOK with default headers values

func (*GetV1TeamsTeamIDOnCallSchedulesOK) Error

func (*GetV1TeamsTeamIDOnCallSchedulesOK) IsClientError

func (o *GetV1TeamsTeamIDOnCallSchedulesOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id on call schedules o k response has a 4xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesOK) IsCode

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

IsCode returns true when this get v1 teams team Id on call schedules o k response a status code equal to that given

func (*GetV1TeamsTeamIDOnCallSchedulesOK) IsRedirect

func (o *GetV1TeamsTeamIDOnCallSchedulesOK) IsRedirect() bool

IsRedirect returns true when this get v1 teams team Id on call schedules o k response has a 3xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesOK) IsServerError

func (o *GetV1TeamsTeamIDOnCallSchedulesOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id on call schedules o k response has a 5xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesOK) IsSuccess

func (o *GetV1TeamsTeamIDOnCallSchedulesOK) IsSuccess() bool

IsSuccess returns true when this get v1 teams team Id on call schedules o k response has a 2xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesOK) String

type GetV1TeamsTeamIDOnCallSchedulesParams

type GetV1TeamsTeamIDOnCallSchedulesParams struct {

	/* TeamID.

	   The ID of the team for which you want to manage Signals on-call schedules.
	*/
	TeamID string

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

GetV1TeamsTeamIDOnCallSchedulesParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id on call schedules operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDOnCallSchedulesParams

func NewGetV1TeamsTeamIDOnCallSchedulesParams() *GetV1TeamsTeamIDOnCallSchedulesParams

NewGetV1TeamsTeamIDOnCallSchedulesParams creates a new GetV1TeamsTeamIDOnCallSchedulesParams 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 NewGetV1TeamsTeamIDOnCallSchedulesParamsWithContext

func NewGetV1TeamsTeamIDOnCallSchedulesParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDOnCallSchedulesParams

NewGetV1TeamsTeamIDOnCallSchedulesParamsWithContext creates a new GetV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient

func NewGetV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDOnCallSchedulesParams

NewGetV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient creates a new GetV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesParamsWithTimeout

func NewGetV1TeamsTeamIDOnCallSchedulesParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDOnCallSchedulesParams

NewGetV1TeamsTeamIDOnCallSchedulesParamsWithTimeout creates a new GetV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDOnCallSchedulesParams) SetContext

SetContext adds the context to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) SetDefaults

func (o *GetV1TeamsTeamIDOnCallSchedulesParams) SetDefaults()

SetDefaults hydrates default values in the get v1 teams team Id on call schedules params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) SetTeamID

func (o *GetV1TeamsTeamIDOnCallSchedulesParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WithContext

WithContext adds the context to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id on call schedules params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id on call schedules params

func (*GetV1TeamsTeamIDOnCallSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDOnCallSchedulesReader

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

GetV1TeamsTeamIDOnCallSchedulesReader is a Reader for the GetV1TeamsTeamIDOnCallSchedules structure.

func (*GetV1TeamsTeamIDOnCallSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK struct {
}

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

Get a Signals on-call schedule by ID

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDOK

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDOK() *GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDOK creates a GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK with default headers values

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) Error

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsClientError

IsClientError returns true when this get v1 teams team Id on call schedules schedule Id o k response has a 4xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsCode

IsCode returns true when this get v1 teams team Id on call schedules schedule Id o k response a status code equal to that given

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsRedirect

IsRedirect returns true when this get v1 teams team Id on call schedules schedule Id o k response has a 3xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsServerError

IsServerError returns true when this get v1 teams team Id on call schedules schedule Id o k response has a 5xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsSuccess

IsSuccess returns true when this get v1 teams team Id on call schedules schedule Id o k response has a 2xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDOK) String

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams struct {

	/* ScheduleID.

	   The ID of the on-call schedule you want to manage.
	*/
	ScheduleID string

	/* TeamID.

	   The ID of the team for which you want to manage Signals on-call schedules.
	*/
	TeamID string

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

GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id on call schedules schedule Id operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParams() *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParams creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams 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 NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetContext

SetContext adds the context to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID

func (o *GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID(scheduleID string)

SetScheduleID adds the scheduleId to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTeamID

SetTeamID adds the teamId to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithContext

WithContext adds the context to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id on call schedules schedule Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDReader

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

GetV1TeamsTeamIDOnCallSchedulesScheduleIDReader is a Reader for the GetV1TeamsTeamIDOnCallSchedulesScheduleID structure.

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK struct {
}

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

Get a Signals on-call shift by ID

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK() *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK creates a GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK with default headers values

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) Error

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsClientError

IsClientError returns true when this get v1 teams team Id on call schedules schedule Id shifts Id o k response has a 4xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsCode

IsCode returns true when this get v1 teams team Id on call schedules schedule Id shifts Id o k response a status code equal to that given

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsRedirect

IsRedirect returns true when this get v1 teams team Id on call schedules schedule Id shifts Id o k response has a 3xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsServerError

IsServerError returns true when this get v1 teams team Id on call schedules schedule Id shifts Id o k response has a 5xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsSuccess

IsSuccess returns true when this get v1 teams team Id on call schedules schedule Id shifts Id o k response has a 2xx status code

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) String

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams struct {

	/* ID.

	   The ID of the on-call shift you want to manage.
	*/
	ID string

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	// TeamID.
	//
	// Format: int32
	TeamID int32

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

GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id on call schedules schedule Id shifts Id operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams() *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams 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 NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout

func NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewGetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout creates a new GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetContext

SetContext adds the context to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetID

SetID adds the id to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetScheduleID

SetScheduleID adds the scheduleId to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTeamID

SetTeamID adds the teamId to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithContext

WithContext adds the context to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithID

WithID adds the id to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id on call schedules schedule Id shifts Id params

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader

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

GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader is a Reader for the GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID structure.

func (*GetV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDParams

type GetV1TeamsTeamIDParams struct {

	/* Lite.

	   Boolean to determine whether to return a slimified version of the teams object
	*/
	Lite *bool

	// TeamID.
	TeamID string

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

GetV1TeamsTeamIDParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDParams

func NewGetV1TeamsTeamIDParams() *GetV1TeamsTeamIDParams

NewGetV1TeamsTeamIDParams creates a new GetV1TeamsTeamIDParams 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 NewGetV1TeamsTeamIDParamsWithContext

func NewGetV1TeamsTeamIDParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDParams

NewGetV1TeamsTeamIDParamsWithContext creates a new GetV1TeamsTeamIDParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDParamsWithHTTPClient

func NewGetV1TeamsTeamIDParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDParams

NewGetV1TeamsTeamIDParamsWithHTTPClient creates a new GetV1TeamsTeamIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDParamsWithTimeout

func NewGetV1TeamsTeamIDParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDParams

NewGetV1TeamsTeamIDParamsWithTimeout creates a new GetV1TeamsTeamIDParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDParams) SetContext

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

SetContext adds the context to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) SetDefaults

func (o *GetV1TeamsTeamIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 teams team Id params (not the query body).

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

func (*GetV1TeamsTeamIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) SetLite

func (o *GetV1TeamsTeamIDParams) SetLite(lite *bool)

SetLite adds the lite to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) SetTeamID

func (o *GetV1TeamsTeamIDParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WithContext

WithContext adds the context to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id params (not the query body).

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

func (*GetV1TeamsTeamIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WithLite

WithLite adds the lite to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WithTeamID

func (o *GetV1TeamsTeamIDParams) WithTeamID(teamID string) *GetV1TeamsTeamIDParams

WithTeamID adds the teamID to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id params

func (*GetV1TeamsTeamIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDReader

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

GetV1TeamsTeamIDReader is a Reader for the GetV1TeamsTeamID structure.

func (*GetV1TeamsTeamIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDSignalRulesIDOK

type GetV1TeamsTeamIDSignalRulesIDOK struct {
}

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

Get a Signals rule by ID.

func NewGetV1TeamsTeamIDSignalRulesIDOK

func NewGetV1TeamsTeamIDSignalRulesIDOK() *GetV1TeamsTeamIDSignalRulesIDOK

NewGetV1TeamsTeamIDSignalRulesIDOK creates a GetV1TeamsTeamIDSignalRulesIDOK with default headers values

func (*GetV1TeamsTeamIDSignalRulesIDOK) Error

func (*GetV1TeamsTeamIDSignalRulesIDOK) IsClientError

func (o *GetV1TeamsTeamIDSignalRulesIDOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id signal rules Id o k response has a 4xx status code

func (*GetV1TeamsTeamIDSignalRulesIDOK) IsCode

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

IsCode returns true when this get v1 teams team Id signal rules Id o k response a status code equal to that given

func (*GetV1TeamsTeamIDSignalRulesIDOK) IsRedirect

func (o *GetV1TeamsTeamIDSignalRulesIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 teams team Id signal rules Id o k response has a 3xx status code

func (*GetV1TeamsTeamIDSignalRulesIDOK) IsServerError

func (o *GetV1TeamsTeamIDSignalRulesIDOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id signal rules Id o k response has a 5xx status code

func (*GetV1TeamsTeamIDSignalRulesIDOK) IsSuccess

func (o *GetV1TeamsTeamIDSignalRulesIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 teams team Id signal rules Id o k response has a 2xx status code

func (*GetV1TeamsTeamIDSignalRulesIDOK) String

type GetV1TeamsTeamIDSignalRulesIDParams

type GetV1TeamsTeamIDSignalRulesIDParams struct {

	/* ID.

	   The ID of the rule you want to manage.
	*/
	ID string

	/* TeamID.

	   The ID of the team for which you want to manage Signals rules.
	*/
	TeamID string

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

GetV1TeamsTeamIDSignalRulesIDParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id signal rules Id operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDSignalRulesIDParams

func NewGetV1TeamsTeamIDSignalRulesIDParams() *GetV1TeamsTeamIDSignalRulesIDParams

NewGetV1TeamsTeamIDSignalRulesIDParams creates a new GetV1TeamsTeamIDSignalRulesIDParams 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 NewGetV1TeamsTeamIDSignalRulesIDParamsWithContext

func NewGetV1TeamsTeamIDSignalRulesIDParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDSignalRulesIDParams

NewGetV1TeamsTeamIDSignalRulesIDParamsWithContext creates a new GetV1TeamsTeamIDSignalRulesIDParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient

func NewGetV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDSignalRulesIDParams

NewGetV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient creates a new GetV1TeamsTeamIDSignalRulesIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDSignalRulesIDParamsWithTimeout

func NewGetV1TeamsTeamIDSignalRulesIDParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDSignalRulesIDParams

NewGetV1TeamsTeamIDSignalRulesIDParamsWithTimeout creates a new GetV1TeamsTeamIDSignalRulesIDParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetContext

SetContext adds the context to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetDefaults

func (o *GetV1TeamsTeamIDSignalRulesIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 teams team Id signal rules Id params (not the query body).

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

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetID

SetID adds the id to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetTeamID

func (o *GetV1TeamsTeamIDSignalRulesIDParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithContext

WithContext adds the context to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id signal rules Id params (not the query body).

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

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithID

WithID adds the id to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id signal rules Id params

func (*GetV1TeamsTeamIDSignalRulesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDSignalRulesIDReader

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

GetV1TeamsTeamIDSignalRulesIDReader is a Reader for the GetV1TeamsTeamIDSignalRulesID structure.

func (*GetV1TeamsTeamIDSignalRulesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TeamsTeamIDSignalRulesOK

type GetV1TeamsTeamIDSignalRulesOK struct {
}

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

List all Signals rules for a team.

func NewGetV1TeamsTeamIDSignalRulesOK

func NewGetV1TeamsTeamIDSignalRulesOK() *GetV1TeamsTeamIDSignalRulesOK

NewGetV1TeamsTeamIDSignalRulesOK creates a GetV1TeamsTeamIDSignalRulesOK with default headers values

func (*GetV1TeamsTeamIDSignalRulesOK) Error

func (*GetV1TeamsTeamIDSignalRulesOK) IsClientError

func (o *GetV1TeamsTeamIDSignalRulesOK) IsClientError() bool

IsClientError returns true when this get v1 teams team Id signal rules o k response has a 4xx status code

func (*GetV1TeamsTeamIDSignalRulesOK) IsCode

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

IsCode returns true when this get v1 teams team Id signal rules o k response a status code equal to that given

func (*GetV1TeamsTeamIDSignalRulesOK) IsRedirect

func (o *GetV1TeamsTeamIDSignalRulesOK) IsRedirect() bool

IsRedirect returns true when this get v1 teams team Id signal rules o k response has a 3xx status code

func (*GetV1TeamsTeamIDSignalRulesOK) IsServerError

func (o *GetV1TeamsTeamIDSignalRulesOK) IsServerError() bool

IsServerError returns true when this get v1 teams team Id signal rules o k response has a 5xx status code

func (*GetV1TeamsTeamIDSignalRulesOK) IsSuccess

func (o *GetV1TeamsTeamIDSignalRulesOK) IsSuccess() bool

IsSuccess returns true when this get v1 teams team Id signal rules o k response has a 2xx status code

func (*GetV1TeamsTeamIDSignalRulesOK) String

type GetV1TeamsTeamIDSignalRulesParams

type GetV1TeamsTeamIDSignalRulesParams struct {

	/* TeamID.

	   The ID of the team for which you want to manage Signals rules.
	*/
	TeamID string

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

GetV1TeamsTeamIDSignalRulesParams contains all the parameters to send to the API endpoint

for the get v1 teams team Id signal rules operation.

Typically these are written to a http.Request.

func NewGetV1TeamsTeamIDSignalRulesParams

func NewGetV1TeamsTeamIDSignalRulesParams() *GetV1TeamsTeamIDSignalRulesParams

NewGetV1TeamsTeamIDSignalRulesParams creates a new GetV1TeamsTeamIDSignalRulesParams 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 NewGetV1TeamsTeamIDSignalRulesParamsWithContext

func NewGetV1TeamsTeamIDSignalRulesParamsWithContext(ctx context.Context) *GetV1TeamsTeamIDSignalRulesParams

NewGetV1TeamsTeamIDSignalRulesParamsWithContext creates a new GetV1TeamsTeamIDSignalRulesParams object with the ability to set a context for a request.

func NewGetV1TeamsTeamIDSignalRulesParamsWithHTTPClient

func NewGetV1TeamsTeamIDSignalRulesParamsWithHTTPClient(client *http.Client) *GetV1TeamsTeamIDSignalRulesParams

NewGetV1TeamsTeamIDSignalRulesParamsWithHTTPClient creates a new GetV1TeamsTeamIDSignalRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1TeamsTeamIDSignalRulesParamsWithTimeout

func NewGetV1TeamsTeamIDSignalRulesParamsWithTimeout(timeout time.Duration) *GetV1TeamsTeamIDSignalRulesParams

NewGetV1TeamsTeamIDSignalRulesParamsWithTimeout creates a new GetV1TeamsTeamIDSignalRulesParams object with the ability to set a timeout on a request.

func (*GetV1TeamsTeamIDSignalRulesParams) SetContext

SetContext adds the context to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) SetDefaults

func (o *GetV1TeamsTeamIDSignalRulesParams) SetDefaults()

SetDefaults hydrates default values in the get v1 teams team Id signal rules params (not the query body).

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

func (*GetV1TeamsTeamIDSignalRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) SetTeamID

func (o *GetV1TeamsTeamIDSignalRulesParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) WithContext

WithContext adds the context to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) WithDefaults

WithDefaults hydrates default values in the get v1 teams team Id signal rules params (not the query body).

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

func (*GetV1TeamsTeamIDSignalRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) WithTeamID

WithTeamID adds the teamID to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) WithTimeout

WithTimeout adds the timeout to the get v1 teams team Id signal rules params

func (*GetV1TeamsTeamIDSignalRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TeamsTeamIDSignalRulesReader

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

GetV1TeamsTeamIDSignalRulesReader is a Reader for the GetV1TeamsTeamIDSignalRules structure.

func (*GetV1TeamsTeamIDSignalRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1TeamsTeamIDEscalationPoliciesIDOK

type PatchV1TeamsTeamIDEscalationPoliciesIDOK struct {
}

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

Update a Signals escalation policy by ID

func NewPatchV1TeamsTeamIDEscalationPoliciesIDOK

func NewPatchV1TeamsTeamIDEscalationPoliciesIDOK() *PatchV1TeamsTeamIDEscalationPoliciesIDOK

NewPatchV1TeamsTeamIDEscalationPoliciesIDOK creates a PatchV1TeamsTeamIDEscalationPoliciesIDOK with default headers values

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) Error

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) IsClientError

IsClientError returns true when this patch v1 teams team Id escalation policies Id o k response has a 4xx status code

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) IsCode

IsCode returns true when this patch v1 teams team Id escalation policies Id o k response a status code equal to that given

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) IsRedirect

IsRedirect returns true when this patch v1 teams team Id escalation policies Id o k response has a 3xx status code

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) IsServerError

IsServerError returns true when this patch v1 teams team Id escalation policies Id o k response has a 5xx status code

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) IsSuccess

IsSuccess returns true when this patch v1 teams team Id escalation policies Id o k response has a 2xx status code

func (*PatchV1TeamsTeamIDEscalationPoliciesIDOK) String

type PatchV1TeamsTeamIDEscalationPoliciesIDParams

type PatchV1TeamsTeamIDEscalationPoliciesIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	// PatchV1TeamsTeamIDEscalationPoliciesID.
	PatchV1TeamsTeamIDEscalationPoliciesID *models.PatchV1TeamsTeamIDEscalationPoliciesID

	/* TeamID.

	   The ID of the team for which you want to manage Signals escalation policies.
	*/
	TeamID string

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

PatchV1TeamsTeamIDEscalationPoliciesIDParams contains all the parameters to send to the API endpoint

for the patch v1 teams team Id escalation policies Id operation.

Typically these are written to a http.Request.

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParams

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParams() *PatchV1TeamsTeamIDEscalationPoliciesIDParams

NewPatchV1TeamsTeamIDEscalationPoliciesIDParams creates a new PatchV1TeamsTeamIDEscalationPoliciesIDParams 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 NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithContext

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithContext(ctx context.Context) *PatchV1TeamsTeamIDEscalationPoliciesIDParams

NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithContext creates a new PatchV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a context for a request.

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient(client *http.Client) *PatchV1TeamsTeamIDEscalationPoliciesIDParams

NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithHTTPClient creates a new PatchV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout

func NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout(timeout time.Duration) *PatchV1TeamsTeamIDEscalationPoliciesIDParams

NewPatchV1TeamsTeamIDEscalationPoliciesIDParamsWithTimeout creates a new PatchV1TeamsTeamIDEscalationPoliciesIDParams object with the ability to set a timeout on a request.

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetContext

SetContext adds the context to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 teams team Id escalation policies Id params (not the query body).

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

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetID

SetID adds the id to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetPatchV1TeamsTeamIDEscalationPoliciesID

func (o *PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetPatchV1TeamsTeamIDEscalationPoliciesID(patchV1TeamsTeamIDEscalationPoliciesID *models.PatchV1TeamsTeamIDEscalationPoliciesID)

SetPatchV1TeamsTeamIDEscalationPoliciesID adds the patchV1TeamsTeamIdEscalationPoliciesId to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetTeamID

SetTeamID adds the teamId to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithContext

WithContext adds the context to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 teams team Id escalation policies Id params (not the query body).

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

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithID

WithID adds the id to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithPatchV1TeamsTeamIDEscalationPoliciesID

func (o *PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithPatchV1TeamsTeamIDEscalationPoliciesID(patchV1TeamsTeamIDEscalationPoliciesID *models.PatchV1TeamsTeamIDEscalationPoliciesID) *PatchV1TeamsTeamIDEscalationPoliciesIDParams

WithPatchV1TeamsTeamIDEscalationPoliciesID adds the patchV1TeamsTeamIDEscalationPoliciesID to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithTeamID

WithTeamID adds the teamID to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 teams team Id escalation policies Id params

func (*PatchV1TeamsTeamIDEscalationPoliciesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1TeamsTeamIDEscalationPoliciesIDReader

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

PatchV1TeamsTeamIDEscalationPoliciesIDReader is a Reader for the PatchV1TeamsTeamIDEscalationPoliciesID structure.

func (*PatchV1TeamsTeamIDEscalationPoliciesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1TeamsTeamIDOK

type PatchV1TeamsTeamIDOK struct {
	Payload *models.TeamEntity
}

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

Update a single team from its ID

func NewPatchV1TeamsTeamIDOK

func NewPatchV1TeamsTeamIDOK() *PatchV1TeamsTeamIDOK

NewPatchV1TeamsTeamIDOK creates a PatchV1TeamsTeamIDOK with default headers values

func (*PatchV1TeamsTeamIDOK) Error

func (o *PatchV1TeamsTeamIDOK) Error() string

func (*PatchV1TeamsTeamIDOK) GetPayload

func (o *PatchV1TeamsTeamIDOK) GetPayload() *models.TeamEntity

func (*PatchV1TeamsTeamIDOK) IsClientError

func (o *PatchV1TeamsTeamIDOK) IsClientError() bool

IsClientError returns true when this patch v1 teams team Id o k response has a 4xx status code

func (*PatchV1TeamsTeamIDOK) IsCode

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

IsCode returns true when this patch v1 teams team Id o k response a status code equal to that given

func (*PatchV1TeamsTeamIDOK) IsRedirect

func (o *PatchV1TeamsTeamIDOK) IsRedirect() bool

IsRedirect returns true when this patch v1 teams team Id o k response has a 3xx status code

func (*PatchV1TeamsTeamIDOK) IsServerError

func (o *PatchV1TeamsTeamIDOK) IsServerError() bool

IsServerError returns true when this patch v1 teams team Id o k response has a 5xx status code

func (*PatchV1TeamsTeamIDOK) IsSuccess

func (o *PatchV1TeamsTeamIDOK) IsSuccess() bool

IsSuccess returns true when this patch v1 teams team Id o k response has a 2xx status code

func (*PatchV1TeamsTeamIDOK) String

func (o *PatchV1TeamsTeamIDOK) String() string

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK struct {
}

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

Update a Signals on-call schedule by ID

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK() *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK creates a PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK with default headers values

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) Error

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsClientError

IsClientError returns true when this patch v1 teams team Id on call schedules schedule Id o k response has a 4xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsCode

IsCode returns true when this patch v1 teams team Id on call schedules schedule Id o k response a status code equal to that given

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsRedirect

IsRedirect returns true when this patch v1 teams team Id on call schedules schedule Id o k response has a 3xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsServerError

IsServerError returns true when this patch v1 teams team Id on call schedules schedule Id o k response has a 5xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) IsSuccess

IsSuccess returns true when this patch v1 teams team Id on call schedules schedule Id o k response has a 2xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDOK) String

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams struct {

	// PatchV1TeamsTeamIDOnCallSchedulesScheduleID.
	PatchV1TeamsTeamIDOnCallSchedulesScheduleID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleID

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	/* TeamID.

	   The ID of the team for which you want to manage Signals on-call schedules.
	*/
	TeamID string

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

PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams contains all the parameters to send to the API endpoint

for the patch v1 teams team Id on call schedules schedule Id operation.

Typically these are written to a http.Request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams() *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams 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 NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext(ctx context.Context) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithContext creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a context for a request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient(client *http.Client) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithHTTPClient creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout(timeout time.Duration) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDParamsWithTimeout creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams object with the ability to set a timeout on a request.

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetContext

SetContext adds the context to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetPatchV1TeamsTeamIDOnCallSchedulesScheduleID

func (o *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetPatchV1TeamsTeamIDOnCallSchedulesScheduleID(patchV1TeamsTeamIDOnCallSchedulesScheduleID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleID)

SetPatchV1TeamsTeamIDOnCallSchedulesScheduleID adds the patchV1TeamsTeamIdOnCallSchedulesScheduleId to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID

func (o *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetScheduleID(scheduleID int32)

SetScheduleID adds the scheduleId to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTeamID

SetTeamID adds the teamId to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithContext

WithContext adds the context to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 teams team Id on call schedules schedule Id params (not the query body).

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

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithPatchV1TeamsTeamIDOnCallSchedulesScheduleID

func (o *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithPatchV1TeamsTeamIDOnCallSchedulesScheduleID(patchV1TeamsTeamIDOnCallSchedulesScheduleID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleID) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams

WithPatchV1TeamsTeamIDOnCallSchedulesScheduleID adds the patchV1TeamsTeamIDOnCallSchedulesScheduleID to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTeamID

WithTeamID adds the teamID to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 teams team Id on call schedules schedule Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDReader

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

PatchV1TeamsTeamIDOnCallSchedulesScheduleIDReader is a Reader for the PatchV1TeamsTeamIDOnCallSchedulesScheduleID structure.

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK struct {
}

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

Update a Signals on-call shift by ID

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK() *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK creates a PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK with default headers values

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) Error

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsClientError

IsClientError returns true when this patch v1 teams team Id on call schedules schedule Id shifts Id o k response has a 4xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsCode

IsCode returns true when this patch v1 teams team Id on call schedules schedule Id shifts Id o k response a status code equal to that given

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsRedirect

IsRedirect returns true when this patch v1 teams team Id on call schedules schedule Id shifts Id o k response has a 3xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsServerError

IsServerError returns true when this patch v1 teams team Id on call schedules schedule Id shifts Id o k response has a 5xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) IsSuccess

IsSuccess returns true when this patch v1 teams team Id on call schedules schedule Id shifts Id o k response has a 2xx status code

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDOK) String

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	// PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID.
	PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	// TeamID.
	//
	// Format: int32
	TeamID int32

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

PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams contains all the parameters to send to the API endpoint

for the patch v1 teams team Id on call schedules schedule Id shifts Id operation.

Typically these are written to a http.Request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams() *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams 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 NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext(ctx context.Context) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithContext creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a context for a request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient(client *http.Client) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithHTTPClient creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout

func NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout(timeout time.Duration) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

NewPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParamsWithTimeout creates a new PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams object with the ability to set a timeout on a request.

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetContext

SetContext adds the context to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetID

SetID adds the id to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

func (o *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID(patchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID)

SetPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID adds the patchV1TeamsTeamIdOnCallSchedulesScheduleIdShiftsId to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetScheduleID

SetScheduleID adds the scheduleId to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTeamID

SetTeamID adds the teamId to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithContext

WithContext adds the context to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 teams team Id on call schedules schedule Id shifts Id params (not the query body).

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

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithID

WithID adds the id to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID

func (o *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID(patchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID *models.PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID) *PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams

WithPatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID adds the patchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithScheduleID

WithScheduleID adds the scheduleID to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTeamID

WithTeamID adds the teamID to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 teams team Id on call schedules schedule Id shifts Id params

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader

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

PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader is a Reader for the PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsID structure.

func (*PatchV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1TeamsTeamIDParams

type PatchV1TeamsTeamIDParams struct {

	// PatchV1TeamsTeamID.
	PatchV1TeamsTeamID *models.PatchV1TeamsTeamID

	// TeamID.
	//
	// Format: int32
	TeamID int32

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

PatchV1TeamsTeamIDParams contains all the parameters to send to the API endpoint

for the patch v1 teams team Id operation.

Typically these are written to a http.Request.

func NewPatchV1TeamsTeamIDParams

func NewPatchV1TeamsTeamIDParams() *PatchV1TeamsTeamIDParams

NewPatchV1TeamsTeamIDParams creates a new PatchV1TeamsTeamIDParams 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 NewPatchV1TeamsTeamIDParamsWithContext

func NewPatchV1TeamsTeamIDParamsWithContext(ctx context.Context) *PatchV1TeamsTeamIDParams

NewPatchV1TeamsTeamIDParamsWithContext creates a new PatchV1TeamsTeamIDParams object with the ability to set a context for a request.

func NewPatchV1TeamsTeamIDParamsWithHTTPClient

func NewPatchV1TeamsTeamIDParamsWithHTTPClient(client *http.Client) *PatchV1TeamsTeamIDParams

NewPatchV1TeamsTeamIDParamsWithHTTPClient creates a new PatchV1TeamsTeamIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1TeamsTeamIDParamsWithTimeout

func NewPatchV1TeamsTeamIDParamsWithTimeout(timeout time.Duration) *PatchV1TeamsTeamIDParams

NewPatchV1TeamsTeamIDParamsWithTimeout creates a new PatchV1TeamsTeamIDParams object with the ability to set a timeout on a request.

func (*PatchV1TeamsTeamIDParams) SetContext

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

SetContext adds the context to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) SetDefaults

func (o *PatchV1TeamsTeamIDParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 teams team Id params (not the query body).

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

func (*PatchV1TeamsTeamIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) SetPatchV1TeamsTeamID

func (o *PatchV1TeamsTeamIDParams) SetPatchV1TeamsTeamID(patchV1TeamsTeamID *models.PatchV1TeamsTeamID)

SetPatchV1TeamsTeamID adds the patchV1TeamsTeamId to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) SetTeamID

func (o *PatchV1TeamsTeamIDParams) SetTeamID(teamID int32)

SetTeamID adds the teamId to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WithContext

WithContext adds the context to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 teams team Id params (not the query body).

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

func (*PatchV1TeamsTeamIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WithPatchV1TeamsTeamID

func (o *PatchV1TeamsTeamIDParams) WithPatchV1TeamsTeamID(patchV1TeamsTeamID *models.PatchV1TeamsTeamID) *PatchV1TeamsTeamIDParams

WithPatchV1TeamsTeamID adds the patchV1TeamsTeamID to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WithTeamID

WithTeamID adds the teamID to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 teams team Id params

func (*PatchV1TeamsTeamIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1TeamsTeamIDReader

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

PatchV1TeamsTeamIDReader is a Reader for the PatchV1TeamsTeamID structure.

func (*PatchV1TeamsTeamIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1TeamsTeamIDSignalRulesIDOK

type PatchV1TeamsTeamIDSignalRulesIDOK struct {
}

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

Update a Signals rule by ID

func NewPatchV1TeamsTeamIDSignalRulesIDOK

func NewPatchV1TeamsTeamIDSignalRulesIDOK() *PatchV1TeamsTeamIDSignalRulesIDOK

NewPatchV1TeamsTeamIDSignalRulesIDOK creates a PatchV1TeamsTeamIDSignalRulesIDOK with default headers values

func (*PatchV1TeamsTeamIDSignalRulesIDOK) Error

func (*PatchV1TeamsTeamIDSignalRulesIDOK) IsClientError

func (o *PatchV1TeamsTeamIDSignalRulesIDOK) IsClientError() bool

IsClientError returns true when this patch v1 teams team Id signal rules Id o k response has a 4xx status code

func (*PatchV1TeamsTeamIDSignalRulesIDOK) IsCode

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

IsCode returns true when this patch v1 teams team Id signal rules Id o k response a status code equal to that given

func (*PatchV1TeamsTeamIDSignalRulesIDOK) IsRedirect

func (o *PatchV1TeamsTeamIDSignalRulesIDOK) IsRedirect() bool

IsRedirect returns true when this patch v1 teams team Id signal rules Id o k response has a 3xx status code

func (*PatchV1TeamsTeamIDSignalRulesIDOK) IsServerError

func (o *PatchV1TeamsTeamIDSignalRulesIDOK) IsServerError() bool

IsServerError returns true when this patch v1 teams team Id signal rules Id o k response has a 5xx status code

func (*PatchV1TeamsTeamIDSignalRulesIDOK) IsSuccess

func (o *PatchV1TeamsTeamIDSignalRulesIDOK) IsSuccess() bool

IsSuccess returns true when this patch v1 teams team Id signal rules Id o k response has a 2xx status code

func (*PatchV1TeamsTeamIDSignalRulesIDOK) String

type PatchV1TeamsTeamIDSignalRulesIDParams

type PatchV1TeamsTeamIDSignalRulesIDParams struct {

	// ID.
	//
	// Format: int32
	ID int32

	// PatchV1TeamsTeamIDSignalRulesID.
	PatchV1TeamsTeamIDSignalRulesID *models.PatchV1TeamsTeamIDSignalRulesID

	/* TeamID.

	   The ID of the team for which you want to manage Signals rules.
	*/
	TeamID string

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

PatchV1TeamsTeamIDSignalRulesIDParams contains all the parameters to send to the API endpoint

for the patch v1 teams team Id signal rules Id operation.

Typically these are written to a http.Request.

func NewPatchV1TeamsTeamIDSignalRulesIDParams

func NewPatchV1TeamsTeamIDSignalRulesIDParams() *PatchV1TeamsTeamIDSignalRulesIDParams

NewPatchV1TeamsTeamIDSignalRulesIDParams creates a new PatchV1TeamsTeamIDSignalRulesIDParams 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 NewPatchV1TeamsTeamIDSignalRulesIDParamsWithContext

func NewPatchV1TeamsTeamIDSignalRulesIDParamsWithContext(ctx context.Context) *PatchV1TeamsTeamIDSignalRulesIDParams

NewPatchV1TeamsTeamIDSignalRulesIDParamsWithContext creates a new PatchV1TeamsTeamIDSignalRulesIDParams object with the ability to set a context for a request.

func NewPatchV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient

func NewPatchV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient(client *http.Client) *PatchV1TeamsTeamIDSignalRulesIDParams

NewPatchV1TeamsTeamIDSignalRulesIDParamsWithHTTPClient creates a new PatchV1TeamsTeamIDSignalRulesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1TeamsTeamIDSignalRulesIDParamsWithTimeout

func NewPatchV1TeamsTeamIDSignalRulesIDParamsWithTimeout(timeout time.Duration) *PatchV1TeamsTeamIDSignalRulesIDParams

NewPatchV1TeamsTeamIDSignalRulesIDParamsWithTimeout creates a new PatchV1TeamsTeamIDSignalRulesIDParams object with the ability to set a timeout on a request.

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetContext

SetContext adds the context to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetDefaults

func (o *PatchV1TeamsTeamIDSignalRulesIDParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 teams team Id signal rules Id params (not the query body).

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

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetID

SetID adds the id to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetPatchV1TeamsTeamIDSignalRulesID

func (o *PatchV1TeamsTeamIDSignalRulesIDParams) SetPatchV1TeamsTeamIDSignalRulesID(patchV1TeamsTeamIDSignalRulesID *models.PatchV1TeamsTeamIDSignalRulesID)

SetPatchV1TeamsTeamIDSignalRulesID adds the patchV1TeamsTeamIdSignalRulesId to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetTeamID

func (o *PatchV1TeamsTeamIDSignalRulesIDParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithContext

WithContext adds the context to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 teams team Id signal rules Id params (not the query body).

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

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithID

WithID adds the id to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithPatchV1TeamsTeamIDSignalRulesID

func (o *PatchV1TeamsTeamIDSignalRulesIDParams) WithPatchV1TeamsTeamIDSignalRulesID(patchV1TeamsTeamIDSignalRulesID *models.PatchV1TeamsTeamIDSignalRulesID) *PatchV1TeamsTeamIDSignalRulesIDParams

WithPatchV1TeamsTeamIDSignalRulesID adds the patchV1TeamsTeamIDSignalRulesID to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithTeamID

WithTeamID adds the teamID to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 teams team Id signal rules Id params

func (*PatchV1TeamsTeamIDSignalRulesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1TeamsTeamIDSignalRulesIDReader

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

PatchV1TeamsTeamIDSignalRulesIDReader is a Reader for the PatchV1TeamsTeamIDSignalRulesID structure.

func (*PatchV1TeamsTeamIDSignalRulesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TeamsCreated

type PostV1TeamsCreated struct {
	Payload *models.TeamEntity
}

PostV1TeamsCreated describes a response with status code 201, with default header values.

Create a new team

func NewPostV1TeamsCreated

func NewPostV1TeamsCreated() *PostV1TeamsCreated

NewPostV1TeamsCreated creates a PostV1TeamsCreated with default headers values

func (*PostV1TeamsCreated) Error

func (o *PostV1TeamsCreated) Error() string

func (*PostV1TeamsCreated) GetPayload

func (o *PostV1TeamsCreated) GetPayload() *models.TeamEntity

func (*PostV1TeamsCreated) IsClientError

func (o *PostV1TeamsCreated) IsClientError() bool

IsClientError returns true when this post v1 teams created response has a 4xx status code

func (*PostV1TeamsCreated) IsCode

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

IsCode returns true when this post v1 teams created response a status code equal to that given

func (*PostV1TeamsCreated) IsRedirect

func (o *PostV1TeamsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 teams created response has a 3xx status code

func (*PostV1TeamsCreated) IsServerError

func (o *PostV1TeamsCreated) IsServerError() bool

IsServerError returns true when this post v1 teams created response has a 5xx status code

func (*PostV1TeamsCreated) IsSuccess

func (o *PostV1TeamsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 teams created response has a 2xx status code

func (*PostV1TeamsCreated) String

func (o *PostV1TeamsCreated) String() string

type PostV1TeamsParams

type PostV1TeamsParams struct {

	// PostV1Teams.
	PostV1Teams *models.PostV1Teams

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

PostV1TeamsParams contains all the parameters to send to the API endpoint

for the post v1 teams operation.

Typically these are written to a http.Request.

func NewPostV1TeamsParams

func NewPostV1TeamsParams() *PostV1TeamsParams

NewPostV1TeamsParams creates a new PostV1TeamsParams 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 NewPostV1TeamsParamsWithContext

func NewPostV1TeamsParamsWithContext(ctx context.Context) *PostV1TeamsParams

NewPostV1TeamsParamsWithContext creates a new PostV1TeamsParams object with the ability to set a context for a request.

func NewPostV1TeamsParamsWithHTTPClient

func NewPostV1TeamsParamsWithHTTPClient(client *http.Client) *PostV1TeamsParams

NewPostV1TeamsParamsWithHTTPClient creates a new PostV1TeamsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1TeamsParamsWithTimeout

func NewPostV1TeamsParamsWithTimeout(timeout time.Duration) *PostV1TeamsParams

NewPostV1TeamsParamsWithTimeout creates a new PostV1TeamsParams object with the ability to set a timeout on a request.

func (*PostV1TeamsParams) SetContext

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

SetContext adds the context to the post v1 teams params

func (*PostV1TeamsParams) SetDefaults

func (o *PostV1TeamsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 teams params (not the query body).

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

func (*PostV1TeamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 teams params

func (*PostV1TeamsParams) SetPostV1Teams

func (o *PostV1TeamsParams) SetPostV1Teams(postV1Teams *models.PostV1Teams)

SetPostV1Teams adds the postV1Teams to the post v1 teams params

func (*PostV1TeamsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 teams params

func (*PostV1TeamsParams) WithContext

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

WithContext adds the context to the post v1 teams params

func (*PostV1TeamsParams) WithDefaults

func (o *PostV1TeamsParams) WithDefaults() *PostV1TeamsParams

WithDefaults hydrates default values in the post v1 teams params (not the query body).

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

func (*PostV1TeamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post v1 teams params

func (*PostV1TeamsParams) WithPostV1Teams

func (o *PostV1TeamsParams) WithPostV1Teams(postV1Teams *models.PostV1Teams) *PostV1TeamsParams

WithPostV1Teams adds the postV1Teams to the post v1 teams params

func (*PostV1TeamsParams) WithTimeout

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

WithTimeout adds the timeout to the post v1 teams params

func (*PostV1TeamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostV1TeamsReader

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

PostV1TeamsReader is a Reader for the PostV1Teams structure.

func (*PostV1TeamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TeamsTeamIDEscalationPoliciesCreated

type PostV1TeamsTeamIDEscalationPoliciesCreated struct {
}

PostV1TeamsTeamIDEscalationPoliciesCreated describes a response with status code 201, with default header values.

Create a Signals escalation policy for a team.

func NewPostV1TeamsTeamIDEscalationPoliciesCreated

func NewPostV1TeamsTeamIDEscalationPoliciesCreated() *PostV1TeamsTeamIDEscalationPoliciesCreated

NewPostV1TeamsTeamIDEscalationPoliciesCreated creates a PostV1TeamsTeamIDEscalationPoliciesCreated with default headers values

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) Error

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) IsClientError

IsClientError returns true when this post v1 teams team Id escalation policies created response has a 4xx status code

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) IsCode

IsCode returns true when this post v1 teams team Id escalation policies created response a status code equal to that given

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) IsRedirect

IsRedirect returns true when this post v1 teams team Id escalation policies created response has a 3xx status code

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) IsServerError

IsServerError returns true when this post v1 teams team Id escalation policies created response has a 5xx status code

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) IsSuccess

IsSuccess returns true when this post v1 teams team Id escalation policies created response has a 2xx status code

func (*PostV1TeamsTeamIDEscalationPoliciesCreated) String

type PostV1TeamsTeamIDEscalationPoliciesParams

type PostV1TeamsTeamIDEscalationPoliciesParams struct {

	// PostV1TeamsTeamIDEscalationPolicies.
	PostV1TeamsTeamIDEscalationPolicies *models.PostV1TeamsTeamIDEscalationPolicies

	/* TeamID.

	   The ID of the team for which you want to manage Signals escalation policies.
	*/
	TeamID string

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

PostV1TeamsTeamIDEscalationPoliciesParams contains all the parameters to send to the API endpoint

for the post v1 teams team Id escalation policies operation.

Typically these are written to a http.Request.

func NewPostV1TeamsTeamIDEscalationPoliciesParams

func NewPostV1TeamsTeamIDEscalationPoliciesParams() *PostV1TeamsTeamIDEscalationPoliciesParams

NewPostV1TeamsTeamIDEscalationPoliciesParams creates a new PostV1TeamsTeamIDEscalationPoliciesParams 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 NewPostV1TeamsTeamIDEscalationPoliciesParamsWithContext

func NewPostV1TeamsTeamIDEscalationPoliciesParamsWithContext(ctx context.Context) *PostV1TeamsTeamIDEscalationPoliciesParams

NewPostV1TeamsTeamIDEscalationPoliciesParamsWithContext creates a new PostV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a context for a request.

func NewPostV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient

func NewPostV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient(client *http.Client) *PostV1TeamsTeamIDEscalationPoliciesParams

NewPostV1TeamsTeamIDEscalationPoliciesParamsWithHTTPClient creates a new PostV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1TeamsTeamIDEscalationPoliciesParamsWithTimeout

func NewPostV1TeamsTeamIDEscalationPoliciesParamsWithTimeout(timeout time.Duration) *PostV1TeamsTeamIDEscalationPoliciesParams

NewPostV1TeamsTeamIDEscalationPoliciesParamsWithTimeout creates a new PostV1TeamsTeamIDEscalationPoliciesParams object with the ability to set a timeout on a request.

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetContext

SetContext adds the context to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetDefaults

SetDefaults hydrates default values in the post v1 teams team Id escalation policies params (not the query body).

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

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetPostV1TeamsTeamIDEscalationPolicies

func (o *PostV1TeamsTeamIDEscalationPoliciesParams) SetPostV1TeamsTeamIDEscalationPolicies(postV1TeamsTeamIDEscalationPolicies *models.PostV1TeamsTeamIDEscalationPolicies)

SetPostV1TeamsTeamIDEscalationPolicies adds the postV1TeamsTeamIdEscalationPolicies to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetTeamID

SetTeamID adds the teamId to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) SetTimeout

SetTimeout adds the timeout to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithContext

WithContext adds the context to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithDefaults

WithDefaults hydrates default values in the post v1 teams team Id escalation policies params (not the query body).

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

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithPostV1TeamsTeamIDEscalationPolicies

func (o *PostV1TeamsTeamIDEscalationPoliciesParams) WithPostV1TeamsTeamIDEscalationPolicies(postV1TeamsTeamIDEscalationPolicies *models.PostV1TeamsTeamIDEscalationPolicies) *PostV1TeamsTeamIDEscalationPoliciesParams

WithPostV1TeamsTeamIDEscalationPolicies adds the postV1TeamsTeamIDEscalationPolicies to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithTeamID

WithTeamID adds the teamID to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the post v1 teams team Id escalation policies params

func (*PostV1TeamsTeamIDEscalationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1TeamsTeamIDEscalationPoliciesReader

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

PostV1TeamsTeamIDEscalationPoliciesReader is a Reader for the PostV1TeamsTeamIDEscalationPolicies structure.

func (*PostV1TeamsTeamIDEscalationPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TeamsTeamIDOnCallSchedulesCreated

type PostV1TeamsTeamIDOnCallSchedulesCreated struct {
}

PostV1TeamsTeamIDOnCallSchedulesCreated describes a response with status code 201, with default header values.

Create a Signals on-call schedule for a team.

func NewPostV1TeamsTeamIDOnCallSchedulesCreated

func NewPostV1TeamsTeamIDOnCallSchedulesCreated() *PostV1TeamsTeamIDOnCallSchedulesCreated

NewPostV1TeamsTeamIDOnCallSchedulesCreated creates a PostV1TeamsTeamIDOnCallSchedulesCreated with default headers values

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) Error

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) IsClientError

func (o *PostV1TeamsTeamIDOnCallSchedulesCreated) IsClientError() bool

IsClientError returns true when this post v1 teams team Id on call schedules created response has a 4xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) IsCode

IsCode returns true when this post v1 teams team Id on call schedules created response a status code equal to that given

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) IsRedirect

IsRedirect returns true when this post v1 teams team Id on call schedules created response has a 3xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) IsServerError

func (o *PostV1TeamsTeamIDOnCallSchedulesCreated) IsServerError() bool

IsServerError returns true when this post v1 teams team Id on call schedules created response has a 5xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) IsSuccess

IsSuccess returns true when this post v1 teams team Id on call schedules created response has a 2xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesCreated) String

type PostV1TeamsTeamIDOnCallSchedulesParams

type PostV1TeamsTeamIDOnCallSchedulesParams struct {

	// PostV1TeamsTeamIDOnCallSchedules.
	PostV1TeamsTeamIDOnCallSchedules *models.PostV1TeamsTeamIDOnCallSchedules

	/* TeamID.

	   The ID of the team for which you want to manage Signals on-call schedules.
	*/
	TeamID string

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

PostV1TeamsTeamIDOnCallSchedulesParams contains all the parameters to send to the API endpoint

for the post v1 teams team Id on call schedules operation.

Typically these are written to a http.Request.

func NewPostV1TeamsTeamIDOnCallSchedulesParams

func NewPostV1TeamsTeamIDOnCallSchedulesParams() *PostV1TeamsTeamIDOnCallSchedulesParams

NewPostV1TeamsTeamIDOnCallSchedulesParams creates a new PostV1TeamsTeamIDOnCallSchedulesParams 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 NewPostV1TeamsTeamIDOnCallSchedulesParamsWithContext

func NewPostV1TeamsTeamIDOnCallSchedulesParamsWithContext(ctx context.Context) *PostV1TeamsTeamIDOnCallSchedulesParams

NewPostV1TeamsTeamIDOnCallSchedulesParamsWithContext creates a new PostV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a context for a request.

func NewPostV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient

func NewPostV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient(client *http.Client) *PostV1TeamsTeamIDOnCallSchedulesParams

NewPostV1TeamsTeamIDOnCallSchedulesParamsWithHTTPClient creates a new PostV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1TeamsTeamIDOnCallSchedulesParamsWithTimeout

func NewPostV1TeamsTeamIDOnCallSchedulesParamsWithTimeout(timeout time.Duration) *PostV1TeamsTeamIDOnCallSchedulesParams

NewPostV1TeamsTeamIDOnCallSchedulesParamsWithTimeout creates a new PostV1TeamsTeamIDOnCallSchedulesParams object with the ability to set a timeout on a request.

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetContext

SetContext adds the context to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetDefaults

func (o *PostV1TeamsTeamIDOnCallSchedulesParams) SetDefaults()

SetDefaults hydrates default values in the post v1 teams team Id on call schedules params (not the query body).

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

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetPostV1TeamsTeamIDOnCallSchedules

func (o *PostV1TeamsTeamIDOnCallSchedulesParams) SetPostV1TeamsTeamIDOnCallSchedules(postV1TeamsTeamIDOnCallSchedules *models.PostV1TeamsTeamIDOnCallSchedules)

SetPostV1TeamsTeamIDOnCallSchedules adds the postV1TeamsTeamIdOnCallSchedules to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetTeamID

func (o *PostV1TeamsTeamIDOnCallSchedulesParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithContext

WithContext adds the context to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithDefaults

WithDefaults hydrates default values in the post v1 teams team Id on call schedules params (not the query body).

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

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithPostV1TeamsTeamIDOnCallSchedules

func (o *PostV1TeamsTeamIDOnCallSchedulesParams) WithPostV1TeamsTeamIDOnCallSchedules(postV1TeamsTeamIDOnCallSchedules *models.PostV1TeamsTeamIDOnCallSchedules) *PostV1TeamsTeamIDOnCallSchedulesParams

WithPostV1TeamsTeamIDOnCallSchedules adds the postV1TeamsTeamIDOnCallSchedules to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithTeamID

WithTeamID adds the teamID to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WithTimeout

WithTimeout adds the timeout to the post v1 teams team Id on call schedules params

func (*PostV1TeamsTeamIDOnCallSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1TeamsTeamIDOnCallSchedulesReader

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

PostV1TeamsTeamIDOnCallSchedulesReader is a Reader for the PostV1TeamsTeamIDOnCallSchedules structure.

func (*PostV1TeamsTeamIDOnCallSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated

type PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated struct {
}

PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated describes a response with status code 201, with default header values.

Create a Signals on-call shift in a schedule.

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated() *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated

NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated creates a PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated with default headers values

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) Error

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) IsClientError

IsClientError returns true when this post v1 teams team Id on call schedules schedule Id shifts created response has a 4xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) IsCode

IsCode returns true when this post v1 teams team Id on call schedules schedule Id shifts created response a status code equal to that given

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) IsRedirect

IsRedirect returns true when this post v1 teams team Id on call schedules schedule Id shifts created response has a 3xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) IsServerError

IsServerError returns true when this post v1 teams team Id on call schedules schedule Id shifts created response has a 5xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) IsSuccess

IsSuccess returns true when this post v1 teams team Id on call schedules schedule Id shifts created response has a 2xx status code

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsCreated) String

type PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

type PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams struct {

	// PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts.
	PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts *models.PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts

	// ScheduleID.
	//
	// Format: int32
	ScheduleID int32

	// TeamID.
	//
	// Format: int32
	TeamID int32

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

PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams contains all the parameters to send to the API endpoint

for the post v1 teams team Id on call schedules schedule Id shifts operation.

Typically these are written to a http.Request.

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams() *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams creates a new PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams 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 NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithContext

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithContext(ctx context.Context) *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithContext creates a new PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams object with the ability to set a context for a request.

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithHTTPClient

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithHTTPClient(client *http.Client) *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithHTTPClient creates a new PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithTimeout

func NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithTimeout(timeout time.Duration) *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

NewPostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParamsWithTimeout creates a new PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams object with the ability to set a timeout on a request.

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetContext

SetContext adds the context to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetDefaults

SetDefaults hydrates default values in the post v1 teams team Id on call schedules schedule Id shifts params (not the query body).

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

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts

func (o *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts(postV1TeamsTeamIDOnCallSchedulesScheduleIDShifts *models.PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts)

SetPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts adds the postV1TeamsTeamIdOnCallSchedulesScheduleIdShifts to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetScheduleID

SetScheduleID adds the scheduleId to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetTeamID

SetTeamID adds the teamId to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) SetTimeout

SetTimeout adds the timeout to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithContext

WithContext adds the context to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithDefaults

WithDefaults hydrates default values in the post v1 teams team Id on call schedules schedule Id shifts params (not the query body).

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

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts

func (o *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts(postV1TeamsTeamIDOnCallSchedulesScheduleIDShifts *models.PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts) *PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams

WithPostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts adds the postV1TeamsTeamIDOnCallSchedulesScheduleIDShifts to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithScheduleID

WithScheduleID adds the scheduleID to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithTeamID

WithTeamID adds the teamID to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WithTimeout

WithTimeout adds the timeout to the post v1 teams team Id on call schedules schedule Id shifts params

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsReader

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

PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsReader is a Reader for the PostV1TeamsTeamIDOnCallSchedulesScheduleIDShifts structure.

func (*PostV1TeamsTeamIDOnCallSchedulesScheduleIDShiftsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TeamsTeamIDSignalRulesCreated

type PostV1TeamsTeamIDSignalRulesCreated struct {
}

PostV1TeamsTeamIDSignalRulesCreated describes a response with status code 201, with default header values.

Create a Signals rule for a team.

func NewPostV1TeamsTeamIDSignalRulesCreated

func NewPostV1TeamsTeamIDSignalRulesCreated() *PostV1TeamsTeamIDSignalRulesCreated

NewPostV1TeamsTeamIDSignalRulesCreated creates a PostV1TeamsTeamIDSignalRulesCreated with default headers values

func (*PostV1TeamsTeamIDSignalRulesCreated) Error

func (*PostV1TeamsTeamIDSignalRulesCreated) IsClientError

func (o *PostV1TeamsTeamIDSignalRulesCreated) IsClientError() bool

IsClientError returns true when this post v1 teams team Id signal rules created response has a 4xx status code

func (*PostV1TeamsTeamIDSignalRulesCreated) IsCode

IsCode returns true when this post v1 teams team Id signal rules created response a status code equal to that given

func (*PostV1TeamsTeamIDSignalRulesCreated) IsRedirect

func (o *PostV1TeamsTeamIDSignalRulesCreated) IsRedirect() bool

IsRedirect returns true when this post v1 teams team Id signal rules created response has a 3xx status code

func (*PostV1TeamsTeamIDSignalRulesCreated) IsServerError

func (o *PostV1TeamsTeamIDSignalRulesCreated) IsServerError() bool

IsServerError returns true when this post v1 teams team Id signal rules created response has a 5xx status code

func (*PostV1TeamsTeamIDSignalRulesCreated) IsSuccess

IsSuccess returns true when this post v1 teams team Id signal rules created response has a 2xx status code

func (*PostV1TeamsTeamIDSignalRulesCreated) String

type PostV1TeamsTeamIDSignalRulesParams

type PostV1TeamsTeamIDSignalRulesParams struct {

	// PostV1TeamsTeamIDSignalRules.
	PostV1TeamsTeamIDSignalRules *models.PostV1TeamsTeamIDSignalRules

	/* TeamID.

	   The ID of the team for which you want to manage Signals rules.
	*/
	TeamID string

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

PostV1TeamsTeamIDSignalRulesParams contains all the parameters to send to the API endpoint

for the post v1 teams team Id signal rules operation.

Typically these are written to a http.Request.

func NewPostV1TeamsTeamIDSignalRulesParams

func NewPostV1TeamsTeamIDSignalRulesParams() *PostV1TeamsTeamIDSignalRulesParams

NewPostV1TeamsTeamIDSignalRulesParams creates a new PostV1TeamsTeamIDSignalRulesParams 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 NewPostV1TeamsTeamIDSignalRulesParamsWithContext

func NewPostV1TeamsTeamIDSignalRulesParamsWithContext(ctx context.Context) *PostV1TeamsTeamIDSignalRulesParams

NewPostV1TeamsTeamIDSignalRulesParamsWithContext creates a new PostV1TeamsTeamIDSignalRulesParams object with the ability to set a context for a request.

func NewPostV1TeamsTeamIDSignalRulesParamsWithHTTPClient

func NewPostV1TeamsTeamIDSignalRulesParamsWithHTTPClient(client *http.Client) *PostV1TeamsTeamIDSignalRulesParams

NewPostV1TeamsTeamIDSignalRulesParamsWithHTTPClient creates a new PostV1TeamsTeamIDSignalRulesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1TeamsTeamIDSignalRulesParamsWithTimeout

func NewPostV1TeamsTeamIDSignalRulesParamsWithTimeout(timeout time.Duration) *PostV1TeamsTeamIDSignalRulesParams

NewPostV1TeamsTeamIDSignalRulesParamsWithTimeout creates a new PostV1TeamsTeamIDSignalRulesParams object with the ability to set a timeout on a request.

func (*PostV1TeamsTeamIDSignalRulesParams) SetContext

SetContext adds the context to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) SetDefaults

func (o *PostV1TeamsTeamIDSignalRulesParams) SetDefaults()

SetDefaults hydrates default values in the post v1 teams team Id signal rules params (not the query body).

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

func (*PostV1TeamsTeamIDSignalRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) SetPostV1TeamsTeamIDSignalRules

func (o *PostV1TeamsTeamIDSignalRulesParams) SetPostV1TeamsTeamIDSignalRules(postV1TeamsTeamIDSignalRules *models.PostV1TeamsTeamIDSignalRules)

SetPostV1TeamsTeamIDSignalRules adds the postV1TeamsTeamIdSignalRules to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) SetTeamID

func (o *PostV1TeamsTeamIDSignalRulesParams) SetTeamID(teamID string)

SetTeamID adds the teamId to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WithContext

WithContext adds the context to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WithDefaults

WithDefaults hydrates default values in the post v1 teams team Id signal rules params (not the query body).

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

func (*PostV1TeamsTeamIDSignalRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WithPostV1TeamsTeamIDSignalRules

func (o *PostV1TeamsTeamIDSignalRulesParams) WithPostV1TeamsTeamIDSignalRules(postV1TeamsTeamIDSignalRules *models.PostV1TeamsTeamIDSignalRules) *PostV1TeamsTeamIDSignalRulesParams

WithPostV1TeamsTeamIDSignalRules adds the postV1TeamsTeamIDSignalRules to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WithTeamID

WithTeamID adds the teamID to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WithTimeout

WithTimeout adds the timeout to the post v1 teams team Id signal rules params

func (*PostV1TeamsTeamIDSignalRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1TeamsTeamIDSignalRulesReader

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

PostV1TeamsTeamIDSignalRulesReader is a Reader for the PostV1TeamsTeamIDSignalRules structure.

func (*PostV1TeamsTeamIDSignalRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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