models

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// Error code
	Code int64 `json:"code,omitempty"`

	// Error 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 {

	// Git remote URI
	GitRemoteURI string `json:"gitRemoteURI,omitempty"`

	// Git token
	GitToken string `json:"gitToken,omitempty"`

	// Git User
	GitUser string `json:"gitUser,omitempty"`

	// Project name
	ProjectName string `json:"projectName,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 struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// projects
	Projects []*Project `json:"projects"`

	// Total number of projects
	TotalCount float64 `json:"totalCount,omitempty"`
}

Projects projects swagger:model Projects

func (*Projects) MarshalBinary

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

MarshalBinary interface implementation

func (*Projects) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Projects) Validate

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

Validate validates this projects

type Resource

type Resource struct {

	// Resource content
	ResourceContent string `json:"resourceContent,omitempty"`

	// Resource URI
	// Required: true
	ResourceURI *string `json:"resourceURI"`
}

Resource resource swagger:model Resource

func (*Resource) MarshalBinary

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

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Resource) Validate

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

Validate validates this resource

type Resources

type Resources struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// resources
	Resources []*Resource `json:"resources"`

	// Total number of resources
	TotalCount float64 `json:"totalCount,omitempty"`
}

Resources resources swagger:model Resources

func (*Resources) MarshalBinary

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

MarshalBinary interface implementation

func (*Resources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Resources) Validate

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

Validate validates this resources

type Service

type Service struct {

	// Service name
	ServiceName string `json:"serviceName,omitempty"`
}

Service service swagger:model Service

func (*Service) MarshalBinary

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type Services

type Services struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// services
	Services []*Service `json:"services"`

	// Total number of services
	TotalCount float64 `json:"totalCount,omitempty"`
}

Services services swagger:model Services

func (*Services) MarshalBinary

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

MarshalBinary interface implementation

func (*Services) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Services) Validate

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

Validate validates this services

type Stage

type Stage struct {

	// Stage name
	StageName string `json:"stageName,omitempty"`
}

Stage stage swagger:model Stage

func (*Stage) MarshalBinary

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

MarshalBinary interface implementation

func (*Stage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Stage) Validate

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

Validate validates this stage

type Stages

type Stages struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// stages
	Stages []*Stage `json:"stages"`

	// Total number of stages
	TotalCount float64 `json:"totalCount,omitempty"`
}

Stages stages swagger:model Stages

func (*Stages) MarshalBinary

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

MarshalBinary interface implementation

func (*Stages) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Stages) Validate

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

Validate validates this stages

type Version

type Version struct {

	// Version identifier
	Version string `json:"version,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