Help us shape the future of Go! Take the 2026 Go Developer Survey

schedules

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 10 Imported by: 4

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 schedules API

func New

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

New creates a new schedules API client.

func (*Client) CreateSchedule

func (a *Client) CreateSchedule(params *CreateScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateScheduleOK, error)

CreateSchedule saves an installed app schedule

Create a schedule for an installed app. The installed app must be in the location specified and the installed app must have permission to create schedules.

func (*Client) DeleteSchedule

func (a *Client) DeleteSchedule(params *DeleteScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteScheduleOK, error)

DeleteSchedule deletes a schedule

Delete a specific schedule for the installed app.

func (*Client) DeleteSchedules

func (a *Client) DeleteSchedules(params *DeleteSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSchedulesOK, error)

DeleteSchedules deletes all of an installed app s schedules

Delete all schedules for the installed app.

func (*Client) GetSchedule

func (a *Client) GetSchedule(params *GetScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetScheduleOK, error)

GetSchedule gets an installed app s schedule

Get a specific schedule for the installed app.

func (*Client) GetSchedules

func (a *Client) GetSchedules(params *GetSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchedulesOK, error)

GetSchedules lists installed app schedules

List the schedules for the installed app.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateScheduleBadRequest

type CreateScheduleBadRequest struct {
	Payload *models.ErrorResponse
}

CreateScheduleBadRequest handles this case with default header values.

Bad request

func NewCreateScheduleBadRequest

func NewCreateScheduleBadRequest() *CreateScheduleBadRequest

NewCreateScheduleBadRequest creates a CreateScheduleBadRequest with default headers values

func (*CreateScheduleBadRequest) Error

func (o *CreateScheduleBadRequest) Error() string

type CreateScheduleDefault

type CreateScheduleDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CreateScheduleDefault handles this case with default header values.

Unexpected error

func NewCreateScheduleDefault

func NewCreateScheduleDefault(code int) *CreateScheduleDefault

NewCreateScheduleDefault creates a CreateScheduleDefault with default headers values

func (*CreateScheduleDefault) Code

func (o *CreateScheduleDefault) Code() int

Code gets the status code for the create schedule default response

func (*CreateScheduleDefault) Error

func (o *CreateScheduleDefault) Error() string

type CreateScheduleForbidden

type CreateScheduleForbidden struct {
}

CreateScheduleForbidden handles this case with default header values.

Not authorized

func NewCreateScheduleForbidden

func NewCreateScheduleForbidden() *CreateScheduleForbidden

NewCreateScheduleForbidden creates a CreateScheduleForbidden with default headers values

func (*CreateScheduleForbidden) Error

func (o *CreateScheduleForbidden) Error() string

type CreateScheduleOK

type CreateScheduleOK struct {
	Payload *models.Schedule
}

CreateScheduleOK handles this case with default header values.

The created schedule.

func NewCreateScheduleOK

func NewCreateScheduleOK() *CreateScheduleOK

NewCreateScheduleOK creates a CreateScheduleOK with default headers values

func (*CreateScheduleOK) Error

func (o *CreateScheduleOK) Error() string

type CreateScheduleParams

type CreateScheduleParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string
	/*Request
	  The schedule to be created.

	*/
	Request *models.ScheduleRequest

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

CreateScheduleParams contains all the parameters to send to the API endpoint for the create schedule operation typically these are written to a http.Request

func NewCreateScheduleParams

func NewCreateScheduleParams() *CreateScheduleParams

NewCreateScheduleParams creates a new CreateScheduleParams object with the default values initialized.

func NewCreateScheduleParamsWithContext

func NewCreateScheduleParamsWithContext(ctx context.Context) *CreateScheduleParams

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

func NewCreateScheduleParamsWithHTTPClient

func NewCreateScheduleParamsWithHTTPClient(client *http.Client) *CreateScheduleParams

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

func NewCreateScheduleParamsWithTimeout

func NewCreateScheduleParamsWithTimeout(timeout time.Duration) *CreateScheduleParams

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

func (*CreateScheduleParams) SetAuthorization

func (o *CreateScheduleParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create schedule params

func (*CreateScheduleParams) SetContext

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

SetContext adds the context to the create schedule params

func (*CreateScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create schedule params

func (*CreateScheduleParams) SetInstalledAppID

func (o *CreateScheduleParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the create schedule params

func (*CreateScheduleParams) SetRequest

func (o *CreateScheduleParams) SetRequest(request *models.ScheduleRequest)

SetRequest adds the request to the create schedule params

func (*CreateScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the create schedule params

func (*CreateScheduleParams) WithAuthorization

func (o *CreateScheduleParams) WithAuthorization(authorization string) *CreateScheduleParams

WithAuthorization adds the authorization to the create schedule params

func (*CreateScheduleParams) WithContext

WithContext adds the context to the create schedule params

func (*CreateScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create schedule params

func (*CreateScheduleParams) WithInstalledAppID

func (o *CreateScheduleParams) WithInstalledAppID(installedAppID string) *CreateScheduleParams

WithInstalledAppID adds the installedAppID to the create schedule params

func (*CreateScheduleParams) WithRequest

WithRequest adds the request to the create schedule params

func (*CreateScheduleParams) WithTimeout

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

WithTimeout adds the timeout to the create schedule params

func (*CreateScheduleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateScheduleReader

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

CreateScheduleReader is a Reader for the CreateSchedule structure.

func (*CreateScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScheduleTooManyRequests

type CreateScheduleTooManyRequests struct {
	Payload *models.ErrorResponse
}

CreateScheduleTooManyRequests handles this case with default header values.

Too many requests

func NewCreateScheduleTooManyRequests

func NewCreateScheduleTooManyRequests() *CreateScheduleTooManyRequests

NewCreateScheduleTooManyRequests creates a CreateScheduleTooManyRequests with default headers values

func (*CreateScheduleTooManyRequests) Error

type CreateScheduleUnauthorized

type CreateScheduleUnauthorized struct {
}

CreateScheduleUnauthorized handles this case with default header values.

Not authenticated

func NewCreateScheduleUnauthorized

func NewCreateScheduleUnauthorized() *CreateScheduleUnauthorized

NewCreateScheduleUnauthorized creates a CreateScheduleUnauthorized with default headers values

func (*CreateScheduleUnauthorized) Error

type CreateScheduleUnprocessableEntity

type CreateScheduleUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

CreateScheduleUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewCreateScheduleUnprocessableEntity

func NewCreateScheduleUnprocessableEntity() *CreateScheduleUnprocessableEntity

NewCreateScheduleUnprocessableEntity creates a CreateScheduleUnprocessableEntity with default headers values

func (*CreateScheduleUnprocessableEntity) Error

type DeleteScheduleBadRequest

type DeleteScheduleBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteScheduleBadRequest handles this case with default header values.

Bad request

func NewDeleteScheduleBadRequest

func NewDeleteScheduleBadRequest() *DeleteScheduleBadRequest

NewDeleteScheduleBadRequest creates a DeleteScheduleBadRequest with default headers values

func (*DeleteScheduleBadRequest) Error

func (o *DeleteScheduleBadRequest) Error() string

type DeleteScheduleDefault

type DeleteScheduleDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteScheduleDefault handles this case with default header values.

Unexpected error

func NewDeleteScheduleDefault

func NewDeleteScheduleDefault(code int) *DeleteScheduleDefault

NewDeleteScheduleDefault creates a DeleteScheduleDefault with default headers values

func (*DeleteScheduleDefault) Code

func (o *DeleteScheduleDefault) Code() int

Code gets the status code for the delete schedule default response

func (*DeleteScheduleDefault) Error

func (o *DeleteScheduleDefault) Error() string

type DeleteScheduleForbidden

type DeleteScheduleForbidden struct {
}

DeleteScheduleForbidden handles this case with default header values.

Not authorized

func NewDeleteScheduleForbidden

func NewDeleteScheduleForbidden() *DeleteScheduleForbidden

NewDeleteScheduleForbidden creates a DeleteScheduleForbidden with default headers values

func (*DeleteScheduleForbidden) Error

func (o *DeleteScheduleForbidden) Error() string

type DeleteScheduleOK

type DeleteScheduleOK struct {
	Payload models.DeleteScheduleResponse
}

DeleteScheduleOK handles this case with default header values.

Successfully deleted

func NewDeleteScheduleOK

func NewDeleteScheduleOK() *DeleteScheduleOK

NewDeleteScheduleOK creates a DeleteScheduleOK with default headers values

func (*DeleteScheduleOK) Error

func (o *DeleteScheduleOK) Error() string

type DeleteScheduleParams

type DeleteScheduleParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string
	/*ScheduleName
	  The name of the schedule

	*/
	ScheduleName string

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

DeleteScheduleParams contains all the parameters to send to the API endpoint for the delete schedule operation typically these are written to a http.Request

func NewDeleteScheduleParams

func NewDeleteScheduleParams() *DeleteScheduleParams

NewDeleteScheduleParams creates a new DeleteScheduleParams object with the default values initialized.

func NewDeleteScheduleParamsWithContext

func NewDeleteScheduleParamsWithContext(ctx context.Context) *DeleteScheduleParams

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

func NewDeleteScheduleParamsWithHTTPClient

func NewDeleteScheduleParamsWithHTTPClient(client *http.Client) *DeleteScheduleParams

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

func NewDeleteScheduleParamsWithTimeout

func NewDeleteScheduleParamsWithTimeout(timeout time.Duration) *DeleteScheduleParams

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

func (*DeleteScheduleParams) SetAuthorization

func (o *DeleteScheduleParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete schedule params

func (*DeleteScheduleParams) SetContext

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

SetContext adds the context to the delete schedule params

func (*DeleteScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete schedule params

func (*DeleteScheduleParams) SetInstalledAppID

func (o *DeleteScheduleParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the delete schedule params

func (*DeleteScheduleParams) SetScheduleName

func (o *DeleteScheduleParams) SetScheduleName(scheduleName string)

SetScheduleName adds the scheduleName to the delete schedule params

func (*DeleteScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the delete schedule params

func (*DeleteScheduleParams) WithAuthorization

func (o *DeleteScheduleParams) WithAuthorization(authorization string) *DeleteScheduleParams

WithAuthorization adds the authorization to the delete schedule params

func (*DeleteScheduleParams) WithContext

WithContext adds the context to the delete schedule params

func (*DeleteScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete schedule params

func (*DeleteScheduleParams) WithInstalledAppID

func (o *DeleteScheduleParams) WithInstalledAppID(installedAppID string) *DeleteScheduleParams

WithInstalledAppID adds the installedAppID to the delete schedule params

func (*DeleteScheduleParams) WithScheduleName

func (o *DeleteScheduleParams) WithScheduleName(scheduleName string) *DeleteScheduleParams

WithScheduleName adds the scheduleName to the delete schedule params

func (*DeleteScheduleParams) WithTimeout

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

WithTimeout adds the timeout to the delete schedule params

func (*DeleteScheduleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteScheduleReader

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

DeleteScheduleReader is a Reader for the DeleteSchedule structure.

func (*DeleteScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteScheduleTooManyRequests

type DeleteScheduleTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteScheduleTooManyRequests handles this case with default header values.

Too many requests

func NewDeleteScheduleTooManyRequests

func NewDeleteScheduleTooManyRequests() *DeleteScheduleTooManyRequests

NewDeleteScheduleTooManyRequests creates a DeleteScheduleTooManyRequests with default headers values

func (*DeleteScheduleTooManyRequests) Error

type DeleteScheduleUnauthorized

type DeleteScheduleUnauthorized struct {
}

DeleteScheduleUnauthorized handles this case with default header values.

Not authenticated

func NewDeleteScheduleUnauthorized

func NewDeleteScheduleUnauthorized() *DeleteScheduleUnauthorized

NewDeleteScheduleUnauthorized creates a DeleteScheduleUnauthorized with default headers values

func (*DeleteScheduleUnauthorized) Error

type DeleteSchedulesBadRequest

type DeleteSchedulesBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteSchedulesBadRequest handles this case with default header values.

Bad request

func NewDeleteSchedulesBadRequest

func NewDeleteSchedulesBadRequest() *DeleteSchedulesBadRequest

NewDeleteSchedulesBadRequest creates a DeleteSchedulesBadRequest with default headers values

func (*DeleteSchedulesBadRequest) Error

func (o *DeleteSchedulesBadRequest) Error() string

type DeleteSchedulesDefault

type DeleteSchedulesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteSchedulesDefault handles this case with default header values.

Unexpected error

func NewDeleteSchedulesDefault

func NewDeleteSchedulesDefault(code int) *DeleteSchedulesDefault

NewDeleteSchedulesDefault creates a DeleteSchedulesDefault with default headers values

func (*DeleteSchedulesDefault) Code

func (o *DeleteSchedulesDefault) Code() int

Code gets the status code for the delete schedules default response

func (*DeleteSchedulesDefault) Error

func (o *DeleteSchedulesDefault) Error() string

type DeleteSchedulesForbidden

type DeleteSchedulesForbidden struct {
}

DeleteSchedulesForbidden handles this case with default header values.

Not authorized

func NewDeleteSchedulesForbidden

func NewDeleteSchedulesForbidden() *DeleteSchedulesForbidden

NewDeleteSchedulesForbidden creates a DeleteSchedulesForbidden with default headers values

func (*DeleteSchedulesForbidden) Error

func (o *DeleteSchedulesForbidden) Error() string

type DeleteSchedulesOK

type DeleteSchedulesOK struct {
	Payload models.DeleteScheduleResponse
}

DeleteSchedulesOK handles this case with default header values.

Successfully deleted

func NewDeleteSchedulesOK

func NewDeleteSchedulesOK() *DeleteSchedulesOK

NewDeleteSchedulesOK creates a DeleteSchedulesOK with default headers values

func (*DeleteSchedulesOK) Error

func (o *DeleteSchedulesOK) Error() string

type DeleteSchedulesParams

type DeleteSchedulesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

DeleteSchedulesParams contains all the parameters to send to the API endpoint for the delete schedules operation typically these are written to a http.Request

func NewDeleteSchedulesParams

func NewDeleteSchedulesParams() *DeleteSchedulesParams

NewDeleteSchedulesParams creates a new DeleteSchedulesParams object with the default values initialized.

func NewDeleteSchedulesParamsWithContext

func NewDeleteSchedulesParamsWithContext(ctx context.Context) *DeleteSchedulesParams

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

func NewDeleteSchedulesParamsWithHTTPClient

func NewDeleteSchedulesParamsWithHTTPClient(client *http.Client) *DeleteSchedulesParams

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

func NewDeleteSchedulesParamsWithTimeout

func NewDeleteSchedulesParamsWithTimeout(timeout time.Duration) *DeleteSchedulesParams

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

func (*DeleteSchedulesParams) SetAuthorization

func (o *DeleteSchedulesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete schedules params

func (*DeleteSchedulesParams) SetContext

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

SetContext adds the context to the delete schedules params

func (*DeleteSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete schedules params

func (*DeleteSchedulesParams) SetInstalledAppID

func (o *DeleteSchedulesParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the delete schedules params

func (*DeleteSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the delete schedules params

func (*DeleteSchedulesParams) WithAuthorization

func (o *DeleteSchedulesParams) WithAuthorization(authorization string) *DeleteSchedulesParams

WithAuthorization adds the authorization to the delete schedules params

func (*DeleteSchedulesParams) WithContext

WithContext adds the context to the delete schedules params

func (*DeleteSchedulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete schedules params

func (*DeleteSchedulesParams) WithInstalledAppID

func (o *DeleteSchedulesParams) WithInstalledAppID(installedAppID string) *DeleteSchedulesParams

WithInstalledAppID adds the installedAppID to the delete schedules params

func (*DeleteSchedulesParams) WithTimeout

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

WithTimeout adds the timeout to the delete schedules params

func (*DeleteSchedulesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSchedulesReader

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

DeleteSchedulesReader is a Reader for the DeleteSchedules structure.

func (*DeleteSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSchedulesTooManyRequests

type DeleteSchedulesTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteSchedulesTooManyRequests handles this case with default header values.

Too many requests

func NewDeleteSchedulesTooManyRequests

func NewDeleteSchedulesTooManyRequests() *DeleteSchedulesTooManyRequests

NewDeleteSchedulesTooManyRequests creates a DeleteSchedulesTooManyRequests with default headers values

func (*DeleteSchedulesTooManyRequests) Error

type DeleteSchedulesUnauthorized

type DeleteSchedulesUnauthorized struct {
}

DeleteSchedulesUnauthorized handles this case with default header values.

Not authenticated

func NewDeleteSchedulesUnauthorized

func NewDeleteSchedulesUnauthorized() *DeleteSchedulesUnauthorized

NewDeleteSchedulesUnauthorized creates a DeleteSchedulesUnauthorized with default headers values

func (*DeleteSchedulesUnauthorized) Error

type GetScheduleBadRequest

type GetScheduleBadRequest struct {
	Payload *models.ErrorResponse
}

GetScheduleBadRequest handles this case with default header values.

Bad request

func NewGetScheduleBadRequest

func NewGetScheduleBadRequest() *GetScheduleBadRequest

NewGetScheduleBadRequest creates a GetScheduleBadRequest with default headers values

func (*GetScheduleBadRequest) Error

func (o *GetScheduleBadRequest) Error() string

type GetScheduleDefault

type GetScheduleDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetScheduleDefault handles this case with default header values.

Unexpected error

func NewGetScheduleDefault

func NewGetScheduleDefault(code int) *GetScheduleDefault

NewGetScheduleDefault creates a GetScheduleDefault with default headers values

func (*GetScheduleDefault) Code

func (o *GetScheduleDefault) Code() int

Code gets the status code for the get schedule default response

func (*GetScheduleDefault) Error

func (o *GetScheduleDefault) Error() string

type GetScheduleForbidden

type GetScheduleForbidden struct {
}

GetScheduleForbidden handles this case with default header values.

Not authorized

func NewGetScheduleForbidden

func NewGetScheduleForbidden() *GetScheduleForbidden

NewGetScheduleForbidden creates a GetScheduleForbidden with default headers values

func (*GetScheduleForbidden) Error

func (o *GetScheduleForbidden) Error() string

type GetScheduleOK

type GetScheduleOK struct {
	Payload *models.Schedule
}

GetScheduleOK handles this case with default header values.

The schedule

func NewGetScheduleOK

func NewGetScheduleOK() *GetScheduleOK

NewGetScheduleOK creates a GetScheduleOK with default headers values

func (*GetScheduleOK) Error

func (o *GetScheduleOK) Error() string

type GetScheduleParams

type GetScheduleParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string
	/*ScheduleName
	  The name of the schedule

	*/
	ScheduleName string

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

GetScheduleParams contains all the parameters to send to the API endpoint for the get schedule operation typically these are written to a http.Request

func NewGetScheduleParams

func NewGetScheduleParams() *GetScheduleParams

NewGetScheduleParams creates a new GetScheduleParams object with the default values initialized.

func NewGetScheduleParamsWithContext

func NewGetScheduleParamsWithContext(ctx context.Context) *GetScheduleParams

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

func NewGetScheduleParamsWithHTTPClient

func NewGetScheduleParamsWithHTTPClient(client *http.Client) *GetScheduleParams

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

func NewGetScheduleParamsWithTimeout

func NewGetScheduleParamsWithTimeout(timeout time.Duration) *GetScheduleParams

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

func (*GetScheduleParams) SetAuthorization

func (o *GetScheduleParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get schedule params

func (*GetScheduleParams) SetContext

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

SetContext adds the context to the get schedule params

func (*GetScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get schedule params

func (*GetScheduleParams) SetInstalledAppID

func (o *GetScheduleParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the get schedule params

func (*GetScheduleParams) SetScheduleName

func (o *GetScheduleParams) SetScheduleName(scheduleName string)

SetScheduleName adds the scheduleName to the get schedule params

func (*GetScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the get schedule params

func (*GetScheduleParams) WithAuthorization

func (o *GetScheduleParams) WithAuthorization(authorization string) *GetScheduleParams

WithAuthorization adds the authorization to the get schedule params

func (*GetScheduleParams) WithContext

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

WithContext adds the context to the get schedule params

func (*GetScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get schedule params

func (*GetScheduleParams) WithInstalledAppID

func (o *GetScheduleParams) WithInstalledAppID(installedAppID string) *GetScheduleParams

WithInstalledAppID adds the installedAppID to the get schedule params

func (*GetScheduleParams) WithScheduleName

func (o *GetScheduleParams) WithScheduleName(scheduleName string) *GetScheduleParams

WithScheduleName adds the scheduleName to the get schedule params

func (*GetScheduleParams) WithTimeout

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

WithTimeout adds the timeout to the get schedule params

func (*GetScheduleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetScheduleReader

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

GetScheduleReader is a Reader for the GetSchedule structure.

func (*GetScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScheduleTooManyRequests

type GetScheduleTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetScheduleTooManyRequests handles this case with default header values.

Too many requests

func NewGetScheduleTooManyRequests

func NewGetScheduleTooManyRequests() *GetScheduleTooManyRequests

NewGetScheduleTooManyRequests creates a GetScheduleTooManyRequests with default headers values

func (*GetScheduleTooManyRequests) Error

type GetScheduleUnauthorized

type GetScheduleUnauthorized struct {
}

GetScheduleUnauthorized handles this case with default header values.

Not authenticated

func NewGetScheduleUnauthorized

func NewGetScheduleUnauthorized() *GetScheduleUnauthorized

NewGetScheduleUnauthorized creates a GetScheduleUnauthorized with default headers values

func (*GetScheduleUnauthorized) Error

func (o *GetScheduleUnauthorized) Error() string

type GetSchedulesBadRequest

type GetSchedulesBadRequest struct {
	Payload *models.ErrorResponse
}

GetSchedulesBadRequest handles this case with default header values.

Bad request

func NewGetSchedulesBadRequest

func NewGetSchedulesBadRequest() *GetSchedulesBadRequest

NewGetSchedulesBadRequest creates a GetSchedulesBadRequest with default headers values

func (*GetSchedulesBadRequest) Error

func (o *GetSchedulesBadRequest) Error() string

type GetSchedulesDefault

type GetSchedulesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetSchedulesDefault handles this case with default header values.

Unexpected error

func NewGetSchedulesDefault

func NewGetSchedulesDefault(code int) *GetSchedulesDefault

NewGetSchedulesDefault creates a GetSchedulesDefault with default headers values

func (*GetSchedulesDefault) Code

func (o *GetSchedulesDefault) Code() int

Code gets the status code for the get schedules default response

func (*GetSchedulesDefault) Error

func (o *GetSchedulesDefault) Error() string

type GetSchedulesForbidden

type GetSchedulesForbidden struct {
}

GetSchedulesForbidden handles this case with default header values.

Not authorized

func NewGetSchedulesForbidden

func NewGetSchedulesForbidden() *GetSchedulesForbidden

NewGetSchedulesForbidden creates a GetSchedulesForbidden with default headers values

func (*GetSchedulesForbidden) Error

func (o *GetSchedulesForbidden) Error() string

type GetSchedulesOK

type GetSchedulesOK struct {
	Payload *models.PagedSchedules
}

GetSchedulesOK handles this case with default header values.

A paged schedules list

func NewGetSchedulesOK

func NewGetSchedulesOK() *GetSchedulesOK

NewGetSchedulesOK creates a GetSchedulesOK with default headers values

func (*GetSchedulesOK) Error

func (o *GetSchedulesOK) Error() string

type GetSchedulesParams

type GetSchedulesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*InstalledAppID
	  The ID of the installed application.

	*/
	InstalledAppID string

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

GetSchedulesParams contains all the parameters to send to the API endpoint for the get schedules operation typically these are written to a http.Request

func NewGetSchedulesParams

func NewGetSchedulesParams() *GetSchedulesParams

NewGetSchedulesParams creates a new GetSchedulesParams object with the default values initialized.

func NewGetSchedulesParamsWithContext

func NewGetSchedulesParamsWithContext(ctx context.Context) *GetSchedulesParams

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

func NewGetSchedulesParamsWithHTTPClient

func NewGetSchedulesParamsWithHTTPClient(client *http.Client) *GetSchedulesParams

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

func NewGetSchedulesParamsWithTimeout

func NewGetSchedulesParamsWithTimeout(timeout time.Duration) *GetSchedulesParams

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

func (*GetSchedulesParams) SetAuthorization

func (o *GetSchedulesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get schedules params

func (*GetSchedulesParams) SetContext

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

SetContext adds the context to the get schedules params

func (*GetSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get schedules params

func (*GetSchedulesParams) SetInstalledAppID

func (o *GetSchedulesParams) SetInstalledAppID(installedAppID string)

SetInstalledAppID adds the installedAppId to the get schedules params

func (*GetSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the get schedules params

func (*GetSchedulesParams) WithAuthorization

func (o *GetSchedulesParams) WithAuthorization(authorization string) *GetSchedulesParams

WithAuthorization adds the authorization to the get schedules params

func (*GetSchedulesParams) WithContext

WithContext adds the context to the get schedules params

func (*GetSchedulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get schedules params

func (*GetSchedulesParams) WithInstalledAppID

func (o *GetSchedulesParams) WithInstalledAppID(installedAppID string) *GetSchedulesParams

WithInstalledAppID adds the installedAppID to the get schedules params

func (*GetSchedulesParams) WithTimeout

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

WithTimeout adds the timeout to the get schedules params

func (*GetSchedulesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSchedulesReader

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

GetSchedulesReader is a Reader for the GetSchedules structure.

func (*GetSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSchedulesTooManyRequests

type GetSchedulesTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetSchedulesTooManyRequests handles this case with default header values.

Too many requests

func NewGetSchedulesTooManyRequests

func NewGetSchedulesTooManyRequests() *GetSchedulesTooManyRequests

NewGetSchedulesTooManyRequests creates a GetSchedulesTooManyRequests with default headers values

func (*GetSchedulesTooManyRequests) Error

type GetSchedulesUnauthorized

type GetSchedulesUnauthorized struct {
}

GetSchedulesUnauthorized handles this case with default header values.

Not authenticated

func NewGetSchedulesUnauthorized

func NewGetSchedulesUnauthorized() *GetSchedulesUnauthorized

NewGetSchedulesUnauthorized creates a GetSchedulesUnauthorized with default headers values

func (*GetSchedulesUnauthorized) Error

func (o *GetSchedulesUnauthorized) Error() string

Jump to

Keyboard shortcuts

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