models

package
v0.0.0-...-b4e7bf2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ErrorStatusUnresolved captures enum value "unresolved"
	ErrorStatusUnresolved string = "unresolved"

	// ErrorStatusResolved captures enum value "resolved"
	ErrorStatusResolved string = "resolved"

	// ErrorStatusIgnored captures enum value "ignored"
	ErrorStatusIgnored string = "ignored"
)
View Source
const (

	// ErrorUpdatePayloadStatusUnresolved captures enum value "unresolved"
	ErrorUpdatePayloadStatusUnresolved string = "unresolved"

	// ErrorUpdatePayloadStatusResolved captures enum value "resolved"
	ErrorUpdatePayloadStatusResolved string = "resolved"

	// ErrorUpdatePayloadStatusIgnored captures enum value "ignored"
	ErrorUpdatePayloadStatusIgnored string = "ignored"
)
View Source
const (

	// ErrorV2StatusUnresolved captures enum value "unresolved"
	ErrorV2StatusUnresolved string = "unresolved"

	// ErrorV2StatusResolved captures enum value "resolved"
	ErrorV2StatusResolved string = "resolved"

	// ErrorV2StatusIgnored captures enum value "ignored"
	ErrorV2StatusIgnored string = "ignored"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// actor
	// Example: PostsController#edit
	Actor string `json:"actor,omitempty"`

	// approximated user count
	ApproximatedUserCount uint64 `json:"approximated_user_count,omitempty"`

	// description
	// Example: Missing template posts/edit
	Description string `json:"description,omitempty"`

	// event count
	EventCount uint64 `json:"event_count,omitempty"`

	// fingerprint
	Fingerprint uint32 `json:"fingerprint,omitempty"`

	// first seen at
	// Format: date-time
	FirstSeenAt strfmt.DateTime `json:"first_seen_at,omitempty"`

	// last seen at
	// Format: date-time
	LastSeenAt strfmt.DateTime `json:"last_seen_at,omitempty"`

	// name
	// Example: ActionView::MissingTemplate
	Name string `json:"name,omitempty"`

	// project id
	ProjectID uint64 `json:"project_id,omitempty"`

	// stats
	Stats *ErrorStats `json:"stats,omitempty"`

	// Status of the error
	// Enum: [unresolved resolved ignored]
	Status string `json:"status,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error based on the context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ErrorEvent

type ErrorEvent struct {

	// actor
	// Example: PostsController#edit
	Actor string `json:"actor,omitempty"`

	// description
	// Example: Missing template posts/edit
	Description string `json:"description,omitempty"`

	// environment
	// Example: production
	Environment string `json:"environment,omitempty"`

	// fingerprint
	Fingerprint uint32 `json:"fingerprint,omitempty"`

	// name
	// Example: ActionView::MissingTemplate
	Name string `json:"name,omitempty"`

	// JSON encoded string
	Payload string `json:"payload,omitempty"`

	// platform
	// Example: ruby
	Platform string `json:"platform,omitempty"`

	// project Id
	ProjectID uint64 `json:"projectId,omitempty"`
}

ErrorEvent error event

swagger:model ErrorEvent

func (*ErrorEvent) ContextValidate

func (m *ErrorEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error event based on context it is used

func (*ErrorEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorEvent) Validate

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

Validate validates this error event

type ErrorStats

type ErrorStats struct {

	// frequency
	Frequency interface{} `json:"frequency,omitempty"`
}

ErrorStats error stats

swagger:model ErrorStats

func (*ErrorStats) ContextValidate

func (m *ErrorStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error stats based on context it is used

func (*ErrorStats) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorStats) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorStats) Validate

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

Validate validates this error stats

type ErrorUpdatePayload

type ErrorUpdatePayload struct {

	// Status of the error
	// Enum: [unresolved resolved ignored]
	Status string `json:"status,omitempty"`

	// GitLab user id who triggered the update
	UpdatedByID int64 `json:"updated_by_id,omitempty"`
}

ErrorUpdatePayload error update payload

swagger:model ErrorUpdatePayload

func (*ErrorUpdatePayload) ContextValidate

func (m *ErrorUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error update payload based on context it is used

func (*ErrorUpdatePayload) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorUpdatePayload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorUpdatePayload) Validate

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

Validate validates this error update payload

type ErrorV2

type ErrorV2 struct {

	// actor
	// Example: PostsController#edit
	Actor string `json:"actor,omitempty"`

	// count
	Count string `json:"count,omitempty"`

	// first seen
	// Format: date-time
	FirstSeen strfmt.DateTime `json:"firstSeen,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last seen
	// Format: date-time
	LastSeen strfmt.DateTime `json:"lastSeen,omitempty"`

	// project
	Project *Project `json:"project,omitempty"`

	// Status of the error
	// Enum: [unresolved resolved ignored]
	Status string `json:"status,omitempty"`

	// title
	// Example: ActionView::MissingTemplate
	Title string `json:"title,omitempty"`

	// user count
	UserCount uint64 `json:"userCount,omitempty"`
}

ErrorV2 error v2

swagger:model ErrorV2

func (*ErrorV2) ContextValidate

func (m *ErrorV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error v2 based on the context it is used

func (*ErrorV2) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorV2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorV2) Validate

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

Validate validates this error v2

type MessageEvent

type MessageEvent struct {

	// environment
	// Example: production
	Environment string `json:"environment,omitempty"`

	// event Id
	EventID string `json:"eventId,omitempty"`

	// level
	// Example: info
	Level string `json:"level,omitempty"`

	// message
	// Example: some message from the SDK
	Message string `json:"message,omitempty"`

	// platform
	// Example: ruby
	Platform string `json:"platform,omitempty"`

	// project Id
	ProjectID uint64 `json:"projectId,omitempty"`

	// release
	// Example: v1.0.0
	Release string `json:"release,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

MessageEvent message event

swagger:model MessageEvent

func (*MessageEvent) ContextValidate

func (m *MessageEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this message event based on context it is used

func (*MessageEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageEvent) Validate

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

Validate validates this message event

type Project

type Project struct {

	// ID of the project
	ID string `json:"id,omitempty"`

	// Name of the project
	Name string `json:"name,omitempty"`

	// Slug of the project
	Slug string `json:"slug,omitempty"`
}

Project project

swagger:model Project

func (*Project) ContextValidate

func (m *Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project based on context it is used

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type StatsObject

type StatsObject struct {

	// Name of the project
	End string `json:"end,omitempty"`

	// group
	Group []*StatsObjectGroupItems0 `json:"group"`

	// Slug of the project
	Interval []string `json:"interval"`

	// ID of the project
	Start string `json:"start,omitempty"`
}

StatsObject stats object

swagger:model StatsObject

func (*StatsObject) ContextValidate

func (m *StatsObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stats object based on the context it is used

func (*StatsObject) MarshalBinary

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

MarshalBinary interface implementation

func (*StatsObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatsObject) Validate

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

Validate validates this stats object

type StatsObjectGroupItems0

type StatsObjectGroupItems0 struct {

	// by
	By map[string]interface{} `json:"by,omitempty"`

	// series
	Series map[string]interface{} `json:"series,omitempty"`

	// totals
	Totals map[string]interface{} `json:"totals,omitempty"`
}

StatsObjectGroupItems0 stats object group items0

swagger:model StatsObjectGroupItems0

func (*StatsObjectGroupItems0) ContextValidate

func (m *StatsObjectGroupItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stats object group items0 based on context it is used

func (*StatsObjectGroupItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*StatsObjectGroupItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatsObjectGroupItems0) Validate

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

Validate validates this stats object group items0

Jump to

Keyboard shortcuts

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