v1

package
v0.0.429 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const ApplicationDependencyKind = "ApplicationDependency"

ApplicationDependencyKind is the name of the type used to represent objects of type 'application_dependency'.

View Source
const ApplicationDependencyLinkKind = "ApplicationDependencyLink"

ApplicationDependencyLinkKind is the name of the type used to represent links to objects of type 'application_dependency'.

View Source
const ApplicationDependencyListKind = "ApplicationDependencyList"

ApplicationDependencyListKind is the name of the type used to represent list of objects of type 'application_dependency'.

View Source
const ApplicationDependencyListLinkKind = "ApplicationDependencyListLink"

ApplicationDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'application_dependency'.

View Source
const ApplicationDependencyListNilKind = "ApplicationDependencyListNil"

ApplicationDependencyNilKind is the name of the type used to nil lists of objects of type 'application_dependency'.

View Source
const ApplicationDependencyNilKind = "ApplicationDependencyNil"

ApplicationDependencyNilKind is the name of the type used to nil references to objects of type 'application_dependency'.

View Source
const ApplicationKind = "Application"

ApplicationKind is the name of the type used to represent objects of type 'application'.

View Source
const ApplicationLinkKind = "ApplicationLink"

ApplicationLinkKind is the name of the type used to represent links to objects of type 'application'.

View Source
const ApplicationListKind = "ApplicationList"

ApplicationListKind is the name of the type used to represent list of objects of type 'application'.

View Source
const ApplicationListLinkKind = "ApplicationListLink"

ApplicationListLinkKind is the name of the type used to represent links to list of objects of type 'application'.

View Source
const ApplicationListNilKind = "ApplicationListNil"

ApplicationNilKind is the name of the type used to nil lists of objects of type 'application'.

View Source
const ApplicationNilKind = "ApplicationNil"

ApplicationNilKind is the name of the type used to nil references to objects of type 'application'.

View Source
const ErrorKind = "Error"

ErrorKind is the name of the type used to represent objects of type 'error'.

View Source
const ErrorLinkKind = "ErrorLink"

ErrorLinkKind is the name of the type used to represent links to objects of type 'error'.

View Source
const ErrorListKind = "ErrorList"

ErrorListKind is the name of the type used to represent list of objects of type 'error'.

View Source
const ErrorListLinkKind = "ErrorListLink"

ErrorListLinkKind is the name of the type used to represent links to list of objects of type 'error'.

View Source
const ErrorListNilKind = "ErrorListNil"

ErrorNilKind is the name of the type used to nil lists of objects of type 'error'.

View Source
const ErrorNilKind = "ErrorNil"

ErrorNilKind is the name of the type used to nil references to objects of type 'error'.

View Source
const OwnerKind = "Owner"

OwnerKind is the name of the type used to represent objects of type 'owner'.

View Source
const OwnerLinkKind = "OwnerLink"

OwnerLinkKind is the name of the type used to represent links to objects of type 'owner'.

View Source
const OwnerListKind = "OwnerList"

OwnerListKind is the name of the type used to represent list of objects of type 'owner'.

View Source
const OwnerListLinkKind = "OwnerListLink"

OwnerListLinkKind is the name of the type used to represent links to list of objects of type 'owner'.

View Source
const OwnerListNilKind = "OwnerListNil"

OwnerNilKind is the name of the type used to nil lists of objects of type 'owner'.

View Source
const OwnerNilKind = "OwnerNil"

OwnerNilKind is the name of the type used to nil references to objects of type 'owner'.

View Source
const PeerDependencyKind = "PeerDependency"

PeerDependencyKind is the name of the type used to represent objects of type 'peer_dependency'.

View Source
const PeerDependencyLinkKind = "PeerDependencyLink"

PeerDependencyLinkKind is the name of the type used to represent links to objects of type 'peer_dependency'.

View Source
const PeerDependencyListKind = "PeerDependencyList"

PeerDependencyListKind is the name of the type used to represent list of objects of type 'peer_dependency'.

View Source
const PeerDependencyListLinkKind = "PeerDependencyListLink"

PeerDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'peer_dependency'.

View Source
const PeerDependencyListNilKind = "PeerDependencyListNil"

PeerDependencyNilKind is the name of the type used to nil lists of objects of type 'peer_dependency'.

View Source
const PeerDependencyNilKind = "PeerDependencyNil"

PeerDependencyNilKind is the name of the type used to nil references to objects of type 'peer_dependency'.

View Source
const ProductKind = "Product"

ProductKind is the name of the type used to represent objects of type 'product'.

View Source
const ProductLinkKind = "ProductLink"

ProductLinkKind is the name of the type used to represent links to objects of type 'product'.

View Source
const ProductListKind = "ProductList"

ProductListKind is the name of the type used to represent list of objects of type 'product'.

View Source
const ProductListLinkKind = "ProductListLink"

ProductListLinkKind is the name of the type used to represent links to list of objects of type 'product'.

View Source
const ProductListNilKind = "ProductListNil"

ProductNilKind is the name of the type used to nil lists of objects of type 'product'.

View Source
const ProductNilKind = "ProductNil"

ProductNilKind is the name of the type used to nil references to objects of type 'product'.

View Source
const ServiceDependencyKind = "ServiceDependency"

ServiceDependencyKind is the name of the type used to represent objects of type 'service_dependency'.

View Source
const ServiceDependencyLinkKind = "ServiceDependencyLink"

ServiceDependencyLinkKind is the name of the type used to represent links to objects of type 'service_dependency'.

View Source
const ServiceDependencyListKind = "ServiceDependencyList"

ServiceDependencyListKind is the name of the type used to represent list of objects of type 'service_dependency'.

View Source
const ServiceDependencyListLinkKind = "ServiceDependencyListLink"

ServiceDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'service_dependency'.

View Source
const ServiceDependencyListNilKind = "ServiceDependencyListNil"

ServiceDependencyNilKind is the name of the type used to nil lists of objects of type 'service_dependency'.

View Source
const ServiceDependencyNilKind = "ServiceDependencyNil"

ServiceDependencyNilKind is the name of the type used to nil references to objects of type 'service_dependency'.

View Source
const ServiceInfoListKind = "ServiceInfoList"

ServiceInfoListKind is the name of the type used to represent list of objects of type 'service_info'.

View Source
const ServiceInfoListLinkKind = "ServiceInfoListLink"

ServiceInfoListLinkKind is the name of the type used to represent links to list of objects of type 'service_info'.

View Source
const ServiceInfoListNilKind = "ServiceInfoListNil"

ServiceInfoNilKind is the name of the type used to nil lists of objects of type 'service_info'.

View Source
const ServiceKind = "Service"

ServiceKind is the name of the type used to represent objects of type 'service'.

View Source
const ServiceLinkKind = "ServiceLink"

ServiceLinkKind is the name of the type used to represent links to objects of type 'service'.

View Source
const ServiceListKind = "ServiceList"

ServiceListKind is the name of the type used to represent list of objects of type 'service'.

View Source
const ServiceListLinkKind = "ServiceListLink"

ServiceListLinkKind is the name of the type used to represent links to list of objects of type 'service'.

View Source
const ServiceListNilKind = "ServiceListNil"

ServiceNilKind is the name of the type used to nil lists of objects of type 'service'.

View Source
const ServiceNilKind = "ServiceNil"

ServiceNilKind is the name of the type used to nil references to objects of type 'service'.

View Source
const StatusKind = "Status"

StatusKind is the name of the type used to represent objects of type 'status'.

View Source
const StatusLinkKind = "StatusLink"

StatusLinkKind is the name of the type used to represent links to objects of type 'status'.

View Source
const StatusListKind = "StatusList"

StatusListKind is the name of the type used to represent list of objects of type 'status'.

View Source
const StatusListLinkKind = "StatusListLink"

StatusListLinkKind is the name of the type used to represent links to list of objects of type 'status'.

View Source
const StatusListNilKind = "StatusListNil"

StatusNilKind is the name of the type used to nil lists of objects of type 'status'.

View Source
const StatusNilKind = "StatusNil"

StatusNilKind is the name of the type used to nil references to objects of type 'status'.

View Source
const StatusUpdateKind = "StatusUpdate"

StatusUpdateKind is the name of the type used to represent objects of type 'status_update'.

View Source
const StatusUpdateLinkKind = "StatusUpdateLink"

StatusUpdateLinkKind is the name of the type used to represent links to objects of type 'status_update'.

View Source
const StatusUpdateListKind = "StatusUpdateList"

StatusUpdateListKind is the name of the type used to represent list of objects of type 'status_update'.

View Source
const StatusUpdateListLinkKind = "StatusUpdateListLink"

StatusUpdateListLinkKind is the name of the type used to represent links to list of objects of type 'status_update'.

View Source
const StatusUpdateListNilKind = "StatusUpdateListNil"

StatusUpdateNilKind is the name of the type used to nil lists of objects of type 'status_update'.

View Source
const StatusUpdateNilKind = "StatusUpdateNil"

StatusUpdateNilKind is the name of the type used to nil references to objects of type 'status_update'.

Variables

This section is empty.

Functions

func MarshalApplication

func MarshalApplication(object *Application, writer io.Writer) error

MarshalApplication writes a value of the 'application' type to the given writer.

func MarshalApplicationDependency

func MarshalApplicationDependency(object *ApplicationDependency, writer io.Writer) error

MarshalApplicationDependency writes a value of the 'application_dependency' type to the given writer.

func MarshalApplicationDependencyList

func MarshalApplicationDependencyList(list []*ApplicationDependency, writer io.Writer) error

MarshalApplicationDependencyList writes a list of values of the 'application_dependency' type to the given writer.

func MarshalApplicationList

func MarshalApplicationList(list []*Application, writer io.Writer) error

MarshalApplicationList writes a list of values of the 'application' type to the given writer.

func MarshalBooleanList

func MarshalBooleanList(list []bool, writer io.Writer) error

MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.

func MarshalDateList

func MarshalDateList(list []time.Time, writer io.Writer) error

MarshalDateList writes a list of values of the 'date' type to the given writer.

func MarshalError

func MarshalError(object *Error, writer io.Writer) error

MarshalError writes a value of the 'error' type to the given writer.

func MarshalErrorList

func MarshalErrorList(list []*Error, writer io.Writer) error

MarshalErrorList writes a list of values of the 'error' type to the given writer.

func MarshalFloatList

func MarshalFloatList(list []float64, writer io.Writer) error

MarshalFloatList writes a list of values of the 'float' type to the given writer.

func MarshalIntegerList

func MarshalIntegerList(list []int, writer io.Writer) error

MarshalIntegerList writes a list of values of the 'integer' type to the given writer.

func MarshalInterfaceList

func MarshalInterfaceList(list []interface{}, writer io.Writer) error

MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.

func MarshalLongList

func MarshalLongList(list []int64, writer io.Writer) error

MarshalLongList writes a list of values of the 'long' type to the given writer.

func MarshalMetadata

func MarshalMetadata(object *Metadata, writer io.Writer) error

MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.

func MarshalOwner

func MarshalOwner(object *Owner, writer io.Writer) error

MarshalOwner writes a value of the 'owner' type to the given writer.

func MarshalOwnerList

func MarshalOwnerList(list []*Owner, writer io.Writer) error

MarshalOwnerList writes a list of values of the 'owner' type to the given writer.

func MarshalPeerDependency

func MarshalPeerDependency(object *PeerDependency, writer io.Writer) error

MarshalPeerDependency writes a value of the 'peer_dependency' type to the given writer.

func MarshalPeerDependencyList

func MarshalPeerDependencyList(list []*PeerDependency, writer io.Writer) error

MarshalPeerDependencyList writes a list of values of the 'peer_dependency' type to the given writer.

func MarshalProduct

func MarshalProduct(object *Product, writer io.Writer) error

MarshalProduct writes a value of the 'product' type to the given writer.

func MarshalProductList

func MarshalProductList(list []*Product, writer io.Writer) error

MarshalProductList writes a list of values of the 'product' type to the given writer.

func MarshalService

func MarshalService(object *Service, writer io.Writer) error

MarshalService writes a value of the 'service' type to the given writer.

func MarshalServiceDependency

func MarshalServiceDependency(object *ServiceDependency, writer io.Writer) error

MarshalServiceDependency writes a value of the 'service_dependency' type to the given writer.

func MarshalServiceDependencyList

func MarshalServiceDependencyList(list []*ServiceDependency, writer io.Writer) error

MarshalServiceDependencyList writes a list of values of the 'service_dependency' type to the given writer.

func MarshalServiceInfo

func MarshalServiceInfo(object *ServiceInfo, writer io.Writer) error

MarshalServiceInfo writes a value of the 'service_info' type to the given writer.

func MarshalServiceInfoList

func MarshalServiceInfoList(list []*ServiceInfo, writer io.Writer) error

MarshalServiceInfoList writes a list of values of the 'service_info' type to the given writer.

func MarshalServiceList

func MarshalServiceList(list []*Service, writer io.Writer) error

MarshalServiceList writes a list of values of the 'service' type to the given writer.

func MarshalStatus

func MarshalStatus(object *Status, writer io.Writer) error

MarshalStatus writes a value of the 'status' type to the given writer.

func MarshalStatusList

func MarshalStatusList(list []*Status, writer io.Writer) error

MarshalStatusList writes a list of values of the 'status' type to the given writer.

func MarshalStatusUpdate

func MarshalStatusUpdate(object *StatusUpdate, writer io.Writer) error

MarshalStatusUpdate writes a value of the 'status_update' type to the given writer.

func MarshalStatusUpdateList

func MarshalStatusUpdateList(list []*StatusUpdate, writer io.Writer) error

MarshalStatusUpdateList writes a list of values of the 'status_update' type to the given writer.

func MarshalStringList

func MarshalStringList(list []string, writer io.Writer) error

MarshalStringList writes a list of values of the 'string' type to the given writer.

func ReadBooleanList

func ReadBooleanList(iterator *jsoniter.Iterator) []bool

ReadBooleanList reads list of values of the ”boolean' type from the given iterator.

func ReadDateList

func ReadDateList(iterator *jsoniter.Iterator) []time.Time

ReadDateList reads list of values of the ”date' type from the given iterator.

func ReadFloatList

func ReadFloatList(iterator *jsoniter.Iterator) []float64

ReadFloatList reads list of values of the ”float' type from the given iterator.

func ReadIntegerList

func ReadIntegerList(iterator *jsoniter.Iterator) []int

ReadIntegerList reads list of values of the ”integer' type from the given iterator.

func ReadInterfaceList

func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}

ReadInterfaceList reads list of values of the ”interface' type from the given iterator.

func ReadLongList

func ReadLongList(iterator *jsoniter.Iterator) []int64

ReadLongList reads list of values of the ”long' type from the given iterator.

func ReadStringList

func ReadStringList(iterator *jsoniter.Iterator) []string

ReadStringList reads list of values of the ”string' type from the given iterator.

func UnmarshalBooleanList

func UnmarshalBooleanList(source interface{}) (items []bool, err error)

UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalDateList

func UnmarshalDateList(source interface{}) (items []time.Time, err error)

UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalFloatList

func UnmarshalFloatList(source interface{}) (items []float64, err error)

UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalIntegerList

func UnmarshalIntegerList(source interface{}) (items []int, err error)

UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalInterfaceList

func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)

UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalLongList

func UnmarshalLongList(source interface{}) (items []int64, err error)

UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.

func UnmarshalStringList

func UnmarshalStringList(source interface{}) (items []string, err error)

UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.

func WriteApplication

func WriteApplication(object *Application, stream *jsoniter.Stream)

WriteApplication writes a value of the 'application' type to the given stream.

func WriteApplicationDependency

func WriteApplicationDependency(object *ApplicationDependency, stream *jsoniter.Stream)

WriteApplicationDependency writes a value of the 'application_dependency' type to the given stream.

func WriteApplicationDependencyList

func WriteApplicationDependencyList(list []*ApplicationDependency, stream *jsoniter.Stream)

WriteApplicationDependencyList writes a list of value of the 'application_dependency' type to the given stream.

func WriteApplicationList

func WriteApplicationList(list []*Application, stream *jsoniter.Stream)

WriteApplicationList writes a list of value of the 'application' type to the given stream.

func WriteBooleanList

func WriteBooleanList(list []bool, stream *jsoniter.Stream)

WriteBooleanList writes a list of value of the 'boolean' type to the given stream.

func WriteDateList

func WriteDateList(list []time.Time, stream *jsoniter.Stream)

WriteDateList writes a list of value of the 'date' type to the given stream.

func WriteError

func WriteError(object *Error, stream *jsoniter.Stream)

WriteError writes a value of the 'error' type to the given stream.

func WriteErrorList

func WriteErrorList(list []*Error, stream *jsoniter.Stream)

WriteErrorList writes a list of value of the 'error' type to the given stream.

func WriteFloatList

func WriteFloatList(list []float64, stream *jsoniter.Stream)

WriteFloatList writes a list of value of the 'float' type to the given stream.

func WriteIntegerList

func WriteIntegerList(list []int, stream *jsoniter.Stream)

WriteIntegerList writes a list of value of the 'integer' type to the given stream.

func WriteInterfaceList

func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)

WriteInterfaceList writes a list of value of the 'interface' type to the given stream.

func WriteLongList

func WriteLongList(list []int64, stream *jsoniter.Stream)

WriteLongList writes a list of value of the 'long' type to the given stream.

func WriteOwner

func WriteOwner(object *Owner, stream *jsoniter.Stream)

WriteOwner writes a value of the 'owner' type to the given stream.

func WriteOwnerList

func WriteOwnerList(list []*Owner, stream *jsoniter.Stream)

WriteOwnerList writes a list of value of the 'owner' type to the given stream.

func WritePeerDependency

func WritePeerDependency(object *PeerDependency, stream *jsoniter.Stream)

WritePeerDependency writes a value of the 'peer_dependency' type to the given stream.

func WritePeerDependencyList

func WritePeerDependencyList(list []*PeerDependency, stream *jsoniter.Stream)

WritePeerDependencyList writes a list of value of the 'peer_dependency' type to the given stream.

func WriteProduct

func WriteProduct(object *Product, stream *jsoniter.Stream)

WriteProduct writes a value of the 'product' type to the given stream.

func WriteProductList

func WriteProductList(list []*Product, stream *jsoniter.Stream)

WriteProductList writes a list of value of the 'product' type to the given stream.

func WriteService

func WriteService(object *Service, stream *jsoniter.Stream)

WriteService writes a value of the 'service' type to the given stream.

func WriteServiceDependency

func WriteServiceDependency(object *ServiceDependency, stream *jsoniter.Stream)

WriteServiceDependency writes a value of the 'service_dependency' type to the given stream.

func WriteServiceDependencyList

func WriteServiceDependencyList(list []*ServiceDependency, stream *jsoniter.Stream)

WriteServiceDependencyList writes a list of value of the 'service_dependency' type to the given stream.

func WriteServiceInfo

func WriteServiceInfo(object *ServiceInfo, stream *jsoniter.Stream)

WriteServiceInfo writes a value of the 'service_info' type to the given stream.

func WriteServiceInfoList

func WriteServiceInfoList(list []*ServiceInfo, stream *jsoniter.Stream)

WriteServiceInfoList writes a list of value of the 'service_info' type to the given stream.

func WriteServiceList

func WriteServiceList(list []*Service, stream *jsoniter.Stream)

WriteServiceList writes a list of value of the 'service' type to the given stream.

func WriteStatus

func WriteStatus(object *Status, stream *jsoniter.Stream)

WriteStatus writes a value of the 'status' type to the given stream.

func WriteStatusList

func WriteStatusList(list []*Status, stream *jsoniter.Stream)

WriteStatusList writes a list of value of the 'status' type to the given stream.

func WriteStatusUpdate

func WriteStatusUpdate(object *StatusUpdate, stream *jsoniter.Stream)

WriteStatusUpdate writes a value of the 'status_update' type to the given stream.

func WriteStatusUpdateList

func WriteStatusUpdateList(list []*StatusUpdate, stream *jsoniter.Stream)

WriteStatusUpdateList writes a list of value of the 'status_update' type to the given stream.

func WriteStringList

func WriteStringList(list []string, stream *jsoniter.Stream)

WriteStringList writes a list of value of the 'string' type to the given stream.

Types

type Application

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

Application represents the values of the 'application' type.

Definition of a Status Board application.

func ReadApplication

func ReadApplication(iterator *jsoniter.Iterator) *Application

ReadApplication reads a value of the 'application' type from the given iterator.

func ReadApplicationList

func ReadApplicationList(iterator *jsoniter.Iterator) []*Application

ReadApplicationList reads list of values of the ”application' type from the given iterator.

func UnmarshalApplication

func UnmarshalApplication(source interface{}) (object *Application, err error)

UnmarshalApplication reads a value of the 'application' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalApplicationList

func UnmarshalApplicationList(source interface{}) (items []*Application, err error)

UnmarshalApplicationList reads a list of values of the 'application' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Application) CreatedAt

func (o *Application) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*Application) Empty

func (o *Application) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Application) Fullname

func (o *Application) Fullname() string

Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.

The full name of the application.

func (*Application) GetCreatedAt

func (o *Application) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*Application) GetFullname

func (o *Application) GetFullname() (value string, ok bool)

GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.

The full name of the application.

func (*Application) GetHREF

func (o *Application) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Application) GetID

func (o *Application) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Application) GetMetadata

func (o *Application) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the application.

func (*Application) GetName

func (o *Application) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the application.

func (*Application) GetOwners

func (o *Application) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

The application owners (name and email)

func (*Application) GetProduct

func (o *Application) GetProduct() (value *Product, ok bool)

GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.

The group ID that the application belongs to.

func (*Application) GetUpdatedAt

func (o *Application) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*Application) HREF

func (o *Application) HREF() string

HREF returns the link to the object.

func (*Application) ID

func (o *Application) ID() string

ID returns the identifier of the object.

func (*Application) Kind

func (o *Application) Kind() string

Kind returns the name of the type of the object.

func (o *Application) Link() bool

Link returns true if this is a link.

func (*Application) Metadata

func (o *Application) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the application.

func (*Application) Name

func (o *Application) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the application.

func (*Application) Owners

func (o *Application) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

The application owners (name and email)

func (*Application) Product

func (o *Application) Product() *Product

Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.

The group ID that the application belongs to.

func (*Application) UpdatedAt

func (o *Application) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type ApplicationBuilder

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

Definition of a Status Board application.

func NewApplication

func NewApplication() *ApplicationBuilder

NewApplication creates a new builder of 'application' objects.

func (*ApplicationBuilder) Build

func (b *ApplicationBuilder) Build() (object *Application, err error)

Build creates a 'application' object using the configuration stored in the builder.

func (*ApplicationBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ApplicationBuilder) CreatedAt

func (b *ApplicationBuilder) CreatedAt(value time.Time) *ApplicationBuilder

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ApplicationBuilder) Empty

func (b *ApplicationBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ApplicationBuilder) Fullname

func (b *ApplicationBuilder) Fullname(value string) *ApplicationBuilder

Fullname sets the value of the 'fullname' attribute to the given value.

func (*ApplicationBuilder) HREF

HREF sets the link to the object.

func (*ApplicationBuilder) ID

ID sets the identifier of the object.

func (b *ApplicationBuilder) Link(value bool) *ApplicationBuilder

Link sets the flag that indicates if this is a link.

func (*ApplicationBuilder) Metadata

func (b *ApplicationBuilder) Metadata(value interface{}) *ApplicationBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*ApplicationBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*ApplicationBuilder) Owners

func (b *ApplicationBuilder) Owners(values ...*OwnerBuilder) *ApplicationBuilder

Owners sets the value of the 'owners' attribute to the given values.

func (*ApplicationBuilder) Product

Product sets the value of the 'product' attribute to the given value.

Definition of a Status Board product.

func (*ApplicationBuilder) UpdatedAt

func (b *ApplicationBuilder) UpdatedAt(value time.Time) *ApplicationBuilder

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ApplicationDependency

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

ApplicationDependency represents the values of the 'application_dependency' type.

Definition of a Status Board application dependency.

func ReadApplicationDependency

func ReadApplicationDependency(iterator *jsoniter.Iterator) *ApplicationDependency

ReadApplicationDependency reads a value of the 'application_dependency' type from the given iterator.

func ReadApplicationDependencyList

func ReadApplicationDependencyList(iterator *jsoniter.Iterator) []*ApplicationDependency

ReadApplicationDependencyList reads list of values of the ”application_dependency' type from the given iterator.

func UnmarshalApplicationDependency

func UnmarshalApplicationDependency(source interface{}) (object *ApplicationDependency, err error)

UnmarshalApplicationDependency reads a value of the 'application_dependency' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalApplicationDependencyList

func UnmarshalApplicationDependencyList(source interface{}) (items []*ApplicationDependency, err error)

UnmarshalApplicationDependencyList reads a list of values of the 'application_dependency' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ApplicationDependency) Application

func (o *ApplicationDependency) Application() *Application

Application returns the value of the 'application' attribute, or the zero value of the type if the attribute doesn't have a value.

The parent Application of the dependency.

func (*ApplicationDependency) CreatedAt

func (o *ApplicationDependency) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*ApplicationDependency) Empty

func (o *ApplicationDependency) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ApplicationDependency) GetApplication

func (o *ApplicationDependency) GetApplication() (value *Application, ok bool)

GetApplication returns the value of the 'application' attribute and a flag indicating if the attribute has a value.

The parent Application of the dependency.

func (*ApplicationDependency) GetCreatedAt

func (o *ApplicationDependency) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*ApplicationDependency) GetHREF

func (o *ApplicationDependency) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ApplicationDependency) GetID

func (o *ApplicationDependency) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ApplicationDependency) GetMetadata

func (o *ApplicationDependency) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the application.

func (*ApplicationDependency) GetName

func (o *ApplicationDependency) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the application.

func (*ApplicationDependency) GetOwners

func (o *ApplicationDependency) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

The application dependency owners (name and email)

func (*ApplicationDependency) GetService

func (o *ApplicationDependency) GetService() (value *Service, ok bool)

GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.

The Service associated with the dependency.

func (*ApplicationDependency) GetType

func (o *ApplicationDependency) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

The type of application dependency, e.g. soft or hard.

func (*ApplicationDependency) GetUpdatedAt

func (o *ApplicationDependency) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*ApplicationDependency) HREF

func (o *ApplicationDependency) HREF() string

HREF returns the link to the object.

func (*ApplicationDependency) ID

func (o *ApplicationDependency) ID() string

ID returns the identifier of the object.

func (*ApplicationDependency) Kind

func (o *ApplicationDependency) Kind() string

Kind returns the name of the type of the object.

func (o *ApplicationDependency) Link() bool

Link returns true if this is a link.

func (*ApplicationDependency) Metadata

func (o *ApplicationDependency) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the application.

func (*ApplicationDependency) Name

func (o *ApplicationDependency) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the application.

func (*ApplicationDependency) Owners

func (o *ApplicationDependency) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

The application dependency owners (name and email)

func (*ApplicationDependency) Service

func (o *ApplicationDependency) Service() *Service

Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.

The Service associated with the dependency.

func (*ApplicationDependency) Type

func (o *ApplicationDependency) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

The type of application dependency, e.g. soft or hard.

func (*ApplicationDependency) UpdatedAt

func (o *ApplicationDependency) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type ApplicationDependencyBuilder

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

Definition of a Status Board application dependency.

func NewApplicationDependency

func NewApplicationDependency() *ApplicationDependencyBuilder

NewApplicationDependency creates a new builder of 'application_dependency' objects.

func (*ApplicationDependencyBuilder) Application

Application sets the value of the 'application' attribute to the given value.

Definition of a Status Board application.

func (*ApplicationDependencyBuilder) Build

func (b *ApplicationDependencyBuilder) Build() (object *ApplicationDependency, err error)

Build creates a 'application_dependency' object using the configuration stored in the builder.

func (*ApplicationDependencyBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ApplicationDependencyBuilder) CreatedAt

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ApplicationDependencyBuilder) Empty

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ApplicationDependencyBuilder) HREF

HREF sets the link to the object.

func (*ApplicationDependencyBuilder) ID

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ApplicationDependencyBuilder) Metadata

func (b *ApplicationDependencyBuilder) Metadata(value interface{}) *ApplicationDependencyBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*ApplicationDependencyBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*ApplicationDependencyBuilder) Owners

Owners sets the value of the 'owners' attribute to the given values.

func (*ApplicationDependencyBuilder) Service

Service sets the value of the 'service' attribute to the given value.

Definition of a Status Board Service.

func (*ApplicationDependencyBuilder) Type

Type sets the value of the 'type' attribute to the given value.

func (*ApplicationDependencyBuilder) UpdatedAt

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ApplicationDependencyList

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

ApplicationDependencyList is a list of values of the 'application_dependency' type.

func (*ApplicationDependencyList) Each

func (l *ApplicationDependencyList) Each(f func(item *ApplicationDependency) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ApplicationDependencyList) Empty

func (l *ApplicationDependencyList) Empty() bool

Empty returns true if the list is empty.

func (*ApplicationDependencyList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ApplicationDependencyList) GetHREF

func (l *ApplicationDependencyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ApplicationDependencyList) HREF

HREF returns the link to the list.

func (*ApplicationDependencyList) Items

Items returns the items of the list.

func (*ApplicationDependencyList) Kind

Kind returns the name of the type of the object.

func (*ApplicationDependencyList) Len

func (l *ApplicationDependencyList) Len() int

Len returns the length of the list.

func (l *ApplicationDependencyList) Link() bool

Link returns true iif this is a link.

func (*ApplicationDependencyList) Range

func (l *ApplicationDependencyList) Range(f func(index int, item *ApplicationDependency) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ApplicationDependencyList) SetHREF

func (l *ApplicationDependencyList) SetHREF(href string)

Items sets the items of the list.

func (*ApplicationDependencyList) SetItems

func (l *ApplicationDependencyList) SetItems(items []*ApplicationDependency)

Items sets the items of the list.

func (l *ApplicationDependencyList) SetLink(link bool)

Items sets the items of the list.

func (*ApplicationDependencyList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ApplicationDependencyListBuilder

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

ApplicationDependencyListBuilder contains the data and logic needed to build 'application_dependency' objects.

func NewApplicationDependencyList

func NewApplicationDependencyList() *ApplicationDependencyListBuilder

NewApplicationDependencyList creates a new builder of 'application_dependency' objects.

func (*ApplicationDependencyListBuilder) Build

Build creates a list of 'application_dependency' objects using the configuration stored in the builder.

func (*ApplicationDependencyListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ApplicationDependencyListBuilder) Empty

Empty returns true if the list is empty.

func (*ApplicationDependencyListBuilder) Items

Items sets the items of the list.

type ApplicationList

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

ApplicationList is a list of values of the 'application' type.

func (*ApplicationList) Each

func (l *ApplicationList) Each(f func(item *Application) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ApplicationList) Empty

func (l *ApplicationList) Empty() bool

Empty returns true if the list is empty.

func (*ApplicationList) Get

func (l *ApplicationList) Get(i int) *Application

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ApplicationList) GetHREF

func (l *ApplicationList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ApplicationList) HREF

func (l *ApplicationList) HREF() string

HREF returns the link to the list.

func (*ApplicationList) Items

func (l *ApplicationList) Items() []*Application

Items returns the items of the list.

func (*ApplicationList) Kind

func (l *ApplicationList) Kind() string

Kind returns the name of the type of the object.

func (*ApplicationList) Len

func (l *ApplicationList) Len() int

Len returns the length of the list.

func (l *ApplicationList) Link() bool

Link returns true iif this is a link.

func (*ApplicationList) Range

func (l *ApplicationList) Range(f func(index int, item *Application) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ApplicationList) SetHREF

func (l *ApplicationList) SetHREF(href string)

Items sets the items of the list.

func (*ApplicationList) SetItems

func (l *ApplicationList) SetItems(items []*Application)

Items sets the items of the list.

func (l *ApplicationList) SetLink(link bool)

Items sets the items of the list.

func (*ApplicationList) Slice

func (l *ApplicationList) Slice() []*Application

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ApplicationListBuilder

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

ApplicationListBuilder contains the data and logic needed to build 'application' objects.

func NewApplicationList

func NewApplicationList() *ApplicationListBuilder

NewApplicationList creates a new builder of 'application' objects.

func (*ApplicationListBuilder) Build

func (b *ApplicationListBuilder) Build() (list *ApplicationList, err error)

Build creates a list of 'application' objects using the configuration stored in the builder.

func (*ApplicationListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ApplicationListBuilder) Empty

func (b *ApplicationListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ApplicationListBuilder) Items

Items sets the items of the list.

type Error

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

Error represents the values of the 'error' type.

Definition of a Status Board error.

func ReadError

func ReadError(iterator *jsoniter.Iterator) *Error

ReadError reads a value of the 'error' type from the given iterator.

func ReadErrorList

func ReadErrorList(iterator *jsoniter.Iterator) []*Error

ReadErrorList reads list of values of the ”error' type from the given iterator.

func UnmarshalError

func UnmarshalError(source interface{}) (object *Error, err error)

UnmarshalError reads a value of the 'error' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalErrorList

func UnmarshalErrorList(source interface{}) (items []*Error, err error)

UnmarshalErrorList reads a list of values of the 'error' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Error) Code

func (o *Error) Code() string

Code returns the value of the 'code' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Error) Empty

func (o *Error) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Error) GetCode

func (o *Error) GetCode() (value string, ok bool)

GetCode returns the value of the 'code' attribute and a flag indicating if the attribute has a value.

func (*Error) GetHREF

func (o *Error) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Error) GetID

func (o *Error) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Error) GetReason

func (o *Error) GetReason() (value string, ok bool)

GetReason returns the value of the 'reason' attribute and a flag indicating if the attribute has a value.

func (*Error) HREF

func (o *Error) HREF() string

HREF returns the link to the object.

func (*Error) ID

func (o *Error) ID() string

ID returns the identifier of the object.

func (*Error) Kind

func (o *Error) Kind() string

Kind returns the name of the type of the object.

func (o *Error) Link() bool

Link returns true if this is a link.

func (*Error) Reason

func (o *Error) Reason() string

Reason returns the value of the 'reason' attribute, or the zero value of the type if the attribute doesn't have a value.

type ErrorBuilder

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

Definition of a Status Board error.

func NewError

func NewError() *ErrorBuilder

NewError creates a new builder of 'error' objects.

func (*ErrorBuilder) Build

func (b *ErrorBuilder) Build() (object *Error, err error)

Build creates a 'error' object using the configuration stored in the builder.

func (*ErrorBuilder) Code

func (b *ErrorBuilder) Code(value string) *ErrorBuilder

Code sets the value of the 'code' attribute to the given value.

func (*ErrorBuilder) Copy

func (b *ErrorBuilder) Copy(object *Error) *ErrorBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ErrorBuilder) Empty

func (b *ErrorBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ErrorBuilder) HREF

func (b *ErrorBuilder) HREF(value string) *ErrorBuilder

HREF sets the link to the object.

func (*ErrorBuilder) ID

func (b *ErrorBuilder) ID(value string) *ErrorBuilder

ID sets the identifier of the object.

func (b *ErrorBuilder) Link(value bool) *ErrorBuilder

Link sets the flag that indicates if this is a link.

func (*ErrorBuilder) Reason

func (b *ErrorBuilder) Reason(value string) *ErrorBuilder

Reason sets the value of the 'reason' attribute to the given value.

type ErrorList

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

ErrorList is a list of values of the 'error' type.

func (*ErrorList) Each

func (l *ErrorList) Each(f func(item *Error) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ErrorList) Empty

func (l *ErrorList) Empty() bool

Empty returns true if the list is empty.

func (*ErrorList) Get

func (l *ErrorList) Get(i int) *Error

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ErrorList) GetHREF

func (l *ErrorList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ErrorList) HREF

func (l *ErrorList) HREF() string

HREF returns the link to the list.

func (*ErrorList) Items

func (l *ErrorList) Items() []*Error

Items returns the items of the list.

func (*ErrorList) Kind

func (l *ErrorList) Kind() string

Kind returns the name of the type of the object.

func (*ErrorList) Len

func (l *ErrorList) Len() int

Len returns the length of the list.

func (l *ErrorList) Link() bool

Link returns true iif this is a link.

func (*ErrorList) Range

func (l *ErrorList) Range(f func(index int, item *Error) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ErrorList) SetHREF

func (l *ErrorList) SetHREF(href string)

Items sets the items of the list.

func (*ErrorList) SetItems

func (l *ErrorList) SetItems(items []*Error)

Items sets the items of the list.

func (l *ErrorList) SetLink(link bool)

Items sets the items of the list.

func (*ErrorList) Slice

func (l *ErrorList) Slice() []*Error

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ErrorListBuilder

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

ErrorListBuilder contains the data and logic needed to build 'error' objects.

func NewErrorList

func NewErrorList() *ErrorListBuilder

NewErrorList creates a new builder of 'error' objects.

func (*ErrorListBuilder) Build

func (b *ErrorListBuilder) Build() (list *ErrorList, err error)

Build creates a list of 'error' objects using the configuration stored in the builder.

func (*ErrorListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ErrorListBuilder) Empty

func (b *ErrorListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ErrorListBuilder) Items

func (b *ErrorListBuilder) Items(values ...*ErrorBuilder) *ErrorListBuilder

Items sets the items of the list.

type Metadata

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

Metadata contains the version metadata.

func UnmarshalMetadata

func UnmarshalMetadata(source interface{}) (object *Metadata, err error)

UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.

func (*Metadata) GetServerVersion

func (m *Metadata) GetServerVersion() (value string, ok bool)

GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.

func (*Metadata) ServerVersion

func (m *Metadata) ServerVersion() string

ServerVersion returns the version of the server.

type Owner

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

Owner represents the values of the 'owner' type.

Definition of a Status Board owner.

func ReadOwner

func ReadOwner(iterator *jsoniter.Iterator) *Owner

ReadOwner reads a value of the 'owner' type from the given iterator.

func ReadOwnerList

func ReadOwnerList(iterator *jsoniter.Iterator) []*Owner

ReadOwnerList reads list of values of the ”owner' type from the given iterator.

func UnmarshalOwner

func UnmarshalOwner(source interface{}) (object *Owner, err error)

UnmarshalOwner reads a value of the 'owner' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalOwnerList

func UnmarshalOwnerList(source interface{}) (items []*Owner, err error)

UnmarshalOwnerList reads a list of values of the 'owner' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Owner) Email

func (o *Owner) Email() string

Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.

The owner's email address.

func (*Owner) Empty

func (o *Owner) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Owner) GetEmail

func (o *Owner) GetEmail() (value string, ok bool)

GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.

The owner's email address.

func (*Owner) GetHREF

func (o *Owner) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Owner) GetID

func (o *Owner) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Owner) GetUsername

func (o *Owner) GetUsername() (value string, ok bool)

GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.

The owner's username.

func (*Owner) HREF

func (o *Owner) HREF() string

HREF returns the link to the object.

func (*Owner) ID

func (o *Owner) ID() string

ID returns the identifier of the object.

func (*Owner) Kind

func (o *Owner) Kind() string

Kind returns the name of the type of the object.

func (o *Owner) Link() bool

Link returns true if this is a link.

func (*Owner) Username

func (o *Owner) Username() string

Username returns the value of the 'username' attribute, or the zero value of the type if the attribute doesn't have a value.

The owner's username.

type OwnerBuilder

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

Definition of a Status Board owner.

func NewOwner

func NewOwner() *OwnerBuilder

NewOwner creates a new builder of 'owner' objects.

func (*OwnerBuilder) Build

func (b *OwnerBuilder) Build() (object *Owner, err error)

Build creates a 'owner' object using the configuration stored in the builder.

func (*OwnerBuilder) Copy

func (b *OwnerBuilder) Copy(object *Owner) *OwnerBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*OwnerBuilder) Email

func (b *OwnerBuilder) Email(value string) *OwnerBuilder

Email sets the value of the 'email' attribute to the given value.

func (*OwnerBuilder) Empty

func (b *OwnerBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*OwnerBuilder) HREF

func (b *OwnerBuilder) HREF(value string) *OwnerBuilder

HREF sets the link to the object.

func (*OwnerBuilder) ID

func (b *OwnerBuilder) ID(value string) *OwnerBuilder

ID sets the identifier of the object.

func (b *OwnerBuilder) Link(value bool) *OwnerBuilder

Link sets the flag that indicates if this is a link.

func (*OwnerBuilder) Username

func (b *OwnerBuilder) Username(value string) *OwnerBuilder

Username sets the value of the 'username' attribute to the given value.

type OwnerList

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

OwnerList is a list of values of the 'owner' type.

func (*OwnerList) Each

func (l *OwnerList) Each(f func(item *Owner) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OwnerList) Empty

func (l *OwnerList) Empty() bool

Empty returns true if the list is empty.

func (*OwnerList) Get

func (l *OwnerList) Get(i int) *Owner

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*OwnerList) GetHREF

func (l *OwnerList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*OwnerList) HREF

func (l *OwnerList) HREF() string

HREF returns the link to the list.

func (*OwnerList) Items

func (l *OwnerList) Items() []*Owner

Items returns the items of the list.

func (*OwnerList) Kind

func (l *OwnerList) Kind() string

Kind returns the name of the type of the object.

func (*OwnerList) Len

func (l *OwnerList) Len() int

Len returns the length of the list.

func (l *OwnerList) Link() bool

Link returns true iif this is a link.

func (*OwnerList) Range

func (l *OwnerList) Range(f func(index int, item *Owner) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*OwnerList) SetHREF

func (l *OwnerList) SetHREF(href string)

Items sets the items of the list.

func (*OwnerList) SetItems

func (l *OwnerList) SetItems(items []*Owner)

Items sets the items of the list.

func (l *OwnerList) SetLink(link bool)

Items sets the items of the list.

func (*OwnerList) Slice

func (l *OwnerList) Slice() []*Owner

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type OwnerListBuilder

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

OwnerListBuilder contains the data and logic needed to build 'owner' objects.

func NewOwnerList

func NewOwnerList() *OwnerListBuilder

NewOwnerList creates a new builder of 'owner' objects.

func (*OwnerListBuilder) Build

func (b *OwnerListBuilder) Build() (list *OwnerList, err error)

Build creates a list of 'owner' objects using the configuration stored in the builder.

func (*OwnerListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*OwnerListBuilder) Empty

func (b *OwnerListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*OwnerListBuilder) Items

func (b *OwnerListBuilder) Items(values ...*OwnerBuilder) *OwnerListBuilder

Items sets the items of the list.

type PeerDependency

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

PeerDependency represents the values of the 'peer_dependency' type.

Definition of a Status Board peer dependency.

func ReadPeerDependency

func ReadPeerDependency(iterator *jsoniter.Iterator) *PeerDependency

ReadPeerDependency reads a value of the 'peer_dependency' type from the given iterator.

func ReadPeerDependencyList

func ReadPeerDependencyList(iterator *jsoniter.Iterator) []*PeerDependency

ReadPeerDependencyList reads list of values of the ”peer_dependency' type from the given iterator.

func UnmarshalPeerDependency

func UnmarshalPeerDependency(source interface{}) (object *PeerDependency, err error)

UnmarshalPeerDependency reads a value of the 'peer_dependency' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalPeerDependencyList

func UnmarshalPeerDependencyList(source interface{}) (items []*PeerDependency, err error)

UnmarshalPeerDependencyList reads a list of values of the 'peer_dependency' type from the given source, which can be a slice of bytes, a string or a reader.

func (*PeerDependency) CreatedAt

func (o *PeerDependency) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*PeerDependency) Empty

func (o *PeerDependency) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*PeerDependency) GetCreatedAt

func (o *PeerDependency) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*PeerDependency) GetHREF

func (o *PeerDependency) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*PeerDependency) GetID

func (o *PeerDependency) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*PeerDependency) GetMetadata

func (o *PeerDependency) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the peer dependency.

func (*PeerDependency) GetName

func (o *PeerDependency) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the peer dependency.

func (*PeerDependency) GetOwners

func (o *PeerDependency) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

The peer dependency owners (name and email)

func (*PeerDependency) GetServices

func (o *PeerDependency) GetServices() (value []*Service, ok bool)

GetServices returns the value of the 'services' attribute and a flag indicating if the attribute has a value.

Services associated with the peer dependency.

func (*PeerDependency) GetUpdatedAt

func (o *PeerDependency) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*PeerDependency) HREF

func (o *PeerDependency) HREF() string

HREF returns the link to the object.

func (*PeerDependency) ID

func (o *PeerDependency) ID() string

ID returns the identifier of the object.

func (*PeerDependency) Kind

func (o *PeerDependency) Kind() string

Kind returns the name of the type of the object.

func (o *PeerDependency) Link() bool

Link returns true if this is a link.

func (*PeerDependency) Metadata

func (o *PeerDependency) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the peer dependency.

func (*PeerDependency) Name

func (o *PeerDependency) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the peer dependency.

func (*PeerDependency) Owners

func (o *PeerDependency) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

The peer dependency owners (name and email)

func (*PeerDependency) Services

func (o *PeerDependency) Services() []*Service

Services returns the value of the 'services' attribute, or the zero value of the type if the attribute doesn't have a value.

Services associated with the peer dependency.

func (*PeerDependency) UpdatedAt

func (o *PeerDependency) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type PeerDependencyBuilder

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

Definition of a Status Board peer dependency.

func NewPeerDependency

func NewPeerDependency() *PeerDependencyBuilder

NewPeerDependency creates a new builder of 'peer_dependency' objects.

func (*PeerDependencyBuilder) Build

func (b *PeerDependencyBuilder) Build() (object *PeerDependency, err error)

Build creates a 'peer_dependency' object using the configuration stored in the builder.

func (*PeerDependencyBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*PeerDependencyBuilder) CreatedAt

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*PeerDependencyBuilder) Empty

func (b *PeerDependencyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*PeerDependencyBuilder) HREF

HREF sets the link to the object.

func (*PeerDependencyBuilder) ID

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*PeerDependencyBuilder) Metadata

func (b *PeerDependencyBuilder) Metadata(value interface{}) *PeerDependencyBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*PeerDependencyBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*PeerDependencyBuilder) Owners

Owners sets the value of the 'owners' attribute to the given values.

func (*PeerDependencyBuilder) Services

Services sets the value of the 'services' attribute to the given values.

func (*PeerDependencyBuilder) UpdatedAt

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type PeerDependencyList

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

PeerDependencyList is a list of values of the 'peer_dependency' type.

func (*PeerDependencyList) Each

func (l *PeerDependencyList) Each(f func(item *PeerDependency) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PeerDependencyList) Empty

func (l *PeerDependencyList) Empty() bool

Empty returns true if the list is empty.

func (*PeerDependencyList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*PeerDependencyList) GetHREF

func (l *PeerDependencyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*PeerDependencyList) HREF

func (l *PeerDependencyList) HREF() string

HREF returns the link to the list.

func (*PeerDependencyList) Items

func (l *PeerDependencyList) Items() []*PeerDependency

Items returns the items of the list.

func (*PeerDependencyList) Kind

func (l *PeerDependencyList) Kind() string

Kind returns the name of the type of the object.

func (*PeerDependencyList) Len

func (l *PeerDependencyList) Len() int

Len returns the length of the list.

func (l *PeerDependencyList) Link() bool

Link returns true iif this is a link.

func (*PeerDependencyList) Range

func (l *PeerDependencyList) Range(f func(index int, item *PeerDependency) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*PeerDependencyList) SetHREF

func (l *PeerDependencyList) SetHREF(href string)

Items sets the items of the list.

func (*PeerDependencyList) SetItems

func (l *PeerDependencyList) SetItems(items []*PeerDependency)

Items sets the items of the list.

func (l *PeerDependencyList) SetLink(link bool)

Items sets the items of the list.

func (*PeerDependencyList) Slice

func (l *PeerDependencyList) Slice() []*PeerDependency

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type PeerDependencyListBuilder

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

PeerDependencyListBuilder contains the data and logic needed to build 'peer_dependency' objects.

func NewPeerDependencyList

func NewPeerDependencyList() *PeerDependencyListBuilder

NewPeerDependencyList creates a new builder of 'peer_dependency' objects.

func (*PeerDependencyListBuilder) Build

func (b *PeerDependencyListBuilder) Build() (list *PeerDependencyList, err error)

Build creates a list of 'peer_dependency' objects using the configuration stored in the builder.

func (*PeerDependencyListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*PeerDependencyListBuilder) Empty

func (b *PeerDependencyListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*PeerDependencyListBuilder) Items

Items sets the items of the list.

type Product

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

Product represents the values of the 'product' type.

Definition of a Status Board product.

func ReadProduct

func ReadProduct(iterator *jsoniter.Iterator) *Product

ReadProduct reads a value of the 'product' type from the given iterator.

func ReadProductList

func ReadProductList(iterator *jsoniter.Iterator) []*Product

ReadProductList reads list of values of the ”product' type from the given iterator.

func UnmarshalProduct

func UnmarshalProduct(source interface{}) (object *Product, err error)

UnmarshalProduct reads a value of the 'product' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalProductList

func UnmarshalProductList(source interface{}) (items []*Product, err error)

UnmarshalProductList reads a list of values of the 'product' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Product) CreatedAt

func (o *Product) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*Product) Empty

func (o *Product) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Product) Fullname

func (o *Product) Fullname() string

Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.

The fullname of the product.

func (*Product) GetCreatedAt

func (o *Product) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*Product) GetFullname

func (o *Product) GetFullname() (value string, ok bool)

GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.

The fullname of the product.

func (*Product) GetHREF

func (o *Product) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Product) GetID

func (o *Product) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Product) GetMetadata

func (o *Product) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous data about the product.

func (*Product) GetName

func (o *Product) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the product.

func (*Product) GetOwners

func (o *Product) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

The product owners (name and email).

func (*Product) GetUpdatedAt

func (o *Product) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*Product) HREF

func (o *Product) HREF() string

HREF returns the link to the object.

func (*Product) ID

func (o *Product) ID() string

ID returns the identifier of the object.

func (*Product) Kind

func (o *Product) Kind() string

Kind returns the name of the type of the object.

func (o *Product) Link() bool

Link returns true if this is a link.

func (*Product) Metadata

func (o *Product) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous data about the product.

func (*Product) Name

func (o *Product) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the product.

func (*Product) Owners

func (o *Product) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

The product owners (name and email).

func (*Product) UpdatedAt

func (o *Product) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type ProductBuilder

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

Definition of a Status Board product.

func NewProduct

func NewProduct() *ProductBuilder

NewProduct creates a new builder of 'product' objects.

func (*ProductBuilder) Build

func (b *ProductBuilder) Build() (object *Product, err error)

Build creates a 'product' object using the configuration stored in the builder.

func (*ProductBuilder) Copy

func (b *ProductBuilder) Copy(object *Product) *ProductBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ProductBuilder) CreatedAt

func (b *ProductBuilder) CreatedAt(value time.Time) *ProductBuilder

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ProductBuilder) Empty

func (b *ProductBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ProductBuilder) Fullname

func (b *ProductBuilder) Fullname(value string) *ProductBuilder

Fullname sets the value of the 'fullname' attribute to the given value.

func (*ProductBuilder) HREF

func (b *ProductBuilder) HREF(value string) *ProductBuilder

HREF sets the link to the object.

func (*ProductBuilder) ID

func (b *ProductBuilder) ID(value string) *ProductBuilder

ID sets the identifier of the object.

func (b *ProductBuilder) Link(value bool) *ProductBuilder

Link sets the flag that indicates if this is a link.

func (*ProductBuilder) Metadata

func (b *ProductBuilder) Metadata(value interface{}) *ProductBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*ProductBuilder) Name

func (b *ProductBuilder) Name(value string) *ProductBuilder

Name sets the value of the 'name' attribute to the given value.

func (*ProductBuilder) Owners

func (b *ProductBuilder) Owners(values ...*OwnerBuilder) *ProductBuilder

Owners sets the value of the 'owners' attribute to the given values.

func (*ProductBuilder) UpdatedAt

func (b *ProductBuilder) UpdatedAt(value time.Time) *ProductBuilder

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ProductList

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

ProductList is a list of values of the 'product' type.

func (*ProductList) Each

func (l *ProductList) Each(f func(item *Product) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProductList) Empty

func (l *ProductList) Empty() bool

Empty returns true if the list is empty.

func (*ProductList) Get

func (l *ProductList) Get(i int) *Product

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ProductList) GetHREF

func (l *ProductList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ProductList) HREF

func (l *ProductList) HREF() string

HREF returns the link to the list.

func (*ProductList) Items

func (l *ProductList) Items() []*Product

Items returns the items of the list.

func (*ProductList) Kind

func (l *ProductList) Kind() string

Kind returns the name of the type of the object.

func (*ProductList) Len

func (l *ProductList) Len() int

Len returns the length of the list.

func (l *ProductList) Link() bool

Link returns true iif this is a link.

func (*ProductList) Range

func (l *ProductList) Range(f func(index int, item *Product) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ProductList) SetHREF

func (l *ProductList) SetHREF(href string)

Items sets the items of the list.

func (*ProductList) SetItems

func (l *ProductList) SetItems(items []*Product)

Items sets the items of the list.

func (l *ProductList) SetLink(link bool)

Items sets the items of the list.

func (*ProductList) Slice

func (l *ProductList) Slice() []*Product

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ProductListBuilder

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

ProductListBuilder contains the data and logic needed to build 'product' objects.

func NewProductList

func NewProductList() *ProductListBuilder

NewProductList creates a new builder of 'product' objects.

func (*ProductListBuilder) Build

func (b *ProductListBuilder) Build() (list *ProductList, err error)

Build creates a list of 'product' objects using the configuration stored in the builder.

func (*ProductListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ProductListBuilder) Empty

func (b *ProductListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ProductListBuilder) Items

Items sets the items of the list.

type Service

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

Service represents the values of the 'service' type.

Definition of a Status Board Service.

func ReadService

func ReadService(iterator *jsoniter.Iterator) *Service

ReadService reads a value of the 'service' type from the given iterator.

func ReadServiceList

func ReadServiceList(iterator *jsoniter.Iterator) []*Service

ReadServiceList reads list of values of the ”service' type from the given iterator.

func UnmarshalService

func UnmarshalService(source interface{}) (object *Service, err error)

UnmarshalService reads a value of the 'service' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalServiceList

func UnmarshalServiceList(source interface{}) (items []*Service, err error)

UnmarshalServiceList reads a list of values of the 'service' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Service) Application

func (o *Service) Application() *Application

Application returns the value of the 'application' attribute, or the zero value of the type if the attribute doesn't have a value.

The Application associated with the Service

func (*Service) CreatedAt

func (o *Service) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*Service) CurrentStatus

func (o *Service) CurrentStatus() string

CurrentStatus returns the value of the 'current_status' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) Empty

func (o *Service) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Service) Fullname

func (o *Service) Fullname() string

Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) GetApplication

func (o *Service) GetApplication() (value *Application, ok bool)

GetApplication returns the value of the 'application' attribute and a flag indicating if the attribute has a value.

The Application associated with the Service

func (*Service) GetCreatedAt

func (o *Service) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*Service) GetCurrentStatus

func (o *Service) GetCurrentStatus() (value string, ok bool)

GetCurrentStatus returns the value of the 'current_status' attribute and a flag indicating if the attribute has a value.

func (*Service) GetFullname

func (o *Service) GetFullname() (value string, ok bool)

GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.

func (*Service) GetHREF

func (o *Service) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Service) GetID

func (o *Service) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Service) GetLastPingAt

func (o *Service) GetLastPingAt() (value time.Time, ok bool)

GetLastPingAt returns the value of the 'last_ping_at' attribute and a flag indicating if the attribute has a value.

func (*Service) GetMetadata

func (o *Service) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

func (*Service) GetName

func (o *Service) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the Service

func (*Service) GetOwners

func (o *Service) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

func (*Service) GetPrivate

func (o *Service) GetPrivate() (value bool, ok bool)

GetPrivate returns the value of the 'private' attribute and a flag indicating if the attribute has a value.

func (*Service) GetServiceEndpoint

func (o *Service) GetServiceEndpoint() (value string, ok bool)

GetServiceEndpoint returns the value of the 'service_endpoint' attribute and a flag indicating if the attribute has a value.

func (*Service) GetStatusType

func (o *Service) GetStatusType() (value string, ok bool)

GetStatusType returns the value of the 'status_type' attribute and a flag indicating if the attribute has a value.

func (*Service) GetStatusUpdatedAt

func (o *Service) GetStatusUpdatedAt() (value time.Time, ok bool)

GetStatusUpdatedAt returns the value of the 'status_updated_at' attribute and a flag indicating if the attribute has a value.

func (*Service) GetToken

func (o *Service) GetToken() (value string, ok bool)

GetToken returns the value of the 'token' attribute and a flag indicating if the attribute has a value.

func (*Service) GetUpdatedAt

func (o *Service) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*Service) HREF

func (o *Service) HREF() string

HREF returns the link to the object.

func (*Service) ID

func (o *Service) ID() string

ID returns the identifier of the object.

func (*Service) Kind

func (o *Service) Kind() string

Kind returns the name of the type of the object.

func (*Service) LastPingAt

func (o *Service) LastPingAt() time.Time

LastPingAt returns the value of the 'last_ping_at' attribute, or the zero value of the type if the attribute doesn't have a value.

func (o *Service) Link() bool

Link returns true if this is a link.

func (*Service) Metadata

func (o *Service) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) Name

func (o *Service) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the Service

func (*Service) Owners

func (o *Service) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) Private

func (o *Service) Private() bool

Private returns the value of the 'private' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) ServiceEndpoint

func (o *Service) ServiceEndpoint() string

ServiceEndpoint returns the value of the 'service_endpoint' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) StatusType

func (o *Service) StatusType() string

StatusType returns the value of the 'status_type' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) StatusUpdatedAt

func (o *Service) StatusUpdatedAt() time.Time

StatusUpdatedAt returns the value of the 'status_updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) Token

func (o *Service) Token() string

Token returns the value of the 'token' attribute, or the zero value of the type if the attribute doesn't have a value.

func (*Service) UpdatedAt

func (o *Service) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type ServiceBuilder

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

Definition of a Status Board Service.

func NewService

func NewService() *ServiceBuilder

NewService creates a new builder of 'service' objects.

func (*ServiceBuilder) Application

func (b *ServiceBuilder) Application(value *ApplicationBuilder) *ServiceBuilder

Application sets the value of the 'application' attribute to the given value.

Definition of a Status Board application.

func (*ServiceBuilder) Build

func (b *ServiceBuilder) Build() (object *Service, err error)

Build creates a 'service' object using the configuration stored in the builder.

func (*ServiceBuilder) Copy

func (b *ServiceBuilder) Copy(object *Service) *ServiceBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ServiceBuilder) CreatedAt

func (b *ServiceBuilder) CreatedAt(value time.Time) *ServiceBuilder

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ServiceBuilder) CurrentStatus

func (b *ServiceBuilder) CurrentStatus(value string) *ServiceBuilder

CurrentStatus sets the value of the 'current_status' attribute to the given value.

func (*ServiceBuilder) Empty

func (b *ServiceBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ServiceBuilder) Fullname

func (b *ServiceBuilder) Fullname(value string) *ServiceBuilder

Fullname sets the value of the 'fullname' attribute to the given value.

func (*ServiceBuilder) HREF

func (b *ServiceBuilder) HREF(value string) *ServiceBuilder

HREF sets the link to the object.

func (*ServiceBuilder) ID

func (b *ServiceBuilder) ID(value string) *ServiceBuilder

ID sets the identifier of the object.

func (*ServiceBuilder) LastPingAt

func (b *ServiceBuilder) LastPingAt(value time.Time) *ServiceBuilder

LastPingAt sets the value of the 'last_ping_at' attribute to the given value.

func (b *ServiceBuilder) Link(value bool) *ServiceBuilder

Link sets the flag that indicates if this is a link.

func (*ServiceBuilder) Metadata

func (b *ServiceBuilder) Metadata(value interface{}) *ServiceBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*ServiceBuilder) Name

func (b *ServiceBuilder) Name(value string) *ServiceBuilder

Name sets the value of the 'name' attribute to the given value.

func (*ServiceBuilder) Owners

func (b *ServiceBuilder) Owners(values ...*OwnerBuilder) *ServiceBuilder

Owners sets the value of the 'owners' attribute to the given values.

func (*ServiceBuilder) Private

func (b *ServiceBuilder) Private(value bool) *ServiceBuilder

Private sets the value of the 'private' attribute to the given value.

func (*ServiceBuilder) ServiceEndpoint

func (b *ServiceBuilder) ServiceEndpoint(value string) *ServiceBuilder

ServiceEndpoint sets the value of the 'service_endpoint' attribute to the given value.

func (*ServiceBuilder) StatusType

func (b *ServiceBuilder) StatusType(value string) *ServiceBuilder

StatusType sets the value of the 'status_type' attribute to the given value.

func (*ServiceBuilder) StatusUpdatedAt

func (b *ServiceBuilder) StatusUpdatedAt(value time.Time) *ServiceBuilder

StatusUpdatedAt sets the value of the 'status_updated_at' attribute to the given value.

func (*ServiceBuilder) Token

func (b *ServiceBuilder) Token(value string) *ServiceBuilder

Token sets the value of the 'token' attribute to the given value.

func (*ServiceBuilder) UpdatedAt

func (b *ServiceBuilder) UpdatedAt(value time.Time) *ServiceBuilder

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ServiceDependency

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

ServiceDependency represents the values of the 'service_dependency' type.

Definition of a Status Board service dependency.

func ReadServiceDependency

func ReadServiceDependency(iterator *jsoniter.Iterator) *ServiceDependency

ReadServiceDependency reads a value of the 'service_dependency' type from the given iterator.

func ReadServiceDependencyList

func ReadServiceDependencyList(iterator *jsoniter.Iterator) []*ServiceDependency

ReadServiceDependencyList reads list of values of the ”service_dependency' type from the given iterator.

func UnmarshalServiceDependency

func UnmarshalServiceDependency(source interface{}) (object *ServiceDependency, err error)

UnmarshalServiceDependency reads a value of the 'service_dependency' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalServiceDependencyList

func UnmarshalServiceDependencyList(source interface{}) (items []*ServiceDependency, err error)

UnmarshalServiceDependencyList reads a list of values of the 'service_dependency' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ServiceDependency) ChildService

func (o *ServiceDependency) ChildService() *Service

ChildService returns the value of the 'child_service' attribute, or the zero value of the type if the attribute doesn't have a value.

The service dependency's child service

func (*ServiceDependency) CreatedAt

func (o *ServiceDependency) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*ServiceDependency) Empty

func (o *ServiceDependency) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ServiceDependency) GetChildService

func (o *ServiceDependency) GetChildService() (value *Service, ok bool)

GetChildService returns the value of the 'child_service' attribute and a flag indicating if the attribute has a value.

The service dependency's child service

func (*ServiceDependency) GetCreatedAt

func (o *ServiceDependency) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*ServiceDependency) GetHREF

func (o *ServiceDependency) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*ServiceDependency) GetID

func (o *ServiceDependency) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*ServiceDependency) GetMetadata

func (o *ServiceDependency) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the service dependency.

func (*ServiceDependency) GetName

func (o *ServiceDependency) GetName() (value string, ok bool)

GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.

The name of the service dependency.

func (*ServiceDependency) GetOwners

func (o *ServiceDependency) GetOwners() (value []*Owner, ok bool)

GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.

The service dependency owners (name and email)

func (*ServiceDependency) GetParentService

func (o *ServiceDependency) GetParentService() (value *Service, ok bool)

GetParentService returns the value of the 'parent_service' attribute and a flag indicating if the attribute has a value.

The service dependency's parent service

func (*ServiceDependency) GetType

func (o *ServiceDependency) GetType() (value string, ok bool)

GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.

The type of service dependency, e.g. soft or hard.

func (*ServiceDependency) GetUpdatedAt

func (o *ServiceDependency) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*ServiceDependency) HREF

func (o *ServiceDependency) HREF() string

HREF returns the link to the object.

func (*ServiceDependency) ID

func (o *ServiceDependency) ID() string

ID returns the identifier of the object.

func (*ServiceDependency) Kind

func (o *ServiceDependency) Kind() string

Kind returns the name of the type of the object.

func (o *ServiceDependency) Link() bool

Link returns true if this is a link.

func (*ServiceDependency) Metadata

func (o *ServiceDependency) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the service dependency.

func (*ServiceDependency) Name

func (o *ServiceDependency) Name() string

Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.

The name of the service dependency.

func (*ServiceDependency) Owners

func (o *ServiceDependency) Owners() []*Owner

Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.

The service dependency owners (name and email)

func (*ServiceDependency) ParentService

func (o *ServiceDependency) ParentService() *Service

ParentService returns the value of the 'parent_service' attribute, or the zero value of the type if the attribute doesn't have a value.

The service dependency's parent service

func (*ServiceDependency) Type

func (o *ServiceDependency) Type() string

Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.

The type of service dependency, e.g. soft or hard.

func (*ServiceDependency) UpdatedAt

func (o *ServiceDependency) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type ServiceDependencyBuilder

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

Definition of a Status Board service dependency.

func NewServiceDependency

func NewServiceDependency() *ServiceDependencyBuilder

NewServiceDependency creates a new builder of 'service_dependency' objects.

func (*ServiceDependencyBuilder) Build

func (b *ServiceDependencyBuilder) Build() (object *ServiceDependency, err error)

Build creates a 'service_dependency' object using the configuration stored in the builder.

func (*ServiceDependencyBuilder) ChildService

ChildService sets the value of the 'child_service' attribute to the given value.

Definition of a Status Board Service.

func (*ServiceDependencyBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ServiceDependencyBuilder) CreatedAt

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*ServiceDependencyBuilder) Empty

func (b *ServiceDependencyBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ServiceDependencyBuilder) HREF

HREF sets the link to the object.

func (*ServiceDependencyBuilder) ID

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*ServiceDependencyBuilder) Metadata

func (b *ServiceDependencyBuilder) Metadata(value interface{}) *ServiceDependencyBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*ServiceDependencyBuilder) Name

Name sets the value of the 'name' attribute to the given value.

func (*ServiceDependencyBuilder) Owners

Owners sets the value of the 'owners' attribute to the given values.

func (*ServiceDependencyBuilder) ParentService

ParentService sets the value of the 'parent_service' attribute to the given value.

Definition of a Status Board Service.

func (*ServiceDependencyBuilder) Type

Type sets the value of the 'type' attribute to the given value.

func (*ServiceDependencyBuilder) UpdatedAt

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type ServiceDependencyList

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

ServiceDependencyList is a list of values of the 'service_dependency' type.

func (*ServiceDependencyList) Each

func (l *ServiceDependencyList) Each(f func(item *ServiceDependency) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceDependencyList) Empty

func (l *ServiceDependencyList) Empty() bool

Empty returns true if the list is empty.

func (*ServiceDependencyList) Get

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ServiceDependencyList) GetHREF

func (l *ServiceDependencyList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ServiceDependencyList) HREF

func (l *ServiceDependencyList) HREF() string

HREF returns the link to the list.

func (*ServiceDependencyList) Items

Items returns the items of the list.

func (*ServiceDependencyList) Kind

func (l *ServiceDependencyList) Kind() string

Kind returns the name of the type of the object.

func (*ServiceDependencyList) Len

func (l *ServiceDependencyList) Len() int

Len returns the length of the list.

func (l *ServiceDependencyList) Link() bool

Link returns true iif this is a link.

func (*ServiceDependencyList) Range

func (l *ServiceDependencyList) Range(f func(index int, item *ServiceDependency) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceDependencyList) SetHREF

func (l *ServiceDependencyList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceDependencyList) SetItems

func (l *ServiceDependencyList) SetItems(items []*ServiceDependency)

Items sets the items of the list.

func (l *ServiceDependencyList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceDependencyList) Slice

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ServiceDependencyListBuilder

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

ServiceDependencyListBuilder contains the data and logic needed to build 'service_dependency' objects.

func NewServiceDependencyList

func NewServiceDependencyList() *ServiceDependencyListBuilder

NewServiceDependencyList creates a new builder of 'service_dependency' objects.

func (*ServiceDependencyListBuilder) Build

Build creates a list of 'service_dependency' objects using the configuration stored in the builder.

func (*ServiceDependencyListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ServiceDependencyListBuilder) Empty

Empty returns true if the list is empty.

func (*ServiceDependencyListBuilder) Items

Items sets the items of the list.

type ServiceInfo

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

ServiceInfo represents the values of the 'service_info' type.

Definition of a Status Board service info.

func ReadServiceInfo

func ReadServiceInfo(iterator *jsoniter.Iterator) *ServiceInfo

ReadServiceInfo reads a value of the 'service_info' type from the given iterator.

func ReadServiceInfoList

func ReadServiceInfoList(iterator *jsoniter.Iterator) []*ServiceInfo

ReadServiceInfoList reads list of values of the ”service_info' type from the given iterator.

func UnmarshalServiceInfo

func UnmarshalServiceInfo(source interface{}) (object *ServiceInfo, err error)

UnmarshalServiceInfo reads a value of the 'service_info' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalServiceInfoList

func UnmarshalServiceInfoList(source interface{}) (items []*ServiceInfo, err error)

UnmarshalServiceInfoList reads a list of values of the 'service_info' type from the given source, which can be a slice of bytes, a string or a reader.

func (*ServiceInfo) Empty

func (o *ServiceInfo) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*ServiceInfo) Fullname

func (o *ServiceInfo) Fullname() string

Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.

Full name of the service

func (*ServiceInfo) GetFullname

func (o *ServiceInfo) GetFullname() (value string, ok bool)

GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.

Full name of the service

func (*ServiceInfo) GetStatusType

func (o *ServiceInfo) GetStatusType() (value string, ok bool)

GetStatusType returns the value of the 'status_type' attribute and a flag indicating if the attribute has a value.

Type of the service status

func (*ServiceInfo) StatusType

func (o *ServiceInfo) StatusType() string

StatusType returns the value of the 'status_type' attribute, or the zero value of the type if the attribute doesn't have a value.

Type of the service status

type ServiceInfoBuilder

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

Definition of a Status Board service info.

func NewServiceInfo

func NewServiceInfo() *ServiceInfoBuilder

NewServiceInfo creates a new builder of 'service_info' objects.

func (*ServiceInfoBuilder) Build

func (b *ServiceInfoBuilder) Build() (object *ServiceInfo, err error)

Build creates a 'service_info' object using the configuration stored in the builder.

func (*ServiceInfoBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*ServiceInfoBuilder) Empty

func (b *ServiceInfoBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*ServiceInfoBuilder) Fullname

func (b *ServiceInfoBuilder) Fullname(value string) *ServiceInfoBuilder

Fullname sets the value of the 'fullname' attribute to the given value.

func (*ServiceInfoBuilder) StatusType

func (b *ServiceInfoBuilder) StatusType(value string) *ServiceInfoBuilder

StatusType sets the value of the 'status_type' attribute to the given value.

type ServiceInfoList

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

ServiceInfoList is a list of values of the 'service_info' type.

func (*ServiceInfoList) Each

func (l *ServiceInfoList) Each(f func(item *ServiceInfo) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceInfoList) Empty

func (l *ServiceInfoList) Empty() bool

Empty returns true if the list is empty.

func (*ServiceInfoList) Get

func (l *ServiceInfoList) Get(i int) *ServiceInfo

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ServiceInfoList) Items

func (l *ServiceInfoList) Items() []*ServiceInfo

Items returns the items of the list.

func (*ServiceInfoList) Len

func (l *ServiceInfoList) Len() int

Len returns the length of the list.

func (*ServiceInfoList) Range

func (l *ServiceInfoList) Range(f func(index int, item *ServiceInfo) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceInfoList) SetHREF

func (l *ServiceInfoList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceInfoList) SetItems

func (l *ServiceInfoList) SetItems(items []*ServiceInfo)

Items sets the items of the list.

func (l *ServiceInfoList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceInfoList) Slice

func (l *ServiceInfoList) Slice() []*ServiceInfo

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ServiceInfoListBuilder

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

ServiceInfoListBuilder contains the data and logic needed to build 'service_info' objects.

func NewServiceInfoList

func NewServiceInfoList() *ServiceInfoListBuilder

NewServiceInfoList creates a new builder of 'service_info' objects.

func (*ServiceInfoListBuilder) Build

func (b *ServiceInfoListBuilder) Build() (list *ServiceInfoList, err error)

Build creates a list of 'service_info' objects using the configuration stored in the builder.

func (*ServiceInfoListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ServiceInfoListBuilder) Empty

func (b *ServiceInfoListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServiceInfoListBuilder) Items

Items sets the items of the list.

type ServiceList

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

ServiceList is a list of values of the 'service' type.

func (*ServiceList) Each

func (l *ServiceList) Each(f func(item *Service) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceList) Empty

func (l *ServiceList) Empty() bool

Empty returns true if the list is empty.

func (*ServiceList) Get

func (l *ServiceList) Get(i int) *Service

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*ServiceList) GetHREF

func (l *ServiceList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*ServiceList) HREF

func (l *ServiceList) HREF() string

HREF returns the link to the list.

func (*ServiceList) Items

func (l *ServiceList) Items() []*Service

Items returns the items of the list.

func (*ServiceList) Kind

func (l *ServiceList) Kind() string

Kind returns the name of the type of the object.

func (*ServiceList) Len

func (l *ServiceList) Len() int

Len returns the length of the list.

func (l *ServiceList) Link() bool

Link returns true iif this is a link.

func (*ServiceList) Range

func (l *ServiceList) Range(f func(index int, item *Service) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*ServiceList) SetHREF

func (l *ServiceList) SetHREF(href string)

Items sets the items of the list.

func (*ServiceList) SetItems

func (l *ServiceList) SetItems(items []*Service)

Items sets the items of the list.

func (l *ServiceList) SetLink(link bool)

Items sets the items of the list.

func (*ServiceList) Slice

func (l *ServiceList) Slice() []*Service

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type ServiceListBuilder

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

ServiceListBuilder contains the data and logic needed to build 'service' objects.

func NewServiceList

func NewServiceList() *ServiceListBuilder

NewServiceList creates a new builder of 'service' objects.

func (*ServiceListBuilder) Build

func (b *ServiceListBuilder) Build() (list *ServiceList, err error)

Build creates a list of 'service' objects using the configuration stored in the builder.

func (*ServiceListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*ServiceListBuilder) Empty

func (b *ServiceListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*ServiceListBuilder) Items

Items sets the items of the list.

type Status

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

Status represents the values of the 'status' type.

Definition of a Status Board status.

func ReadStatus

func ReadStatus(iterator *jsoniter.Iterator) *Status

ReadStatus reads a value of the 'status' type from the given iterator.

func ReadStatusList

func ReadStatusList(iterator *jsoniter.Iterator) []*Status

ReadStatusList reads list of values of the ”status' type from the given iterator.

func UnmarshalStatus

func UnmarshalStatus(source interface{}) (object *Status, err error)

UnmarshalStatus reads a value of the 'status' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalStatusList

func UnmarshalStatusList(source interface{}) (items []*Status, err error)

UnmarshalStatusList reads a list of values of the 'status' type from the given source, which can be a slice of bytes, a string or a reader.

func (*Status) CreatedAt

func (o *Status) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*Status) Empty

func (o *Status) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*Status) GetCreatedAt

func (o *Status) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*Status) GetHREF

func (o *Status) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*Status) GetID

func (o *Status) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*Status) GetMetadata

func (o *Status) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the application.

func (*Status) GetService

func (o *Status) GetService() (value *Service, ok bool)

GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.

The associated service ID.

func (*Status) GetServiceInfo

func (o *Status) GetServiceInfo() (value *ServiceInfo, ok bool)

GetServiceInfo returns the value of the 'service_info' attribute and a flag indicating if the attribute has a value.

Additional Service related data.

func (*Status) GetStatus

func (o *Status) GetStatus() (value string, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

A status message for the given service.

func (*Status) GetUpdatedAt

func (o *Status) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*Status) HREF

func (o *Status) HREF() string

HREF returns the link to the object.

func (*Status) ID

func (o *Status) ID() string

ID returns the identifier of the object.

func (*Status) Kind

func (o *Status) Kind() string

Kind returns the name of the type of the object.

func (o *Status) Link() bool

Link returns true if this is a link.

func (*Status) Metadata

func (o *Status) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the application.

func (*Status) Service

func (o *Status) Service() *Service

Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.

The associated service ID.

func (*Status) ServiceInfo

func (o *Status) ServiceInfo() *ServiceInfo

ServiceInfo returns the value of the 'service_info' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional Service related data.

func (*Status) Status

func (o *Status) Status() string

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

A status message for the given service.

func (*Status) UpdatedAt

func (o *Status) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type StatusBuilder

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

Definition of a Status Board status.

func NewStatus

func NewStatus() *StatusBuilder

NewStatus creates a new builder of 'status' objects.

func (*StatusBuilder) Build

func (b *StatusBuilder) Build() (object *Status, err error)

Build creates a 'status' object using the configuration stored in the builder.

func (*StatusBuilder) Copy

func (b *StatusBuilder) Copy(object *Status) *StatusBuilder

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*StatusBuilder) CreatedAt

func (b *StatusBuilder) CreatedAt(value time.Time) *StatusBuilder

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*StatusBuilder) Empty

func (b *StatusBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*StatusBuilder) HREF

func (b *StatusBuilder) HREF(value string) *StatusBuilder

HREF sets the link to the object.

func (*StatusBuilder) ID

func (b *StatusBuilder) ID(value string) *StatusBuilder

ID sets the identifier of the object.

func (b *StatusBuilder) Link(value bool) *StatusBuilder

Link sets the flag that indicates if this is a link.

func (*StatusBuilder) Metadata

func (b *StatusBuilder) Metadata(value interface{}) *StatusBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*StatusBuilder) Service

func (b *StatusBuilder) Service(value *ServiceBuilder) *StatusBuilder

Service sets the value of the 'service' attribute to the given value.

Definition of a Status Board Service.

func (*StatusBuilder) ServiceInfo

func (b *StatusBuilder) ServiceInfo(value *ServiceInfoBuilder) *StatusBuilder

ServiceInfo sets the value of the 'service_info' attribute to the given value.

Definition of a Status Board service info.

func (*StatusBuilder) Status

func (b *StatusBuilder) Status(value string) *StatusBuilder

Status sets the value of the 'status' attribute to the given value.

func (*StatusBuilder) UpdatedAt

func (b *StatusBuilder) UpdatedAt(value time.Time) *StatusBuilder

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type StatusList

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

StatusList is a list of values of the 'status' type.

func (*StatusList) Each

func (l *StatusList) Each(f func(item *Status) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*StatusList) Empty

func (l *StatusList) Empty() bool

Empty returns true if the list is empty.

func (*StatusList) Get

func (l *StatusList) Get(i int) *Status

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*StatusList) GetHREF

func (l *StatusList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*StatusList) HREF

func (l *StatusList) HREF() string

HREF returns the link to the list.

func (*StatusList) Items

func (l *StatusList) Items() []*Status

Items returns the items of the list.

func (*StatusList) Kind

func (l *StatusList) Kind() string

Kind returns the name of the type of the object.

func (*StatusList) Len

func (l *StatusList) Len() int

Len returns the length of the list.

func (l *StatusList) Link() bool

Link returns true iif this is a link.

func (*StatusList) Range

func (l *StatusList) Range(f func(index int, item *Status) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*StatusList) SetHREF

func (l *StatusList) SetHREF(href string)

Items sets the items of the list.

func (*StatusList) SetItems

func (l *StatusList) SetItems(items []*Status)

Items sets the items of the list.

func (l *StatusList) SetLink(link bool)

Items sets the items of the list.

func (*StatusList) Slice

func (l *StatusList) Slice() []*Status

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type StatusListBuilder

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

StatusListBuilder contains the data and logic needed to build 'status' objects.

func NewStatusList

func NewStatusList() *StatusListBuilder

NewStatusList creates a new builder of 'status' objects.

func (*StatusListBuilder) Build

func (b *StatusListBuilder) Build() (list *StatusList, err error)

Build creates a list of 'status' objects using the configuration stored in the builder.

func (*StatusListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*StatusListBuilder) Empty

func (b *StatusListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*StatusListBuilder) Items

func (b *StatusListBuilder) Items(values ...*StatusBuilder) *StatusListBuilder

Items sets the items of the list.

type StatusUpdate

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

StatusUpdate represents the values of the 'status_update' type.

func ReadStatusUpdate

func ReadStatusUpdate(iterator *jsoniter.Iterator) *StatusUpdate

ReadStatusUpdate reads a value of the 'status_update' type from the given iterator.

func ReadStatusUpdateList

func ReadStatusUpdateList(iterator *jsoniter.Iterator) []*StatusUpdate

ReadStatusUpdateList reads list of values of the ”status_update' type from the given iterator.

func UnmarshalStatusUpdate

func UnmarshalStatusUpdate(source interface{}) (object *StatusUpdate, err error)

UnmarshalStatusUpdate reads a value of the 'status_update' type from the given source, which can be an slice of bytes, a string or a reader.

func UnmarshalStatusUpdateList

func UnmarshalStatusUpdateList(source interface{}) (items []*StatusUpdate, err error)

UnmarshalStatusUpdateList reads a list of values of the 'status_update' type from the given source, which can be a slice of bytes, a string or a reader.

func (*StatusUpdate) CreatedAt

func (o *StatusUpdate) CreatedAt() time.Time

CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object creation timestamp.

func (*StatusUpdate) Empty

func (o *StatusUpdate) Empty() bool

Empty returns true if the object is empty, i.e. no attribute has a value.

func (*StatusUpdate) GetCreatedAt

func (o *StatusUpdate) GetCreatedAt() (value time.Time, ok bool)

GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.

Object creation timestamp.

func (*StatusUpdate) GetHREF

func (o *StatusUpdate) GetHREF() (value string, ok bool)

GetHREF returns the link of the object and a flag indicating if the link has a value.

func (*StatusUpdate) GetID

func (o *StatusUpdate) GetID() (value string, ok bool)

GetID returns the identifier of the object and a flag indicating if the identifier has a value.

func (*StatusUpdate) GetMetadata

func (o *StatusUpdate) GetMetadata() (value interface{}, ok bool)

GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.

Miscellaneous metadata about the application.

func (*StatusUpdate) GetService

func (o *StatusUpdate) GetService() (value *Service, ok bool)

GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.

The associated service ID.

func (*StatusUpdate) GetServiceInfo

func (o *StatusUpdate) GetServiceInfo() (value *ServiceInfo, ok bool)

GetServiceInfo returns the value of the 'service_info' attribute and a flag indicating if the attribute has a value.

Additional Service related data.

func (*StatusUpdate) GetStatus

func (o *StatusUpdate) GetStatus() (value string, ok bool)

GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.

A status message for the given service.

func (*StatusUpdate) GetUpdatedAt

func (o *StatusUpdate) GetUpdatedAt() (value time.Time, ok bool)

GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.

Object modification timestamp.

func (*StatusUpdate) HREF

func (o *StatusUpdate) HREF() string

HREF returns the link to the object.

func (*StatusUpdate) ID

func (o *StatusUpdate) ID() string

ID returns the identifier of the object.

func (*StatusUpdate) Kind

func (o *StatusUpdate) Kind() string

Kind returns the name of the type of the object.

func (o *StatusUpdate) Link() bool

Link returns true if this is a link.

func (*StatusUpdate) Metadata

func (o *StatusUpdate) Metadata() interface{}

Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.

Miscellaneous metadata about the application.

func (*StatusUpdate) Service

func (o *StatusUpdate) Service() *Service

Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.

The associated service ID.

func (*StatusUpdate) ServiceInfo

func (o *StatusUpdate) ServiceInfo() *ServiceInfo

ServiceInfo returns the value of the 'service_info' attribute, or the zero value of the type if the attribute doesn't have a value.

Additional Service related data.

func (*StatusUpdate) Status

func (o *StatusUpdate) Status() string

Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.

A status message for the given service.

func (*StatusUpdate) UpdatedAt

func (o *StatusUpdate) UpdatedAt() time.Time

UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.

Object modification timestamp.

type StatusUpdateBuilder

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

func NewStatusUpdate

func NewStatusUpdate() *StatusUpdateBuilder

NewStatusUpdate creates a new builder of 'status_update' objects.

func (*StatusUpdateBuilder) Build

func (b *StatusUpdateBuilder) Build() (object *StatusUpdate, err error)

Build creates a 'status_update' object using the configuration stored in the builder.

func (*StatusUpdateBuilder) Copy

Copy copies the attributes of the given object into this builder, discarding any previous values.

func (*StatusUpdateBuilder) CreatedAt

func (b *StatusUpdateBuilder) CreatedAt(value time.Time) *StatusUpdateBuilder

CreatedAt sets the value of the 'created_at' attribute to the given value.

func (*StatusUpdateBuilder) Empty

func (b *StatusUpdateBuilder) Empty() bool

Empty returns true if the builder is empty, i.e. no attribute has a value.

func (*StatusUpdateBuilder) HREF

HREF sets the link to the object.

func (*StatusUpdateBuilder) ID

ID sets the identifier of the object.

Link sets the flag that indicates if this is a link.

func (*StatusUpdateBuilder) Metadata

func (b *StatusUpdateBuilder) Metadata(value interface{}) *StatusUpdateBuilder

Metadata sets the value of the 'metadata' attribute to the given value.

func (*StatusUpdateBuilder) Service

Service sets the value of the 'service' attribute to the given value.

Definition of a Status Board Service.

func (*StatusUpdateBuilder) ServiceInfo

ServiceInfo sets the value of the 'service_info' attribute to the given value.

Definition of a Status Board service info.

func (*StatusUpdateBuilder) Status

Status sets the value of the 'status' attribute to the given value.

func (*StatusUpdateBuilder) UpdatedAt

func (b *StatusUpdateBuilder) UpdatedAt(value time.Time) *StatusUpdateBuilder

UpdatedAt sets the value of the 'updated_at' attribute to the given value.

type StatusUpdateList

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

StatusUpdateList is a list of values of the 'status_update' type.

func (*StatusUpdateList) Each

func (l *StatusUpdateList) Each(f func(item *StatusUpdate) bool)

Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*StatusUpdateList) Empty

func (l *StatusUpdateList) Empty() bool

Empty returns true if the list is empty.

func (*StatusUpdateList) Get

func (l *StatusUpdateList) Get(i int) *StatusUpdate

Get returns the item of the list with the given index. If there is no item with that index it returns nil.

func (*StatusUpdateList) GetHREF

func (l *StatusUpdateList) GetHREF() (value string, ok bool)

GetHREF returns the link of the list and a flag indicating if the link has a value.

func (*StatusUpdateList) HREF

func (l *StatusUpdateList) HREF() string

HREF returns the link to the list.

func (*StatusUpdateList) Items

func (l *StatusUpdateList) Items() []*StatusUpdate

Items returns the items of the list.

func (*StatusUpdateList) Kind

func (l *StatusUpdateList) Kind() string

Kind returns the name of the type of the object.

func (*StatusUpdateList) Len

func (l *StatusUpdateList) Len() int

Len returns the length of the list.

func (l *StatusUpdateList) Link() bool

Link returns true iif this is a link.

func (*StatusUpdateList) Range

func (l *StatusUpdateList) Range(f func(index int, item *StatusUpdate) bool)

Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.

func (*StatusUpdateList) SetHREF

func (l *StatusUpdateList) SetHREF(href string)

Items sets the items of the list.

func (*StatusUpdateList) SetItems

func (l *StatusUpdateList) SetItems(items []*StatusUpdate)

Items sets the items of the list.

func (l *StatusUpdateList) SetLink(link bool)

Items sets the items of the list.

func (*StatusUpdateList) Slice

func (l *StatusUpdateList) Slice() []*StatusUpdate

Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.

If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.

type StatusUpdateListBuilder

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

StatusUpdateListBuilder contains the data and logic needed to build 'status_update' objects.

func NewStatusUpdateList

func NewStatusUpdateList() *StatusUpdateListBuilder

NewStatusUpdateList creates a new builder of 'status_update' objects.

func (*StatusUpdateListBuilder) Build

func (b *StatusUpdateListBuilder) Build() (list *StatusUpdateList, err error)

Build creates a list of 'status_update' objects using the configuration stored in the builder.

func (*StatusUpdateListBuilder) Copy

Copy copies the items of the given list into this builder, discarding any previous items.

func (*StatusUpdateListBuilder) Empty

func (b *StatusUpdateListBuilder) Empty() bool

Empty returns true if the list is empty.

func (*StatusUpdateListBuilder) Items

Items sets the items of the list.

Source Files

Jump to

Keyboard shortcuts

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