Documentation
¶
Index ¶
- Constants
- func MarshalAttachment(object *Attachment, writer io.Writer) error
- func MarshalAttachmentList(list []*Attachment, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalError(object *Error, writer io.Writer) error
- func MarshalErrorList(list []*Error, writer io.Writer) error
- func MarshalEscalation(object *Escalation, writer io.Writer) error
- func MarshalEscalationList(list []*Escalation, writer io.Writer) error
- func MarshalEvent(object *Event, writer io.Writer) error
- func MarshalEventList(list []*Event, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalFollowUp(object *FollowUp, writer io.Writer) error
- func MarshalFollowUpChange(object *FollowUpChange, writer io.Writer) error
- func MarshalFollowUpChangeList(list []*FollowUpChange, writer io.Writer) error
- func MarshalFollowUpList(list []*FollowUp, writer io.Writer) error
- func MarshalHandoff(object *Handoff, writer io.Writer) error
- func MarshalHandoffList(list []*Handoff, writer io.Writer) error
- func MarshalIncident(object *Incident, writer io.Writer) error
- func MarshalIncidentList(list []*Incident, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalNotification(object *Notification, writer io.Writer) error
- func MarshalNotificationList(list []*Notification, writer io.Writer) error
- func MarshalProduct(object *Product, writer io.Writer) error
- func MarshalProductList(list []*Product, writer io.Writer) error
- func MarshalStatusChange(object *StatusChange, writer io.Writer) error
- func MarshalStatusChangeList(list []*StatusChange, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func MarshalUser(object *User, writer io.Writer) error
- func MarshalUserList(list []*User, writer io.Writer) error
- func ReadBooleanList(iterator *jsoniter.Iterator) []bool
- func ReadDateList(iterator *jsoniter.Iterator) []time.Time
- func ReadFloatList(iterator *jsoniter.Iterator) []float64
- func ReadIntegerList(iterator *jsoniter.Iterator) []int
- func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}
- func ReadLongList(iterator *jsoniter.Iterator) []int64
- func ReadStringList(iterator *jsoniter.Iterator) []string
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- func WriteAttachment(object *Attachment, stream *jsoniter.Stream)
- func WriteAttachmentList(list []*Attachment, stream *jsoniter.Stream)
- func WriteBooleanList(list []bool, stream *jsoniter.Stream)
- func WriteDateList(list []time.Time, stream *jsoniter.Stream)
- func WriteError(object *Error, stream *jsoniter.Stream)
- func WriteErrorList(list []*Error, stream *jsoniter.Stream)
- func WriteEscalation(object *Escalation, stream *jsoniter.Stream)
- func WriteEscalationList(list []*Escalation, stream *jsoniter.Stream)
- func WriteEvent(object *Event, stream *jsoniter.Stream)
- func WriteEventList(list []*Event, stream *jsoniter.Stream)
- func WriteFloatList(list []float64, stream *jsoniter.Stream)
- func WriteFollowUp(object *FollowUp, stream *jsoniter.Stream)
- func WriteFollowUpChange(object *FollowUpChange, stream *jsoniter.Stream)
- func WriteFollowUpChangeList(list []*FollowUpChange, stream *jsoniter.Stream)
- func WriteFollowUpList(list []*FollowUp, stream *jsoniter.Stream)
- func WriteHandoff(object *Handoff, stream *jsoniter.Stream)
- func WriteHandoffList(list []*Handoff, stream *jsoniter.Stream)
- func WriteIncident(object *Incident, stream *jsoniter.Stream)
- func WriteIncidentList(list []*Incident, stream *jsoniter.Stream)
- func WriteIntegerList(list []int, stream *jsoniter.Stream)
- func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)
- func WriteLongList(list []int64, stream *jsoniter.Stream)
- func WriteNotification(object *Notification, stream *jsoniter.Stream)
- func WriteNotificationList(list []*Notification, stream *jsoniter.Stream)
- func WriteProduct(object *Product, stream *jsoniter.Stream)
- func WriteProductList(list []*Product, stream *jsoniter.Stream)
- func WriteStatusChange(object *StatusChange, stream *jsoniter.Stream)
- func WriteStatusChangeList(list []*StatusChange, stream *jsoniter.Stream)
- func WriteStringList(list []string, stream *jsoniter.Stream)
- func WriteUser(object *User, stream *jsoniter.Stream)
- func WriteUserList(list []*User, stream *jsoniter.Stream)
- type Attachment
- func (o *Attachment) ContentType() string
- func (o *Attachment) CreatedAt() time.Time
- func (o *Attachment) Creator() *User
- func (o *Attachment) DeletedAt() time.Time
- func (o *Attachment) Empty() bool
- func (o *Attachment) Event() *Event
- func (o *Attachment) FileSize() int
- func (o *Attachment) GetContentType() (value string, ok bool)
- func (o *Attachment) GetCreatedAt() (value time.Time, ok bool)
- func (o *Attachment) GetCreator() (value *User, ok bool)
- func (o *Attachment) GetDeletedAt() (value time.Time, ok bool)
- func (o *Attachment) GetEvent() (value *Event, ok bool)
- func (o *Attachment) GetFileSize() (value int, ok bool)
- func (o *Attachment) GetHREF() (value string, ok bool)
- func (o *Attachment) GetID() (value string, ok bool)
- func (o *Attachment) GetName() (value string, ok bool)
- func (o *Attachment) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Attachment) HREF() string
- func (o *Attachment) ID() string
- func (o *Attachment) Kind() string
- func (o *Attachment) Link() bool
- func (o *Attachment) Name() string
- func (o *Attachment) UpdatedAt() time.Time
- type AttachmentBuilder
- func (b *AttachmentBuilder) Build() (object *Attachment, err error)
- func (b *AttachmentBuilder) ContentType(value string) *AttachmentBuilder
- func (b *AttachmentBuilder) Copy(object *Attachment) *AttachmentBuilder
- func (b *AttachmentBuilder) CreatedAt(value time.Time) *AttachmentBuilder
- func (b *AttachmentBuilder) Creator(value *UserBuilder) *AttachmentBuilder
- func (b *AttachmentBuilder) DeletedAt(value time.Time) *AttachmentBuilder
- func (b *AttachmentBuilder) Empty() bool
- func (b *AttachmentBuilder) Event(value *EventBuilder) *AttachmentBuilder
- func (b *AttachmentBuilder) FileSize(value int) *AttachmentBuilder
- func (b *AttachmentBuilder) HREF(value string) *AttachmentBuilder
- func (b *AttachmentBuilder) ID(value string) *AttachmentBuilder
- func (b *AttachmentBuilder) Link(value bool) *AttachmentBuilder
- func (b *AttachmentBuilder) Name(value string) *AttachmentBuilder
- func (b *AttachmentBuilder) UpdatedAt(value time.Time) *AttachmentBuilder
- type AttachmentList
- func (l *AttachmentList) Each(f func(item *Attachment) bool)
- func (l *AttachmentList) Empty() bool
- func (l *AttachmentList) Get(i int) *Attachment
- func (l *AttachmentList) GetHREF() (value string, ok bool)
- func (l *AttachmentList) HREF() string
- func (l *AttachmentList) Items() []*Attachment
- func (l *AttachmentList) Kind() string
- func (l *AttachmentList) Len() int
- func (l *AttachmentList) Link() bool
- func (l *AttachmentList) Range(f func(index int, item *Attachment) bool)
- func (l *AttachmentList) SetHREF(href string)
- func (l *AttachmentList) SetItems(items []*Attachment)
- func (l *AttachmentList) SetLink(link bool)
- func (l *AttachmentList) Slice() []*Attachment
- type AttachmentListBuilder
- type Error
- func (o *Error) Code() string
- func (o *Error) Empty() bool
- func (o *Error) GetCode() (value string, ok bool)
- func (o *Error) GetHREF() (value string, ok bool)
- func (o *Error) GetID() (value string, ok bool)
- func (o *Error) GetReason() (value string, ok bool)
- func (o *Error) HREF() string
- func (o *Error) ID() string
- func (o *Error) Kind() string
- func (o *Error) Link() bool
- func (o *Error) Reason() string
- type ErrorBuilder
- func (b *ErrorBuilder) Build() (object *Error, err error)
- func (b *ErrorBuilder) Code(value string) *ErrorBuilder
- func (b *ErrorBuilder) Copy(object *Error) *ErrorBuilder
- func (b *ErrorBuilder) Empty() bool
- func (b *ErrorBuilder) HREF(value string) *ErrorBuilder
- func (b *ErrorBuilder) ID(value string) *ErrorBuilder
- func (b *ErrorBuilder) Link(value bool) *ErrorBuilder
- func (b *ErrorBuilder) Reason(value string) *ErrorBuilder
- type ErrorList
- func (l *ErrorList) Each(f func(item *Error) bool)
- func (l *ErrorList) Empty() bool
- func (l *ErrorList) Get(i int) *Error
- func (l *ErrorList) GetHREF() (value string, ok bool)
- func (l *ErrorList) HREF() string
- func (l *ErrorList) Items() []*Error
- func (l *ErrorList) Kind() string
- func (l *ErrorList) Len() int
- func (l *ErrorList) Link() bool
- func (l *ErrorList) Range(f func(index int, item *Error) bool)
- func (l *ErrorList) SetHREF(href string)
- func (l *ErrorList) SetItems(items []*Error)
- func (l *ErrorList) SetLink(link bool)
- func (l *ErrorList) Slice() []*Error
- type ErrorListBuilder
- type Escalation
- func (o *Escalation) CreatedAt() time.Time
- func (o *Escalation) DeletedAt() time.Time
- func (o *Escalation) Empty() bool
- func (o *Escalation) GetCreatedAt() (value time.Time, ok bool)
- func (o *Escalation) GetDeletedAt() (value time.Time, ok bool)
- func (o *Escalation) GetHREF() (value string, ok bool)
- func (o *Escalation) GetID() (value string, ok bool)
- func (o *Escalation) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Escalation) GetUser() (value *User, ok bool)
- func (o *Escalation) HREF() string
- func (o *Escalation) ID() string
- func (o *Escalation) Kind() string
- func (o *Escalation) Link() bool
- func (o *Escalation) UpdatedAt() time.Time
- func (o *Escalation) User() *User
- type EscalationBuilder
- func (b *EscalationBuilder) Build() (object *Escalation, err error)
- func (b *EscalationBuilder) Copy(object *Escalation) *EscalationBuilder
- func (b *EscalationBuilder) CreatedAt(value time.Time) *EscalationBuilder
- func (b *EscalationBuilder) DeletedAt(value time.Time) *EscalationBuilder
- func (b *EscalationBuilder) Empty() bool
- func (b *EscalationBuilder) HREF(value string) *EscalationBuilder
- func (b *EscalationBuilder) ID(value string) *EscalationBuilder
- func (b *EscalationBuilder) Link(value bool) *EscalationBuilder
- func (b *EscalationBuilder) UpdatedAt(value time.Time) *EscalationBuilder
- func (b *EscalationBuilder) User(value *UserBuilder) *EscalationBuilder
- type EscalationList
- func (l *EscalationList) Each(f func(item *Escalation) bool)
- func (l *EscalationList) Empty() bool
- func (l *EscalationList) Get(i int) *Escalation
- func (l *EscalationList) GetHREF() (value string, ok bool)
- func (l *EscalationList) HREF() string
- func (l *EscalationList) Items() []*Escalation
- func (l *EscalationList) Kind() string
- func (l *EscalationList) Len() int
- func (l *EscalationList) Link() bool
- func (l *EscalationList) Range(f func(index int, item *Escalation) bool)
- func (l *EscalationList) SetHREF(href string)
- func (l *EscalationList) SetItems(items []*Escalation)
- func (l *EscalationList) SetLink(link bool)
- func (l *EscalationList) Slice() []*Escalation
- type EscalationListBuilder
- type Event
- func (o *Event) CreatedAt() time.Time
- func (o *Event) Creator() *User
- func (o *Event) DeletedAt() time.Time
- func (o *Event) Empty() bool
- func (o *Event) Escalation() *Escalation
- func (o *Event) EventType() string
- func (o *Event) ExternalReferenceUrl() string
- func (o *Event) FollowUp() *FollowUp
- func (o *Event) FollowUpChange() *FollowUpChange
- func (o *Event) GetCreatedAt() (value time.Time, ok bool)
- func (o *Event) GetCreator() (value *User, ok bool)
- func (o *Event) GetDeletedAt() (value time.Time, ok bool)
- func (o *Event) GetEscalation() (value *Escalation, ok bool)
- func (o *Event) GetEventType() (value string, ok bool)
- func (o *Event) GetExternalReferenceUrl() (value string, ok bool)
- func (o *Event) GetFollowUp() (value *FollowUp, ok bool)
- func (o *Event) GetFollowUpChange() (value *FollowUpChange, ok bool)
- func (o *Event) GetHREF() (value string, ok bool)
- func (o *Event) GetHandoff() (value *Handoff, ok bool)
- func (o *Event) GetID() (value string, ok bool)
- func (o *Event) GetIncident() (value *Incident, ok bool)
- func (o *Event) GetNote() (value string, ok bool)
- func (o *Event) GetStatusChange() (value *StatusChange, ok bool)
- func (o *Event) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Event) HREF() string
- func (o *Event) Handoff() *Handoff
- func (o *Event) ID() string
- func (o *Event) Incident() *Incident
- func (o *Event) Kind() string
- func (o *Event) Link() bool
- func (o *Event) Note() string
- func (o *Event) StatusChange() *StatusChange
- func (o *Event) UpdatedAt() time.Time
- type EventBuilder
- func (b *EventBuilder) Build() (object *Event, err error)
- func (b *EventBuilder) Copy(object *Event) *EventBuilder
- func (b *EventBuilder) CreatedAt(value time.Time) *EventBuilder
- func (b *EventBuilder) Creator(value *UserBuilder) *EventBuilder
- func (b *EventBuilder) DeletedAt(value time.Time) *EventBuilder
- func (b *EventBuilder) Empty() bool
- func (b *EventBuilder) Escalation(value *EscalationBuilder) *EventBuilder
- func (b *EventBuilder) EventType(value string) *EventBuilder
- func (b *EventBuilder) ExternalReferenceUrl(value string) *EventBuilder
- func (b *EventBuilder) FollowUp(value *FollowUpBuilder) *EventBuilder
- func (b *EventBuilder) FollowUpChange(value *FollowUpChangeBuilder) *EventBuilder
- func (b *EventBuilder) HREF(value string) *EventBuilder
- func (b *EventBuilder) Handoff(value *HandoffBuilder) *EventBuilder
- func (b *EventBuilder) ID(value string) *EventBuilder
- func (b *EventBuilder) Incident(value *IncidentBuilder) *EventBuilder
- func (b *EventBuilder) Link(value bool) *EventBuilder
- func (b *EventBuilder) Note(value string) *EventBuilder
- func (b *EventBuilder) StatusChange(value *StatusChangeBuilder) *EventBuilder
- func (b *EventBuilder) UpdatedAt(value time.Time) *EventBuilder
- type EventList
- func (l *EventList) Each(f func(item *Event) bool)
- func (l *EventList) Empty() bool
- func (l *EventList) Get(i int) *Event
- func (l *EventList) GetHREF() (value string, ok bool)
- func (l *EventList) HREF() string
- func (l *EventList) Items() []*Event
- func (l *EventList) Kind() string
- func (l *EventList) Len() int
- func (l *EventList) Link() bool
- func (l *EventList) Range(f func(index int, item *Event) bool)
- func (l *EventList) SetHREF(href string)
- func (l *EventList) SetItems(items []*Event)
- func (l *EventList) SetLink(link bool)
- func (l *EventList) Slice() []*Event
- type EventListBuilder
- type FollowUp
- func (o *FollowUp) Archived() bool
- func (o *FollowUp) CreatedAt() time.Time
- func (o *FollowUp) DeletedAt() time.Time
- func (o *FollowUp) Done() bool
- func (o *FollowUp) Empty() bool
- func (o *FollowUp) FollowUpType() string
- func (o *FollowUp) GetArchived() (value bool, ok bool)
- func (o *FollowUp) GetCreatedAt() (value time.Time, ok bool)
- func (o *FollowUp) GetDeletedAt() (value time.Time, ok bool)
- func (o *FollowUp) GetDone() (value bool, ok bool)
- func (o *FollowUp) GetFollowUpType() (value string, ok bool)
- func (o *FollowUp) GetHREF() (value string, ok bool)
- func (o *FollowUp) GetID() (value string, ok bool)
- func (o *FollowUp) GetIncident() (value *Incident, ok bool)
- func (o *FollowUp) GetOwner() (value string, ok bool)
- func (o *FollowUp) GetPriority() (value string, ok bool)
- func (o *FollowUp) GetStatus() (value string, ok bool)
- func (o *FollowUp) GetTitle() (value string, ok bool)
- func (o *FollowUp) GetUpdatedAt() (value time.Time, ok bool)
- func (o *FollowUp) GetUrl() (value string, ok bool)
- func (o *FollowUp) GetWorkedAt() (value time.Time, ok bool)
- func (o *FollowUp) HREF() string
- func (o *FollowUp) ID() string
- func (o *FollowUp) Incident() *Incident
- func (o *FollowUp) Kind() string
- func (o *FollowUp) Link() bool
- func (o *FollowUp) Owner() string
- func (o *FollowUp) Priority() string
- func (o *FollowUp) Status() string
- func (o *FollowUp) Title() string
- func (o *FollowUp) UpdatedAt() time.Time
- func (o *FollowUp) Url() string
- func (o *FollowUp) WorkedAt() time.Time
- type FollowUpBuilder
- func (b *FollowUpBuilder) Archived(value bool) *FollowUpBuilder
- func (b *FollowUpBuilder) Build() (object *FollowUp, err error)
- func (b *FollowUpBuilder) Copy(object *FollowUp) *FollowUpBuilder
- func (b *FollowUpBuilder) CreatedAt(value time.Time) *FollowUpBuilder
- func (b *FollowUpBuilder) DeletedAt(value time.Time) *FollowUpBuilder
- func (b *FollowUpBuilder) Done(value bool) *FollowUpBuilder
- func (b *FollowUpBuilder) Empty() bool
- func (b *FollowUpBuilder) FollowUpType(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) HREF(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) ID(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) Incident(value *IncidentBuilder) *FollowUpBuilder
- func (b *FollowUpBuilder) Link(value bool) *FollowUpBuilder
- func (b *FollowUpBuilder) Owner(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) Priority(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) Status(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) Title(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) UpdatedAt(value time.Time) *FollowUpBuilder
- func (b *FollowUpBuilder) Url(value string) *FollowUpBuilder
- func (b *FollowUpBuilder) WorkedAt(value time.Time) *FollowUpBuilder
- type FollowUpChange
- func ReadFollowUpChange(iterator *jsoniter.Iterator) *FollowUpChange
- func ReadFollowUpChangeList(iterator *jsoniter.Iterator) []*FollowUpChange
- func UnmarshalFollowUpChange(source interface{}) (object *FollowUpChange, err error)
- func UnmarshalFollowUpChangeList(source interface{}) (items []*FollowUpChange, err error)
- func (o *FollowUpChange) CreatedAt() time.Time
- func (o *FollowUpChange) DeletedAt() time.Time
- func (o *FollowUpChange) Empty() bool
- func (o *FollowUpChange) FollowUp() *FollowUp
- func (o *FollowUpChange) GetCreatedAt() (value time.Time, ok bool)
- func (o *FollowUpChange) GetDeletedAt() (value time.Time, ok bool)
- func (o *FollowUpChange) GetFollowUp() (value *FollowUp, ok bool)
- func (o *FollowUpChange) GetHREF() (value string, ok bool)
- func (o *FollowUpChange) GetID() (value string, ok bool)
- func (o *FollowUpChange) GetStatus() (value interface{}, ok bool)
- func (o *FollowUpChange) GetUpdatedAt() (value time.Time, ok bool)
- func (o *FollowUpChange) HREF() string
- func (o *FollowUpChange) ID() string
- func (o *FollowUpChange) Kind() string
- func (o *FollowUpChange) Link() bool
- func (o *FollowUpChange) Status() interface{}
- func (o *FollowUpChange) UpdatedAt() time.Time
- type FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) Build() (object *FollowUpChange, err error)
- func (b *FollowUpChangeBuilder) Copy(object *FollowUpChange) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) CreatedAt(value time.Time) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) DeletedAt(value time.Time) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) Empty() bool
- func (b *FollowUpChangeBuilder) FollowUp(value *FollowUpBuilder) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) HREF(value string) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) ID(value string) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) Link(value bool) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) Status(value interface{}) *FollowUpChangeBuilder
- func (b *FollowUpChangeBuilder) UpdatedAt(value time.Time) *FollowUpChangeBuilder
- type FollowUpChangeList
- func (l *FollowUpChangeList) Each(f func(item *FollowUpChange) bool)
- func (l *FollowUpChangeList) Empty() bool
- func (l *FollowUpChangeList) Get(i int) *FollowUpChange
- func (l *FollowUpChangeList) GetHREF() (value string, ok bool)
- func (l *FollowUpChangeList) HREF() string
- func (l *FollowUpChangeList) Items() []*FollowUpChange
- func (l *FollowUpChangeList) Kind() string
- func (l *FollowUpChangeList) Len() int
- func (l *FollowUpChangeList) Link() bool
- func (l *FollowUpChangeList) Range(f func(index int, item *FollowUpChange) bool)
- func (l *FollowUpChangeList) SetHREF(href string)
- func (l *FollowUpChangeList) SetItems(items []*FollowUpChange)
- func (l *FollowUpChangeList) SetLink(link bool)
- func (l *FollowUpChangeList) Slice() []*FollowUpChange
- type FollowUpChangeListBuilder
- func (b *FollowUpChangeListBuilder) Build() (list *FollowUpChangeList, err error)
- func (b *FollowUpChangeListBuilder) Copy(list *FollowUpChangeList) *FollowUpChangeListBuilder
- func (b *FollowUpChangeListBuilder) Empty() bool
- func (b *FollowUpChangeListBuilder) Items(values ...*FollowUpChangeBuilder) *FollowUpChangeListBuilder
- type FollowUpList
- func (l *FollowUpList) Each(f func(item *FollowUp) bool)
- func (l *FollowUpList) Empty() bool
- func (l *FollowUpList) Get(i int) *FollowUp
- func (l *FollowUpList) GetHREF() (value string, ok bool)
- func (l *FollowUpList) HREF() string
- func (l *FollowUpList) Items() []*FollowUp
- func (l *FollowUpList) Kind() string
- func (l *FollowUpList) Len() int
- func (l *FollowUpList) Link() bool
- func (l *FollowUpList) Range(f func(index int, item *FollowUp) bool)
- func (l *FollowUpList) SetHREF(href string)
- func (l *FollowUpList) SetItems(items []*FollowUp)
- func (l *FollowUpList) SetLink(link bool)
- func (l *FollowUpList) Slice() []*FollowUp
- type FollowUpListBuilder
- type Handoff
- func (o *Handoff) CreatedAt() time.Time
- func (o *Handoff) DeletedAt() time.Time
- func (o *Handoff) Empty() bool
- func (o *Handoff) GetCreatedAt() (value time.Time, ok bool)
- func (o *Handoff) GetDeletedAt() (value time.Time, ok bool)
- func (o *Handoff) GetHREF() (value string, ok bool)
- func (o *Handoff) GetHandoffFrom() (value *User, ok bool)
- func (o *Handoff) GetHandoffTo() (value *User, ok bool)
- func (o *Handoff) GetHandoffType() (value string, ok bool)
- func (o *Handoff) GetID() (value string, ok bool)
- func (o *Handoff) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Handoff) HREF() string
- func (o *Handoff) HandoffFrom() *User
- func (o *Handoff) HandoffTo() *User
- func (o *Handoff) HandoffType() string
- func (o *Handoff) ID() string
- func (o *Handoff) Kind() string
- func (o *Handoff) Link() bool
- func (o *Handoff) UpdatedAt() time.Time
- type HandoffBuilder
- func (b *HandoffBuilder) Build() (object *Handoff, err error)
- func (b *HandoffBuilder) Copy(object *Handoff) *HandoffBuilder
- func (b *HandoffBuilder) CreatedAt(value time.Time) *HandoffBuilder
- func (b *HandoffBuilder) DeletedAt(value time.Time) *HandoffBuilder
- func (b *HandoffBuilder) Empty() bool
- func (b *HandoffBuilder) HREF(value string) *HandoffBuilder
- func (b *HandoffBuilder) HandoffFrom(value *UserBuilder) *HandoffBuilder
- func (b *HandoffBuilder) HandoffTo(value *UserBuilder) *HandoffBuilder
- func (b *HandoffBuilder) HandoffType(value string) *HandoffBuilder
- func (b *HandoffBuilder) ID(value string) *HandoffBuilder
- func (b *HandoffBuilder) Link(value bool) *HandoffBuilder
- func (b *HandoffBuilder) UpdatedAt(value time.Time) *HandoffBuilder
- type HandoffList
- func (l *HandoffList) Each(f func(item *Handoff) bool)
- func (l *HandoffList) Empty() bool
- func (l *HandoffList) Get(i int) *Handoff
- func (l *HandoffList) GetHREF() (value string, ok bool)
- func (l *HandoffList) HREF() string
- func (l *HandoffList) Items() []*Handoff
- func (l *HandoffList) Kind() string
- func (l *HandoffList) Len() int
- func (l *HandoffList) Link() bool
- func (l *HandoffList) Range(f func(index int, item *Handoff) bool)
- func (l *HandoffList) SetHREF(href string)
- func (l *HandoffList) SetItems(items []*Handoff)
- func (l *HandoffList) SetLink(link bool)
- func (l *HandoffList) Slice() []*Handoff
- type HandoffListBuilder
- type Incident
- func (o *Incident) CreatedAt() time.Time
- func (o *Incident) CreatorId() string
- func (o *Incident) DeletedAt() time.Time
- func (o *Incident) Description() string
- func (o *Incident) Empty() bool
- func (o *Incident) ExternalCoordination() []string
- func (o *Incident) GetCreatedAt() (value time.Time, ok bool)
- func (o *Incident) GetCreatorId() (value string, ok bool)
- func (o *Incident) GetDeletedAt() (value time.Time, ok bool)
- func (o *Incident) GetDescription() (value string, ok bool)
- func (o *Incident) GetExternalCoordination() (value []string, ok bool)
- func (o *Incident) GetHREF() (value string, ok bool)
- func (o *Incident) GetID() (value string, ok bool)
- func (o *Incident) GetIncidentId() (value string, ok bool)
- func (o *Incident) GetIncidentType() (value string, ok bool)
- func (o *Incident) GetLastUpdated() (value time.Time, ok bool)
- func (o *Incident) GetPrimaryTeam() (value string, ok bool)
- func (o *Incident) GetSeverity() (value string, ok bool)
- func (o *Incident) GetStatus() (value string, ok bool)
- func (o *Incident) GetSummary() (value string, ok bool)
- func (o *Incident) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Incident) GetWorkedAt() (value time.Time, ok bool)
- func (o *Incident) HREF() string
- func (o *Incident) ID() string
- func (o *Incident) IncidentId() string
- func (o *Incident) IncidentType() string
- func (o *Incident) Kind() string
- func (o *Incident) LastUpdated() time.Time
- func (o *Incident) Link() bool
- func (o *Incident) PrimaryTeam() string
- func (o *Incident) Severity() string
- func (o *Incident) Status() string
- func (o *Incident) Summary() string
- func (o *Incident) UpdatedAt() time.Time
- func (o *Incident) WorkedAt() time.Time
- type IncidentBuilder
- func (b *IncidentBuilder) Build() (object *Incident, err error)
- func (b *IncidentBuilder) Copy(object *Incident) *IncidentBuilder
- func (b *IncidentBuilder) CreatedAt(value time.Time) *IncidentBuilder
- func (b *IncidentBuilder) CreatorId(value string) *IncidentBuilder
- func (b *IncidentBuilder) DeletedAt(value time.Time) *IncidentBuilder
- func (b *IncidentBuilder) Description(value string) *IncidentBuilder
- func (b *IncidentBuilder) Empty() bool
- func (b *IncidentBuilder) ExternalCoordination(values ...string) *IncidentBuilder
- func (b *IncidentBuilder) HREF(value string) *IncidentBuilder
- func (b *IncidentBuilder) ID(value string) *IncidentBuilder
- func (b *IncidentBuilder) IncidentId(value string) *IncidentBuilder
- func (b *IncidentBuilder) IncidentType(value string) *IncidentBuilder
- func (b *IncidentBuilder) LastUpdated(value time.Time) *IncidentBuilder
- func (b *IncidentBuilder) Link(value bool) *IncidentBuilder
- func (b *IncidentBuilder) PrimaryTeam(value string) *IncidentBuilder
- func (b *IncidentBuilder) Severity(value string) *IncidentBuilder
- func (b *IncidentBuilder) Status(value string) *IncidentBuilder
- func (b *IncidentBuilder) Summary(value string) *IncidentBuilder
- func (b *IncidentBuilder) UpdatedAt(value time.Time) *IncidentBuilder
- func (b *IncidentBuilder) WorkedAt(value time.Time) *IncidentBuilder
- type IncidentList
- func (l *IncidentList) Each(f func(item *Incident) bool)
- func (l *IncidentList) Empty() bool
- func (l *IncidentList) Get(i int) *Incident
- func (l *IncidentList) GetHREF() (value string, ok bool)
- func (l *IncidentList) HREF() string
- func (l *IncidentList) Items() []*Incident
- func (l *IncidentList) Kind() string
- func (l *IncidentList) Len() int
- func (l *IncidentList) Link() bool
- func (l *IncidentList) Range(f func(index int, item *Incident) bool)
- func (l *IncidentList) SetHREF(href string)
- func (l *IncidentList) SetItems(items []*Incident)
- func (l *IncidentList) SetLink(link bool)
- func (l *IncidentList) Slice() []*Incident
- type IncidentListBuilder
- type Metadata
- type Notification
- func ReadNotification(iterator *jsoniter.Iterator) *Notification
- func ReadNotificationList(iterator *jsoniter.Iterator) []*Notification
- func UnmarshalNotification(source interface{}) (object *Notification, err error)
- func UnmarshalNotificationList(source interface{}) (items []*Notification, err error)
- func (o *Notification) Checked() bool
- func (o *Notification) CreatedAt() time.Time
- func (o *Notification) DeletedAt() time.Time
- func (o *Notification) Empty() bool
- func (o *Notification) GetChecked() (value bool, ok bool)
- func (o *Notification) GetCreatedAt() (value time.Time, ok bool)
- func (o *Notification) GetDeletedAt() (value time.Time, ok bool)
- func (o *Notification) GetHREF() (value string, ok bool)
- func (o *Notification) GetID() (value string, ok bool)
- func (o *Notification) GetIncident() (value *Incident, ok bool)
- func (o *Notification) GetName() (value string, ok bool)
- func (o *Notification) GetRank() (value int, ok bool)
- func (o *Notification) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Notification) HREF() string
- func (o *Notification) ID() string
- func (o *Notification) Incident() *Incident
- func (o *Notification) Kind() string
- func (o *Notification) Link() bool
- func (o *Notification) Name() string
- func (o *Notification) Rank() int
- func (o *Notification) UpdatedAt() time.Time
- type NotificationBuilder
- func (b *NotificationBuilder) Build() (object *Notification, err error)
- func (b *NotificationBuilder) Checked(value bool) *NotificationBuilder
- func (b *NotificationBuilder) Copy(object *Notification) *NotificationBuilder
- func (b *NotificationBuilder) CreatedAt(value time.Time) *NotificationBuilder
- func (b *NotificationBuilder) DeletedAt(value time.Time) *NotificationBuilder
- func (b *NotificationBuilder) Empty() bool
- func (b *NotificationBuilder) HREF(value string) *NotificationBuilder
- func (b *NotificationBuilder) ID(value string) *NotificationBuilder
- func (b *NotificationBuilder) Incident(value *IncidentBuilder) *NotificationBuilder
- func (b *NotificationBuilder) Link(value bool) *NotificationBuilder
- func (b *NotificationBuilder) Name(value string) *NotificationBuilder
- func (b *NotificationBuilder) Rank(value int) *NotificationBuilder
- func (b *NotificationBuilder) UpdatedAt(value time.Time) *NotificationBuilder
- type NotificationList
- func (l *NotificationList) Each(f func(item *Notification) bool)
- func (l *NotificationList) Empty() bool
- func (l *NotificationList) Get(i int) *Notification
- func (l *NotificationList) GetHREF() (value string, ok bool)
- func (l *NotificationList) HREF() string
- func (l *NotificationList) Items() []*Notification
- func (l *NotificationList) Kind() string
- func (l *NotificationList) Len() int
- func (l *NotificationList) Link() bool
- func (l *NotificationList) Range(f func(index int, item *Notification) bool)
- func (l *NotificationList) SetHREF(href string)
- func (l *NotificationList) SetItems(items []*Notification)
- func (l *NotificationList) SetLink(link bool)
- func (l *NotificationList) Slice() []*Notification
- type NotificationListBuilder
- func (b *NotificationListBuilder) Build() (list *NotificationList, err error)
- func (b *NotificationListBuilder) Copy(list *NotificationList) *NotificationListBuilder
- func (b *NotificationListBuilder) Empty() bool
- func (b *NotificationListBuilder) Items(values ...*NotificationBuilder) *NotificationListBuilder
- type Product
- func (o *Product) CreatedAt() time.Time
- func (o *Product) DeletedAt() time.Time
- func (o *Product) Empty() bool
- func (o *Product) GetCreatedAt() (value time.Time, ok bool)
- func (o *Product) GetDeletedAt() (value time.Time, ok bool)
- func (o *Product) GetHREF() (value string, ok bool)
- func (o *Product) GetID() (value string, ok bool)
- func (o *Product) GetProductId() (value string, ok bool)
- func (o *Product) GetProductName() (value string, ok bool)
- func (o *Product) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Product) HREF() string
- func (o *Product) ID() string
- func (o *Product) Kind() string
- func (o *Product) Link() bool
- func (o *Product) ProductId() string
- func (o *Product) ProductName() string
- func (o *Product) UpdatedAt() time.Time
- type ProductBuilder
- func (b *ProductBuilder) Build() (object *Product, err error)
- func (b *ProductBuilder) Copy(object *Product) *ProductBuilder
- func (b *ProductBuilder) CreatedAt(value time.Time) *ProductBuilder
- func (b *ProductBuilder) DeletedAt(value time.Time) *ProductBuilder
- func (b *ProductBuilder) Empty() bool
- func (b *ProductBuilder) HREF(value string) *ProductBuilder
- func (b *ProductBuilder) ID(value string) *ProductBuilder
- func (b *ProductBuilder) Link(value bool) *ProductBuilder
- func (b *ProductBuilder) ProductId(value string) *ProductBuilder
- func (b *ProductBuilder) ProductName(value string) *ProductBuilder
- func (b *ProductBuilder) UpdatedAt(value time.Time) *ProductBuilder
- type ProductList
- func (l *ProductList) Each(f func(item *Product) bool)
- func (l *ProductList) Empty() bool
- func (l *ProductList) Get(i int) *Product
- func (l *ProductList) GetHREF() (value string, ok bool)
- func (l *ProductList) HREF() string
- func (l *ProductList) Items() []*Product
- func (l *ProductList) Kind() string
- func (l *ProductList) Len() int
- func (l *ProductList) Link() bool
- func (l *ProductList) Range(f func(index int, item *Product) bool)
- func (l *ProductList) SetHREF(href string)
- func (l *ProductList) SetItems(items []*Product)
- func (l *ProductList) SetLink(link bool)
- func (l *ProductList) Slice() []*Product
- type ProductListBuilder
- type StatusChange
- func ReadStatusChange(iterator *jsoniter.Iterator) *StatusChange
- func ReadStatusChangeList(iterator *jsoniter.Iterator) []*StatusChange
- func UnmarshalStatusChange(source interface{}) (object *StatusChange, err error)
- func UnmarshalStatusChangeList(source interface{}) (items []*StatusChange, err error)
- func (o *StatusChange) CreatedAt() time.Time
- func (o *StatusChange) DeletedAt() time.Time
- func (o *StatusChange) Empty() bool
- func (o *StatusChange) GetCreatedAt() (value time.Time, ok bool)
- func (o *StatusChange) GetDeletedAt() (value time.Time, ok bool)
- func (o *StatusChange) GetHREF() (value string, ok bool)
- func (o *StatusChange) GetID() (value string, ok bool)
- func (o *StatusChange) GetStatus() (value interface{}, ok bool)
- func (o *StatusChange) GetStatusId() (value string, ok bool)
- func (o *StatusChange) GetUpdatedAt() (value time.Time, ok bool)
- func (o *StatusChange) HREF() string
- func (o *StatusChange) ID() string
- func (o *StatusChange) Kind() string
- func (o *StatusChange) Link() bool
- func (o *StatusChange) Status() interface{}
- func (o *StatusChange) StatusId() string
- func (o *StatusChange) UpdatedAt() time.Time
- type StatusChangeBuilder
- func (b *StatusChangeBuilder) Build() (object *StatusChange, err error)
- func (b *StatusChangeBuilder) Copy(object *StatusChange) *StatusChangeBuilder
- func (b *StatusChangeBuilder) CreatedAt(value time.Time) *StatusChangeBuilder
- func (b *StatusChangeBuilder) DeletedAt(value time.Time) *StatusChangeBuilder
- func (b *StatusChangeBuilder) Empty() bool
- func (b *StatusChangeBuilder) HREF(value string) *StatusChangeBuilder
- func (b *StatusChangeBuilder) ID(value string) *StatusChangeBuilder
- func (b *StatusChangeBuilder) Link(value bool) *StatusChangeBuilder
- func (b *StatusChangeBuilder) Status(value interface{}) *StatusChangeBuilder
- func (b *StatusChangeBuilder) StatusId(value string) *StatusChangeBuilder
- func (b *StatusChangeBuilder) UpdatedAt(value time.Time) *StatusChangeBuilder
- type StatusChangeList
- func (l *StatusChangeList) Each(f func(item *StatusChange) bool)
- func (l *StatusChangeList) Empty() bool
- func (l *StatusChangeList) Get(i int) *StatusChange
- func (l *StatusChangeList) GetHREF() (value string, ok bool)
- func (l *StatusChangeList) HREF() string
- func (l *StatusChangeList) Items() []*StatusChange
- func (l *StatusChangeList) Kind() string
- func (l *StatusChangeList) Len() int
- func (l *StatusChangeList) Link() bool
- func (l *StatusChangeList) Range(f func(index int, item *StatusChange) bool)
- func (l *StatusChangeList) SetHREF(href string)
- func (l *StatusChangeList) SetItems(items []*StatusChange)
- func (l *StatusChangeList) SetLink(link bool)
- func (l *StatusChangeList) Slice() []*StatusChange
- type StatusChangeListBuilder
- func (b *StatusChangeListBuilder) Build() (list *StatusChangeList, err error)
- func (b *StatusChangeListBuilder) Copy(list *StatusChangeList) *StatusChangeListBuilder
- func (b *StatusChangeListBuilder) Empty() bool
- func (b *StatusChangeListBuilder) Items(values ...*StatusChangeBuilder) *StatusChangeListBuilder
- type User
- func (o *User) CreatedAt() time.Time
- func (o *User) DeletedAt() time.Time
- func (o *User) Email() string
- func (o *User) Empty() bool
- func (o *User) FromAuth() bool
- func (o *User) GetCreatedAt() (value time.Time, ok bool)
- func (o *User) GetDeletedAt() (value time.Time, ok bool)
- func (o *User) GetEmail() (value string, ok bool)
- func (o *User) GetFromAuth() (value bool, ok bool)
- func (o *User) GetHREF() (value string, ok bool)
- func (o *User) GetID() (value string, ok bool)
- func (o *User) GetName() (value string, ok bool)
- func (o *User) GetUpdatedAt() (value time.Time, ok bool)
- func (o *User) GetUsername() (value string, ok bool)
- func (o *User) HREF() string
- func (o *User) ID() string
- func (o *User) Kind() string
- func (o *User) Link() bool
- func (o *User) Name() string
- func (o *User) UpdatedAt() time.Time
- func (o *User) Username() string
- type UserBuilder
- func (b *UserBuilder) Build() (object *User, err error)
- func (b *UserBuilder) Copy(object *User) *UserBuilder
- func (b *UserBuilder) CreatedAt(value time.Time) *UserBuilder
- func (b *UserBuilder) DeletedAt(value time.Time) *UserBuilder
- func (b *UserBuilder) Email(value string) *UserBuilder
- func (b *UserBuilder) Empty() bool
- func (b *UserBuilder) FromAuth(value bool) *UserBuilder
- func (b *UserBuilder) HREF(value string) *UserBuilder
- func (b *UserBuilder) ID(value string) *UserBuilder
- func (b *UserBuilder) Link(value bool) *UserBuilder
- func (b *UserBuilder) Name(value string) *UserBuilder
- func (b *UserBuilder) UpdatedAt(value time.Time) *UserBuilder
- func (b *UserBuilder) Username(value string) *UserBuilder
- type UserList
- func (l *UserList) Each(f func(item *User) bool)
- func (l *UserList) Empty() bool
- func (l *UserList) Get(i int) *User
- func (l *UserList) GetHREF() (value string, ok bool)
- func (l *UserList) HREF() string
- func (l *UserList) Items() []*User
- func (l *UserList) Kind() string
- func (l *UserList) Len() int
- func (l *UserList) Link() bool
- func (l *UserList) Range(f func(index int, item *User) bool)
- func (l *UserList) SetHREF(href string)
- func (l *UserList) SetItems(items []*User)
- func (l *UserList) SetLink(link bool)
- func (l *UserList) Slice() []*User
- type UserListBuilder
Constants ¶
const AttachmentKind = "Attachment"
AttachmentKind is the name of the type used to represent objects of type 'attachment'.
const AttachmentLinkKind = "AttachmentLink"
AttachmentLinkKind is the name of the type used to represent links to objects of type 'attachment'.
const AttachmentListKind = "AttachmentList"
AttachmentListKind is the name of the type used to represent list of objects of type 'attachment'.
const AttachmentListLinkKind = "AttachmentListLink"
AttachmentListLinkKind is the name of the type used to represent links to list of objects of type 'attachment'.
const AttachmentListNilKind = "AttachmentListNil"
AttachmentNilKind is the name of the type used to nil lists of objects of type 'attachment'.
const AttachmentNilKind = "AttachmentNil"
AttachmentNilKind is the name of the type used to nil references to objects of type 'attachment'.
const ErrorKind = "Error"
ErrorKind is the name of the type used to represent objects of type 'error'.
const ErrorLinkKind = "ErrorLink"
ErrorLinkKind is the name of the type used to represent links to objects of type 'error'.
const ErrorListKind = "ErrorList"
ErrorListKind is the name of the type used to represent list of objects of type 'error'.
const ErrorListLinkKind = "ErrorListLink"
ErrorListLinkKind is the name of the type used to represent links to list of objects of type 'error'.
const ErrorListNilKind = "ErrorListNil"
ErrorNilKind is the name of the type used to nil lists of objects of type 'error'.
const ErrorNilKind = "ErrorNil"
ErrorNilKind is the name of the type used to nil references to objects of type 'error'.
const EscalationKind = "Escalation"
EscalationKind is the name of the type used to represent objects of type 'escalation'.
const EscalationLinkKind = "EscalationLink"
EscalationLinkKind is the name of the type used to represent links to objects of type 'escalation'.
const EscalationListKind = "EscalationList"
EscalationListKind is the name of the type used to represent list of objects of type 'escalation'.
const EscalationListLinkKind = "EscalationListLink"
EscalationListLinkKind is the name of the type used to represent links to list of objects of type 'escalation'.
const EscalationListNilKind = "EscalationListNil"
EscalationNilKind is the name of the type used to nil lists of objects of type 'escalation'.
const EscalationNilKind = "EscalationNil"
EscalationNilKind is the name of the type used to nil references to objects of type 'escalation'.
const EventKind = "Event"
EventKind is the name of the type used to represent objects of type 'event'.
const EventLinkKind = "EventLink"
EventLinkKind is the name of the type used to represent links to objects of type 'event'.
const EventListKind = "EventList"
EventListKind is the name of the type used to represent list of objects of type 'event'.
const EventListLinkKind = "EventListLink"
EventListLinkKind is the name of the type used to represent links to list of objects of type 'event'.
const EventListNilKind = "EventListNil"
EventNilKind is the name of the type used to nil lists of objects of type 'event'.
const EventNilKind = "EventNil"
EventNilKind is the name of the type used to nil references to objects of type 'event'.
const FollowUpChangeKind = "FollowUpChange"
FollowUpChangeKind is the name of the type used to represent objects of type 'follow_up_change'.
const FollowUpChangeLinkKind = "FollowUpChangeLink"
FollowUpChangeLinkKind is the name of the type used to represent links to objects of type 'follow_up_change'.
const FollowUpChangeListKind = "FollowUpChangeList"
FollowUpChangeListKind is the name of the type used to represent list of objects of type 'follow_up_change'.
const FollowUpChangeListLinkKind = "FollowUpChangeListLink"
FollowUpChangeListLinkKind is the name of the type used to represent links to list of objects of type 'follow_up_change'.
const FollowUpChangeListNilKind = "FollowUpChangeListNil"
FollowUpChangeNilKind is the name of the type used to nil lists of objects of type 'follow_up_change'.
const FollowUpChangeNilKind = "FollowUpChangeNil"
FollowUpChangeNilKind is the name of the type used to nil references to objects of type 'follow_up_change'.
const FollowUpKind = "FollowUp"
FollowUpKind is the name of the type used to represent objects of type 'follow_up'.
const FollowUpLinkKind = "FollowUpLink"
FollowUpLinkKind is the name of the type used to represent links to objects of type 'follow_up'.
const FollowUpListKind = "FollowUpList"
FollowUpListKind is the name of the type used to represent list of objects of type 'follow_up'.
const FollowUpListLinkKind = "FollowUpListLink"
FollowUpListLinkKind is the name of the type used to represent links to list of objects of type 'follow_up'.
const FollowUpListNilKind = "FollowUpListNil"
FollowUpNilKind is the name of the type used to nil lists of objects of type 'follow_up'.
const FollowUpNilKind = "FollowUpNil"
FollowUpNilKind is the name of the type used to nil references to objects of type 'follow_up'.
const HandoffKind = "Handoff"
HandoffKind is the name of the type used to represent objects of type 'handoff'.
const HandoffLinkKind = "HandoffLink"
HandoffLinkKind is the name of the type used to represent links to objects of type 'handoff'.
const HandoffListKind = "HandoffList"
HandoffListKind is the name of the type used to represent list of objects of type 'handoff'.
const HandoffListLinkKind = "HandoffListLink"
HandoffListLinkKind is the name of the type used to represent links to list of objects of type 'handoff'.
const HandoffListNilKind = "HandoffListNil"
HandoffNilKind is the name of the type used to nil lists of objects of type 'handoff'.
const HandoffNilKind = "HandoffNil"
HandoffNilKind is the name of the type used to nil references to objects of type 'handoff'.
const IncidentKind = "Incident"
IncidentKind is the name of the type used to represent objects of type 'incident'.
const IncidentLinkKind = "IncidentLink"
IncidentLinkKind is the name of the type used to represent links to objects of type 'incident'.
const IncidentListKind = "IncidentList"
IncidentListKind is the name of the type used to represent list of objects of type 'incident'.
const IncidentListLinkKind = "IncidentListLink"
IncidentListLinkKind is the name of the type used to represent links to list of objects of type 'incident'.
const IncidentListNilKind = "IncidentListNil"
IncidentNilKind is the name of the type used to nil lists of objects of type 'incident'.
const IncidentNilKind = "IncidentNil"
IncidentNilKind is the name of the type used to nil references to objects of type 'incident'.
const NotificationKind = "Notification"
NotificationKind is the name of the type used to represent objects of type 'notification'.
const NotificationLinkKind = "NotificationLink"
NotificationLinkKind is the name of the type used to represent links to objects of type 'notification'.
const NotificationListKind = "NotificationList"
NotificationListKind is the name of the type used to represent list of objects of type 'notification'.
const NotificationListLinkKind = "NotificationListLink"
NotificationListLinkKind is the name of the type used to represent links to list of objects of type 'notification'.
const NotificationListNilKind = "NotificationListNil"
NotificationNilKind is the name of the type used to nil lists of objects of type 'notification'.
const NotificationNilKind = "NotificationNil"
NotificationNilKind is the name of the type used to nil references to objects of type 'notification'.
const ProductKind = "Product"
ProductKind is the name of the type used to represent objects of type 'product'.
const ProductLinkKind = "ProductLink"
ProductLinkKind is the name of the type used to represent links to objects of type 'product'.
const ProductListKind = "ProductList"
ProductListKind is the name of the type used to represent list of objects of type 'product'.
const ProductListLinkKind = "ProductListLink"
ProductListLinkKind is the name of the type used to represent links to list of objects of type 'product'.
const ProductListNilKind = "ProductListNil"
ProductNilKind is the name of the type used to nil lists of objects of type 'product'.
const ProductNilKind = "ProductNil"
ProductNilKind is the name of the type used to nil references to objects of type 'product'.
const StatusChangeKind = "StatusChange"
StatusChangeKind is the name of the type used to represent objects of type 'status_change'.
const StatusChangeLinkKind = "StatusChangeLink"
StatusChangeLinkKind is the name of the type used to represent links to objects of type 'status_change'.
const StatusChangeListKind = "StatusChangeList"
StatusChangeListKind is the name of the type used to represent list of objects of type 'status_change'.
const StatusChangeListLinkKind = "StatusChangeListLink"
StatusChangeListLinkKind is the name of the type used to represent links to list of objects of type 'status_change'.
const StatusChangeListNilKind = "StatusChangeListNil"
StatusChangeNilKind is the name of the type used to nil lists of objects of type 'status_change'.
const StatusChangeNilKind = "StatusChangeNil"
StatusChangeNilKind is the name of the type used to nil references to objects of type 'status_change'.
const UserKind = "User"
UserKind is the name of the type used to represent objects of type 'user'.
const UserLinkKind = "UserLink"
UserLinkKind is the name of the type used to represent links to objects of type 'user'.
const UserListKind = "UserList"
UserListKind is the name of the type used to represent list of objects of type 'user'.
const UserListLinkKind = "UserListLink"
UserListLinkKind is the name of the type used to represent links to list of objects of type 'user'.
const UserListNilKind = "UserListNil"
UserNilKind is the name of the type used to nil lists of objects of type 'user'.
const UserNilKind = "UserNil"
UserNilKind is the name of the type used to nil references to objects of type 'user'.
Variables ¶
This section is empty.
Functions ¶
func MarshalAttachment ¶
func MarshalAttachment(object *Attachment, writer io.Writer) error
MarshalAttachment writes a value of the 'attachment' type to the given writer.
func MarshalAttachmentList ¶
func MarshalAttachmentList(list []*Attachment, writer io.Writer) error
MarshalAttachmentList writes a list of values of the 'attachment' type to the given writer.
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalError ¶
MarshalError writes a value of the 'error' type to the given writer.
func MarshalErrorList ¶
MarshalErrorList writes a list of values of the 'error' type to the given writer.
func MarshalEscalation ¶
func MarshalEscalation(object *Escalation, writer io.Writer) error
MarshalEscalation writes a value of the 'escalation' type to the given writer.
func MarshalEscalationList ¶
func MarshalEscalationList(list []*Escalation, writer io.Writer) error
MarshalEscalationList writes a list of values of the 'escalation' type to the given writer.
func MarshalEvent ¶
MarshalEvent writes a value of the 'event' type to the given writer.
func MarshalEventList ¶
MarshalEventList writes a list of values of the 'event' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalFollowUp ¶
MarshalFollowUp writes a value of the 'follow_up' type to the given writer.
func MarshalFollowUpChange ¶
func MarshalFollowUpChange(object *FollowUpChange, writer io.Writer) error
MarshalFollowUpChange writes a value of the 'follow_up_change' type to the given writer.
func MarshalFollowUpChangeList ¶
func MarshalFollowUpChangeList(list []*FollowUpChange, writer io.Writer) error
MarshalFollowUpChangeList writes a list of values of the 'follow_up_change' type to the given writer.
func MarshalFollowUpList ¶
MarshalFollowUpList writes a list of values of the 'follow_up' type to the given writer.
func MarshalHandoff ¶
MarshalHandoff writes a value of the 'handoff' type to the given writer.
func MarshalHandoffList ¶
MarshalHandoffList writes a list of values of the 'handoff' type to the given writer.
func MarshalIncident ¶
MarshalIncident writes a value of the 'incident' type to the given writer.
func MarshalIncidentList ¶
MarshalIncidentList writes a list of values of the 'incident' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalNotification ¶
func MarshalNotification(object *Notification, writer io.Writer) error
MarshalNotification writes a value of the 'notification' type to the given writer.
func MarshalNotificationList ¶
func MarshalNotificationList(list []*Notification, writer io.Writer) error
MarshalNotificationList writes a list of values of the 'notification' type to the given writer.
func MarshalProduct ¶
MarshalProduct writes a value of the 'product' type to the given writer.
func MarshalProductList ¶
MarshalProductList writes a list of values of the 'product' type to the given writer.
func MarshalStatusChange ¶
func MarshalStatusChange(object *StatusChange, writer io.Writer) error
MarshalStatusChange writes a value of the 'status_change' type to the given writer.
func MarshalStatusChangeList ¶
func MarshalStatusChangeList(list []*StatusChange, writer io.Writer) error
MarshalStatusChangeList writes a list of values of the 'status_change' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func MarshalUser ¶
MarshalUser writes a value of the 'user' type to the given writer.
func MarshalUserList ¶
MarshalUserList writes a list of values of the 'user' type to the given writer.
func ReadBooleanList ¶
ReadBooleanList reads list of values of the ”boolean' type from the given iterator.
func ReadDateList ¶
ReadDateList reads list of values of the ”date' type from the given iterator.
func ReadFloatList ¶
ReadFloatList reads list of values of the ”float' type from the given iterator.
func ReadIntegerList ¶
ReadIntegerList reads list of values of the ”integer' type from the given iterator.
func ReadInterfaceList ¶
ReadInterfaceList reads list of values of the ”interface' type from the given iterator.
func ReadLongList ¶
ReadLongList reads list of values of the ”long' type from the given iterator.
func ReadStringList ¶
ReadStringList reads list of values of the ”string' type from the given iterator.
func UnmarshalBooleanList ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 WriteAttachment ¶
func WriteAttachment(object *Attachment, stream *jsoniter.Stream)
WriteAttachment writes a value of the 'attachment' type to the given stream.
func WriteAttachmentList ¶
func WriteAttachmentList(list []*Attachment, stream *jsoniter.Stream)
WriteAttachmentList writes a list of value of the 'attachment' type to the given stream.
func WriteBooleanList ¶
WriteBooleanList writes a list of value of the 'boolean' type to the given stream.
func WriteDateList ¶
WriteDateList writes a list of value of the 'date' type to the given stream.
func WriteError ¶
WriteError writes a value of the 'error' type to the given stream.
func WriteErrorList ¶
WriteErrorList writes a list of value of the 'error' type to the given stream.
func WriteEscalation ¶
func WriteEscalation(object *Escalation, stream *jsoniter.Stream)
WriteEscalation writes a value of the 'escalation' type to the given stream.
func WriteEscalationList ¶
func WriteEscalationList(list []*Escalation, stream *jsoniter.Stream)
WriteEscalationList writes a list of value of the 'escalation' type to the given stream.
func WriteEvent ¶
WriteEvent writes a value of the 'event' type to the given stream.
func WriteEventList ¶
WriteEventList writes a list of value of the 'event' type to the given stream.
func WriteFloatList ¶
WriteFloatList writes a list of value of the 'float' type to the given stream.
func WriteFollowUp ¶
WriteFollowUp writes a value of the 'follow_up' type to the given stream.
func WriteFollowUpChange ¶
func WriteFollowUpChange(object *FollowUpChange, stream *jsoniter.Stream)
WriteFollowUpChange writes a value of the 'follow_up_change' type to the given stream.
func WriteFollowUpChangeList ¶
func WriteFollowUpChangeList(list []*FollowUpChange, stream *jsoniter.Stream)
WriteFollowUpChangeList writes a list of value of the 'follow_up_change' type to the given stream.
func WriteFollowUpList ¶
WriteFollowUpList writes a list of value of the 'follow_up' type to the given stream.
func WriteHandoff ¶
WriteHandoff writes a value of the 'handoff' type to the given stream.
func WriteHandoffList ¶
WriteHandoffList writes a list of value of the 'handoff' type to the given stream.
func WriteIncident ¶
WriteIncident writes a value of the 'incident' type to the given stream.
func WriteIncidentList ¶
WriteIncidentList writes a list of value of the 'incident' type to the given stream.
func WriteIntegerList ¶
WriteIntegerList writes a list of value of the 'integer' type to the given stream.
func WriteInterfaceList ¶
WriteInterfaceList writes a list of value of the 'interface' type to the given stream.
func WriteLongList ¶
WriteLongList writes a list of value of the 'long' type to the given stream.
func WriteNotification ¶
func WriteNotification(object *Notification, stream *jsoniter.Stream)
WriteNotification writes a value of the 'notification' type to the given stream.
func WriteNotificationList ¶
func WriteNotificationList(list []*Notification, stream *jsoniter.Stream)
WriteNotificationList writes a list of value of the 'notification' type to the given stream.
func WriteProduct ¶
WriteProduct writes a value of the 'product' type to the given stream.
func WriteProductList ¶
WriteProductList writes a list of value of the 'product' type to the given stream.
func WriteStatusChange ¶
func WriteStatusChange(object *StatusChange, stream *jsoniter.Stream)
WriteStatusChange writes a value of the 'status_change' type to the given stream.
func WriteStatusChangeList ¶
func WriteStatusChangeList(list []*StatusChange, stream *jsoniter.Stream)
WriteStatusChangeList writes a list of value of the 'status_change' type to the given stream.
func WriteStringList ¶
WriteStringList writes a list of value of the 'string' type to the given stream.
func WriteUserList ¶
WriteUserList writes a list of value of the 'user' type to the given stream.
Types ¶
type Attachment ¶
type Attachment struct {
// contains filtered or unexported fields
}
Attachment represents the values of the 'attachment' type.
Definition of a Web RCA attachment.
func ReadAttachment ¶
func ReadAttachment(iterator *jsoniter.Iterator) *Attachment
ReadAttachment reads a value of the 'attachment' type from the given iterator.
func ReadAttachmentList ¶
func ReadAttachmentList(iterator *jsoniter.Iterator) []*Attachment
ReadAttachmentList reads list of values of the ”attachment' type from the given iterator.
func UnmarshalAttachment ¶
func UnmarshalAttachment(source interface{}) (object *Attachment, err error)
UnmarshalAttachment reads a value of the 'attachment' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalAttachmentList ¶
func UnmarshalAttachmentList(source interface{}) (items []*Attachment, err error)
UnmarshalAttachmentList reads a list of values of the 'attachment' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Attachment) ContentType ¶
func (o *Attachment) ContentType() string
ContentType returns the value of the 'content_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Attachment) CreatedAt ¶
func (o *Attachment) 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 (*Attachment) Creator ¶
func (o *Attachment) Creator() *User
Creator returns the value of the 'creator' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Attachment) DeletedAt ¶
func (o *Attachment) DeletedAt() time.Time
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Attachment) Empty ¶
func (o *Attachment) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Attachment) Event ¶
func (o *Attachment) Event() *Event
Event returns the value of the 'event' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Attachment) FileSize ¶
func (o *Attachment) FileSize() int
FileSize returns the value of the 'file_size' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Attachment) GetContentType ¶
func (o *Attachment) GetContentType() (value string, ok bool)
GetContentType returns the value of the 'content_type' attribute and a flag indicating if the attribute has a value.
func (*Attachment) GetCreatedAt ¶
func (o *Attachment) 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 (*Attachment) GetCreator ¶
func (o *Attachment) GetCreator() (value *User, ok bool)
GetCreator returns the value of the 'creator' attribute and a flag indicating if the attribute has a value.
func (*Attachment) GetDeletedAt ¶
func (o *Attachment) GetDeletedAt() (value time.Time, ok bool)
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Attachment) GetEvent ¶
func (o *Attachment) GetEvent() (value *Event, ok bool)
GetEvent returns the value of the 'event' attribute and a flag indicating if the attribute has a value.
func (*Attachment) GetFileSize ¶
func (o *Attachment) GetFileSize() (value int, ok bool)
GetFileSize returns the value of the 'file_size' attribute and a flag indicating if the attribute has a value.
func (*Attachment) GetHREF ¶
func (o *Attachment) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Attachment) GetID ¶
func (o *Attachment) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Attachment) GetName ¶
func (o *Attachment) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Attachment) GetUpdatedAt ¶
func (o *Attachment) 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 (*Attachment) Kind ¶
func (o *Attachment) Kind() string
Kind returns the name of the type of the object.
func (*Attachment) Name ¶
func (o *Attachment) 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.
func (*Attachment) UpdatedAt ¶
func (o *Attachment) 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 AttachmentBuilder ¶
type AttachmentBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA attachment.
func NewAttachment ¶
func NewAttachment() *AttachmentBuilder
NewAttachment creates a new builder of 'attachment' objects.
func (*AttachmentBuilder) Build ¶
func (b *AttachmentBuilder) Build() (object *Attachment, err error)
Build creates a 'attachment' object using the configuration stored in the builder.
func (*AttachmentBuilder) ContentType ¶
func (b *AttachmentBuilder) ContentType(value string) *AttachmentBuilder
ContentType sets the value of the 'content_type' attribute to the given value.
func (*AttachmentBuilder) Copy ¶
func (b *AttachmentBuilder) Copy(object *Attachment) *AttachmentBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*AttachmentBuilder) CreatedAt ¶
func (b *AttachmentBuilder) CreatedAt(value time.Time) *AttachmentBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*AttachmentBuilder) Creator ¶
func (b *AttachmentBuilder) Creator(value *UserBuilder) *AttachmentBuilder
Creator sets the value of the 'creator' attribute to the given value.
Definition of a Web RCA user.
func (*AttachmentBuilder) DeletedAt ¶
func (b *AttachmentBuilder) DeletedAt(value time.Time) *AttachmentBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*AttachmentBuilder) Empty ¶
func (b *AttachmentBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*AttachmentBuilder) Event ¶
func (b *AttachmentBuilder) Event(value *EventBuilder) *AttachmentBuilder
Event sets the value of the 'event' attribute to the given value.
Definition of a Web RCA event.
func (*AttachmentBuilder) FileSize ¶
func (b *AttachmentBuilder) FileSize(value int) *AttachmentBuilder
FileSize sets the value of the 'file_size' attribute to the given value.
func (*AttachmentBuilder) HREF ¶
func (b *AttachmentBuilder) HREF(value string) *AttachmentBuilder
HREF sets the link to the object.
func (*AttachmentBuilder) ID ¶
func (b *AttachmentBuilder) ID(value string) *AttachmentBuilder
ID sets the identifier of the object.
func (*AttachmentBuilder) Link ¶
func (b *AttachmentBuilder) Link(value bool) *AttachmentBuilder
Link sets the flag that indicates if this is a link.
func (*AttachmentBuilder) Name ¶
func (b *AttachmentBuilder) Name(value string) *AttachmentBuilder
Name sets the value of the 'name' attribute to the given value.
func (*AttachmentBuilder) UpdatedAt ¶
func (b *AttachmentBuilder) UpdatedAt(value time.Time) *AttachmentBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type AttachmentList ¶
type AttachmentList struct {
// contains filtered or unexported fields
}
AttachmentList is a list of values of the 'attachment' type.
func (*AttachmentList) Each ¶
func (l *AttachmentList) Each(f func(item *Attachment) 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 (*AttachmentList) Empty ¶
func (l *AttachmentList) Empty() bool
Empty returns true if the list is empty.
func (*AttachmentList) Get ¶
func (l *AttachmentList) Get(i int) *Attachment
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*AttachmentList) GetHREF ¶
func (l *AttachmentList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*AttachmentList) HREF ¶
func (l *AttachmentList) HREF() string
HREF returns the link to the list.
func (*AttachmentList) Items ¶
func (l *AttachmentList) Items() []*Attachment
Items returns the items of the list.
func (*AttachmentList) Kind ¶
func (l *AttachmentList) Kind() string
Kind returns the name of the type of the object.
func (*AttachmentList) Link ¶
func (l *AttachmentList) Link() bool
Link returns true iif this is a link.
func (*AttachmentList) Range ¶
func (l *AttachmentList) Range(f func(index int, item *Attachment) 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 (*AttachmentList) SetHREF ¶
func (l *AttachmentList) SetHREF(href string)
Items sets the items of the list.
func (*AttachmentList) SetItems ¶
func (l *AttachmentList) SetItems(items []*Attachment)
Items sets the items of the list.
func (*AttachmentList) SetLink ¶
func (l *AttachmentList) SetLink(link bool)
Items sets the items of the list.
func (*AttachmentList) Slice ¶
func (l *AttachmentList) Slice() []*Attachment
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 AttachmentListBuilder ¶
type AttachmentListBuilder struct {
// contains filtered or unexported fields
}
AttachmentListBuilder contains the data and logic needed to build 'attachment' objects.
func NewAttachmentList ¶
func NewAttachmentList() *AttachmentListBuilder
NewAttachmentList creates a new builder of 'attachment' objects.
func (*AttachmentListBuilder) Build ¶
func (b *AttachmentListBuilder) Build() (list *AttachmentList, err error)
Build creates a list of 'attachment' objects using the configuration stored in the builder.
func (*AttachmentListBuilder) Copy ¶
func (b *AttachmentListBuilder) Copy(list *AttachmentList) *AttachmentListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*AttachmentListBuilder) Empty ¶
func (b *AttachmentListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*AttachmentListBuilder) Items ¶
func (b *AttachmentListBuilder) Items(values ...*AttachmentBuilder) *AttachmentListBuilder
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 Web RCA error.
func ReadErrorList ¶
ReadErrorList reads list of values of the ”error' type from the given iterator.
func UnmarshalError ¶
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 ¶
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 ¶
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) GetCode ¶
GetCode returns the value of the 'code' attribute and a flag indicating if the attribute has a value.
func (*Error) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Error) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
type ErrorBuilder ¶
type ErrorBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA error.
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 (*ErrorBuilder) Link ¶
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 ¶
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) Get ¶
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 ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ErrorList) Range ¶
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) 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 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 ¶
func (b *ErrorListBuilder) Copy(list *ErrorList) *ErrorListBuilder
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 Escalation ¶
type Escalation struct {
// contains filtered or unexported fields
}
Escalation represents the values of the 'escalation' type.
Definition of a Web RCA escalation.
func ReadEscalation ¶
func ReadEscalation(iterator *jsoniter.Iterator) *Escalation
ReadEscalation reads a value of the 'escalation' type from the given iterator.
func ReadEscalationList ¶
func ReadEscalationList(iterator *jsoniter.Iterator) []*Escalation
ReadEscalationList reads list of values of the ”escalation' type from the given iterator.
func UnmarshalEscalation ¶
func UnmarshalEscalation(source interface{}) (object *Escalation, err error)
UnmarshalEscalation reads a value of the 'escalation' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalEscalationList ¶
func UnmarshalEscalationList(source interface{}) (items []*Escalation, err error)
UnmarshalEscalationList reads a list of values of the 'escalation' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Escalation) CreatedAt ¶
func (o *Escalation) 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 (*Escalation) DeletedAt ¶
func (o *Escalation) DeletedAt() time.Time
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Escalation) Empty ¶
func (o *Escalation) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Escalation) GetCreatedAt ¶
func (o *Escalation) 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 (*Escalation) GetDeletedAt ¶
func (o *Escalation) GetDeletedAt() (value time.Time, ok bool)
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Escalation) GetHREF ¶
func (o *Escalation) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Escalation) GetID ¶
func (o *Escalation) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Escalation) GetUpdatedAt ¶
func (o *Escalation) 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 (*Escalation) GetUser ¶
func (o *Escalation) GetUser() (value *User, ok bool)
GetUser returns the value of the 'user' attribute and a flag indicating if the attribute has a value.
func (*Escalation) Kind ¶
func (o *Escalation) Kind() string
Kind returns the name of the type of the object.
func (*Escalation) UpdatedAt ¶
func (o *Escalation) 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.
func (*Escalation) User ¶
func (o *Escalation) User() *User
User returns the value of the 'user' attribute, or the zero value of the type if the attribute doesn't have a value.
type EscalationBuilder ¶
type EscalationBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA escalation.
func NewEscalation ¶
func NewEscalation() *EscalationBuilder
NewEscalation creates a new builder of 'escalation' objects.
func (*EscalationBuilder) Build ¶
func (b *EscalationBuilder) Build() (object *Escalation, err error)
Build creates a 'escalation' object using the configuration stored in the builder.
func (*EscalationBuilder) Copy ¶
func (b *EscalationBuilder) Copy(object *Escalation) *EscalationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*EscalationBuilder) CreatedAt ¶
func (b *EscalationBuilder) CreatedAt(value time.Time) *EscalationBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*EscalationBuilder) DeletedAt ¶
func (b *EscalationBuilder) DeletedAt(value time.Time) *EscalationBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*EscalationBuilder) Empty ¶
func (b *EscalationBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*EscalationBuilder) HREF ¶
func (b *EscalationBuilder) HREF(value string) *EscalationBuilder
HREF sets the link to the object.
func (*EscalationBuilder) ID ¶
func (b *EscalationBuilder) ID(value string) *EscalationBuilder
ID sets the identifier of the object.
func (*EscalationBuilder) Link ¶
func (b *EscalationBuilder) Link(value bool) *EscalationBuilder
Link sets the flag that indicates if this is a link.
func (*EscalationBuilder) UpdatedAt ¶
func (b *EscalationBuilder) UpdatedAt(value time.Time) *EscalationBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*EscalationBuilder) User ¶
func (b *EscalationBuilder) User(value *UserBuilder) *EscalationBuilder
User sets the value of the 'user' attribute to the given value.
Definition of a Web RCA user.
type EscalationList ¶
type EscalationList struct {
// contains filtered or unexported fields
}
EscalationList is a list of values of the 'escalation' type.
func (*EscalationList) Each ¶
func (l *EscalationList) Each(f func(item *Escalation) 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 (*EscalationList) Empty ¶
func (l *EscalationList) Empty() bool
Empty returns true if the list is empty.
func (*EscalationList) Get ¶
func (l *EscalationList) Get(i int) *Escalation
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*EscalationList) GetHREF ¶
func (l *EscalationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*EscalationList) HREF ¶
func (l *EscalationList) HREF() string
HREF returns the link to the list.
func (*EscalationList) Items ¶
func (l *EscalationList) Items() []*Escalation
Items returns the items of the list.
func (*EscalationList) Kind ¶
func (l *EscalationList) Kind() string
Kind returns the name of the type of the object.
func (*EscalationList) Link ¶
func (l *EscalationList) Link() bool
Link returns true iif this is a link.
func (*EscalationList) Range ¶
func (l *EscalationList) Range(f func(index int, item *Escalation) 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 (*EscalationList) SetHREF ¶
func (l *EscalationList) SetHREF(href string)
Items sets the items of the list.
func (*EscalationList) SetItems ¶
func (l *EscalationList) SetItems(items []*Escalation)
Items sets the items of the list.
func (*EscalationList) SetLink ¶
func (l *EscalationList) SetLink(link bool)
Items sets the items of the list.
func (*EscalationList) Slice ¶
func (l *EscalationList) Slice() []*Escalation
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 EscalationListBuilder ¶
type EscalationListBuilder struct {
// contains filtered or unexported fields
}
EscalationListBuilder contains the data and logic needed to build 'escalation' objects.
func NewEscalationList ¶
func NewEscalationList() *EscalationListBuilder
NewEscalationList creates a new builder of 'escalation' objects.
func (*EscalationListBuilder) Build ¶
func (b *EscalationListBuilder) Build() (list *EscalationList, err error)
Build creates a list of 'escalation' objects using the configuration stored in the builder.
func (*EscalationListBuilder) Copy ¶
func (b *EscalationListBuilder) Copy(list *EscalationList) *EscalationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*EscalationListBuilder) Empty ¶
func (b *EscalationListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*EscalationListBuilder) Items ¶
func (b *EscalationListBuilder) Items(values ...*EscalationBuilder) *EscalationListBuilder
Items sets the items of the list.
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event represents the values of the 'event' type.
Definition of a Web RCA event.
func ReadEventList ¶
ReadEventList reads list of values of the ”event' type from the given iterator.
func UnmarshalEvent ¶
UnmarshalEvent reads a value of the 'event' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalEventList ¶
UnmarshalEventList reads a list of values of the 'event' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Event) CreatedAt ¶
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 (*Event) Creator ¶
Creator returns the value of the 'creator' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Event) Escalation ¶
func (o *Event) Escalation() *Escalation
Escalation returns the value of the 'escalation' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) EventType ¶
EventType returns the value of the 'event_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) ExternalReferenceUrl ¶
ExternalReferenceUrl returns the value of the 'external_reference_url' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) FollowUp ¶
FollowUp returns the value of the 'follow_up' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) FollowUpChange ¶
func (o *Event) FollowUpChange() *FollowUpChange
FollowUpChange returns the value of the 'follow_up_change' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Event) GetCreator ¶
GetCreator returns the value of the 'creator' attribute and a flag indicating if the attribute has a value.
func (*Event) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Event) GetEscalation ¶
func (o *Event) GetEscalation() (value *Escalation, ok bool)
GetEscalation returns the value of the 'escalation' attribute and a flag indicating if the attribute has a value.
func (*Event) GetEventType ¶
GetEventType returns the value of the 'event_type' attribute and a flag indicating if the attribute has a value.
func (*Event) GetExternalReferenceUrl ¶
GetExternalReferenceUrl returns the value of the 'external_reference_url' attribute and a flag indicating if the attribute has a value.
func (*Event) GetFollowUp ¶
GetFollowUp returns the value of the 'follow_up' attribute and a flag indicating if the attribute has a value.
func (*Event) GetFollowUpChange ¶
func (o *Event) GetFollowUpChange() (value *FollowUpChange, ok bool)
GetFollowUpChange returns the value of the 'follow_up_change' attribute and a flag indicating if the attribute has a value.
func (*Event) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Event) GetHandoff ¶
GetHandoff returns the value of the 'handoff' attribute and a flag indicating if the attribute has a value.
func (*Event) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Event) GetIncident ¶
GetIncident returns the value of the 'incident' attribute and a flag indicating if the attribute has a value.
func (*Event) GetNote ¶
GetNote returns the value of the 'note' attribute and a flag indicating if the attribute has a value.
func (*Event) GetStatusChange ¶
func (o *Event) GetStatusChange() (value *StatusChange, ok bool)
GetStatusChange returns the value of the 'status_change' attribute and a flag indicating if the attribute has a value.
func (*Event) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Event) Handoff ¶
Handoff returns the value of the 'handoff' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) Incident ¶
Incident returns the value of the 'incident' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) Note ¶
Note returns the value of the 'note' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Event) StatusChange ¶
func (o *Event) StatusChange() *StatusChange
StatusChange returns the value of the 'status_change' attribute, or the zero value of the type if the attribute doesn't have a value.
type EventBuilder ¶
type EventBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA event.
func (*EventBuilder) Build ¶
func (b *EventBuilder) Build() (object *Event, err error)
Build creates a 'event' object using the configuration stored in the builder.
func (*EventBuilder) Copy ¶
func (b *EventBuilder) Copy(object *Event) *EventBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*EventBuilder) CreatedAt ¶
func (b *EventBuilder) CreatedAt(value time.Time) *EventBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*EventBuilder) Creator ¶
func (b *EventBuilder) Creator(value *UserBuilder) *EventBuilder
Creator sets the value of the 'creator' attribute to the given value.
Definition of a Web RCA user.
func (*EventBuilder) DeletedAt ¶
func (b *EventBuilder) DeletedAt(value time.Time) *EventBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*EventBuilder) Empty ¶
func (b *EventBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*EventBuilder) Escalation ¶
func (b *EventBuilder) Escalation(value *EscalationBuilder) *EventBuilder
Escalation sets the value of the 'escalation' attribute to the given value.
Definition of a Web RCA escalation.
func (*EventBuilder) EventType ¶
func (b *EventBuilder) EventType(value string) *EventBuilder
EventType sets the value of the 'event_type' attribute to the given value.
func (*EventBuilder) ExternalReferenceUrl ¶
func (b *EventBuilder) ExternalReferenceUrl(value string) *EventBuilder
ExternalReferenceUrl sets the value of the 'external_reference_url' attribute to the given value.
func (*EventBuilder) FollowUp ¶
func (b *EventBuilder) FollowUp(value *FollowUpBuilder) *EventBuilder
FollowUp sets the value of the 'follow_up' attribute to the given value.
Definition of a Web RCA event.
func (*EventBuilder) FollowUpChange ¶
func (b *EventBuilder) FollowUpChange(value *FollowUpChangeBuilder) *EventBuilder
FollowUpChange sets the value of the 'follow_up_change' attribute to the given value.
Definition of a Web RCA event.
func (*EventBuilder) HREF ¶
func (b *EventBuilder) HREF(value string) *EventBuilder
HREF sets the link to the object.
func (*EventBuilder) Handoff ¶
func (b *EventBuilder) Handoff(value *HandoffBuilder) *EventBuilder
Handoff sets the value of the 'handoff' attribute to the given value.
Definition of a Web RCA handoff.
func (*EventBuilder) ID ¶
func (b *EventBuilder) ID(value string) *EventBuilder
ID sets the identifier of the object.
func (*EventBuilder) Incident ¶
func (b *EventBuilder) Incident(value *IncidentBuilder) *EventBuilder
Incident sets the value of the 'incident' attribute to the given value.
Definition of a Web RCA incident.
func (*EventBuilder) Link ¶
func (b *EventBuilder) Link(value bool) *EventBuilder
Link sets the flag that indicates if this is a link.
func (*EventBuilder) Note ¶
func (b *EventBuilder) Note(value string) *EventBuilder
Note sets the value of the 'note' attribute to the given value.
func (*EventBuilder) StatusChange ¶
func (b *EventBuilder) StatusChange(value *StatusChangeBuilder) *EventBuilder
StatusChange sets the value of the 'status_change' attribute to the given value.
Definition of a Web RCA event.
func (*EventBuilder) UpdatedAt ¶
func (b *EventBuilder) UpdatedAt(value time.Time) *EventBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type EventList ¶
type EventList struct {
// contains filtered or unexported fields
}
EventList is a list of values of the 'event' type.
func (*EventList) Each ¶
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 (*EventList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*EventList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*EventList) Range ¶
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 (*EventList) 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 EventListBuilder ¶
type EventListBuilder struct {
// contains filtered or unexported fields
}
EventListBuilder contains the data and logic needed to build 'event' objects.
func NewEventList ¶
func NewEventList() *EventListBuilder
NewEventList creates a new builder of 'event' objects.
func (*EventListBuilder) Build ¶
func (b *EventListBuilder) Build() (list *EventList, err error)
Build creates a list of 'event' objects using the configuration stored in the builder.
func (*EventListBuilder) Copy ¶
func (b *EventListBuilder) Copy(list *EventList) *EventListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*EventListBuilder) Empty ¶
func (b *EventListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*EventListBuilder) Items ¶
func (b *EventListBuilder) Items(values ...*EventBuilder) *EventListBuilder
Items sets the items of the list.
type FollowUp ¶
type FollowUp struct {
// contains filtered or unexported fields
}
FollowUp represents the values of the 'follow_up' type.
Definition of a Web RCA event.
func ReadFollowUp ¶
ReadFollowUp reads a value of the 'follow_up' type from the given iterator.
func ReadFollowUpList ¶
ReadFollowUpList reads list of values of the ”follow_up' type from the given iterator.
func UnmarshalFollowUp ¶
UnmarshalFollowUp reads a value of the 'follow_up' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFollowUpList ¶
UnmarshalFollowUpList reads a list of values of the 'follow_up' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FollowUp) Archived ¶
Archived returns the value of the 'archived' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) CreatedAt ¶
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 (*FollowUp) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*FollowUp) Done ¶
Done returns the value of the 'done' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) FollowUpType ¶
FollowUpType returns the value of the 'follow_up_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) GetArchived ¶
GetArchived returns the value of the 'archived' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*FollowUp) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*FollowUp) GetDone ¶
GetDone returns the value of the 'done' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetFollowUpType ¶
GetFollowUpType returns the value of the 'follow_up_type' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*FollowUp) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*FollowUp) GetIncident ¶
GetIncident returns the value of the 'incident' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetOwner ¶
GetOwner returns the value of the 'owner' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetPriority ¶
GetPriority returns the value of the 'priority' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetStatus ¶
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetTitle ¶
GetTitle returns the value of the 'title' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*FollowUp) GetUrl ¶
GetUrl returns the value of the 'url' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) GetWorkedAt ¶
GetWorkedAt returns the value of the 'worked_at' attribute and a flag indicating if the attribute has a value.
func (*FollowUp) Incident ¶
Incident returns the value of the 'incident' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) Owner ¶
Owner returns the value of the 'owner' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) Priority ¶
Priority returns the value of the 'priority' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) Status ¶
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) Title ¶
Title returns the value of the 'title' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUp) UpdatedAt ¶
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 FollowUpBuilder ¶
type FollowUpBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA event.
func NewFollowUp ¶
func NewFollowUp() *FollowUpBuilder
NewFollowUp creates a new builder of 'follow_up' objects.
func (*FollowUpBuilder) Archived ¶
func (b *FollowUpBuilder) Archived(value bool) *FollowUpBuilder
Archived sets the value of the 'archived' attribute to the given value.
func (*FollowUpBuilder) Build ¶
func (b *FollowUpBuilder) Build() (object *FollowUp, err error)
Build creates a 'follow_up' object using the configuration stored in the builder.
func (*FollowUpBuilder) Copy ¶
func (b *FollowUpBuilder) Copy(object *FollowUp) *FollowUpBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FollowUpBuilder) CreatedAt ¶
func (b *FollowUpBuilder) CreatedAt(value time.Time) *FollowUpBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*FollowUpBuilder) DeletedAt ¶
func (b *FollowUpBuilder) DeletedAt(value time.Time) *FollowUpBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*FollowUpBuilder) Done ¶
func (b *FollowUpBuilder) Done(value bool) *FollowUpBuilder
Done sets the value of the 'done' attribute to the given value.
func (*FollowUpBuilder) Empty ¶
func (b *FollowUpBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FollowUpBuilder) FollowUpType ¶
func (b *FollowUpBuilder) FollowUpType(value string) *FollowUpBuilder
FollowUpType sets the value of the 'follow_up_type' attribute to the given value.
func (*FollowUpBuilder) HREF ¶
func (b *FollowUpBuilder) HREF(value string) *FollowUpBuilder
HREF sets the link to the object.
func (*FollowUpBuilder) ID ¶
func (b *FollowUpBuilder) ID(value string) *FollowUpBuilder
ID sets the identifier of the object.
func (*FollowUpBuilder) Incident ¶
func (b *FollowUpBuilder) Incident(value *IncidentBuilder) *FollowUpBuilder
Incident sets the value of the 'incident' attribute to the given value.
Definition of a Web RCA incident.
func (*FollowUpBuilder) Link ¶
func (b *FollowUpBuilder) Link(value bool) *FollowUpBuilder
Link sets the flag that indicates if this is a link.
func (*FollowUpBuilder) Owner ¶
func (b *FollowUpBuilder) Owner(value string) *FollowUpBuilder
Owner sets the value of the 'owner' attribute to the given value.
func (*FollowUpBuilder) Priority ¶
func (b *FollowUpBuilder) Priority(value string) *FollowUpBuilder
Priority sets the value of the 'priority' attribute to the given value.
func (*FollowUpBuilder) Status ¶
func (b *FollowUpBuilder) Status(value string) *FollowUpBuilder
Status sets the value of the 'status' attribute to the given value.
func (*FollowUpBuilder) Title ¶
func (b *FollowUpBuilder) Title(value string) *FollowUpBuilder
Title sets the value of the 'title' attribute to the given value.
func (*FollowUpBuilder) UpdatedAt ¶
func (b *FollowUpBuilder) UpdatedAt(value time.Time) *FollowUpBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*FollowUpBuilder) Url ¶
func (b *FollowUpBuilder) Url(value string) *FollowUpBuilder
Url sets the value of the 'url' attribute to the given value.
func (*FollowUpBuilder) WorkedAt ¶
func (b *FollowUpBuilder) WorkedAt(value time.Time) *FollowUpBuilder
WorkedAt sets the value of the 'worked_at' attribute to the given value.
type FollowUpChange ¶
type FollowUpChange struct {
// contains filtered or unexported fields
}
FollowUpChange represents the values of the 'follow_up_change' type.
Definition of a Web RCA event.
func ReadFollowUpChange ¶
func ReadFollowUpChange(iterator *jsoniter.Iterator) *FollowUpChange
ReadFollowUpChange reads a value of the 'follow_up_change' type from the given iterator.
func ReadFollowUpChangeList ¶
func ReadFollowUpChangeList(iterator *jsoniter.Iterator) []*FollowUpChange
ReadFollowUpChangeList reads list of values of the ”follow_up_change' type from the given iterator.
func UnmarshalFollowUpChange ¶
func UnmarshalFollowUpChange(source interface{}) (object *FollowUpChange, err error)
UnmarshalFollowUpChange reads a value of the 'follow_up_change' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalFollowUpChangeList ¶
func UnmarshalFollowUpChangeList(source interface{}) (items []*FollowUpChange, err error)
UnmarshalFollowUpChangeList reads a list of values of the 'follow_up_change' type from the given source, which can be a slice of bytes, a string or a reader.
func (*FollowUpChange) CreatedAt ¶
func (o *FollowUpChange) 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 (*FollowUpChange) DeletedAt ¶
func (o *FollowUpChange) DeletedAt() time.Time
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*FollowUpChange) Empty ¶
func (o *FollowUpChange) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*FollowUpChange) FollowUp ¶
func (o *FollowUpChange) FollowUp() *FollowUp
FollowUp returns the value of the 'follow_up' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUpChange) GetCreatedAt ¶
func (o *FollowUpChange) 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 (*FollowUpChange) GetDeletedAt ¶
func (o *FollowUpChange) GetDeletedAt() (value time.Time, ok bool)
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*FollowUpChange) GetFollowUp ¶
func (o *FollowUpChange) GetFollowUp() (value *FollowUp, ok bool)
GetFollowUp returns the value of the 'follow_up' attribute and a flag indicating if the attribute has a value.
func (*FollowUpChange) GetHREF ¶
func (o *FollowUpChange) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*FollowUpChange) GetID ¶
func (o *FollowUpChange) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*FollowUpChange) GetStatus ¶
func (o *FollowUpChange) GetStatus() (value interface{}, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*FollowUpChange) GetUpdatedAt ¶
func (o *FollowUpChange) 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 (*FollowUpChange) HREF ¶
func (o *FollowUpChange) HREF() string
HREF returns the link to the object.
func (*FollowUpChange) ID ¶
func (o *FollowUpChange) ID() string
ID returns the identifier of the object.
func (*FollowUpChange) Kind ¶
func (o *FollowUpChange) Kind() string
Kind returns the name of the type of the object.
func (*FollowUpChange) Link ¶
func (o *FollowUpChange) Link() bool
Link returns true if this is a link.
func (*FollowUpChange) Status ¶
func (o *FollowUpChange) Status() interface{}
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*FollowUpChange) UpdatedAt ¶
func (o *FollowUpChange) 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 FollowUpChangeBuilder ¶
type FollowUpChangeBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA event.
func NewFollowUpChange ¶
func NewFollowUpChange() *FollowUpChangeBuilder
NewFollowUpChange creates a new builder of 'follow_up_change' objects.
func (*FollowUpChangeBuilder) Build ¶
func (b *FollowUpChangeBuilder) Build() (object *FollowUpChange, err error)
Build creates a 'follow_up_change' object using the configuration stored in the builder.
func (*FollowUpChangeBuilder) Copy ¶
func (b *FollowUpChangeBuilder) Copy(object *FollowUpChange) *FollowUpChangeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*FollowUpChangeBuilder) CreatedAt ¶
func (b *FollowUpChangeBuilder) CreatedAt(value time.Time) *FollowUpChangeBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*FollowUpChangeBuilder) DeletedAt ¶
func (b *FollowUpChangeBuilder) DeletedAt(value time.Time) *FollowUpChangeBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*FollowUpChangeBuilder) Empty ¶
func (b *FollowUpChangeBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*FollowUpChangeBuilder) FollowUp ¶
func (b *FollowUpChangeBuilder) FollowUp(value *FollowUpBuilder) *FollowUpChangeBuilder
FollowUp sets the value of the 'follow_up' attribute to the given value.
Definition of a Web RCA event.
func (*FollowUpChangeBuilder) HREF ¶
func (b *FollowUpChangeBuilder) HREF(value string) *FollowUpChangeBuilder
HREF sets the link to the object.
func (*FollowUpChangeBuilder) ID ¶
func (b *FollowUpChangeBuilder) ID(value string) *FollowUpChangeBuilder
ID sets the identifier of the object.
func (*FollowUpChangeBuilder) Link ¶
func (b *FollowUpChangeBuilder) Link(value bool) *FollowUpChangeBuilder
Link sets the flag that indicates if this is a link.
func (*FollowUpChangeBuilder) Status ¶
func (b *FollowUpChangeBuilder) Status(value interface{}) *FollowUpChangeBuilder
Status sets the value of the 'status' attribute to the given value.
func (*FollowUpChangeBuilder) UpdatedAt ¶
func (b *FollowUpChangeBuilder) UpdatedAt(value time.Time) *FollowUpChangeBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type FollowUpChangeList ¶
type FollowUpChangeList struct {
// contains filtered or unexported fields
}
FollowUpChangeList is a list of values of the 'follow_up_change' type.
func (*FollowUpChangeList) Each ¶
func (l *FollowUpChangeList) Each(f func(item *FollowUpChange) 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 (*FollowUpChangeList) Empty ¶
func (l *FollowUpChangeList) Empty() bool
Empty returns true if the list is empty.
func (*FollowUpChangeList) Get ¶
func (l *FollowUpChangeList) Get(i int) *FollowUpChange
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FollowUpChangeList) GetHREF ¶
func (l *FollowUpChangeList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*FollowUpChangeList) HREF ¶
func (l *FollowUpChangeList) HREF() string
HREF returns the link to the list.
func (*FollowUpChangeList) Items ¶
func (l *FollowUpChangeList) Items() []*FollowUpChange
Items returns the items of the list.
func (*FollowUpChangeList) Kind ¶
func (l *FollowUpChangeList) Kind() string
Kind returns the name of the type of the object.
func (*FollowUpChangeList) Len ¶
func (l *FollowUpChangeList) Len() int
Len returns the length of the list.
func (*FollowUpChangeList) Link ¶
func (l *FollowUpChangeList) Link() bool
Link returns true iif this is a link.
func (*FollowUpChangeList) Range ¶
func (l *FollowUpChangeList) Range(f func(index int, item *FollowUpChange) 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 (*FollowUpChangeList) SetHREF ¶
func (l *FollowUpChangeList) SetHREF(href string)
Items sets the items of the list.
func (*FollowUpChangeList) SetItems ¶
func (l *FollowUpChangeList) SetItems(items []*FollowUpChange)
Items sets the items of the list.
func (*FollowUpChangeList) SetLink ¶
func (l *FollowUpChangeList) SetLink(link bool)
Items sets the items of the list.
func (*FollowUpChangeList) Slice ¶
func (l *FollowUpChangeList) Slice() []*FollowUpChange
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 FollowUpChangeListBuilder ¶
type FollowUpChangeListBuilder struct {
// contains filtered or unexported fields
}
FollowUpChangeListBuilder contains the data and logic needed to build 'follow_up_change' objects.
func NewFollowUpChangeList ¶
func NewFollowUpChangeList() *FollowUpChangeListBuilder
NewFollowUpChangeList creates a new builder of 'follow_up_change' objects.
func (*FollowUpChangeListBuilder) Build ¶
func (b *FollowUpChangeListBuilder) Build() (list *FollowUpChangeList, err error)
Build creates a list of 'follow_up_change' objects using the configuration stored in the builder.
func (*FollowUpChangeListBuilder) Copy ¶
func (b *FollowUpChangeListBuilder) Copy(list *FollowUpChangeList) *FollowUpChangeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FollowUpChangeListBuilder) Empty ¶
func (b *FollowUpChangeListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FollowUpChangeListBuilder) Items ¶
func (b *FollowUpChangeListBuilder) Items(values ...*FollowUpChangeBuilder) *FollowUpChangeListBuilder
Items sets the items of the list.
type FollowUpList ¶
type FollowUpList struct {
// contains filtered or unexported fields
}
FollowUpList is a list of values of the 'follow_up' type.
func (*FollowUpList) Each ¶
func (l *FollowUpList) Each(f func(item *FollowUp) 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 (*FollowUpList) Empty ¶
func (l *FollowUpList) Empty() bool
Empty returns true if the list is empty.
func (*FollowUpList) Get ¶
func (l *FollowUpList) Get(i int) *FollowUp
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*FollowUpList) GetHREF ¶
func (l *FollowUpList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*FollowUpList) Items ¶
func (l *FollowUpList) Items() []*FollowUp
Items returns the items of the list.
func (*FollowUpList) Kind ¶
func (l *FollowUpList) Kind() string
Kind returns the name of the type of the object.
func (*FollowUpList) Link ¶
func (l *FollowUpList) Link() bool
Link returns true iif this is a link.
func (*FollowUpList) Range ¶
func (l *FollowUpList) Range(f func(index int, item *FollowUp) 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 (*FollowUpList) SetHREF ¶
func (l *FollowUpList) SetHREF(href string)
Items sets the items of the list.
func (*FollowUpList) SetItems ¶
func (l *FollowUpList) SetItems(items []*FollowUp)
Items sets the items of the list.
func (*FollowUpList) SetLink ¶
func (l *FollowUpList) SetLink(link bool)
Items sets the items of the list.
func (*FollowUpList) Slice ¶
func (l *FollowUpList) Slice() []*FollowUp
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 FollowUpListBuilder ¶
type FollowUpListBuilder struct {
// contains filtered or unexported fields
}
FollowUpListBuilder contains the data and logic needed to build 'follow_up' objects.
func NewFollowUpList ¶
func NewFollowUpList() *FollowUpListBuilder
NewFollowUpList creates a new builder of 'follow_up' objects.
func (*FollowUpListBuilder) Build ¶
func (b *FollowUpListBuilder) Build() (list *FollowUpList, err error)
Build creates a list of 'follow_up' objects using the configuration stored in the builder.
func (*FollowUpListBuilder) Copy ¶
func (b *FollowUpListBuilder) Copy(list *FollowUpList) *FollowUpListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*FollowUpListBuilder) Empty ¶
func (b *FollowUpListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*FollowUpListBuilder) Items ¶
func (b *FollowUpListBuilder) Items(values ...*FollowUpBuilder) *FollowUpListBuilder
Items sets the items of the list.
type Handoff ¶
type Handoff struct {
// contains filtered or unexported fields
}
Handoff represents the values of the 'handoff' type.
Definition of a Web RCA handoff.
func ReadHandoff ¶
ReadHandoff reads a value of the 'handoff' type from the given iterator.
func ReadHandoffList ¶
ReadHandoffList reads list of values of the ”handoff' type from the given iterator.
func UnmarshalHandoff ¶
UnmarshalHandoff reads a value of the 'handoff' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalHandoffList ¶
UnmarshalHandoffList reads a list of values of the 'handoff' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Handoff) CreatedAt ¶
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 (*Handoff) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Handoff) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Handoff) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Handoff) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Handoff) GetHandoffFrom ¶
GetHandoffFrom returns the value of the 'handoff_from' attribute and a flag indicating if the attribute has a value.
func (*Handoff) GetHandoffTo ¶
GetHandoffTo returns the value of the 'handoff_to' attribute and a flag indicating if the attribute has a value.
func (*Handoff) GetHandoffType ¶
GetHandoffType returns the value of the 'handoff_type' attribute and a flag indicating if the attribute has a value.
func (*Handoff) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Handoff) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Handoff) HandoffFrom ¶
HandoffFrom returns the value of the 'handoff_from' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Handoff) HandoffTo ¶
HandoffTo returns the value of the 'handoff_to' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Handoff) HandoffType ¶
HandoffType returns the value of the 'handoff_type' attribute, or the zero value of the type if the attribute doesn't have a value.
type HandoffBuilder ¶
type HandoffBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA handoff.
func NewHandoff ¶
func NewHandoff() *HandoffBuilder
NewHandoff creates a new builder of 'handoff' objects.
func (*HandoffBuilder) Build ¶
func (b *HandoffBuilder) Build() (object *Handoff, err error)
Build creates a 'handoff' object using the configuration stored in the builder.
func (*HandoffBuilder) Copy ¶
func (b *HandoffBuilder) Copy(object *Handoff) *HandoffBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*HandoffBuilder) CreatedAt ¶
func (b *HandoffBuilder) CreatedAt(value time.Time) *HandoffBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*HandoffBuilder) DeletedAt ¶
func (b *HandoffBuilder) DeletedAt(value time.Time) *HandoffBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*HandoffBuilder) Empty ¶
func (b *HandoffBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*HandoffBuilder) HREF ¶
func (b *HandoffBuilder) HREF(value string) *HandoffBuilder
HREF sets the link to the object.
func (*HandoffBuilder) HandoffFrom ¶
func (b *HandoffBuilder) HandoffFrom(value *UserBuilder) *HandoffBuilder
HandoffFrom sets the value of the 'handoff_from' attribute to the given value.
Definition of a Web RCA user.
func (*HandoffBuilder) HandoffTo ¶
func (b *HandoffBuilder) HandoffTo(value *UserBuilder) *HandoffBuilder
HandoffTo sets the value of the 'handoff_to' attribute to the given value.
Definition of a Web RCA user.
func (*HandoffBuilder) HandoffType ¶
func (b *HandoffBuilder) HandoffType(value string) *HandoffBuilder
HandoffType sets the value of the 'handoff_type' attribute to the given value.
func (*HandoffBuilder) ID ¶
func (b *HandoffBuilder) ID(value string) *HandoffBuilder
ID sets the identifier of the object.
func (*HandoffBuilder) Link ¶
func (b *HandoffBuilder) Link(value bool) *HandoffBuilder
Link sets the flag that indicates if this is a link.
func (*HandoffBuilder) UpdatedAt ¶
func (b *HandoffBuilder) UpdatedAt(value time.Time) *HandoffBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type HandoffList ¶
type HandoffList struct {
// contains filtered or unexported fields
}
HandoffList is a list of values of the 'handoff' type.
func (*HandoffList) Each ¶
func (l *HandoffList) Each(f func(item *Handoff) 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 (*HandoffList) Empty ¶
func (l *HandoffList) Empty() bool
Empty returns true if the list is empty.
func (*HandoffList) Get ¶
func (l *HandoffList) Get(i int) *Handoff
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*HandoffList) GetHREF ¶
func (l *HandoffList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*HandoffList) Items ¶
func (l *HandoffList) Items() []*Handoff
Items returns the items of the list.
func (*HandoffList) Kind ¶
func (l *HandoffList) Kind() string
Kind returns the name of the type of the object.
func (*HandoffList) Range ¶
func (l *HandoffList) Range(f func(index int, item *Handoff) 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 (*HandoffList) SetHREF ¶
func (l *HandoffList) SetHREF(href string)
Items sets the items of the list.
func (*HandoffList) SetItems ¶
func (l *HandoffList) SetItems(items []*Handoff)
Items sets the items of the list.
func (*HandoffList) SetLink ¶
func (l *HandoffList) SetLink(link bool)
Items sets the items of the list.
func (*HandoffList) Slice ¶
func (l *HandoffList) Slice() []*Handoff
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 HandoffListBuilder ¶
type HandoffListBuilder struct {
// contains filtered or unexported fields
}
HandoffListBuilder contains the data and logic needed to build 'handoff' objects.
func NewHandoffList ¶
func NewHandoffList() *HandoffListBuilder
NewHandoffList creates a new builder of 'handoff' objects.
func (*HandoffListBuilder) Build ¶
func (b *HandoffListBuilder) Build() (list *HandoffList, err error)
Build creates a list of 'handoff' objects using the configuration stored in the builder.
func (*HandoffListBuilder) Copy ¶
func (b *HandoffListBuilder) Copy(list *HandoffList) *HandoffListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*HandoffListBuilder) Empty ¶
func (b *HandoffListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*HandoffListBuilder) Items ¶
func (b *HandoffListBuilder) Items(values ...*HandoffBuilder) *HandoffListBuilder
Items sets the items of the list.
type Incident ¶
type Incident struct {
// contains filtered or unexported fields
}
Incident represents the values of the 'incident' type.
Definition of a Web RCA incident.
func ReadIncident ¶
ReadIncident reads a value of the 'incident' type from the given iterator.
func ReadIncidentList ¶
ReadIncidentList reads list of values of the ”incident' type from the given iterator.
func UnmarshalIncident ¶
UnmarshalIncident reads a value of the 'incident' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalIncidentList ¶
UnmarshalIncidentList reads a list of values of the 'incident' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Incident) CreatedAt ¶
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 (*Incident) CreatorId ¶
CreatorId returns the value of the 'creator_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Incident) Description ¶
Description returns the value of the 'description' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) ExternalCoordination ¶
ExternalCoordination returns the value of the 'external_coordination' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Incident) GetCreatorId ¶
GetCreatorId returns the value of the 'creator_id' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Incident) GetDescription ¶
GetDescription returns the value of the 'description' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetExternalCoordination ¶
GetExternalCoordination returns the value of the 'external_coordination' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Incident) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Incident) GetIncidentId ¶
GetIncidentId returns the value of the 'incident_id' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetIncidentType ¶
GetIncidentType returns the value of the 'incident_type' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetLastUpdated ¶
GetLastUpdated returns the value of the 'last_updated' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetPrimaryTeam ¶
GetPrimaryTeam returns the value of the 'primary_team' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetSeverity ¶
GetSeverity returns the value of the 'severity' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetStatus ¶
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetSummary ¶
GetSummary returns the value of the 'summary' attribute and a flag indicating if the attribute has a value.
func (*Incident) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Incident) GetWorkedAt ¶
GetWorkedAt returns the value of the 'worked_at' attribute and a flag indicating if the attribute has a value.
func (*Incident) IncidentId ¶
IncidentId returns the value of the 'incident_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) IncidentType ¶
IncidentType returns the value of the 'incident_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) LastUpdated ¶
LastUpdated returns the value of the 'last_updated' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) PrimaryTeam ¶
PrimaryTeam returns the value of the 'primary_team' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) Severity ¶
Severity returns the value of the 'severity' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) Status ¶
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Incident) Summary ¶
Summary returns the value of the 'summary' attribute, or the zero value of the type if the attribute doesn't have a value.
type IncidentBuilder ¶
type IncidentBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA incident.
func NewIncident ¶
func NewIncident() *IncidentBuilder
NewIncident creates a new builder of 'incident' objects.
func (*IncidentBuilder) Build ¶
func (b *IncidentBuilder) Build() (object *Incident, err error)
Build creates a 'incident' object using the configuration stored in the builder.
func (*IncidentBuilder) Copy ¶
func (b *IncidentBuilder) Copy(object *Incident) *IncidentBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*IncidentBuilder) CreatedAt ¶
func (b *IncidentBuilder) CreatedAt(value time.Time) *IncidentBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*IncidentBuilder) CreatorId ¶
func (b *IncidentBuilder) CreatorId(value string) *IncidentBuilder
CreatorId sets the value of the 'creator_id' attribute to the given value.
func (*IncidentBuilder) DeletedAt ¶
func (b *IncidentBuilder) DeletedAt(value time.Time) *IncidentBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*IncidentBuilder) Description ¶
func (b *IncidentBuilder) Description(value string) *IncidentBuilder
Description sets the value of the 'description' attribute to the given value.
func (*IncidentBuilder) Empty ¶
func (b *IncidentBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*IncidentBuilder) ExternalCoordination ¶
func (b *IncidentBuilder) ExternalCoordination(values ...string) *IncidentBuilder
ExternalCoordination sets the value of the 'external_coordination' attribute to the given values.
func (*IncidentBuilder) HREF ¶
func (b *IncidentBuilder) HREF(value string) *IncidentBuilder
HREF sets the link to the object.
func (*IncidentBuilder) ID ¶
func (b *IncidentBuilder) ID(value string) *IncidentBuilder
ID sets the identifier of the object.
func (*IncidentBuilder) IncidentId ¶
func (b *IncidentBuilder) IncidentId(value string) *IncidentBuilder
IncidentId sets the value of the 'incident_id' attribute to the given value.
func (*IncidentBuilder) IncidentType ¶
func (b *IncidentBuilder) IncidentType(value string) *IncidentBuilder
IncidentType sets the value of the 'incident_type' attribute to the given value.
func (*IncidentBuilder) LastUpdated ¶
func (b *IncidentBuilder) LastUpdated(value time.Time) *IncidentBuilder
LastUpdated sets the value of the 'last_updated' attribute to the given value.
func (*IncidentBuilder) Link ¶
func (b *IncidentBuilder) Link(value bool) *IncidentBuilder
Link sets the flag that indicates if this is a link.
func (*IncidentBuilder) PrimaryTeam ¶
func (b *IncidentBuilder) PrimaryTeam(value string) *IncidentBuilder
PrimaryTeam sets the value of the 'primary_team' attribute to the given value.
func (*IncidentBuilder) Severity ¶
func (b *IncidentBuilder) Severity(value string) *IncidentBuilder
Severity sets the value of the 'severity' attribute to the given value.
func (*IncidentBuilder) Status ¶
func (b *IncidentBuilder) Status(value string) *IncidentBuilder
Status sets the value of the 'status' attribute to the given value.
func (*IncidentBuilder) Summary ¶
func (b *IncidentBuilder) Summary(value string) *IncidentBuilder
Summary sets the value of the 'summary' attribute to the given value.
func (*IncidentBuilder) UpdatedAt ¶
func (b *IncidentBuilder) UpdatedAt(value time.Time) *IncidentBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*IncidentBuilder) WorkedAt ¶
func (b *IncidentBuilder) WorkedAt(value time.Time) *IncidentBuilder
WorkedAt sets the value of the 'worked_at' attribute to the given value.
type IncidentList ¶
type IncidentList struct {
// contains filtered or unexported fields
}
IncidentList is a list of values of the 'incident' type.
func (*IncidentList) Each ¶
func (l *IncidentList) Each(f func(item *Incident) 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 (*IncidentList) Empty ¶
func (l *IncidentList) Empty() bool
Empty returns true if the list is empty.
func (*IncidentList) Get ¶
func (l *IncidentList) Get(i int) *Incident
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*IncidentList) GetHREF ¶
func (l *IncidentList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*IncidentList) Items ¶
func (l *IncidentList) Items() []*Incident
Items returns the items of the list.
func (*IncidentList) Kind ¶
func (l *IncidentList) Kind() string
Kind returns the name of the type of the object.
func (*IncidentList) Link ¶
func (l *IncidentList) Link() bool
Link returns true iif this is a link.
func (*IncidentList) Range ¶
func (l *IncidentList) Range(f func(index int, item *Incident) 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 (*IncidentList) SetHREF ¶
func (l *IncidentList) SetHREF(href string)
Items sets the items of the list.
func (*IncidentList) SetItems ¶
func (l *IncidentList) SetItems(items []*Incident)
Items sets the items of the list.
func (*IncidentList) SetLink ¶
func (l *IncidentList) SetLink(link bool)
Items sets the items of the list.
func (*IncidentList) Slice ¶
func (l *IncidentList) Slice() []*Incident
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 IncidentListBuilder ¶
type IncidentListBuilder struct {
// contains filtered or unexported fields
}
IncidentListBuilder contains the data and logic needed to build 'incident' objects.
func NewIncidentList ¶
func NewIncidentList() *IncidentListBuilder
NewIncidentList creates a new builder of 'incident' objects.
func (*IncidentListBuilder) Build ¶
func (b *IncidentListBuilder) Build() (list *IncidentList, err error)
Build creates a list of 'incident' objects using the configuration stored in the builder.
func (*IncidentListBuilder) Copy ¶
func (b *IncidentListBuilder) Copy(list *IncidentList) *IncidentListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*IncidentListBuilder) Empty ¶
func (b *IncidentListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*IncidentListBuilder) Items ¶
func (b *IncidentListBuilder) Items(values ...*IncidentBuilder) *IncidentListBuilder
Items sets the items of the list.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
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 ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
type Notification ¶
type Notification struct {
// contains filtered or unexported fields
}
Notification represents the values of the 'notification' type.
Definition of a Web RCA notification.
func ReadNotification ¶
func ReadNotification(iterator *jsoniter.Iterator) *Notification
ReadNotification reads a value of the 'notification' type from the given iterator.
func ReadNotificationList ¶
func ReadNotificationList(iterator *jsoniter.Iterator) []*Notification
ReadNotificationList reads list of values of the ”notification' type from the given iterator.
func UnmarshalNotification ¶
func UnmarshalNotification(source interface{}) (object *Notification, err error)
UnmarshalNotification reads a value of the 'notification' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalNotificationList ¶
func UnmarshalNotificationList(source interface{}) (items []*Notification, err error)
UnmarshalNotificationList reads a list of values of the 'notification' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Notification) Checked ¶
func (o *Notification) Checked() bool
Checked returns the value of the 'checked' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Notification) CreatedAt ¶
func (o *Notification) 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 (*Notification) DeletedAt ¶
func (o *Notification) DeletedAt() time.Time
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Notification) Empty ¶
func (o *Notification) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Notification) GetChecked ¶
func (o *Notification) GetChecked() (value bool, ok bool)
GetChecked returns the value of the 'checked' attribute and a flag indicating if the attribute has a value.
func (*Notification) GetCreatedAt ¶
func (o *Notification) 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 (*Notification) GetDeletedAt ¶
func (o *Notification) GetDeletedAt() (value time.Time, ok bool)
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Notification) GetHREF ¶
func (o *Notification) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Notification) GetID ¶
func (o *Notification) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Notification) GetIncident ¶
func (o *Notification) GetIncident() (value *Incident, ok bool)
GetIncident returns the value of the 'incident' attribute and a flag indicating if the attribute has a value.
func (*Notification) GetName ¶
func (o *Notification) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Notification) GetRank ¶
func (o *Notification) GetRank() (value int, ok bool)
GetRank returns the value of the 'rank' attribute and a flag indicating if the attribute has a value.
func (*Notification) GetUpdatedAt ¶
func (o *Notification) 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 (*Notification) HREF ¶
func (o *Notification) HREF() string
HREF returns the link to the object.
func (*Notification) ID ¶
func (o *Notification) ID() string
ID returns the identifier of the object.
func (*Notification) Incident ¶
func (o *Notification) Incident() *Incident
Incident returns the value of the 'incident' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Notification) Kind ¶
func (o *Notification) Kind() string
Kind returns the name of the type of the object.
func (*Notification) Name ¶
func (o *Notification) 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.
func (*Notification) Rank ¶
func (o *Notification) Rank() int
Rank returns the value of the 'rank' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Notification) UpdatedAt ¶
func (o *Notification) 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 NotificationBuilder ¶
type NotificationBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA notification.
func NewNotification ¶
func NewNotification() *NotificationBuilder
NewNotification creates a new builder of 'notification' objects.
func (*NotificationBuilder) Build ¶
func (b *NotificationBuilder) Build() (object *Notification, err error)
Build creates a 'notification' object using the configuration stored in the builder.
func (*NotificationBuilder) Checked ¶
func (b *NotificationBuilder) Checked(value bool) *NotificationBuilder
Checked sets the value of the 'checked' attribute to the given value.
func (*NotificationBuilder) Copy ¶
func (b *NotificationBuilder) Copy(object *Notification) *NotificationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*NotificationBuilder) CreatedAt ¶
func (b *NotificationBuilder) CreatedAt(value time.Time) *NotificationBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*NotificationBuilder) DeletedAt ¶
func (b *NotificationBuilder) DeletedAt(value time.Time) *NotificationBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*NotificationBuilder) Empty ¶
func (b *NotificationBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*NotificationBuilder) HREF ¶
func (b *NotificationBuilder) HREF(value string) *NotificationBuilder
HREF sets the link to the object.
func (*NotificationBuilder) ID ¶
func (b *NotificationBuilder) ID(value string) *NotificationBuilder
ID sets the identifier of the object.
func (*NotificationBuilder) Incident ¶
func (b *NotificationBuilder) Incident(value *IncidentBuilder) *NotificationBuilder
Incident sets the value of the 'incident' attribute to the given value.
Definition of a Web RCA incident.
func (*NotificationBuilder) Link ¶
func (b *NotificationBuilder) Link(value bool) *NotificationBuilder
Link sets the flag that indicates if this is a link.
func (*NotificationBuilder) Name ¶
func (b *NotificationBuilder) Name(value string) *NotificationBuilder
Name sets the value of the 'name' attribute to the given value.
func (*NotificationBuilder) Rank ¶
func (b *NotificationBuilder) Rank(value int) *NotificationBuilder
Rank sets the value of the 'rank' attribute to the given value.
func (*NotificationBuilder) UpdatedAt ¶
func (b *NotificationBuilder) UpdatedAt(value time.Time) *NotificationBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type NotificationList ¶
type NotificationList struct {
// contains filtered or unexported fields
}
NotificationList is a list of values of the 'notification' type.
func (*NotificationList) Each ¶
func (l *NotificationList) Each(f func(item *Notification) 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 (*NotificationList) Empty ¶
func (l *NotificationList) Empty() bool
Empty returns true if the list is empty.
func (*NotificationList) Get ¶
func (l *NotificationList) Get(i int) *Notification
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*NotificationList) GetHREF ¶
func (l *NotificationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*NotificationList) HREF ¶
func (l *NotificationList) HREF() string
HREF returns the link to the list.
func (*NotificationList) Items ¶
func (l *NotificationList) Items() []*Notification
Items returns the items of the list.
func (*NotificationList) Kind ¶
func (l *NotificationList) Kind() string
Kind returns the name of the type of the object.
func (*NotificationList) Len ¶
func (l *NotificationList) Len() int
Len returns the length of the list.
func (*NotificationList) Link ¶
func (l *NotificationList) Link() bool
Link returns true iif this is a link.
func (*NotificationList) Range ¶
func (l *NotificationList) Range(f func(index int, item *Notification) 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 (*NotificationList) SetHREF ¶
func (l *NotificationList) SetHREF(href string)
Items sets the items of the list.
func (*NotificationList) SetItems ¶
func (l *NotificationList) SetItems(items []*Notification)
Items sets the items of the list.
func (*NotificationList) SetLink ¶
func (l *NotificationList) SetLink(link bool)
Items sets the items of the list.
func (*NotificationList) Slice ¶
func (l *NotificationList) Slice() []*Notification
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 NotificationListBuilder ¶
type NotificationListBuilder struct {
// contains filtered or unexported fields
}
NotificationListBuilder contains the data and logic needed to build 'notification' objects.
func NewNotificationList ¶
func NewNotificationList() *NotificationListBuilder
NewNotificationList creates a new builder of 'notification' objects.
func (*NotificationListBuilder) Build ¶
func (b *NotificationListBuilder) Build() (list *NotificationList, err error)
Build creates a list of 'notification' objects using the configuration stored in the builder.
func (*NotificationListBuilder) Copy ¶
func (b *NotificationListBuilder) Copy(list *NotificationList) *NotificationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*NotificationListBuilder) Empty ¶
func (b *NotificationListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*NotificationListBuilder) Items ¶
func (b *NotificationListBuilder) Items(values ...*NotificationBuilder) *NotificationListBuilder
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 Web RCA product.
func ReadProduct ¶
ReadProduct reads a value of the 'product' type from the given iterator.
func ReadProductList ¶
ReadProductList reads list of values of the ”product' type from the given iterator.
func UnmarshalProduct ¶
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 ¶
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 ¶
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) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*Product) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Product) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*Product) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Product) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Product) GetProductId ¶
GetProductId returns the value of the 'product_id' attribute and a flag indicating if the attribute has a value.
The product ID from status board
func (*Product) GetProductName ¶
GetProductName returns the value of the 'product_name' attribute and a flag indicating if the attribute has a value.
The name of the product from status-board.
func (*Product) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Product) ProductId ¶
ProductId returns the value of the 'product_id' attribute, or the zero value of the type if the attribute doesn't have a value.
The product ID from status board
func (*Product) ProductName ¶
ProductName returns the value of the 'product_name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the product from status-board.
type ProductBuilder ¶
type ProductBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA 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) DeletedAt ¶
func (b *ProductBuilder) DeletedAt(value time.Time) *ProductBuilder
DeletedAt sets the value of the 'deleted_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) 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 (*ProductBuilder) Link ¶
func (b *ProductBuilder) Link(value bool) *ProductBuilder
Link sets the flag that indicates if this is a link.
func (*ProductBuilder) ProductId ¶
func (b *ProductBuilder) ProductId(value string) *ProductBuilder
ProductId sets the value of the 'product_id' attribute to the given value.
func (*ProductBuilder) ProductName ¶
func (b *ProductBuilder) ProductName(value string) *ProductBuilder
ProductName sets the value of the 'product_name' attribute to the given value.
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) 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) 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 (*ProductList) SetLink ¶
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 ¶
func (b *ProductListBuilder) Copy(list *ProductList) *ProductListBuilder
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 ¶
func (b *ProductListBuilder) Items(values ...*ProductBuilder) *ProductListBuilder
Items sets the items of the list.
type StatusChange ¶
type StatusChange struct {
// contains filtered or unexported fields
}
StatusChange represents the values of the 'status_change' type.
Definition of a Web RCA event.
func ReadStatusChange ¶
func ReadStatusChange(iterator *jsoniter.Iterator) *StatusChange
ReadStatusChange reads a value of the 'status_change' type from the given iterator.
func ReadStatusChangeList ¶
func ReadStatusChangeList(iterator *jsoniter.Iterator) []*StatusChange
ReadStatusChangeList reads list of values of the ”status_change' type from the given iterator.
func UnmarshalStatusChange ¶
func UnmarshalStatusChange(source interface{}) (object *StatusChange, err error)
UnmarshalStatusChange reads a value of the 'status_change' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalStatusChangeList ¶
func UnmarshalStatusChangeList(source interface{}) (items []*StatusChange, err error)
UnmarshalStatusChangeList reads a list of values of the 'status_change' type from the given source, which can be a slice of bytes, a string or a reader.
func (*StatusChange) CreatedAt ¶
func (o *StatusChange) 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 (*StatusChange) DeletedAt ¶
func (o *StatusChange) DeletedAt() time.Time
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*StatusChange) Empty ¶
func (o *StatusChange) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*StatusChange) GetCreatedAt ¶
func (o *StatusChange) 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 (*StatusChange) GetDeletedAt ¶
func (o *StatusChange) GetDeletedAt() (value time.Time, ok bool)
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*StatusChange) GetHREF ¶
func (o *StatusChange) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*StatusChange) GetID ¶
func (o *StatusChange) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*StatusChange) GetStatus ¶
func (o *StatusChange) GetStatus() (value interface{}, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
func (*StatusChange) GetStatusId ¶
func (o *StatusChange) GetStatusId() (value string, ok bool)
GetStatusId returns the value of the 'status_id' attribute and a flag indicating if the attribute has a value.
func (*StatusChange) GetUpdatedAt ¶
func (o *StatusChange) 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 (*StatusChange) HREF ¶
func (o *StatusChange) HREF() string
HREF returns the link to the object.
func (*StatusChange) ID ¶
func (o *StatusChange) ID() string
ID returns the identifier of the object.
func (*StatusChange) Kind ¶
func (o *StatusChange) Kind() string
Kind returns the name of the type of the object.
func (*StatusChange) Status ¶
func (o *StatusChange) Status() interface{}
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*StatusChange) StatusId ¶
func (o *StatusChange) StatusId() string
StatusId returns the value of the 'status_id' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*StatusChange) UpdatedAt ¶
func (o *StatusChange) 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 StatusChangeBuilder ¶
type StatusChangeBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA event.
func NewStatusChange ¶
func NewStatusChange() *StatusChangeBuilder
NewStatusChange creates a new builder of 'status_change' objects.
func (*StatusChangeBuilder) Build ¶
func (b *StatusChangeBuilder) Build() (object *StatusChange, err error)
Build creates a 'status_change' object using the configuration stored in the builder.
func (*StatusChangeBuilder) Copy ¶
func (b *StatusChangeBuilder) Copy(object *StatusChange) *StatusChangeBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*StatusChangeBuilder) CreatedAt ¶
func (b *StatusChangeBuilder) CreatedAt(value time.Time) *StatusChangeBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*StatusChangeBuilder) DeletedAt ¶
func (b *StatusChangeBuilder) DeletedAt(value time.Time) *StatusChangeBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*StatusChangeBuilder) Empty ¶
func (b *StatusChangeBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*StatusChangeBuilder) HREF ¶
func (b *StatusChangeBuilder) HREF(value string) *StatusChangeBuilder
HREF sets the link to the object.
func (*StatusChangeBuilder) ID ¶
func (b *StatusChangeBuilder) ID(value string) *StatusChangeBuilder
ID sets the identifier of the object.
func (*StatusChangeBuilder) Link ¶
func (b *StatusChangeBuilder) Link(value bool) *StatusChangeBuilder
Link sets the flag that indicates if this is a link.
func (*StatusChangeBuilder) Status ¶
func (b *StatusChangeBuilder) Status(value interface{}) *StatusChangeBuilder
Status sets the value of the 'status' attribute to the given value.
func (*StatusChangeBuilder) StatusId ¶
func (b *StatusChangeBuilder) StatusId(value string) *StatusChangeBuilder
StatusId sets the value of the 'status_id' attribute to the given value.
func (*StatusChangeBuilder) UpdatedAt ¶
func (b *StatusChangeBuilder) UpdatedAt(value time.Time) *StatusChangeBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type StatusChangeList ¶
type StatusChangeList struct {
// contains filtered or unexported fields
}
StatusChangeList is a list of values of the 'status_change' type.
func (*StatusChangeList) Each ¶
func (l *StatusChangeList) Each(f func(item *StatusChange) 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 (*StatusChangeList) Empty ¶
func (l *StatusChangeList) Empty() bool
Empty returns true if the list is empty.
func (*StatusChangeList) Get ¶
func (l *StatusChangeList) Get(i int) *StatusChange
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*StatusChangeList) GetHREF ¶
func (l *StatusChangeList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*StatusChangeList) HREF ¶
func (l *StatusChangeList) HREF() string
HREF returns the link to the list.
func (*StatusChangeList) Items ¶
func (l *StatusChangeList) Items() []*StatusChange
Items returns the items of the list.
func (*StatusChangeList) Kind ¶
func (l *StatusChangeList) Kind() string
Kind returns the name of the type of the object.
func (*StatusChangeList) Len ¶
func (l *StatusChangeList) Len() int
Len returns the length of the list.
func (*StatusChangeList) Link ¶
func (l *StatusChangeList) Link() bool
Link returns true iif this is a link.
func (*StatusChangeList) Range ¶
func (l *StatusChangeList) Range(f func(index int, item *StatusChange) 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 (*StatusChangeList) SetHREF ¶
func (l *StatusChangeList) SetHREF(href string)
Items sets the items of the list.
func (*StatusChangeList) SetItems ¶
func (l *StatusChangeList) SetItems(items []*StatusChange)
Items sets the items of the list.
func (*StatusChangeList) SetLink ¶
func (l *StatusChangeList) SetLink(link bool)
Items sets the items of the list.
func (*StatusChangeList) Slice ¶
func (l *StatusChangeList) Slice() []*StatusChange
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 StatusChangeListBuilder ¶
type StatusChangeListBuilder struct {
// contains filtered or unexported fields
}
StatusChangeListBuilder contains the data and logic needed to build 'status_change' objects.
func NewStatusChangeList ¶
func NewStatusChangeList() *StatusChangeListBuilder
NewStatusChangeList creates a new builder of 'status_change' objects.
func (*StatusChangeListBuilder) Build ¶
func (b *StatusChangeListBuilder) Build() (list *StatusChangeList, err error)
Build creates a list of 'status_change' objects using the configuration stored in the builder.
func (*StatusChangeListBuilder) Copy ¶
func (b *StatusChangeListBuilder) Copy(list *StatusChangeList) *StatusChangeListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*StatusChangeListBuilder) Empty ¶
func (b *StatusChangeListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*StatusChangeListBuilder) Items ¶
func (b *StatusChangeListBuilder) Items(values ...*StatusChangeBuilder) *StatusChangeListBuilder
Items sets the items of the list.
type User ¶
type User struct {
// contains filtered or unexported fields
}
User represents the values of the 'user' type.
Definition of a Web RCA user.
func ReadUserList ¶
ReadUserList reads list of values of the ”user' type from the given iterator.
func UnmarshalUser ¶
UnmarshalUser reads a value of the 'user' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalUserList ¶
UnmarshalUserList reads a list of values of the 'user' type from the given source, which can be a slice of bytes, a string or a reader.
func (*User) CreatedAt ¶
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 (*User) DeletedAt ¶
DeletedAt returns the value of the 'deleted_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object deletion timestamp.
func (*User) Email ¶
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*User) FromAuth ¶
FromAuth returns the value of the 'from_auth' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*User) GetDeletedAt ¶
GetDeletedAt returns the value of the 'deleted_at' attribute and a flag indicating if the attribute has a value.
Object deletion timestamp.
func (*User) GetEmail ¶
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
func (*User) GetFromAuth ¶
GetFromAuth returns the value of the 'from_auth' attribute and a flag indicating if the attribute has a value.
func (*User) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*User) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*User) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*User) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*User) GetUsername ¶
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
func (*User) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
type UserBuilder ¶
type UserBuilder struct {
// contains filtered or unexported fields
}
Definition of a Web RCA user.
func (*UserBuilder) Build ¶
func (b *UserBuilder) Build() (object *User, err error)
Build creates a 'user' object using the configuration stored in the builder.
func (*UserBuilder) Copy ¶
func (b *UserBuilder) Copy(object *User) *UserBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*UserBuilder) CreatedAt ¶
func (b *UserBuilder) CreatedAt(value time.Time) *UserBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*UserBuilder) DeletedAt ¶
func (b *UserBuilder) DeletedAt(value time.Time) *UserBuilder
DeletedAt sets the value of the 'deleted_at' attribute to the given value.
func (*UserBuilder) Email ¶
func (b *UserBuilder) Email(value string) *UserBuilder
Email sets the value of the 'email' attribute to the given value.
func (*UserBuilder) Empty ¶
func (b *UserBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*UserBuilder) FromAuth ¶
func (b *UserBuilder) FromAuth(value bool) *UserBuilder
FromAuth sets the value of the 'from_auth' attribute to the given value.
func (*UserBuilder) HREF ¶
func (b *UserBuilder) HREF(value string) *UserBuilder
HREF sets the link to the object.
func (*UserBuilder) ID ¶
func (b *UserBuilder) ID(value string) *UserBuilder
ID sets the identifier of the object.
func (*UserBuilder) Link ¶
func (b *UserBuilder) Link(value bool) *UserBuilder
Link sets the flag that indicates if this is a link.
func (*UserBuilder) Name ¶
func (b *UserBuilder) Name(value string) *UserBuilder
Name sets the value of the 'name' attribute to the given value.
func (*UserBuilder) UpdatedAt ¶
func (b *UserBuilder) UpdatedAt(value time.Time) *UserBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
func (*UserBuilder) Username ¶
func (b *UserBuilder) Username(value string) *UserBuilder
Username sets the value of the 'username' attribute to the given value.
type UserList ¶
type UserList struct {
// contains filtered or unexported fields
}
UserList is a list of values of the 'user' type.
func (*UserList) Each ¶
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 (*UserList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*UserList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*UserList) Range ¶
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 (*UserList) 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 UserListBuilder ¶
type UserListBuilder struct {
// contains filtered or unexported fields
}
UserListBuilder contains the data and logic needed to build 'user' objects.
func NewUserList ¶
func NewUserList() *UserListBuilder
NewUserList creates a new builder of 'user' objects.
func (*UserListBuilder) Build ¶
func (b *UserListBuilder) Build() (list *UserList, err error)
Build creates a list of 'user' objects using the configuration stored in the builder.
func (*UserListBuilder) Copy ¶
func (b *UserListBuilder) Copy(list *UserList) *UserListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*UserListBuilder) Empty ¶
func (b *UserListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*UserListBuilder) Items ¶
func (b *UserListBuilder) Items(values ...*UserBuilder) *UserListBuilder
Items sets the items of the list.
Source Files
¶
- attachment_builder.go
- attachment_list_builder.go
- attachment_list_type_json.go
- attachment_type.go
- attachment_type_json.go
- boolean_list_type_json.go
- date_list_type_json.go
- error_builder.go
- error_list_builder.go
- error_list_type_json.go
- error_type.go
- error_type_json.go
- escalation_builder.go
- escalation_list_builder.go
- escalation_list_type_json.go
- escalation_type.go
- escalation_type_json.go
- event_builder.go
- event_list_builder.go
- event_list_type_json.go
- event_type.go
- event_type_json.go
- float_list_type_json.go
- follow_up_builder.go
- follow_up_change_builder.go
- follow_up_change_list_builder.go
- follow_up_change_list_type_json.go
- follow_up_change_type.go
- follow_up_change_type_json.go
- follow_up_list_builder.go
- follow_up_list_type_json.go
- follow_up_type.go
- follow_up_type_json.go
- handoff_builder.go
- handoff_list_builder.go
- handoff_list_type_json.go
- handoff_type.go
- handoff_type_json.go
- incident_builder.go
- incident_list_builder.go
- incident_list_type_json.go
- incident_type.go
- incident_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- metadata_reader.go
- metadata_type.go
- notification_builder.go
- notification_list_builder.go
- notification_list_type_json.go
- notification_type.go
- notification_type_json.go
- product_builder.go
- product_list_builder.go
- product_list_type_json.go
- product_type.go
- product_type_json.go
- status_change_builder.go
- status_change_list_builder.go
- status_change_list_type_json.go
- status_change_type.go
- status_change_type_json.go
- string_list_type_json.go
- user_builder.go
- user_list_builder.go
- user_list_type_json.go
- user_type.go
- user_type_json.go