scheduled_plan

package
v0.0.0-...-09f9b81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 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 AllScheduledPlansBadRequest

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

Bad Request

func NewAllScheduledPlansBadRequest

func NewAllScheduledPlansBadRequest() *AllScheduledPlansBadRequest

NewAllScheduledPlansBadRequest creates a AllScheduledPlansBadRequest with default headers values

func (*AllScheduledPlansBadRequest) Error

func (*AllScheduledPlansBadRequest) GetPayload

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

type AllScheduledPlansNotFound

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

Not Found

func NewAllScheduledPlansNotFound

func NewAllScheduledPlansNotFound() *AllScheduledPlansNotFound

NewAllScheduledPlansNotFound creates a AllScheduledPlansNotFound with default headers values

func (*AllScheduledPlansNotFound) Error

func (o *AllScheduledPlansNotFound) Error() string

func (*AllScheduledPlansNotFound) GetPayload

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

type AllScheduledPlansOK

type AllScheduledPlansOK struct {
	Payload []*models.ScheduledPlan
}
AllScheduledPlansOK describes a response with status code 200, with default header values.

Scheduled Plan

func NewAllScheduledPlansOK

func NewAllScheduledPlansOK() *AllScheduledPlansOK

NewAllScheduledPlansOK creates a AllScheduledPlansOK with default headers values

func (*AllScheduledPlansOK) Error

func (o *AllScheduledPlansOK) Error() string

func (*AllScheduledPlansOK) GetPayload

func (o *AllScheduledPlansOK) GetPayload() []*models.ScheduledPlan

type AllScheduledPlansParams

type AllScheduledPlansParams struct {

	/* AllUsers.

	   Return scheduled plans belonging to all users (caller needs see_schedules permission)
	*/
	AllUsers *bool

	/* Fields.

	   Comma delimited list of field names. If provided, only the fields specified will be included in the response
	*/
	Fields *string

	/* UserID.

	   Return scheduled plans belonging to this user_id. If not provided, returns scheduled plans owned by the caller.

	   Format: int64
	*/
	UserID *int64

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

AllScheduledPlansParams contains all the parameters to send to the API endpoint

for the all scheduled plans operation.

Typically these are written to a http.Request.

func NewAllScheduledPlansParams

func NewAllScheduledPlansParams() *AllScheduledPlansParams

NewAllScheduledPlansParams creates a new AllScheduledPlansParams 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 NewAllScheduledPlansParamsWithContext

func NewAllScheduledPlansParamsWithContext(ctx context.Context) *AllScheduledPlansParams

NewAllScheduledPlansParamsWithContext creates a new AllScheduledPlansParams object with the ability to set a context for a request.

func NewAllScheduledPlansParamsWithHTTPClient

func NewAllScheduledPlansParamsWithHTTPClient(client *http.Client) *AllScheduledPlansParams

NewAllScheduledPlansParamsWithHTTPClient creates a new AllScheduledPlansParams object with the ability to set a custom HTTPClient for a request.

func NewAllScheduledPlansParamsWithTimeout

func NewAllScheduledPlansParamsWithTimeout(timeout time.Duration) *AllScheduledPlansParams

NewAllScheduledPlansParamsWithTimeout creates a new AllScheduledPlansParams object with the ability to set a timeout on a request.

func (*AllScheduledPlansParams) SetAllUsers

func (o *AllScheduledPlansParams) SetAllUsers(allUsers *bool)

SetAllUsers adds the allUsers to the all scheduled plans params

func (*AllScheduledPlansParams) SetContext

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

SetContext adds the context to the all scheduled plans params

func (*AllScheduledPlansParams) SetDefaults

func (o *AllScheduledPlansParams) SetDefaults()

SetDefaults hydrates default values in the all scheduled plans params (not the query body).

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

func (*AllScheduledPlansParams) SetFields

func (o *AllScheduledPlansParams) SetFields(fields *string)

SetFields adds the fields to the all scheduled plans params

func (*AllScheduledPlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all scheduled plans params

func (*AllScheduledPlansParams) SetTimeout

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

SetTimeout adds the timeout to the all scheduled plans params

func (*AllScheduledPlansParams) SetUserID

func (o *AllScheduledPlansParams) SetUserID(userID *int64)

SetUserID adds the userId to the all scheduled plans params

func (*AllScheduledPlansParams) WithAllUsers

func (o *AllScheduledPlansParams) WithAllUsers(allUsers *bool) *AllScheduledPlansParams

WithAllUsers adds the allUsers to the all scheduled plans params

func (*AllScheduledPlansParams) WithContext

WithContext adds the context to the all scheduled plans params

func (*AllScheduledPlansParams) WithDefaults

WithDefaults hydrates default values in the all scheduled plans params (not the query body).

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

func (*AllScheduledPlansParams) WithFields

func (o *AllScheduledPlansParams) WithFields(fields *string) *AllScheduledPlansParams

WithFields adds the fields to the all scheduled plans params

func (*AllScheduledPlansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all scheduled plans params

func (*AllScheduledPlansParams) WithTimeout

WithTimeout adds the timeout to the all scheduled plans params

func (*AllScheduledPlansParams) WithUserID

func (o *AllScheduledPlansParams) WithUserID(userID *int64) *AllScheduledPlansParams

WithUserID adds the userID to the all scheduled plans params

func (*AllScheduledPlansParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllScheduledPlansReader

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

AllScheduledPlansReader is a Reader for the AllScheduledPlans structure.

func (*AllScheduledPlansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllScheduledPlansUnprocessableEntity

type AllScheduledPlansUnprocessableEntity struct {
	Payload *models.ValidationError
}
AllScheduledPlansUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewAllScheduledPlansUnprocessableEntity

func NewAllScheduledPlansUnprocessableEntity() *AllScheduledPlansUnprocessableEntity

NewAllScheduledPlansUnprocessableEntity creates a AllScheduledPlansUnprocessableEntity with default headers values

func (*AllScheduledPlansUnprocessableEntity) Error

func (*AllScheduledPlansUnprocessableEntity) GetPayload

type Client

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

Client for scheduled plan API

func (*Client) AllScheduledPlans

func (a *Client) AllScheduledPlans(params *AllScheduledPlansParams, opts ...ClientOption) (*AllScheduledPlansOK, error)
AllScheduledPlans gets all scheduled plans

### List All Scheduled Plans

Returns all scheduled plans which belong to the caller or given user.

If no user_id is provided, this function returns the scheduled plans owned by the caller.

To list all schedules for all users, pass `all_users=true`.

The caller must have `see_schedules` permission to see other users' scheduled plans.

func (*Client) CreateScheduledPlan

func (a *Client) CreateScheduledPlan(params *CreateScheduledPlanParams, opts ...ClientOption) (*CreateScheduledPlanOK, error)
CreateScheduledPlan creates scheduled plan

### Create a Scheduled Plan

Create a scheduled plan to render a Look or Dashboard on a recurring schedule.

To create a scheduled plan, you MUST provide values for the following fields: `name` and `look_id`, `dashboard_id`, `lookml_dashboard_id`, or `query_id` and `cron_tab` or `datagroup` and at least one scheduled_plan_destination

A scheduled plan MUST have at least one scheduled_plan_destination defined.

When `look_id` is set, `require_no_results`, `require_results`, and `require_change` are all required.

If `create_scheduled_plan` fails with a 422 error, be sure to look at the error messages in the response which will explain exactly what fields are missing or values that are incompatible.

The queries that provide the data for the look or dashboard are run in the context of user account that owns the scheduled plan.

When `run_as_recipient` is `false` or not specified, the queries that provide the data for the look or dashboard are run in the context of user account that owns the scheduled plan.

When `run_as_recipient` is `true` and all the email recipients are Looker user accounts, the queries are run in the context of each recipient, so different recipients may see different data from the same scheduled render of a look or dashboard. For more details, see [Run As Recipient](https://looker.com/docs/r/admin/run-as-recipient).

Admins can create and modify scheduled plans on behalf of other users by specifying a user id. Non-admin users may not create or modify scheduled plans by or for other users.

#### Email Permissions:

For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).

#### Scheduled Plan Destination Formats

Scheduled plan destinations must specify the data format to produce and send to the destination.

Formats:

| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||

Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.

func (*Client) DeleteScheduledPlan

func (a *Client) DeleteScheduledPlan(params *DeleteScheduledPlanParams, opts ...ClientOption) (*DeleteScheduledPlanNoContent, error)
DeleteScheduledPlan deletes scheduled plan

### Delete a Scheduled Plan

Normal users can only delete their own scheduled plans. Admins can delete other users' scheduled plans. This delete cannot be undone.

func (*Client) ScheduledPlan

func (a *Client) ScheduledPlan(params *ScheduledPlanParams, opts ...ClientOption) (*ScheduledPlanOK, error)
ScheduledPlan gets scheduled plan

### Get Information About a Scheduled Plan

Admins can fetch information about other users' Scheduled Plans.

func (*Client) ScheduledPlanRunOnce

func (a *Client) ScheduledPlanRunOnce(params *ScheduledPlanRunOnceParams, opts ...ClientOption) (*ScheduledPlanRunOnceOK, error)
ScheduledPlanRunOnce runs scheduled plan once

### Run a Scheduled Plan Immediately

Create a scheduled plan that runs only once, and immediately.

This can be useful for testing a Scheduled Plan before committing to a production schedule.

Admins can create scheduled plans on behalf of other users by specifying a user id.

This API is rate limited to prevent it from being used for relay spam or DoS attacks

#### Email Permissions:

For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).

#### Scheduled Plan Destination Formats

Scheduled plan destinations must specify the data format to produce and send to the destination.

Formats:

| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||

Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.

func (*Client) ScheduledPlanRunOnceByID

func (a *Client) ScheduledPlanRunOnceByID(params *ScheduledPlanRunOnceByIDParams, opts ...ClientOption) (*ScheduledPlanRunOnceByIDOK, error)
ScheduledPlanRunOnceByID runs scheduled plan once by Id

### Run a Scheduled Plan By Id Immediately

This function creates a run-once schedule plan based on an existing scheduled plan, applies modifications (if any) to the new scheduled plan, and runs the new schedule plan immediately. This can be useful for testing modifications to an existing scheduled plan before committing to a production schedule.

This function internally performs the following operations:

1. Copies the properties of the existing scheduled plan into a new scheduled plan 2. Copies any properties passed in the JSON body of this request into the new scheduled plan (replacing the original values) 3. Creates the new scheduled plan 4. Runs the new scheduled plan

The original scheduled plan is not modified by this operation. Admins can create, modify, and run scheduled plans on behalf of other users by specifying a user id. Non-admins can only create, modify, and run their own scheduled plans.

#### Email Permissions:

For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).

#### Scheduled Plan Destination Formats

Scheduled plan destinations must specify the data format to produce and send to the destination.

Formats:

| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||

Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.

This API is rate limited to prevent it from being used for relay spam or DoS attacks

func (*Client) ScheduledPlansForDashboard

func (a *Client) ScheduledPlansForDashboard(params *ScheduledPlansForDashboardParams, opts ...ClientOption) (*ScheduledPlansForDashboardOK, error)
ScheduledPlansForDashboard scheduleds plans for dashboard

### Get Scheduled Plans for a Dashboard

Returns all scheduled plans for a dashboard which belong to the caller or given user.

If no user_id is provided, this function returns the scheduled plans owned by the caller.

To list all schedules for all users, pass `all_users=true`.

The caller must have `see_schedules` permission to see other users' scheduled plans.

func (*Client) ScheduledPlansForLook

func (a *Client) ScheduledPlansForLook(params *ScheduledPlansForLookParams, opts ...ClientOption) (*ScheduledPlansForLookOK, error)
ScheduledPlansForLook scheduleds plans for look

### Get Scheduled Plans for a Look

Returns all scheduled plans for a look which belong to the caller or given user.

If no user_id is provided, this function returns the scheduled plans owned by the caller.

To list all schedules for all users, pass `all_users=true`.

The caller must have `see_schedules` permission to see other users' scheduled plans.

func (*Client) ScheduledPlansForLookmlDashboard

func (a *Client) ScheduledPlansForLookmlDashboard(params *ScheduledPlansForLookmlDashboardParams, opts ...ClientOption) (*ScheduledPlansForLookmlDashboardOK, error)
ScheduledPlansForLookmlDashboard scheduleds plans for look m l dashboard

### Get Scheduled Plans for a LookML Dashboard

Returns all scheduled plans for a LookML Dashboard which belong to the caller or given user.

If no user_id is provided, this function returns the scheduled plans owned by the caller.

To list all schedules for all users, pass `all_users=true`.

The caller must have `see_schedules` permission to see other users' scheduled plans.

func (*Client) ScheduledPlansForSpace

func (a *Client) ScheduledPlansForSpace(params *ScheduledPlansForSpaceParams, opts ...ClientOption) (*ScheduledPlansForSpaceOK, error)
ScheduledPlansForSpace scheduleds plans for space

### Get Scheduled Plans for a Space

Returns scheduled plans owned by the caller for a given space id.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateScheduledPlan

func (a *Client) UpdateScheduledPlan(params *UpdateScheduledPlanParams, opts ...ClientOption) (*UpdateScheduledPlanOK, error)
UpdateScheduledPlan updates scheduled plan

### Update a Scheduled Plan

Admins can update other users' Scheduled Plans.

Note: Any scheduled plan destinations specified in an update will **replace** all scheduled plan destinations currently defined for the scheduled plan.

For Example: If a scheduled plan has destinations A, B, and C, and you call update on this scheduled plan specifying only B in the destinations, then destinations A and C will be deleted by the update.

Updating a scheduled plan to assign null or an empty array to the scheduled_plan_destinations property is an error, as a scheduled plan must always have at least one destination.

If you omit the scheduled_plan_destinations property from the object passed to update, then the destinations defined on the original scheduled plan will remain unchanged.

#### Email Permissions:

For details about permissions required to schedule delivery to email and the safeguards Looker offers to protect against sending to unauthorized email destinations, see [Email Domain Whitelist for Scheduled Looks](https://docs.looker.com/r/api/embed-permissions).

#### Scheduled Plan Destination Formats

Scheduled plan destinations must specify the data format to produce and send to the destination.

Formats:

| format | Description | :-----------: | :--- | | json | A JSON object containing a `data` property which contains an array of JSON objects, one per row. No metadata. | json_detail | Row data plus metadata describing the fields, pivots, table calcs, and other aspects of the query | inline_json | Same as the JSON format, except that the `data` property is a string containing JSON-escaped row data. Additional properties describe the data operation. This format is primarily used to send data to web hooks so that the web hook doesn't have to re-encode the JSON row data in order to pass it on to its ultimate destination. | csv | Comma separated values with a header | txt | Tab separated values with a header | html | Simple html | xlsx | MS Excel spreadsheet | wysiwyg_pdf | Dashboard rendered in a tiled layout to produce a PDF document | assembled_pdf | Dashboard rendered in a single column layout to produce a PDF document | wysiwyg_png | Dashboard rendered in a tiled layout to produce a PNG image ||

Valid formats vary by destination type and source object. `wysiwyg_pdf` is only valid for dashboards, for example.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllScheduledPlans(params *AllScheduledPlansParams, opts ...ClientOption) (*AllScheduledPlansOK, error)

	CreateScheduledPlan(params *CreateScheduledPlanParams, opts ...ClientOption) (*CreateScheduledPlanOK, error)

	DeleteScheduledPlan(params *DeleteScheduledPlanParams, opts ...ClientOption) (*DeleteScheduledPlanNoContent, error)

	ScheduledPlan(params *ScheduledPlanParams, opts ...ClientOption) (*ScheduledPlanOK, error)

	ScheduledPlanRunOnce(params *ScheduledPlanRunOnceParams, opts ...ClientOption) (*ScheduledPlanRunOnceOK, error)

	ScheduledPlanRunOnceByID(params *ScheduledPlanRunOnceByIDParams, opts ...ClientOption) (*ScheduledPlanRunOnceByIDOK, error)

	ScheduledPlansForDashboard(params *ScheduledPlansForDashboardParams, opts ...ClientOption) (*ScheduledPlansForDashboardOK, error)

	ScheduledPlansForLook(params *ScheduledPlansForLookParams, opts ...ClientOption) (*ScheduledPlansForLookOK, error)

	ScheduledPlansForLookmlDashboard(params *ScheduledPlansForLookmlDashboardParams, opts ...ClientOption) (*ScheduledPlansForLookmlDashboardOK, error)

	ScheduledPlansForSpace(params *ScheduledPlansForSpaceParams, opts ...ClientOption) (*ScheduledPlansForSpaceOK, error)

	UpdateScheduledPlan(params *UpdateScheduledPlanParams, opts ...ClientOption) (*UpdateScheduledPlanOK, 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 scheduled plan API client.

type CreateScheduledPlanBadRequest

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

Bad Request

func NewCreateScheduledPlanBadRequest

func NewCreateScheduledPlanBadRequest() *CreateScheduledPlanBadRequest

NewCreateScheduledPlanBadRequest creates a CreateScheduledPlanBadRequest with default headers values

func (*CreateScheduledPlanBadRequest) Error

func (*CreateScheduledPlanBadRequest) GetPayload

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

type CreateScheduledPlanConflict

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

Resource Already Exists

func NewCreateScheduledPlanConflict

func NewCreateScheduledPlanConflict() *CreateScheduledPlanConflict

NewCreateScheduledPlanConflict creates a CreateScheduledPlanConflict with default headers values

func (*CreateScheduledPlanConflict) Error

func (*CreateScheduledPlanConflict) GetPayload

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

type CreateScheduledPlanNotFound

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

Not Found

func NewCreateScheduledPlanNotFound

func NewCreateScheduledPlanNotFound() *CreateScheduledPlanNotFound

NewCreateScheduledPlanNotFound creates a CreateScheduledPlanNotFound with default headers values

func (*CreateScheduledPlanNotFound) Error

func (*CreateScheduledPlanNotFound) GetPayload

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

type CreateScheduledPlanOK

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

Scheduled Plan

func NewCreateScheduledPlanOK

func NewCreateScheduledPlanOK() *CreateScheduledPlanOK

NewCreateScheduledPlanOK creates a CreateScheduledPlanOK with default headers values

func (*CreateScheduledPlanOK) Error

func (o *CreateScheduledPlanOK) Error() string

func (*CreateScheduledPlanOK) GetPayload

func (o *CreateScheduledPlanOK) GetPayload() *models.ScheduledPlan

type CreateScheduledPlanParams

type CreateScheduledPlanParams struct {

	/* Body.

	   Scheduled Plan
	*/
	Body *models.ScheduledPlan

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

CreateScheduledPlanParams contains all the parameters to send to the API endpoint

for the create scheduled plan operation.

Typically these are written to a http.Request.

func NewCreateScheduledPlanParams

func NewCreateScheduledPlanParams() *CreateScheduledPlanParams

NewCreateScheduledPlanParams creates a new CreateScheduledPlanParams 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 NewCreateScheduledPlanParamsWithContext

func NewCreateScheduledPlanParamsWithContext(ctx context.Context) *CreateScheduledPlanParams

NewCreateScheduledPlanParamsWithContext creates a new CreateScheduledPlanParams object with the ability to set a context for a request.

func NewCreateScheduledPlanParamsWithHTTPClient

func NewCreateScheduledPlanParamsWithHTTPClient(client *http.Client) *CreateScheduledPlanParams

NewCreateScheduledPlanParamsWithHTTPClient creates a new CreateScheduledPlanParams object with the ability to set a custom HTTPClient for a request.

func NewCreateScheduledPlanParamsWithTimeout

func NewCreateScheduledPlanParamsWithTimeout(timeout time.Duration) *CreateScheduledPlanParams

NewCreateScheduledPlanParamsWithTimeout creates a new CreateScheduledPlanParams object with the ability to set a timeout on a request.

func (*CreateScheduledPlanParams) SetBody

SetBody adds the body to the create scheduled plan params

func (*CreateScheduledPlanParams) SetContext

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

SetContext adds the context to the create scheduled plan params

func (*CreateScheduledPlanParams) SetDefaults

func (o *CreateScheduledPlanParams) SetDefaults()

SetDefaults hydrates default values in the create scheduled plan params (not the query body).

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

func (*CreateScheduledPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create scheduled plan params

func (*CreateScheduledPlanParams) SetTimeout

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

SetTimeout adds the timeout to the create scheduled plan params

func (*CreateScheduledPlanParams) WithBody

WithBody adds the body to the create scheduled plan params

func (*CreateScheduledPlanParams) WithContext

WithContext adds the context to the create scheduled plan params

func (*CreateScheduledPlanParams) WithDefaults

WithDefaults hydrates default values in the create scheduled plan params (not the query body).

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

func (*CreateScheduledPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create scheduled plan params

func (*CreateScheduledPlanParams) WithTimeout

WithTimeout adds the timeout to the create scheduled plan params

func (*CreateScheduledPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateScheduledPlanReader

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

CreateScheduledPlanReader is a Reader for the CreateScheduledPlan structure.

func (*CreateScheduledPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScheduledPlanTooManyRequests

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

Too Many Requests

func NewCreateScheduledPlanTooManyRequests

func NewCreateScheduledPlanTooManyRequests() *CreateScheduledPlanTooManyRequests

NewCreateScheduledPlanTooManyRequests creates a CreateScheduledPlanTooManyRequests with default headers values

func (*CreateScheduledPlanTooManyRequests) Error

func (*CreateScheduledPlanTooManyRequests) GetPayload

type CreateScheduledPlanUnprocessableEntity

type CreateScheduledPlanUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateScheduledPlanUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateScheduledPlanUnprocessableEntity

func NewCreateScheduledPlanUnprocessableEntity() *CreateScheduledPlanUnprocessableEntity

NewCreateScheduledPlanUnprocessableEntity creates a CreateScheduledPlanUnprocessableEntity with default headers values

func (*CreateScheduledPlanUnprocessableEntity) Error

func (*CreateScheduledPlanUnprocessableEntity) GetPayload

type DeleteScheduledPlanBadRequest

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

Bad Request

func NewDeleteScheduledPlanBadRequest

func NewDeleteScheduledPlanBadRequest() *DeleteScheduledPlanBadRequest

NewDeleteScheduledPlanBadRequest creates a DeleteScheduledPlanBadRequest with default headers values

func (*DeleteScheduledPlanBadRequest) Error

func (*DeleteScheduledPlanBadRequest) GetPayload

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

type DeleteScheduledPlanNoContent

type DeleteScheduledPlanNoContent struct {
	Payload string
}
DeleteScheduledPlanNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteScheduledPlanNoContent

func NewDeleteScheduledPlanNoContent() *DeleteScheduledPlanNoContent

NewDeleteScheduledPlanNoContent creates a DeleteScheduledPlanNoContent with default headers values

func (*DeleteScheduledPlanNoContent) Error

func (*DeleteScheduledPlanNoContent) GetPayload

func (o *DeleteScheduledPlanNoContent) GetPayload() string

type DeleteScheduledPlanNotFound

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

Not Found

func NewDeleteScheduledPlanNotFound

func NewDeleteScheduledPlanNotFound() *DeleteScheduledPlanNotFound

NewDeleteScheduledPlanNotFound creates a DeleteScheduledPlanNotFound with default headers values

func (*DeleteScheduledPlanNotFound) Error

func (*DeleteScheduledPlanNotFound) GetPayload

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

type DeleteScheduledPlanParams

type DeleteScheduledPlanParams struct {

	/* ScheduledPlanID.

	   Scheduled Plan Id

	   Format: int64
	*/
	ScheduledPlanID int64

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

DeleteScheduledPlanParams contains all the parameters to send to the API endpoint

for the delete scheduled plan operation.

Typically these are written to a http.Request.

func NewDeleteScheduledPlanParams

func NewDeleteScheduledPlanParams() *DeleteScheduledPlanParams

NewDeleteScheduledPlanParams creates a new DeleteScheduledPlanParams 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 NewDeleteScheduledPlanParamsWithContext

func NewDeleteScheduledPlanParamsWithContext(ctx context.Context) *DeleteScheduledPlanParams

NewDeleteScheduledPlanParamsWithContext creates a new DeleteScheduledPlanParams object with the ability to set a context for a request.

func NewDeleteScheduledPlanParamsWithHTTPClient

func NewDeleteScheduledPlanParamsWithHTTPClient(client *http.Client) *DeleteScheduledPlanParams

NewDeleteScheduledPlanParamsWithHTTPClient creates a new DeleteScheduledPlanParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteScheduledPlanParamsWithTimeout

func NewDeleteScheduledPlanParamsWithTimeout(timeout time.Duration) *DeleteScheduledPlanParams

NewDeleteScheduledPlanParamsWithTimeout creates a new DeleteScheduledPlanParams object with the ability to set a timeout on a request.

func (*DeleteScheduledPlanParams) SetContext

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

SetContext adds the context to the delete scheduled plan params

func (*DeleteScheduledPlanParams) SetDefaults

func (o *DeleteScheduledPlanParams) SetDefaults()

SetDefaults hydrates default values in the delete scheduled plan params (not the query body).

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

func (*DeleteScheduledPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete scheduled plan params

func (*DeleteScheduledPlanParams) SetScheduledPlanID

func (o *DeleteScheduledPlanParams) SetScheduledPlanID(scheduledPlanID int64)

SetScheduledPlanID adds the scheduledPlanId to the delete scheduled plan params

func (*DeleteScheduledPlanParams) SetTimeout

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

SetTimeout adds the timeout to the delete scheduled plan params

func (*DeleteScheduledPlanParams) WithContext

WithContext adds the context to the delete scheduled plan params

func (*DeleteScheduledPlanParams) WithDefaults

WithDefaults hydrates default values in the delete scheduled plan params (not the query body).

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

func (*DeleteScheduledPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete scheduled plan params

func (*DeleteScheduledPlanParams) WithScheduledPlanID

func (o *DeleteScheduledPlanParams) WithScheduledPlanID(scheduledPlanID int64) *DeleteScheduledPlanParams

WithScheduledPlanID adds the scheduledPlanID to the delete scheduled plan params

func (*DeleteScheduledPlanParams) WithTimeout

WithTimeout adds the timeout to the delete scheduled plan params

func (*DeleteScheduledPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteScheduledPlanReader

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

DeleteScheduledPlanReader is a Reader for the DeleteScheduledPlan structure.

func (*DeleteScheduledPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteScheduledPlanTooManyRequests

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

Too Many Requests

func NewDeleteScheduledPlanTooManyRequests

func NewDeleteScheduledPlanTooManyRequests() *DeleteScheduledPlanTooManyRequests

NewDeleteScheduledPlanTooManyRequests creates a DeleteScheduledPlanTooManyRequests with default headers values

func (*DeleteScheduledPlanTooManyRequests) Error

func (*DeleteScheduledPlanTooManyRequests) GetPayload

type ScheduledPlanBadRequest

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

Bad Request

func NewScheduledPlanBadRequest

func NewScheduledPlanBadRequest() *ScheduledPlanBadRequest

NewScheduledPlanBadRequest creates a ScheduledPlanBadRequest with default headers values

func (*ScheduledPlanBadRequest) Error

func (o *ScheduledPlanBadRequest) Error() string

func (*ScheduledPlanBadRequest) GetPayload

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

type ScheduledPlanNotFound

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

Not Found

func NewScheduledPlanNotFound

func NewScheduledPlanNotFound() *ScheduledPlanNotFound

NewScheduledPlanNotFound creates a ScheduledPlanNotFound with default headers values

func (*ScheduledPlanNotFound) Error

func (o *ScheduledPlanNotFound) Error() string

func (*ScheduledPlanNotFound) GetPayload

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

type ScheduledPlanOK

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

Scheduled Plan

func NewScheduledPlanOK

func NewScheduledPlanOK() *ScheduledPlanOK

NewScheduledPlanOK creates a ScheduledPlanOK with default headers values

func (*ScheduledPlanOK) Error

func (o *ScheduledPlanOK) Error() string

func (*ScheduledPlanOK) GetPayload

func (o *ScheduledPlanOK) GetPayload() *models.ScheduledPlan

type ScheduledPlanParams

type ScheduledPlanParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* ScheduledPlanID.

	   Scheduled Plan Id

	   Format: int64
	*/
	ScheduledPlanID int64

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

ScheduledPlanParams contains all the parameters to send to the API endpoint

for the scheduled plan operation.

Typically these are written to a http.Request.

func NewScheduledPlanParams

func NewScheduledPlanParams() *ScheduledPlanParams

NewScheduledPlanParams creates a new ScheduledPlanParams 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 NewScheduledPlanParamsWithContext

func NewScheduledPlanParamsWithContext(ctx context.Context) *ScheduledPlanParams

NewScheduledPlanParamsWithContext creates a new ScheduledPlanParams object with the ability to set a context for a request.

func NewScheduledPlanParamsWithHTTPClient

func NewScheduledPlanParamsWithHTTPClient(client *http.Client) *ScheduledPlanParams

NewScheduledPlanParamsWithHTTPClient creates a new ScheduledPlanParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlanParamsWithTimeout

func NewScheduledPlanParamsWithTimeout(timeout time.Duration) *ScheduledPlanParams

NewScheduledPlanParamsWithTimeout creates a new ScheduledPlanParams object with the ability to set a timeout on a request.

func (*ScheduledPlanParams) SetContext

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

SetContext adds the context to the scheduled plan params

func (*ScheduledPlanParams) SetDefaults

func (o *ScheduledPlanParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plan params (not the query body).

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

func (*ScheduledPlanParams) SetFields

func (o *ScheduledPlanParams) SetFields(fields *string)

SetFields adds the fields to the scheduled plan params

func (*ScheduledPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plan params

func (*ScheduledPlanParams) SetScheduledPlanID

func (o *ScheduledPlanParams) SetScheduledPlanID(scheduledPlanID int64)

SetScheduledPlanID adds the scheduledPlanId to the scheduled plan params

func (*ScheduledPlanParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plan params

func (*ScheduledPlanParams) WithContext

WithContext adds the context to the scheduled plan params

func (*ScheduledPlanParams) WithDefaults

func (o *ScheduledPlanParams) WithDefaults() *ScheduledPlanParams

WithDefaults hydrates default values in the scheduled plan params (not the query body).

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

func (*ScheduledPlanParams) WithFields

func (o *ScheduledPlanParams) WithFields(fields *string) *ScheduledPlanParams

WithFields adds the fields to the scheduled plan params

func (*ScheduledPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the scheduled plan params

func (*ScheduledPlanParams) WithScheduledPlanID

func (o *ScheduledPlanParams) WithScheduledPlanID(scheduledPlanID int64) *ScheduledPlanParams

WithScheduledPlanID adds the scheduledPlanID to the scheduled plan params

func (*ScheduledPlanParams) WithTimeout

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

WithTimeout adds the timeout to the scheduled plan params

func (*ScheduledPlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ScheduledPlanReader

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

ScheduledPlanReader is a Reader for the ScheduledPlan structure.

func (*ScheduledPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlanRunOnceBadRequest

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

Bad Request

func NewScheduledPlanRunOnceBadRequest

func NewScheduledPlanRunOnceBadRequest() *ScheduledPlanRunOnceBadRequest

NewScheduledPlanRunOnceBadRequest creates a ScheduledPlanRunOnceBadRequest with default headers values

func (*ScheduledPlanRunOnceBadRequest) Error

func (*ScheduledPlanRunOnceBadRequest) GetPayload

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

type ScheduledPlanRunOnceByIDBadRequest

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

Bad Request

func NewScheduledPlanRunOnceByIDBadRequest

func NewScheduledPlanRunOnceByIDBadRequest() *ScheduledPlanRunOnceByIDBadRequest

NewScheduledPlanRunOnceByIDBadRequest creates a ScheduledPlanRunOnceByIDBadRequest with default headers values

func (*ScheduledPlanRunOnceByIDBadRequest) Error

func (*ScheduledPlanRunOnceByIDBadRequest) GetPayload

type ScheduledPlanRunOnceByIDConflict

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

Resource Already Exists

func NewScheduledPlanRunOnceByIDConflict

func NewScheduledPlanRunOnceByIDConflict() *ScheduledPlanRunOnceByIDConflict

NewScheduledPlanRunOnceByIDConflict creates a ScheduledPlanRunOnceByIDConflict with default headers values

func (*ScheduledPlanRunOnceByIDConflict) Error

func (*ScheduledPlanRunOnceByIDConflict) GetPayload

type ScheduledPlanRunOnceByIDNotFound

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

Not Found

func NewScheduledPlanRunOnceByIDNotFound

func NewScheduledPlanRunOnceByIDNotFound() *ScheduledPlanRunOnceByIDNotFound

NewScheduledPlanRunOnceByIDNotFound creates a ScheduledPlanRunOnceByIDNotFound with default headers values

func (*ScheduledPlanRunOnceByIDNotFound) Error

func (*ScheduledPlanRunOnceByIDNotFound) GetPayload

type ScheduledPlanRunOnceByIDOK

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

Scheduled Plan

func NewScheduledPlanRunOnceByIDOK

func NewScheduledPlanRunOnceByIDOK() *ScheduledPlanRunOnceByIDOK

NewScheduledPlanRunOnceByIDOK creates a ScheduledPlanRunOnceByIDOK with default headers values

func (*ScheduledPlanRunOnceByIDOK) Error

func (*ScheduledPlanRunOnceByIDOK) GetPayload

type ScheduledPlanRunOnceByIDParams

type ScheduledPlanRunOnceByIDParams struct {

	/* Body.

	   Property values to apply to the newly copied scheduled plan before running it
	*/
	Body *models.WriteScheduledPlan

	/* ScheduledPlanID.

	   Id of schedule plan to copy and run

	   Format: int64
	*/
	ScheduledPlanID int64

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

ScheduledPlanRunOnceByIDParams contains all the parameters to send to the API endpoint

for the scheduled plan run once by id operation.

Typically these are written to a http.Request.

func NewScheduledPlanRunOnceByIDParams

func NewScheduledPlanRunOnceByIDParams() *ScheduledPlanRunOnceByIDParams

NewScheduledPlanRunOnceByIDParams creates a new ScheduledPlanRunOnceByIDParams 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 NewScheduledPlanRunOnceByIDParamsWithContext

func NewScheduledPlanRunOnceByIDParamsWithContext(ctx context.Context) *ScheduledPlanRunOnceByIDParams

NewScheduledPlanRunOnceByIDParamsWithContext creates a new ScheduledPlanRunOnceByIDParams object with the ability to set a context for a request.

func NewScheduledPlanRunOnceByIDParamsWithHTTPClient

func NewScheduledPlanRunOnceByIDParamsWithHTTPClient(client *http.Client) *ScheduledPlanRunOnceByIDParams

NewScheduledPlanRunOnceByIDParamsWithHTTPClient creates a new ScheduledPlanRunOnceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlanRunOnceByIDParamsWithTimeout

func NewScheduledPlanRunOnceByIDParamsWithTimeout(timeout time.Duration) *ScheduledPlanRunOnceByIDParams

NewScheduledPlanRunOnceByIDParamsWithTimeout creates a new ScheduledPlanRunOnceByIDParams object with the ability to set a timeout on a request.

func (*ScheduledPlanRunOnceByIDParams) SetBody

SetBody adds the body to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) SetContext

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

SetContext adds the context to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) SetDefaults

func (o *ScheduledPlanRunOnceByIDParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plan run once by id params (not the query body).

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

func (*ScheduledPlanRunOnceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) SetScheduledPlanID

func (o *ScheduledPlanRunOnceByIDParams) SetScheduledPlanID(scheduledPlanID int64)

SetScheduledPlanID adds the scheduledPlanId to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WithBody

WithBody adds the body to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WithContext

WithContext adds the context to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WithDefaults

WithDefaults hydrates default values in the scheduled plan run once by id params (not the query body).

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

func (*ScheduledPlanRunOnceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WithScheduledPlanID

func (o *ScheduledPlanRunOnceByIDParams) WithScheduledPlanID(scheduledPlanID int64) *ScheduledPlanRunOnceByIDParams

WithScheduledPlanID adds the scheduledPlanID to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WithTimeout

WithTimeout adds the timeout to the scheduled plan run once by id params

func (*ScheduledPlanRunOnceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlanRunOnceByIDReader

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

ScheduledPlanRunOnceByIDReader is a Reader for the ScheduledPlanRunOnceByID structure.

func (*ScheduledPlanRunOnceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlanRunOnceByIDTooManyRequests

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

Too Many Requests

func NewScheduledPlanRunOnceByIDTooManyRequests

func NewScheduledPlanRunOnceByIDTooManyRequests() *ScheduledPlanRunOnceByIDTooManyRequests

NewScheduledPlanRunOnceByIDTooManyRequests creates a ScheduledPlanRunOnceByIDTooManyRequests with default headers values

func (*ScheduledPlanRunOnceByIDTooManyRequests) Error

func (*ScheduledPlanRunOnceByIDTooManyRequests) GetPayload

type ScheduledPlanRunOnceByIDUnprocessableEntity

type ScheduledPlanRunOnceByIDUnprocessableEntity struct {
	Payload *models.ValidationError
}
ScheduledPlanRunOnceByIDUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewScheduledPlanRunOnceByIDUnprocessableEntity

func NewScheduledPlanRunOnceByIDUnprocessableEntity() *ScheduledPlanRunOnceByIDUnprocessableEntity

NewScheduledPlanRunOnceByIDUnprocessableEntity creates a ScheduledPlanRunOnceByIDUnprocessableEntity with default headers values

func (*ScheduledPlanRunOnceByIDUnprocessableEntity) Error

func (*ScheduledPlanRunOnceByIDUnprocessableEntity) GetPayload

type ScheduledPlanRunOnceConflict

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

Resource Already Exists

func NewScheduledPlanRunOnceConflict

func NewScheduledPlanRunOnceConflict() *ScheduledPlanRunOnceConflict

NewScheduledPlanRunOnceConflict creates a ScheduledPlanRunOnceConflict with default headers values

func (*ScheduledPlanRunOnceConflict) Error

func (*ScheduledPlanRunOnceConflict) GetPayload

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

type ScheduledPlanRunOnceNotFound

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

Not Found

func NewScheduledPlanRunOnceNotFound

func NewScheduledPlanRunOnceNotFound() *ScheduledPlanRunOnceNotFound

NewScheduledPlanRunOnceNotFound creates a ScheduledPlanRunOnceNotFound with default headers values

func (*ScheduledPlanRunOnceNotFound) Error

func (*ScheduledPlanRunOnceNotFound) GetPayload

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

type ScheduledPlanRunOnceOK

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

Scheduled Plan

func NewScheduledPlanRunOnceOK

func NewScheduledPlanRunOnceOK() *ScheduledPlanRunOnceOK

NewScheduledPlanRunOnceOK creates a ScheduledPlanRunOnceOK with default headers values

func (*ScheduledPlanRunOnceOK) Error

func (o *ScheduledPlanRunOnceOK) Error() string

func (*ScheduledPlanRunOnceOK) GetPayload

func (o *ScheduledPlanRunOnceOK) GetPayload() *models.ScheduledPlan

type ScheduledPlanRunOnceParams

type ScheduledPlanRunOnceParams struct {

	/* Body.

	   Scheduled Plan
	*/
	Body *models.ScheduledPlan

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

ScheduledPlanRunOnceParams contains all the parameters to send to the API endpoint

for the scheduled plan run once operation.

Typically these are written to a http.Request.

func NewScheduledPlanRunOnceParams

func NewScheduledPlanRunOnceParams() *ScheduledPlanRunOnceParams

NewScheduledPlanRunOnceParams creates a new ScheduledPlanRunOnceParams 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 NewScheduledPlanRunOnceParamsWithContext

func NewScheduledPlanRunOnceParamsWithContext(ctx context.Context) *ScheduledPlanRunOnceParams

NewScheduledPlanRunOnceParamsWithContext creates a new ScheduledPlanRunOnceParams object with the ability to set a context for a request.

func NewScheduledPlanRunOnceParamsWithHTTPClient

func NewScheduledPlanRunOnceParamsWithHTTPClient(client *http.Client) *ScheduledPlanRunOnceParams

NewScheduledPlanRunOnceParamsWithHTTPClient creates a new ScheduledPlanRunOnceParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlanRunOnceParamsWithTimeout

func NewScheduledPlanRunOnceParamsWithTimeout(timeout time.Duration) *ScheduledPlanRunOnceParams

NewScheduledPlanRunOnceParamsWithTimeout creates a new ScheduledPlanRunOnceParams object with the ability to set a timeout on a request.

func (*ScheduledPlanRunOnceParams) SetBody

SetBody adds the body to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) SetContext

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

SetContext adds the context to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) SetDefaults

func (o *ScheduledPlanRunOnceParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plan run once params (not the query body).

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

func (*ScheduledPlanRunOnceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) WithBody

WithBody adds the body to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) WithContext

WithContext adds the context to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) WithDefaults

WithDefaults hydrates default values in the scheduled plan run once params (not the query body).

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

func (*ScheduledPlanRunOnceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) WithTimeout

WithTimeout adds the timeout to the scheduled plan run once params

func (*ScheduledPlanRunOnceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlanRunOnceReader

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

ScheduledPlanRunOnceReader is a Reader for the ScheduledPlanRunOnce structure.

func (*ScheduledPlanRunOnceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlanRunOnceTooManyRequests

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

Too Many Requests

func NewScheduledPlanRunOnceTooManyRequests

func NewScheduledPlanRunOnceTooManyRequests() *ScheduledPlanRunOnceTooManyRequests

NewScheduledPlanRunOnceTooManyRequests creates a ScheduledPlanRunOnceTooManyRequests with default headers values

func (*ScheduledPlanRunOnceTooManyRequests) Error

func (*ScheduledPlanRunOnceTooManyRequests) GetPayload

type ScheduledPlanRunOnceUnprocessableEntity

type ScheduledPlanRunOnceUnprocessableEntity struct {
	Payload *models.ValidationError
}
ScheduledPlanRunOnceUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewScheduledPlanRunOnceUnprocessableEntity

func NewScheduledPlanRunOnceUnprocessableEntity() *ScheduledPlanRunOnceUnprocessableEntity

NewScheduledPlanRunOnceUnprocessableEntity creates a ScheduledPlanRunOnceUnprocessableEntity with default headers values

func (*ScheduledPlanRunOnceUnprocessableEntity) Error

func (*ScheduledPlanRunOnceUnprocessableEntity) GetPayload

type ScheduledPlansForDashboardBadRequest

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

Bad Request

func NewScheduledPlansForDashboardBadRequest

func NewScheduledPlansForDashboardBadRequest() *ScheduledPlansForDashboardBadRequest

NewScheduledPlansForDashboardBadRequest creates a ScheduledPlansForDashboardBadRequest with default headers values

func (*ScheduledPlansForDashboardBadRequest) Error

func (*ScheduledPlansForDashboardBadRequest) GetPayload

type ScheduledPlansForDashboardNotFound

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

Not Found

func NewScheduledPlansForDashboardNotFound

func NewScheduledPlansForDashboardNotFound() *ScheduledPlansForDashboardNotFound

NewScheduledPlansForDashboardNotFound creates a ScheduledPlansForDashboardNotFound with default headers values

func (*ScheduledPlansForDashboardNotFound) Error

func (*ScheduledPlansForDashboardNotFound) GetPayload

type ScheduledPlansForDashboardOK

type ScheduledPlansForDashboardOK struct {
	Payload []*models.ScheduledPlan
}
ScheduledPlansForDashboardOK describes a response with status code 200, with default header values.

Scheduled Plan

func NewScheduledPlansForDashboardOK

func NewScheduledPlansForDashboardOK() *ScheduledPlansForDashboardOK

NewScheduledPlansForDashboardOK creates a ScheduledPlansForDashboardOK with default headers values

func (*ScheduledPlansForDashboardOK) Error

func (*ScheduledPlansForDashboardOK) GetPayload

type ScheduledPlansForDashboardParams

type ScheduledPlansForDashboardParams struct {

	/* AllUsers.

	   Return scheduled plans belonging to all users for the dashboard
	*/
	AllUsers *bool

	/* DashboardID.

	   Dashboard Id

	   Format: int64
	*/
	DashboardID int64

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* UserID.

	   User Id (default is requesting user if not specified)

	   Format: int64
	*/
	UserID *int64

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

ScheduledPlansForDashboardParams contains all the parameters to send to the API endpoint

for the scheduled plans for dashboard operation.

Typically these are written to a http.Request.

func NewScheduledPlansForDashboardParams

func NewScheduledPlansForDashboardParams() *ScheduledPlansForDashboardParams

NewScheduledPlansForDashboardParams creates a new ScheduledPlansForDashboardParams 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 NewScheduledPlansForDashboardParamsWithContext

func NewScheduledPlansForDashboardParamsWithContext(ctx context.Context) *ScheduledPlansForDashboardParams

NewScheduledPlansForDashboardParamsWithContext creates a new ScheduledPlansForDashboardParams object with the ability to set a context for a request.

func NewScheduledPlansForDashboardParamsWithHTTPClient

func NewScheduledPlansForDashboardParamsWithHTTPClient(client *http.Client) *ScheduledPlansForDashboardParams

NewScheduledPlansForDashboardParamsWithHTTPClient creates a new ScheduledPlansForDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlansForDashboardParamsWithTimeout

func NewScheduledPlansForDashboardParamsWithTimeout(timeout time.Duration) *ScheduledPlansForDashboardParams

NewScheduledPlansForDashboardParamsWithTimeout creates a new ScheduledPlansForDashboardParams object with the ability to set a timeout on a request.

func (*ScheduledPlansForDashboardParams) SetAllUsers

func (o *ScheduledPlansForDashboardParams) SetAllUsers(allUsers *bool)

SetAllUsers adds the allUsers to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetContext

SetContext adds the context to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetDashboardID

func (o *ScheduledPlansForDashboardParams) SetDashboardID(dashboardID int64)

SetDashboardID adds the dashboardId to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetDefaults

func (o *ScheduledPlansForDashboardParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plans for dashboard params (not the query body).

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

func (*ScheduledPlansForDashboardParams) SetFields

func (o *ScheduledPlansForDashboardParams) SetFields(fields *string)

SetFields adds the fields to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) SetUserID

func (o *ScheduledPlansForDashboardParams) SetUserID(userID *int64)

SetUserID adds the userId to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithAllUsers

WithAllUsers adds the allUsers to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithContext

WithContext adds the context to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithDashboardID

WithDashboardID adds the dashboardID to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithDefaults

WithDefaults hydrates default values in the scheduled plans for dashboard params (not the query body).

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

func (*ScheduledPlansForDashboardParams) WithFields

WithFields adds the fields to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithTimeout

WithTimeout adds the timeout to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WithUserID

WithUserID adds the userID to the scheduled plans for dashboard params

func (*ScheduledPlansForDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlansForDashboardReader

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

ScheduledPlansForDashboardReader is a Reader for the ScheduledPlansForDashboard structure.

func (*ScheduledPlansForDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlansForLookBadRequest

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

Bad Request

func NewScheduledPlansForLookBadRequest

func NewScheduledPlansForLookBadRequest() *ScheduledPlansForLookBadRequest

NewScheduledPlansForLookBadRequest creates a ScheduledPlansForLookBadRequest with default headers values

func (*ScheduledPlansForLookBadRequest) Error

func (*ScheduledPlansForLookBadRequest) GetPayload

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

type ScheduledPlansForLookNotFound

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

Not Found

func NewScheduledPlansForLookNotFound

func NewScheduledPlansForLookNotFound() *ScheduledPlansForLookNotFound

NewScheduledPlansForLookNotFound creates a ScheduledPlansForLookNotFound with default headers values

func (*ScheduledPlansForLookNotFound) Error

func (*ScheduledPlansForLookNotFound) GetPayload

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

type ScheduledPlansForLookOK

type ScheduledPlansForLookOK struct {
	Payload []*models.ScheduledPlan
}
ScheduledPlansForLookOK describes a response with status code 200, with default header values.

Scheduled Plan

func NewScheduledPlansForLookOK

func NewScheduledPlansForLookOK() *ScheduledPlansForLookOK

NewScheduledPlansForLookOK creates a ScheduledPlansForLookOK with default headers values

func (*ScheduledPlansForLookOK) Error

func (o *ScheduledPlansForLookOK) Error() string

func (*ScheduledPlansForLookOK) GetPayload

func (o *ScheduledPlansForLookOK) GetPayload() []*models.ScheduledPlan

type ScheduledPlansForLookParams

type ScheduledPlansForLookParams struct {

	/* AllUsers.

	   Return scheduled plans belonging to all users for the look
	*/
	AllUsers *bool

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* LookID.

	   Look Id

	   Format: int64
	*/
	LookID int64

	/* UserID.

	   User Id (default is requesting user if not specified)

	   Format: int64
	*/
	UserID *int64

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

ScheduledPlansForLookParams contains all the parameters to send to the API endpoint

for the scheduled plans for look operation.

Typically these are written to a http.Request.

func NewScheduledPlansForLookParams

func NewScheduledPlansForLookParams() *ScheduledPlansForLookParams

NewScheduledPlansForLookParams creates a new ScheduledPlansForLookParams 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 NewScheduledPlansForLookParamsWithContext

func NewScheduledPlansForLookParamsWithContext(ctx context.Context) *ScheduledPlansForLookParams

NewScheduledPlansForLookParamsWithContext creates a new ScheduledPlansForLookParams object with the ability to set a context for a request.

func NewScheduledPlansForLookParamsWithHTTPClient

func NewScheduledPlansForLookParamsWithHTTPClient(client *http.Client) *ScheduledPlansForLookParams

NewScheduledPlansForLookParamsWithHTTPClient creates a new ScheduledPlansForLookParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlansForLookParamsWithTimeout

func NewScheduledPlansForLookParamsWithTimeout(timeout time.Duration) *ScheduledPlansForLookParams

NewScheduledPlansForLookParamsWithTimeout creates a new ScheduledPlansForLookParams object with the ability to set a timeout on a request.

func (*ScheduledPlansForLookParams) SetAllUsers

func (o *ScheduledPlansForLookParams) SetAllUsers(allUsers *bool)

SetAllUsers adds the allUsers to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetContext

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

SetContext adds the context to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetDefaults

func (o *ScheduledPlansForLookParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plans for look params (not the query body).

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

func (*ScheduledPlansForLookParams) SetFields

func (o *ScheduledPlansForLookParams) SetFields(fields *string)

SetFields adds the fields to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetLookID

func (o *ScheduledPlansForLookParams) SetLookID(lookID int64)

SetLookID adds the lookId to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plans for look params

func (*ScheduledPlansForLookParams) SetUserID

func (o *ScheduledPlansForLookParams) SetUserID(userID *int64)

SetUserID adds the userId to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithAllUsers

func (o *ScheduledPlansForLookParams) WithAllUsers(allUsers *bool) *ScheduledPlansForLookParams

WithAllUsers adds the allUsers to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithContext

WithContext adds the context to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithDefaults

WithDefaults hydrates default values in the scheduled plans for look params (not the query body).

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

func (*ScheduledPlansForLookParams) WithFields

WithFields adds the fields to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithLookID

WithLookID adds the lookID to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithTimeout

WithTimeout adds the timeout to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WithUserID

WithUserID adds the userID to the scheduled plans for look params

func (*ScheduledPlansForLookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlansForLookReader

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

ScheduledPlansForLookReader is a Reader for the ScheduledPlansForLook structure.

func (*ScheduledPlansForLookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlansForLookmlDashboardBadRequest

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

Bad Request

func NewScheduledPlansForLookmlDashboardBadRequest

func NewScheduledPlansForLookmlDashboardBadRequest() *ScheduledPlansForLookmlDashboardBadRequest

NewScheduledPlansForLookmlDashboardBadRequest creates a ScheduledPlansForLookmlDashboardBadRequest with default headers values

func (*ScheduledPlansForLookmlDashboardBadRequest) Error

func (*ScheduledPlansForLookmlDashboardBadRequest) GetPayload

type ScheduledPlansForLookmlDashboardNotFound

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

Not Found

func NewScheduledPlansForLookmlDashboardNotFound

func NewScheduledPlansForLookmlDashboardNotFound() *ScheduledPlansForLookmlDashboardNotFound

NewScheduledPlansForLookmlDashboardNotFound creates a ScheduledPlansForLookmlDashboardNotFound with default headers values

func (*ScheduledPlansForLookmlDashboardNotFound) Error

func (*ScheduledPlansForLookmlDashboardNotFound) GetPayload

type ScheduledPlansForLookmlDashboardOK

type ScheduledPlansForLookmlDashboardOK struct {
	Payload []*models.ScheduledPlan
}
ScheduledPlansForLookmlDashboardOK describes a response with status code 200, with default header values.

Scheduled Plan

func NewScheduledPlansForLookmlDashboardOK

func NewScheduledPlansForLookmlDashboardOK() *ScheduledPlansForLookmlDashboardOK

NewScheduledPlansForLookmlDashboardOK creates a ScheduledPlansForLookmlDashboardOK with default headers values

func (*ScheduledPlansForLookmlDashboardOK) Error

func (*ScheduledPlansForLookmlDashboardOK) GetPayload

type ScheduledPlansForLookmlDashboardParams

type ScheduledPlansForLookmlDashboardParams struct {

	/* AllUsers.

	   Return scheduled plans belonging to all users for the dashboard
	*/
	AllUsers *bool

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* LookmlDashboardID.

	   LookML Dashboard Id
	*/
	LookmlDashboardID string

	/* UserID.

	   User Id (default is requesting user if not specified)

	   Format: int64
	*/
	UserID *int64

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

ScheduledPlansForLookmlDashboardParams contains all the parameters to send to the API endpoint

for the scheduled plans for lookml dashboard operation.

Typically these are written to a http.Request.

func NewScheduledPlansForLookmlDashboardParams

func NewScheduledPlansForLookmlDashboardParams() *ScheduledPlansForLookmlDashboardParams

NewScheduledPlansForLookmlDashboardParams creates a new ScheduledPlansForLookmlDashboardParams 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 NewScheduledPlansForLookmlDashboardParamsWithContext

func NewScheduledPlansForLookmlDashboardParamsWithContext(ctx context.Context) *ScheduledPlansForLookmlDashboardParams

NewScheduledPlansForLookmlDashboardParamsWithContext creates a new ScheduledPlansForLookmlDashboardParams object with the ability to set a context for a request.

func NewScheduledPlansForLookmlDashboardParamsWithHTTPClient

func NewScheduledPlansForLookmlDashboardParamsWithHTTPClient(client *http.Client) *ScheduledPlansForLookmlDashboardParams

NewScheduledPlansForLookmlDashboardParamsWithHTTPClient creates a new ScheduledPlansForLookmlDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlansForLookmlDashboardParamsWithTimeout

func NewScheduledPlansForLookmlDashboardParamsWithTimeout(timeout time.Duration) *ScheduledPlansForLookmlDashboardParams

NewScheduledPlansForLookmlDashboardParamsWithTimeout creates a new ScheduledPlansForLookmlDashboardParams object with the ability to set a timeout on a request.

func (*ScheduledPlansForLookmlDashboardParams) SetAllUsers

func (o *ScheduledPlansForLookmlDashboardParams) SetAllUsers(allUsers *bool)

SetAllUsers adds the allUsers to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetContext

SetContext adds the context to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetDefaults

func (o *ScheduledPlansForLookmlDashboardParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plans for lookml dashboard params (not the query body).

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

func (*ScheduledPlansForLookmlDashboardParams) SetFields

func (o *ScheduledPlansForLookmlDashboardParams) SetFields(fields *string)

SetFields adds the fields to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetLookmlDashboardID

func (o *ScheduledPlansForLookmlDashboardParams) SetLookmlDashboardID(lookmlDashboardID string)

SetLookmlDashboardID adds the lookmlDashboardId to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) SetUserID

func (o *ScheduledPlansForLookmlDashboardParams) SetUserID(userID *int64)

SetUserID adds the userId to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithAllUsers

WithAllUsers adds the allUsers to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithContext

WithContext adds the context to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithDefaults

WithDefaults hydrates default values in the scheduled plans for lookml dashboard params (not the query body).

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

func (*ScheduledPlansForLookmlDashboardParams) WithFields

WithFields adds the fields to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithLookmlDashboardID

func (o *ScheduledPlansForLookmlDashboardParams) WithLookmlDashboardID(lookmlDashboardID string) *ScheduledPlansForLookmlDashboardParams

WithLookmlDashboardID adds the lookmlDashboardID to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithTimeout

WithTimeout adds the timeout to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WithUserID

WithUserID adds the userID to the scheduled plans for lookml dashboard params

func (*ScheduledPlansForLookmlDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlansForLookmlDashboardReader

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

ScheduledPlansForLookmlDashboardReader is a Reader for the ScheduledPlansForLookmlDashboard structure.

func (*ScheduledPlansForLookmlDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduledPlansForSpaceBadRequest

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

Bad Request

func NewScheduledPlansForSpaceBadRequest

func NewScheduledPlansForSpaceBadRequest() *ScheduledPlansForSpaceBadRequest

NewScheduledPlansForSpaceBadRequest creates a ScheduledPlansForSpaceBadRequest with default headers values

func (*ScheduledPlansForSpaceBadRequest) Error

func (*ScheduledPlansForSpaceBadRequest) GetPayload

type ScheduledPlansForSpaceNotFound

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

Not Found

func NewScheduledPlansForSpaceNotFound

func NewScheduledPlansForSpaceNotFound() *ScheduledPlansForSpaceNotFound

NewScheduledPlansForSpaceNotFound creates a ScheduledPlansForSpaceNotFound with default headers values

func (*ScheduledPlansForSpaceNotFound) Error

func (*ScheduledPlansForSpaceNotFound) GetPayload

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

type ScheduledPlansForSpaceOK

type ScheduledPlansForSpaceOK struct {
	Payload []*models.ScheduledPlan
}
ScheduledPlansForSpaceOK describes a response with status code 200, with default header values.

Scheduled Plan

func NewScheduledPlansForSpaceOK

func NewScheduledPlansForSpaceOK() *ScheduledPlansForSpaceOK

NewScheduledPlansForSpaceOK creates a ScheduledPlansForSpaceOK with default headers values

func (*ScheduledPlansForSpaceOK) Error

func (o *ScheduledPlansForSpaceOK) Error() string

func (*ScheduledPlansForSpaceOK) GetPayload

func (o *ScheduledPlansForSpaceOK) GetPayload() []*models.ScheduledPlan

type ScheduledPlansForSpaceParams

type ScheduledPlansForSpaceParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

	/* SpaceID.

	   Space Id

	   Format: int64
	*/
	SpaceID int64

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

ScheduledPlansForSpaceParams contains all the parameters to send to the API endpoint

for the scheduled plans for space operation.

Typically these are written to a http.Request.

func NewScheduledPlansForSpaceParams

func NewScheduledPlansForSpaceParams() *ScheduledPlansForSpaceParams

NewScheduledPlansForSpaceParams creates a new ScheduledPlansForSpaceParams 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 NewScheduledPlansForSpaceParamsWithContext

func NewScheduledPlansForSpaceParamsWithContext(ctx context.Context) *ScheduledPlansForSpaceParams

NewScheduledPlansForSpaceParamsWithContext creates a new ScheduledPlansForSpaceParams object with the ability to set a context for a request.

func NewScheduledPlansForSpaceParamsWithHTTPClient

func NewScheduledPlansForSpaceParamsWithHTTPClient(client *http.Client) *ScheduledPlansForSpaceParams

NewScheduledPlansForSpaceParamsWithHTTPClient creates a new ScheduledPlansForSpaceParams object with the ability to set a custom HTTPClient for a request.

func NewScheduledPlansForSpaceParamsWithTimeout

func NewScheduledPlansForSpaceParamsWithTimeout(timeout time.Duration) *ScheduledPlansForSpaceParams

NewScheduledPlansForSpaceParamsWithTimeout creates a new ScheduledPlansForSpaceParams object with the ability to set a timeout on a request.

func (*ScheduledPlansForSpaceParams) SetContext

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

SetContext adds the context to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) SetDefaults

func (o *ScheduledPlansForSpaceParams) SetDefaults()

SetDefaults hydrates default values in the scheduled plans for space params (not the query body).

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

func (*ScheduledPlansForSpaceParams) SetFields

func (o *ScheduledPlansForSpaceParams) SetFields(fields *string)

SetFields adds the fields to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) SetSpaceID

func (o *ScheduledPlansForSpaceParams) SetSpaceID(spaceID int64)

SetSpaceID adds the spaceId to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) SetTimeout

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

SetTimeout adds the timeout to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WithContext

WithContext adds the context to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WithDefaults

WithDefaults hydrates default values in the scheduled plans for space params (not the query body).

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

func (*ScheduledPlansForSpaceParams) WithFields

WithFields adds the fields to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WithSpaceID

WithSpaceID adds the spaceID to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WithTimeout

WithTimeout adds the timeout to the scheduled plans for space params

func (*ScheduledPlansForSpaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ScheduledPlansForSpaceReader

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

ScheduledPlansForSpaceReader is a Reader for the ScheduledPlansForSpace structure.

func (*ScheduledPlansForSpaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScheduledPlanBadRequest

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

Bad Request

func NewUpdateScheduledPlanBadRequest

func NewUpdateScheduledPlanBadRequest() *UpdateScheduledPlanBadRequest

NewUpdateScheduledPlanBadRequest creates a UpdateScheduledPlanBadRequest with default headers values

func (*UpdateScheduledPlanBadRequest) Error

func (*UpdateScheduledPlanBadRequest) GetPayload

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

type UpdateScheduledPlanNotFound

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

Not Found

func NewUpdateScheduledPlanNotFound

func NewUpdateScheduledPlanNotFound() *UpdateScheduledPlanNotFound

NewUpdateScheduledPlanNotFound creates a UpdateScheduledPlanNotFound with default headers values

func (*UpdateScheduledPlanNotFound) Error

func (*UpdateScheduledPlanNotFound) GetPayload

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

type UpdateScheduledPlanOK

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

Scheduled Plan

func NewUpdateScheduledPlanOK

func NewUpdateScheduledPlanOK() *UpdateScheduledPlanOK

NewUpdateScheduledPlanOK creates a UpdateScheduledPlanOK with default headers values

func (*UpdateScheduledPlanOK) Error

func (o *UpdateScheduledPlanOK) Error() string

func (*UpdateScheduledPlanOK) GetPayload

func (o *UpdateScheduledPlanOK) GetPayload() *models.ScheduledPlan

type UpdateScheduledPlanParams

type UpdateScheduledPlanParams struct {

	/* Body.

	   Scheduled Plan
	*/
	Body *models.ScheduledPlan

	/* ScheduledPlanID.

	   Scheduled Plan Id

	   Format: int64
	*/
	ScheduledPlanID int64

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

UpdateScheduledPlanParams contains all the parameters to send to the API endpoint

for the update scheduled plan operation.

Typically these are written to a http.Request.

func NewUpdateScheduledPlanParams

func NewUpdateScheduledPlanParams() *UpdateScheduledPlanParams

NewUpdateScheduledPlanParams creates a new UpdateScheduledPlanParams 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 NewUpdateScheduledPlanParamsWithContext

func NewUpdateScheduledPlanParamsWithContext(ctx context.Context) *UpdateScheduledPlanParams

NewUpdateScheduledPlanParamsWithContext creates a new UpdateScheduledPlanParams object with the ability to set a context for a request.

func NewUpdateScheduledPlanParamsWithHTTPClient

func NewUpdateScheduledPlanParamsWithHTTPClient(client *http.Client) *UpdateScheduledPlanParams

NewUpdateScheduledPlanParamsWithHTTPClient creates a new UpdateScheduledPlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateScheduledPlanParamsWithTimeout

func NewUpdateScheduledPlanParamsWithTimeout(timeout time.Duration) *UpdateScheduledPlanParams

NewUpdateScheduledPlanParamsWithTimeout creates a new UpdateScheduledPlanParams object with the ability to set a timeout on a request.

func (*UpdateScheduledPlanParams) SetBody

SetBody adds the body to the update scheduled plan params

func (*UpdateScheduledPlanParams) SetContext

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

SetContext adds the context to the update scheduled plan params

func (*UpdateScheduledPlanParams) SetDefaults

func (o *UpdateScheduledPlanParams) SetDefaults()

SetDefaults hydrates default values in the update scheduled plan params (not the query body).

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

func (*UpdateScheduledPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update scheduled plan params

func (*UpdateScheduledPlanParams) SetScheduledPlanID

func (o *UpdateScheduledPlanParams) SetScheduledPlanID(scheduledPlanID int64)

SetScheduledPlanID adds the scheduledPlanId to the update scheduled plan params

func (*UpdateScheduledPlanParams) SetTimeout

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

SetTimeout adds the timeout to the update scheduled plan params

func (*UpdateScheduledPlanParams) WithBody

WithBody adds the body to the update scheduled plan params

func (*UpdateScheduledPlanParams) WithContext

WithContext adds the context to the update scheduled plan params

func (*UpdateScheduledPlanParams) WithDefaults

WithDefaults hydrates default values in the update scheduled plan params (not the query body).

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

func (*UpdateScheduledPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update scheduled plan params

func (*UpdateScheduledPlanParams) WithScheduledPlanID

func (o *UpdateScheduledPlanParams) WithScheduledPlanID(scheduledPlanID int64) *UpdateScheduledPlanParams

WithScheduledPlanID adds the scheduledPlanID to the update scheduled plan params

func (*UpdateScheduledPlanParams) WithTimeout

WithTimeout adds the timeout to the update scheduled plan params

func (*UpdateScheduledPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateScheduledPlanReader

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

UpdateScheduledPlanReader is a Reader for the UpdateScheduledPlan structure.

func (*UpdateScheduledPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScheduledPlanTooManyRequests

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

Too Many Requests

func NewUpdateScheduledPlanTooManyRequests

func NewUpdateScheduledPlanTooManyRequests() *UpdateScheduledPlanTooManyRequests

NewUpdateScheduledPlanTooManyRequests creates a UpdateScheduledPlanTooManyRequests with default headers values

func (*UpdateScheduledPlanTooManyRequests) Error

func (*UpdateScheduledPlanTooManyRequests) GetPayload

type UpdateScheduledPlanUnprocessableEntity

type UpdateScheduledPlanUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateScheduledPlanUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateScheduledPlanUnprocessableEntity

func NewUpdateScheduledPlanUnprocessableEntity() *UpdateScheduledPlanUnprocessableEntity

NewUpdateScheduledPlanUnprocessableEntity creates a UpdateScheduledPlanUnprocessableEntity with default headers values

func (*UpdateScheduledPlanUnprocessableEntity) Error

func (*UpdateScheduledPlanUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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