goqmodel

package
v0.0.0-...-5222202 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

GENERATED DO NOT EDIT GENERATOR: scripts/gencode/gencode.go ARGUMENTS: --component model --config ../../api/api.yml --package goqmodel --out ./model.gen.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimJobPathParams

type ClaimJobPathParams struct {
	JobID string
}

type ClaimSomeJobRequest

type ClaimSomeJobRequest struct {
	Names []string `json:"names"`
}

type DeleteJobPathParams

type DeleteJobPathParams struct {
	JobID string
}

type DeleteSchedulerPathParams

type DeleteSchedulerPathParams struct {
	SchedulerID string
}

type GetJobPathParams

type GetJobPathParams struct {
	JobID string
}

type GetSchedulerPathParams

type GetSchedulerPathParams struct {
	SchedulerID string
}

type JSONObject

type JSONObject map[string]interface{}

type Job

type Job struct {
	ID           string     `json:"id"`
	Name         string     `json:"name"`
	Status       string     `json:"status"`
	Input        JSONObject `json:"input"`
	Output       JSONObject `json:"output"`
	ScheduledFor *string    `json:"scheduled_for"`
	SucceededAt  *string    `json:"succeeded_at"`
	ErroredAt    *string    `json:"errored_at"`
	ClaimedAt    *string    `json:"claimed_at"`
	CreatedAt    string     `json:"created_at"`
	UpdatedAt    string     `json:"updated_at"`
}

type ListJobsQueryParams

type ListJobsQueryParams struct {
	Where     string `json:"where"`
	OrderBy   string `json:"order_by"`
	PageSize  int    `json:"page_size"`
	PageToken string `json:"page_token"`
}

type ListJobsResponse

type ListJobsResponse struct {
	Jobs          []*Job `json:"jobs"`
	NextPageToken string `json:"next_page_token"`
}

type ListSchedulersRequest

type ListSchedulersRequest struct {
	PageToken string `json:"page_token"`
	PageSize  int    `json:"page_size"`
}

type ListSchedulersResponse

type ListSchedulersResponse struct {
	Schedulers    []*Scheduler `json:"schedulers"`
	NextPageToken string       `json:"next_page_token"`
}

type PutSchedulerPathParams

type PutSchedulerPathParams struct {
	SchedulerID string
}

type ReleaseJobPathParams

type ReleaseJobPathParams struct {
	JobID string
}

type Scheduler

type Scheduler struct {
	ID        string     `json:"id"`
	Schedule  string     `json:"schedule"`
	JobName   string     `json:"job_name"`
	Input     JSONObject `json:"input"`
	CreatedAt string     `json:"created_at"`
	UpdatedAt string     `json:"updated_at"`
}

type SearchJobsRequest

type SearchJobsRequest struct {
	OrderBy   []interface{} `json:"order_by"`
	Where     interface{}   `json:"where"`
	PageToken string        `json:"page_token"`
	PageSize  int           `json:"page_size"`
}

type SearchJobsResponse

type SearchJobsResponse struct {
	Jobs          []*Job `json:"jobs"`
	NextPageToken string `json:"next_page_token"`
}

type SetJobErrorPathParams

type SetJobErrorPathParams struct {
	JobID string
}

type SetJobSuccessPathParams

type SetJobSuccessPathParams struct {
	JobID string
}

Jump to

Keyboard shortcuts

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