models

package
v0.0.0-...-cf91c1a Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CredentialsTypeJiraBasic captures enum value "jira_basic"
	CredentialsTypeJiraBasic string = "jira_basic"
	// CredentialsTypeJiraOauth captures enum value "jira_oauth"
	CredentialsTypeJiraOauth string = "jira_oauth"
	// CredentialsTypeTrackerToken captures enum value "tracker_token"
	CredentialsTypeTrackerToken string = "tracker_token"
)
View Source
const (
	// ProjectProjectTypeTracker captures enum value "tracker"
	ProjectProjectTypeTracker string = "tracker"
	// ProjectProjectTypeJira captures enum value "jira"
	ProjectProjectTypeJira string = "jira"
)
View Source
const (
	// TaskStatusPending captures enum value "pending"
	TaskStatusPending string = "pending"
	// TaskStatusRunning captures enum value "running"
	TaskStatusRunning string = "running"
	// TaskStatusStopped captures enum value "stopped"
	TaskStatusStopped string = "stopped"
	// TaskStatusFailed captures enum value "failed"
	TaskStatusFailed string = "failed"
	// TaskStatusCancel captures enum value "cancel"
	TaskStatusCancel string = "cancel"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {

	// password
	Password strfmt.Password `json:"password,omitempty"`

	// token
	Token strfmt.Password `json:"token,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

Credentials credentials swagger:model Credentials

func (*Credentials) MarshalBinary

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

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Credentials) Validate

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

Validate validates this credentials

type Error

type Error struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error swagger:model Error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Project

type Project struct {

	// admin user ID
	AdminUserID string `json:"adminUserID,omitempty"`

	// external ID
	ExternalID string `json:"externalID,omitempty"`

	// project ID
	// Read Only: true
	ProjectID strfmt.UUID4 `json:"projectID,omitempty"`

	// project overrides
	ProjectOverrides interface{} `json:"projectOverrides,omitempty"`

	// project type
	ProjectType string `json:"projectType,omitempty"`

	// project URL
	ProjectURL string `json:"projectURL,omitempty"`
}

Project project swagger:model Project

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type Projects

type Projects []*Project

Projects projects swagger:model Projects

func (Projects) Validate

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

Validate validates this projects

type Task

type Task struct {

	// created at
	// Read Only: true
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// current state map
	CurrentStateMap interface{} `json:"currentStateMap,omitempty"`

	// destination
	Destination string `json:"destination,omitempty"`

	// last synchronized version
	// Read Only: true
	LastSynchronizedVersion int64 `json:"lastSynchronizedVersion,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// story field map
	StoryFieldMap interface{} `json:"storyFieldMap,omitempty"`

	// story type map
	StoryTypeMap interface{} `json:"storyTypeMap,omitempty"`

	// task ID
	// Read Only: true
	TaskID strfmt.UUID4 `json:"taskID,omitempty"`
}

Task task swagger:model Task

func (*Task) MarshalBinary

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

MarshalBinary interface implementation

func (*Task) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Task) Validate

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

Validate validates this task

type Tasks

type Tasks []*Task

Tasks tasks swagger:model Tasks

func (Tasks) Validate

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

Validate validates this tasks

type User

type User struct {

	// external credentials
	ExternalCredentials *Credentials `json:"externalCredentials,omitempty"`

	// user ID
	// Read Only: true
	UserID strfmt.UUID4 `json:"userID,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

User user swagger:model User

func (*User) MarshalBinary

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

type Users

type Users []*User

Users users swagger:model Users

func (Users) Validate

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

Validate validates this users

type Version

type Version struct {

	// build date
	// Read Only: true
	BuildDate string `json:"buildDate,omitempty"`

	// commit hash
	// Read Only: true
	CommitHash string `json:"commitHash,omitempty"`

	// release version
	// Read Only: true
	ReleaseVersion string `json:"releaseVersion,omitempty"`

	// runtime
	// Read Only: true
	Runtime string `json:"runtime,omitempty"`
}

Version version swagger:model Version

func (*Version) MarshalBinary

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

MarshalBinary interface implementation

func (*Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Version) Validate

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

Validate validates this version

Jump to

Keyboard shortcuts

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