models

package
v0.0.0-...-a12d374 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any interface{}

Any Any swagger:model any

type DataCommon

type DataCommon struct {

	// job Id
	// Required: true
	JobID *string `json:"jobId"`

	// script Id
	// Required: true
	ScriptID *string `json:"scriptId"`

	// script rev
	// Required: true
	ScriptRev *string `json:"scriptRev"`

	// value
	// Required: true
	Value Any `json:"value"`
}

DataCommon Data Common

The properties that are shared amongst all versions of the Data model. swagger:model data-common

func (*DataCommon) MarshalBinary

func (m *DataCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCommon) UnmarshalBinary

func (m *DataCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCommon) Validate

func (m *DataCommon) Validate(formats strfmt.Registry) error

Validate validates this data common

type DataEntity

type DataEntity struct {
	Entity

	DataCommon
}

DataEntity Data Entity swagger:model data-entity

func (*DataEntity) MarshalBinary

func (m *DataEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DataEntity) MarshalJSON

func (m DataEntity) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*DataEntity) UnmarshalBinary

func (m *DataEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataEntity) UnmarshalJSON

func (m *DataEntity) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*DataEntity) Validate

func (m *DataEntity) Validate(formats strfmt.Registry) error

Validate validates this data entity

type DataOutput

type DataOutput struct {
	Entity

	// job Id
	// Required: true
	JobID *string `json:"jobId"`

	// script Id
	// Required: true
	ScriptID *string `json:"scriptId"`

	// script rev
	ScriptRev string `json:"scriptRev,omitempty"`
}

DataOutput Data Output

The properties that are included when fetching a list of Data. swagger:model data-output

func (*DataOutput) MarshalBinary

func (m *DataOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DataOutput) MarshalJSON

func (m DataOutput) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*DataOutput) UnmarshalBinary

func (m *DataOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataOutput) UnmarshalJSON

func (m *DataOutput) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*DataOutput) Validate

func (m *DataOutput) Validate(formats strfmt.Registry) error

Validate validates this data output

type DataOutputDetailed

type DataOutputDetailed struct {
	DataEntity
}

DataOutputDetailed Data Output Detailed

The properties that are included when fetching a single Data. swagger:model data-output-detailed

func (*DataOutputDetailed) MarshalBinary

func (m *DataOutputDetailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DataOutputDetailed) MarshalJSON

func (m DataOutputDetailed) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*DataOutputDetailed) UnmarshalBinary

func (m *DataOutputDetailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataOutputDetailed) UnmarshalJSON

func (m *DataOutputDetailed) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*DataOutputDetailed) Validate

func (m *DataOutputDetailed) Validate(formats strfmt.Registry) error

Validate validates this data output detailed

type DataUpdate

type DataUpdate struct {

	// value
	// Required: true
	Value Any `json:"value"`
}

DataUpdate Data Update

The properties that are allowed when updating a Data. swagger:model data-update

func (*DataUpdate) MarshalBinary

func (m *DataUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataUpdate) UnmarshalBinary

func (m *DataUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataUpdate) Validate

func (m *DataUpdate) Validate(formats strfmt.Registry) error

Validate validates this data update

type Definition

type Definition struct {

	// description
	// Max Length: 100
	// Min Length: 10
	Description string `json:"description,omitempty"`

	// name
	// Required: true
	// Max Length: 25
	// Min Length: 3
	Name *string `json:"name"`
}

Definition Definition

Common entity definition swagger:model definition

func (*Definition) MarshalBinary

func (m *Definition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Definition) UnmarshalBinary

func (m *Definition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Definition) Validate

func (m *Definition) Validate(formats strfmt.Registry) error

Validate validates this definition

type Entity

type Entity struct {

	// id
	// Required: true
	ID *string `json:"id"`

	// rev
	// Required: true
	Rev *string `json:"rev"`

	Metadata
}

Entity Entity

Represents a database entity swagger:model entity

func (*Entity) MarshalBinary

func (m *Entity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Entity) MarshalJSON

func (m Entity) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Entity) UnmarshalBinary

func (m *Entity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Entity) UnmarshalJSON

func (m *Entity) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Entity) Validate

func (m *Entity) Validate(formats strfmt.Registry) error

Validate validates this entity

type ExecutionCause

type ExecutionCause string

ExecutionCause Execution Cause

Execution cause swagger:model execution-cause

const (

	// ExecutionCauseUnknown captures enum value "unknown"
	ExecutionCauseUnknown ExecutionCause = "unknown"

	// ExecutionCauseManual captures enum value "manual"
	ExecutionCauseManual ExecutionCause = "manual"

	// ExecutionCauseSchedule captures enum value "schedule"
	ExecutionCauseSchedule ExecutionCause = "schedule"

	// ExecutionCauseHook captures enum value "hook"
	ExecutionCauseHook ExecutionCause = "hook"
)

func (ExecutionCause) Validate

func (m ExecutionCause) Validate(formats strfmt.Registry) error

Validate validates this execution cause

type ExecutionCommon

type ExecutionCommon struct {

	// cause
	// Required: true
	Cause ExecutionCause `json:"cause"`

	// job Id
	// Required: true
	// Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
	JobID *string `json:"jobId"`

	// script Id
	// Required: true
	// Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
	ScriptID *string `json:"scriptId"`

	// script rev
	// Required: true
	ScriptRev *string `json:"scriptRev"`

	// status
	// Required: true
	Status ExecutionStatus `json:"status"`
}

ExecutionCommon Execution Common

The properties that are shared amongst all versions of the Execution model. swagger:model execution-common

func (*ExecutionCommon) MarshalBinary

func (m *ExecutionCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExecutionCommon) UnmarshalBinary

func (m *ExecutionCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExecutionCommon) Validate

func (m *ExecutionCommon) Validate(formats strfmt.Registry) error

Validate validates this execution common

type ExecutionInput

type ExecutionInput struct {

	// params
	Params map[string]Any `json:"params,omitempty"`

	// script Id
	// Required: true
	// Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
	ScriptID *string `json:"scriptId"`
}

ExecutionInput Execution Input

The properties that are allowed when creating or updating a Execution. swagger:model execution-input

func (*ExecutionInput) MarshalBinary

func (m *ExecutionInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExecutionInput) UnmarshalBinary

func (m *ExecutionInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExecutionInput) Validate

func (m *ExecutionInput) Validate(formats strfmt.Registry) error

Validate validates this execution input

type ExecutionOutput

type ExecutionOutput struct {
	ExecutionCommon
}

ExecutionOutput Execution Output

The properties that are included when fetching a list of Executions. swagger:model execution-output

func (*ExecutionOutput) MarshalBinary

func (m *ExecutionOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ExecutionOutput) MarshalJSON

func (m ExecutionOutput) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ExecutionOutput) UnmarshalBinary

func (m *ExecutionOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExecutionOutput) UnmarshalJSON

func (m *ExecutionOutput) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ExecutionOutput) Validate

func (m *ExecutionOutput) Validate(formats strfmt.Registry) error

Validate validates this execution output

type ExecutionOutputDetailed

type ExecutionOutputDetailed struct {
	ExecutionOutput

	// ended at
	EndedAt string `json:"endedAt,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// logs
	Logs []string `json:"logs"`

	// params
	Params map[string]Any `json:"params,omitempty"`

	// started at
	StartedAt string `json:"startedAt,omitempty"`
}

ExecutionOutputDetailed Execution Output Detailed

The properties that are included when fetching a single Execution. swagger:model execution-output-detailed

func (*ExecutionOutputDetailed) MarshalBinary

func (m *ExecutionOutputDetailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ExecutionOutputDetailed) MarshalJSON

func (m ExecutionOutputDetailed) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ExecutionOutputDetailed) UnmarshalBinary

func (m *ExecutionOutputDetailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExecutionOutputDetailed) UnmarshalJSON

func (m *ExecutionOutputDetailed) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ExecutionOutputDetailed) Validate

func (m *ExecutionOutputDetailed) Validate(formats strfmt.Registry) error

Validate validates this execution output detailed

type ExecutionStatus

type ExecutionStatus string

ExecutionStatus Execution Status

Execution stats swagger:model execution-status

const (

	// ExecutionStatusUnknown captures enum value "unknown"
	ExecutionStatusUnknown ExecutionStatus = "unknown"

	// ExecutionStatusQueued captures enum value "queued"
	ExecutionStatusQueued ExecutionStatus = "queued"

	// ExecutionStatusRunning captures enum value "running"
	ExecutionStatusRunning ExecutionStatus = "running"

	// ExecutionStatusCompleted captures enum value "completed"
	ExecutionStatusCompleted ExecutionStatus = "completed"

	// ExecutionStatusCancelled captures enum value "cancelled"
	ExecutionStatusCancelled ExecutionStatus = "cancelled"

	// ExecutionStatusErrored captures enum value "errored"
	ExecutionStatusErrored ExecutionStatus = "errored"
)

func (ExecutionStatus) Validate

func (m ExecutionStatus) Validate(formats strfmt.Registry) error

Validate validates this execution status

type Metadata

type Metadata struct {

	// created at
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// updated at
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Metadata Metadata

Response model for data creation endpoints swagger:model metadata

func (*Metadata) MarshalBinary

func (m *Metadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Metadata) UnmarshalBinary

func (m *Metadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Metadata) Validate

func (m *Metadata) Validate(formats strfmt.Registry) error

Validate validates this metadata

type Pagination

type Pagination struct {

	// count
	// Required: true
	Count *float64 `json:"count"`

	// cursors
	// Required: true
	Cursors *PaginationCursors `json:"cursors"`
}

Pagination Pagination swagger:model pagination

func (*Pagination) MarshalBinary

func (m *Pagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary

func (m *Pagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pagination) Validate

func (m *Pagination) Validate(formats strfmt.Registry) error

Validate validates this pagination

type PaginationCursors

type PaginationCursors struct {

	// after
	After string `json:"after,omitempty"`

	// before
	Before string `json:"before,omitempty"`
}

PaginationCursors pagination cursors swagger:model PaginationCursors

func (*PaginationCursors) MarshalBinary

func (m *PaginationCursors) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaginationCursors) UnmarshalBinary

func (m *PaginationCursors) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaginationCursors) Validate

func (m *PaginationCursors) Validate(formats strfmt.Registry) error

Validate validates this pagination cursors

type ProjectCommon

type ProjectCommon struct {
	Definition
}

ProjectCommon Project Common

The properties that are shared amongst all versions of the Project model. swagger:model project-common

func (*ProjectCommon) MarshalBinary

func (m *ProjectCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectCommon) MarshalJSON

func (m ProjectCommon) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectCommon) UnmarshalBinary

func (m *ProjectCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectCommon) UnmarshalJSON

func (m *ProjectCommon) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectCommon) Validate

func (m *ProjectCommon) Validate(formats strfmt.Registry) error

Validate validates this project common

type ProjectCreate

type ProjectCreate struct {
	ProjectCommon
}

ProjectCreate Project Create swagger:model project-create

func (*ProjectCreate) MarshalBinary

func (m *ProjectCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectCreate) MarshalJSON

func (m ProjectCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectCreate) UnmarshalBinary

func (m *ProjectCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectCreate) UnmarshalJSON

func (m *ProjectCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectCreate) Validate

func (m *ProjectCreate) Validate(formats strfmt.Registry) error

Validate validates this project create

type ProjectEntity

type ProjectEntity struct {
	Entity

	ProjectCommon
}

ProjectEntity Project Entity

Represents a full Project entity. swagger:model project-entity

func (*ProjectEntity) MarshalBinary

func (m *ProjectEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectEntity) MarshalJSON

func (m ProjectEntity) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectEntity) UnmarshalBinary

func (m *ProjectEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectEntity) UnmarshalJSON

func (m *ProjectEntity) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectEntity) Validate

func (m *ProjectEntity) Validate(formats strfmt.Registry) error

Validate validates this project entity

type ProjectOutput

type ProjectOutput struct {
	Entity

	Definition
}

ProjectOutput Project Output

The properties that are included when fetching a list of Projects. swagger:model project-output

func (*ProjectOutput) MarshalBinary

func (m *ProjectOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectOutput) MarshalJSON

func (m ProjectOutput) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectOutput) UnmarshalBinary

func (m *ProjectOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectOutput) UnmarshalJSON

func (m *ProjectOutput) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectOutput) Validate

func (m *ProjectOutput) Validate(formats strfmt.Registry) error

Validate validates this project output

type ProjectOutputDetailed

type ProjectOutputDetailed struct {
	ProjectEntity
}

ProjectOutputDetailed Project Output Detailed

The properties that are included when fetching a single Project. swagger:model project-output-detailed

func (*ProjectOutputDetailed) MarshalBinary

func (m *ProjectOutputDetailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectOutputDetailed) MarshalJSON

func (m ProjectOutputDetailed) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectOutputDetailed) UnmarshalBinary

func (m *ProjectOutputDetailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectOutputDetailed) UnmarshalJSON

func (m *ProjectOutputDetailed) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectOutputDetailed) Validate

func (m *ProjectOutputDetailed) Validate(formats strfmt.Registry) error

Validate validates this project output detailed

type ProjectUpdate

type ProjectUpdate struct {
	ProjectCommon
}

ProjectUpdate Project Update

The properties that are allowed when updating a Project. swagger:model project-update

func (*ProjectUpdate) MarshalBinary

func (m *ProjectUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProjectUpdate) MarshalJSON

func (m ProjectUpdate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProjectUpdate) UnmarshalBinary

func (m *ProjectUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectUpdate) UnmarshalJSON

func (m *ProjectUpdate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProjectUpdate) Validate

func (m *ProjectUpdate) Validate(formats strfmt.Registry) error

Validate validates this project update

type ScriptCommon

type ScriptCommon struct {
	Definition

	// execution
	// Required: true
	Execution *ScriptExecution `json:"execution"`

	// persistence
	// Required: true
	Persistence *ScriptPersistence `json:"persistence"`
}

ScriptCommon Script Common

The properties that are shared amongst all versions of the Script model. swagger:model script-common

func (*ScriptCommon) MarshalBinary

func (m *ScriptCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptCommon) MarshalJSON

func (m ScriptCommon) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptCommon) UnmarshalBinary

func (m *ScriptCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptCommon) UnmarshalJSON

func (m *ScriptCommon) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptCommon) Validate

func (m *ScriptCommon) Validate(formats strfmt.Registry) error

Validate validates this script common

type ScriptCreate

type ScriptCreate struct {
	ScriptCommon
}

ScriptCreate Script Create

The properties that are allowed when creating a Script. swagger:model script-create

func (*ScriptCreate) MarshalBinary

func (m *ScriptCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptCreate) MarshalJSON

func (m ScriptCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptCreate) UnmarshalBinary

func (m *ScriptCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptCreate) UnmarshalJSON

func (m *ScriptCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptCreate) Validate

func (m *ScriptCreate) Validate(formats strfmt.Registry) error

Validate validates this script create

type ScriptEntity

type ScriptEntity struct {
	Entity

	ScriptCommon
}

ScriptEntity Script Entity swagger:model script-entity

func (*ScriptEntity) MarshalBinary

func (m *ScriptEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptEntity) MarshalJSON

func (m ScriptEntity) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptEntity) UnmarshalBinary

func (m *ScriptEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptEntity) UnmarshalJSON

func (m *ScriptEntity) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptEntity) Validate

func (m *ScriptEntity) Validate(formats strfmt.Registry) error

Validate validates this script entity

type ScriptExecution

type ScriptExecution struct {

	// params
	Params map[string]Any `json:"params,omitempty"`

	// query
	// Required: true
	// Min Length: 8
	Query *string `json:"query"`
}

ScriptExecution Script Execution Settings

Represents script execution settings like query and params swagger:model script-execution

func (*ScriptExecution) MarshalBinary

func (m *ScriptExecution) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScriptExecution) UnmarshalBinary

func (m *ScriptExecution) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptExecution) Validate

func (m *ScriptExecution) Validate(formats strfmt.Registry) error

Validate validates this script execution

type ScriptOutput

type ScriptOutput struct {
	Entity

	Definition
}

ScriptOutput Script Output

The properties that are included when fetching a list of Scripts. swagger:model script-output

func (*ScriptOutput) MarshalBinary

func (m *ScriptOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptOutput) MarshalJSON

func (m ScriptOutput) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptOutput) UnmarshalBinary

func (m *ScriptOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptOutput) UnmarshalJSON

func (m *ScriptOutput) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptOutput) Validate

func (m *ScriptOutput) Validate(formats strfmt.Registry) error

Validate validates this script output

type ScriptOutputDetailed

type ScriptOutputDetailed struct {
	ScriptEntity
}

ScriptOutputDetailed Script Output Detailed

The properties that are included when fetching a single Script. swagger:model script-output-detailed

func (*ScriptOutputDetailed) MarshalBinary

func (m *ScriptOutputDetailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptOutputDetailed) MarshalJSON

func (m ScriptOutputDetailed) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptOutputDetailed) UnmarshalBinary

func (m *ScriptOutputDetailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptOutputDetailed) UnmarshalJSON

func (m *ScriptOutputDetailed) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptOutputDetailed) Validate

func (m *ScriptOutputDetailed) Validate(formats strfmt.Registry) error

Validate validates this script output detailed

type ScriptPersistence

type ScriptPersistence struct {

	// enabled
	// Required: true
	Enabled *bool `json:"enabled"`
}

ScriptPersistence Script Persistence swagger:model script-persistence

func (*ScriptPersistence) MarshalBinary

func (m *ScriptPersistence) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScriptPersistence) UnmarshalBinary

func (m *ScriptPersistence) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptPersistence) Validate

func (m *ScriptPersistence) Validate(formats strfmt.Registry) error

Validate validates this script persistence

type ScriptUpdate

type ScriptUpdate struct {
	ScriptCommon
}

ScriptUpdate Script Update

The properties that are allowed when updating a Script. swagger:model script-update

func (*ScriptUpdate) MarshalBinary

func (m *ScriptUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ScriptUpdate) MarshalJSON

func (m ScriptUpdate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ScriptUpdate) UnmarshalBinary

func (m *ScriptUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptUpdate) UnmarshalJSON

func (m *ScriptUpdate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ScriptUpdate) Validate

func (m *ScriptUpdate) Validate(formats strfmt.Registry) error

Validate validates this script update

type SearchResult

type SearchResult struct {

	// paging
	// Required: true
	Paging *Pagination `json:"paging"`
}

SearchResult Search Result swagger:model search-result

func (*SearchResult) MarshalBinary

func (m *SearchResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchResult) UnmarshalBinary

func (m *SearchResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchResult) Validate

func (m *SearchResult) Validate(formats strfmt.Registry) error

Validate validates this search result

Jump to

Keyboard shortcuts

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