eiffelevents

package module
v0.0.0-...-e54aff3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Go Reference Sandbox badge

Eiffel Events SDK – Go

This repository contains data types, constants, and functions for working with Eiffel events in the Go language, including marshaling to and from JSON. Its goal is to make it easy to create and process Eiffel events in Go.

The module declares a Go struct for every major version of each event type. These structs are generated from the JSON schemas and named as in the examples below.

Creating new events

The struct types used to represent Eiffel events are named after the event types without the "Eiffel" prefix and "Event" suffix, and with a version suffix. For non-experimental event versions (1.0.0 and up) the version suffix is the event's major version (i.e. each major version gets its own struct) while for experimental event versions (0.x.y) every single version gets its own struct (because every version is allowed to contain backwards incompatible changes).

The following example shows two methods of creating events, with and without a factory.

package main

import (
	"fmt"
	"time"

	"github.com/eiffel-community/eiffelevents-sdk-go"
)

func main() {
	// Manual initialization of all struct members.
	var event1 eiffelevents.CompositionDefinedV3
	event1.Meta.Type = "EiffelCompositionDefinedEvent"
	event1.Meta.Version = "3.2.0"
	event1.Meta.ID = "87dac043-2e1b-41c5-833a-712833f2a613"
	event1.Meta.Time = time.Now().UnixMilli()
	event1.Data.Name = "my-composition"
	fmt.Println(event1.String())

	// Equivalent example using the factory that pre-populates all
	// required meta members (picking the most recent event version in
	// the chosen major version). Note that the factory returns
	// a struct pointer.
	event2, err := eiffelevents.NewCompositionDefinedV3()
	if err != nil {
		panic(err)
	}
	event2.Data.Name = "my-composition"
	fmt.Println(event2.String())
}

The example below shows how modifier functions can be passed to factories to populate the newly created events with additional fields. In trivial cases modifiers are superfluous and the caller can just set the desired fields after obtaining the event from the factory, but apart from being a compact representation modifiers can be used with any event type. You can also use them to create custom factories that apply a preconfigured set of modifiers.

package main

import (
	"fmt"

	"github.com/eiffel-community/eiffelevents-sdk-go"
)

func main() {
	// Create an event with modifiers that select a particular
	// version of the event and makes sure meta.source.host is
	// populated with the name of the current host.
	event1, err := eiffelevents.NewCompositionDefinedV3(
		eiffelevents.WithVersion("3.1.0"),
		eiffelevents.WithAutoSourceHost(),
	)
	if err != nil {
		panic(err)
	}
	event1.Data.Name = "my-composition"
	fmt.Println(event1.String())

	// Create a custom factory with the chosen modifiers.
	newComposition := func() (*eiffelevents.CompositionDefinedV3, error) {
		return eiffelevents.NewCompositionDefinedV3(
			eiffelevents.WithVersion("3.1.0"),
			eiffelevents.WithAutoSourceHost(),
		)
	}

	// Create a new event using the custom factory.
	event2, err := newComposition()
	if err != nil {
		panic(err)
	}
	event2.Data.Name = "my-composition"
	fmt.Println(event2.String())
}

Preferring events from a particular Eiffel edition

Each Eiffel edition has a subpackage containing version-less struct type aliases and factories for creating events with the correct version for the chosen edition. This removes much of the need to litter the code with "V3" etc suffixes.

package main

import (
	"fmt"

	"github.com/eiffel-community/eiffelevents-sdk-go/editions/lyon"
)

func main() {
	event, err := eiffelevents.NewCompositionDefined()
	if err != nil {
		panic(err)
	}
	// The event struct has the type eiffelevents.CompositionDefined,
	// which is an alias for the parent package's CompositionDefinedV3.
	// The event version is set to 3.2.0. By instead importing the paris
	// subpackage the event version would've been set to 3.1.0.

	event.Data.Name = "my-composition"
	fmt.Println(event.String())
}

Unmarshaling event JSON strings into Go structs

To unmarshal a JSON string into one of the structs defined in this package use the UnmarshalAny function and use e.g. a type switch to access the event members:

package main

import (
	"fmt"
	"io"
	"os"

	"github.com/eiffel-community/eiffelevents-sdk-go"
)

func main() {
	input, err := io.ReadAll(os.Stdin)
	if err != nil {
		panic(err)
	}

	anyEvent, err := eiffelevents.UnmarshalAny(input)
	if err != nil {
		panic(err)
	}

	switch event := anyEvent.(type) {
	case *eiffelevents.CompositionDefinedV3:
		fmt.Printf("Received %s composition\n", event.Data.Name)
	default:
		fmt.Printf("This event I don't know much about: %s\n", event)
	}
}

If you have a compound JSON structure containing e.g. an array of event objects you can declare its type to be []*eiffelevents.Any. After unmarshaling the data you can use a type switch to process the events:

package main

import (
	"encoding/json"
	"fmt"
	"io"
	"os"

	"github.com/eiffel-community/eiffelevents-sdk-go"
)

func main() {
	input, err := io.ReadAll(os.Stdin)
	if err != nil {
		panic(err)
	}

	var apiResponse struct {
		Events []*eiffelevents.Any `json:"events"`
	}

	err = json.Unmarshal(input, &apiResponse)
	if err != nil {
		panic(err)
	}

	for _, anyEvent := range apiResponse.Events {
		switch event := anyEvent.Get().(type) {
		case *eiffelevents.CompositionDefinedV3:
			fmt.Printf("Received %s composition\n", event.Data.Name)
		default:
			fmt.Printf("This event I don't know much about: %s\n", event)
		}
	}
}

Validating events

Eiffel events are defined by their schemas, and publishers are expected to send events that conform to those schemas. The validator subpackage can assist with that task as well as other user-defined validation tasks. Validation is done via a validator.Set instance, where one or more implementations of validator.Validator inspect an event in the configured order. To ease the configuration burden, validator.DefaultSet returns a reasonably configured validator.Set instance that's ready to be used. See the documentation of the validator subpackage for details.

Code of Conduct and Contributing

To get involved, please see Code of Conduct and contribution guidelines.

Note that these files are located in the .github repository. See this page for further details regarding default community health files.

About this repository

The contents of this repository are licensed under the Apache License 2.0.

About Eiffel

This repository forms part of the Eiffel Community. Eiffel is a protocol for technology agnostic machine-to-machine communication in continuous integration and delivery pipelines, aimed at securing scalability, flexibility and traceability. Eiffel is based on the concept of decentralized real time messaging, both to drive the continuous integration and delivery system and to document it.

Visit Eiffel Community to get started and get involved.

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var ErrMalformedInput error = errors.New("malformed JSON input")
View Source
var ErrUnsupportedEvent error = errors.New("event unsupported")

Functions

func StructName

func StructName(eventType string, eventVersion *semver.Version) string

StructName returns the non-versioned name of the Go struct used to represent a type.

func UnmarshalAny

func UnmarshalAny(input []byte) (interface{}, error)

UnmarshalAny unmarshals a JSON string into one of the supported Eiffel event type structs, dependent on the meta.type field in the event payload. Callers are expected to use type assertions or type switches to access concrete event types.

If the input isn't valid JSON, meta.type and meta.version values can't be extracted from it, or some other JSON unmarshaling error occurs an ErrMalformedInput error is returned. If the event type or version isn't supported by this implementation an ErrUnsupportedType error is returned.

func VersionedStructName

func VersionedStructName(eventType string, eventVersion *semver.Version) string

VersionedStructName returns the name of the Go struct used to represent a particular version of a type.

Types

type ActCV1Data

type ActCV1Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type ActCV2Data

type ActCV2Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type ActCV3Data

type ActCV3Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type ActFV1Data

type ActFV1Data struct {
	// Mandatory fields
	Outcome ActFV1DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1            `json:"customData,omitempty"`
	PersistentLogs []ActFV1DataPersistentLog `json:"persistentLogs,omitempty"`
}

type ActFV1DataOutcome

type ActFV1DataOutcome struct {
	// Mandatory fields
	Conclusion ActFV1DataOutcomeConclusion `json:"conclusion"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActFV1DataOutcomeConclusion

type ActFV1DataOutcomeConclusion string
const (
	ActFV1DataOutcomeConclusion_Successful   ActFV1DataOutcomeConclusion = "SUCCESSFUL"
	ActFV1DataOutcomeConclusion_Unsuccessful ActFV1DataOutcomeConclusion = "UNSUCCESSFUL"
	ActFV1DataOutcomeConclusion_Failed       ActFV1DataOutcomeConclusion = "FAILED"
	ActFV1DataOutcomeConclusion_Aborted      ActFV1DataOutcomeConclusion = "ABORTED"
	ActFV1DataOutcomeConclusion_TimedOut     ActFV1DataOutcomeConclusion = "TIMED_OUT"
	ActFV1DataOutcomeConclusion_Inconclusive ActFV1DataOutcomeConclusion = "INCONCLUSIVE"
)

type ActFV1DataPersistentLog

type ActFV1DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type ActFV2Data

type ActFV2Data struct {
	// Mandatory fields
	Outcome ActFV2DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1            `json:"customData,omitempty"`
	PersistentLogs []ActFV2DataPersistentLog `json:"persistentLogs,omitempty"`
}

type ActFV2DataOutcome

type ActFV2DataOutcome struct {
	// Mandatory fields
	Conclusion ActFV2DataOutcomeConclusion `json:"conclusion"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActFV2DataOutcomeConclusion

type ActFV2DataOutcomeConclusion string
const (
	ActFV2DataOutcomeConclusion_Successful   ActFV2DataOutcomeConclusion = "SUCCESSFUL"
	ActFV2DataOutcomeConclusion_Unsuccessful ActFV2DataOutcomeConclusion = "UNSUCCESSFUL"
	ActFV2DataOutcomeConclusion_Failed       ActFV2DataOutcomeConclusion = "FAILED"
	ActFV2DataOutcomeConclusion_Aborted      ActFV2DataOutcomeConclusion = "ABORTED"
	ActFV2DataOutcomeConclusion_TimedOut     ActFV2DataOutcomeConclusion = "TIMED_OUT"
	ActFV2DataOutcomeConclusion_Inconclusive ActFV2DataOutcomeConclusion = "INCONCLUSIVE"
)

type ActFV2DataPersistentLog

type ActFV2DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type ActFV3Data

type ActFV3Data struct {
	// Mandatory fields
	Outcome ActFV3DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1            `json:"customData,omitempty"`
	PersistentLogs []ActFV3DataPersistentLog `json:"persistentLogs,omitempty"`
}

type ActFV3DataOutcome

type ActFV3DataOutcome struct {
	// Mandatory fields
	Conclusion ActFV3DataOutcomeConclusion `json:"conclusion"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActFV3DataOutcomeConclusion

type ActFV3DataOutcomeConclusion string
const (
	ActFV3DataOutcomeConclusion_Successful   ActFV3DataOutcomeConclusion = "SUCCESSFUL"
	ActFV3DataOutcomeConclusion_Unsuccessful ActFV3DataOutcomeConclusion = "UNSUCCESSFUL"
	ActFV3DataOutcomeConclusion_Failed       ActFV3DataOutcomeConclusion = "FAILED"
	ActFV3DataOutcomeConclusion_Aborted      ActFV3DataOutcomeConclusion = "ABORTED"
	ActFV3DataOutcomeConclusion_TimedOut     ActFV3DataOutcomeConclusion = "TIMED_OUT"
	ActFV3DataOutcomeConclusion_Inconclusive ActFV3DataOutcomeConclusion = "INCONCLUSIVE"
)

type ActFV3DataPersistentLog

type ActFV3DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type ActSV1Data

type ActSV1Data struct {

	// Optional fields
	CustomData   []CustomDataV1      `json:"customData,omitempty"`
	ExecutionURI string              `json:"executionUri,omitempty"`
	LiveLogs     []ActSV1DataLiveLog `json:"liveLogs,omitempty"`
}

type ActSV1DataLiveLog

type ActSV1DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type ActSV2Data

type ActSV2Data struct {

	// Optional fields
	CustomData   []CustomDataV1      `json:"customData,omitempty"`
	ExecutionURI string              `json:"executionUri,omitempty"`
	LiveLogs     []ActSV2DataLiveLog `json:"liveLogs,omitempty"`
}

type ActSV2DataLiveLog

type ActSV2DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type ActSV3Data

type ActSV3Data struct {

	// Optional fields
	CustomData   []CustomDataV1      `json:"customData,omitempty"`
	ExecutionURI string              `json:"executionUri,omitempty"`
	LiveLogs     []ActSV3DataLiveLog `json:"liveLogs,omitempty"`
}

type ActSV3DataLiveLog

type ActSV3DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type ActSV4Data

type ActSV4Data struct {

	// Optional fields
	CustomData   []CustomDataV1      `json:"customData,omitempty"`
	ExecutionURI string              `json:"executionUri,omitempty"`
	LiveLogs     []ActSV4DataLiveLog `json:"liveLogs,omitempty"`
}

type ActSV4DataLiveLog

type ActSV4DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type ActTV1Data

type ActTV1Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories    []string                `json:"categories,omitempty"`
	CustomData    []CustomDataV1          `json:"customData,omitempty"`
	ExecutionType ActTV1DataExecutionType `json:"executionType,omitempty"`
	Triggers      []ActTV1DataTrigger     `json:"triggers,omitempty"`
}

type ActTV1DataExecutionType

type ActTV1DataExecutionType string
const (
	ActTV1DataExecutionType_Manual        ActTV1DataExecutionType = "MANUAL"
	ActTV1DataExecutionType_SemiAutomated ActTV1DataExecutionType = "SEMI_AUTOMATED"
	ActTV1DataExecutionType_Automated     ActTV1DataExecutionType = "AUTOMATED"
	ActTV1DataExecutionType_Other         ActTV1DataExecutionType = "OTHER"
)

type ActTV1DataTrigger

type ActTV1DataTrigger struct {
	// Mandatory fields
	Type ActTV1DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActTV1DataTriggerType

type ActTV1DataTriggerType string
const (
	ActTV1DataTriggerType_Manual       ActTV1DataTriggerType = "MANUAL"
	ActTV1DataTriggerType_EiffelEvent  ActTV1DataTriggerType = "EIFFEL_EVENT"
	ActTV1DataTriggerType_SourceChange ActTV1DataTriggerType = "SOURCE_CHANGE"
	ActTV1DataTriggerType_Timer        ActTV1DataTriggerType = "TIMER"
	ActTV1DataTriggerType_Other        ActTV1DataTriggerType = "OTHER"
)

type ActTV2Data

type ActTV2Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories    []string                `json:"categories,omitempty"`
	CustomData    []CustomDataV1          `json:"customData,omitempty"`
	ExecutionType ActTV2DataExecutionType `json:"executionType,omitempty"`
	Triggers      []ActTV2DataTrigger     `json:"triggers,omitempty"`
}

type ActTV2DataExecutionType

type ActTV2DataExecutionType string
const (
	ActTV2DataExecutionType_Manual        ActTV2DataExecutionType = "MANUAL"
	ActTV2DataExecutionType_SemiAutomated ActTV2DataExecutionType = "SEMI_AUTOMATED"
	ActTV2DataExecutionType_Automated     ActTV2DataExecutionType = "AUTOMATED"
	ActTV2DataExecutionType_Other         ActTV2DataExecutionType = "OTHER"
)

type ActTV2DataTrigger

type ActTV2DataTrigger struct {
	// Mandatory fields
	Type ActTV2DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActTV2DataTriggerType

type ActTV2DataTriggerType string
const (
	ActTV2DataTriggerType_Manual       ActTV2DataTriggerType = "MANUAL"
	ActTV2DataTriggerType_EiffelEvent  ActTV2DataTriggerType = "EIFFEL_EVENT"
	ActTV2DataTriggerType_SourceChange ActTV2DataTriggerType = "SOURCE_CHANGE"
	ActTV2DataTriggerType_Timer        ActTV2DataTriggerType = "TIMER"
	ActTV2DataTriggerType_Other        ActTV2DataTriggerType = "OTHER"
)

type ActTV3Data

type ActTV3Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories    []string                `json:"categories,omitempty"`
	CustomData    []CustomDataV1          `json:"customData,omitempty"`
	ExecutionType ActTV3DataExecutionType `json:"executionType,omitempty"`
	Triggers      []ActTV3DataTrigger     `json:"triggers,omitempty"`
}

type ActTV3DataExecutionType

type ActTV3DataExecutionType string
const (
	ActTV3DataExecutionType_Manual        ActTV3DataExecutionType = "MANUAL"
	ActTV3DataExecutionType_SemiAutomated ActTV3DataExecutionType = "SEMI_AUTOMATED"
	ActTV3DataExecutionType_Automated     ActTV3DataExecutionType = "AUTOMATED"
	ActTV3DataExecutionType_Other         ActTV3DataExecutionType = "OTHER"
)

type ActTV3DataTrigger

type ActTV3DataTrigger struct {
	// Mandatory fields
	Type ActTV3DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActTV3DataTriggerType

type ActTV3DataTriggerType string
const (
	ActTV3DataTriggerType_Manual       ActTV3DataTriggerType = "MANUAL"
	ActTV3DataTriggerType_EiffelEvent  ActTV3DataTriggerType = "EIFFEL_EVENT"
	ActTV3DataTriggerType_SourceChange ActTV3DataTriggerType = "SOURCE_CHANGE"
	ActTV3DataTriggerType_Timer        ActTV3DataTriggerType = "TIMER"
	ActTV3DataTriggerType_Other        ActTV3DataTriggerType = "OTHER"
)

type ActTV4Data

type ActTV4Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories    []string                `json:"categories,omitempty"`
	CustomData    []CustomDataV1          `json:"customData,omitempty"`
	ExecutionType ActTV4DataExecutionType `json:"executionType,omitempty"`
	Triggers      []ActTV4DataTrigger     `json:"triggers,omitempty"`
}

type ActTV4DataExecutionType

type ActTV4DataExecutionType string
const (
	ActTV4DataExecutionType_Manual        ActTV4DataExecutionType = "MANUAL"
	ActTV4DataExecutionType_SemiAutomated ActTV4DataExecutionType = "SEMI_AUTOMATED"
	ActTV4DataExecutionType_Automated     ActTV4DataExecutionType = "AUTOMATED"
	ActTV4DataExecutionType_Other         ActTV4DataExecutionType = "OTHER"
)

type ActTV4DataTrigger

type ActTV4DataTrigger struct {
	// Mandatory fields
	Type ActTV4DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type ActTV4DataTriggerType

type ActTV4DataTriggerType string
const (
	ActTV4DataTriggerType_Manual       ActTV4DataTriggerType = "MANUAL"
	ActTV4DataTriggerType_EiffelEvent  ActTV4DataTriggerType = "EIFFEL_EVENT"
	ActTV4DataTriggerType_SourceChange ActTV4DataTriggerType = "SOURCE_CHANGE"
	ActTV4DataTriggerType_Timer        ActTV4DataTriggerType = "TIMER"
	ActTV4DataTriggerType_Other        ActTV4DataTriggerType = "OTHER"
)

type ActivityCanceledV1

type ActivityCanceledV1 struct {
	// Mandatory fields
	Data  ActCV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewActivityCanceledV1

func NewActivityCanceledV1(modifiers ...Modifier) (*ActivityCanceledV1, error)

NewActivityCanceledV1 creates a new struct pointer that represents major version 1 of EiffelActivityCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ActivityCanceledV1) DomainID

func (e ActivityCanceledV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityCanceledV1) ID

func (e ActivityCanceledV1) ID() string

ID returns the value of the meta.id field.

func (*ActivityCanceledV1) MarshalJSON

func (e *ActivityCanceledV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityCanceledV1) SetField

func (e *ActivityCanceledV1) SetField(fieldName string, value interface{}) error

func (*ActivityCanceledV1) String

func (e *ActivityCanceledV1) String() string

String returns the JSON encoding of the event.

func (ActivityCanceledV1) Time

func (e ActivityCanceledV1) Time() int64

Time returns the value of the meta.time field.

func (ActivityCanceledV1) Type

func (e ActivityCanceledV1) Type() string

Type returns the value of the meta.type field.

func (ActivityCanceledV1) Version

func (e ActivityCanceledV1) Version() string

Version returns the value of the meta.version field.

type ActivityCanceledV2

type ActivityCanceledV2 struct {
	// Mandatory fields
	Data  ActCV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityCanceledV2

func NewActivityCanceledV2(modifiers ...Modifier) (*ActivityCanceledV2, error)

NewActivityCanceledV2 creates a new struct pointer that represents major version 2 of EiffelActivityCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ActivityCanceledV2) DomainID

func (e ActivityCanceledV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityCanceledV2) ID

func (e ActivityCanceledV2) ID() string

ID returns the value of the meta.id field.

func (*ActivityCanceledV2) MarshalJSON

func (e *ActivityCanceledV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityCanceledV2) SetField

func (e *ActivityCanceledV2) SetField(fieldName string, value interface{}) error

func (*ActivityCanceledV2) String

func (e *ActivityCanceledV2) String() string

String returns the JSON encoding of the event.

func (ActivityCanceledV2) Time

func (e ActivityCanceledV2) Time() int64

Time returns the value of the meta.time field.

func (ActivityCanceledV2) Type

func (e ActivityCanceledV2) Type() string

Type returns the value of the meta.type field.

func (ActivityCanceledV2) Version

func (e ActivityCanceledV2) Version() string

Version returns the value of the meta.version field.

type ActivityCanceledV3

type ActivityCanceledV3 struct {
	// Mandatory fields
	Data  ActCV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewActivityCanceledV3

func NewActivityCanceledV3(modifiers ...Modifier) (*ActivityCanceledV3, error)

NewActivityCanceledV3 creates a new struct pointer that represents major version 3 of EiffelActivityCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ActivityCanceledV3) DomainID

func (e ActivityCanceledV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityCanceledV3) ID

func (e ActivityCanceledV3) ID() string

ID returns the value of the meta.id field.

func (*ActivityCanceledV3) MarshalJSON

func (e *ActivityCanceledV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityCanceledV3) SetField

func (e *ActivityCanceledV3) SetField(fieldName string, value interface{}) error

func (*ActivityCanceledV3) String

func (e *ActivityCanceledV3) String() string

String returns the JSON encoding of the event.

func (ActivityCanceledV3) Time

func (e ActivityCanceledV3) Time() int64

Time returns the value of the meta.time field.

func (ActivityCanceledV3) Type

func (e ActivityCanceledV3) Type() string

Type returns the value of the meta.type field.

func (ActivityCanceledV3) Version

func (e ActivityCanceledV3) Version() string

Version returns the value of the meta.version field.

type ActivityFinishedV1

type ActivityFinishedV1 struct {
	// Mandatory fields
	Data  ActFV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewActivityFinishedV1

func NewActivityFinishedV1(modifiers ...Modifier) (*ActivityFinishedV1, error)

NewActivityFinishedV1 creates a new struct pointer that represents major version 1 of EiffelActivityFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ActivityFinishedV1) DomainID

func (e ActivityFinishedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityFinishedV1) ID

func (e ActivityFinishedV1) ID() string

ID returns the value of the meta.id field.

func (*ActivityFinishedV1) MarshalJSON

func (e *ActivityFinishedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityFinishedV1) SetField

func (e *ActivityFinishedV1) SetField(fieldName string, value interface{}) error

func (*ActivityFinishedV1) String

func (e *ActivityFinishedV1) String() string

String returns the JSON encoding of the event.

func (ActivityFinishedV1) Time

func (e ActivityFinishedV1) Time() int64

Time returns the value of the meta.time field.

func (ActivityFinishedV1) Type

func (e ActivityFinishedV1) Type() string

Type returns the value of the meta.type field.

func (ActivityFinishedV1) Version

func (e ActivityFinishedV1) Version() string

Version returns the value of the meta.version field.

type ActivityFinishedV2

type ActivityFinishedV2 struct {
	// Mandatory fields
	Data  ActFV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityFinishedV2

func NewActivityFinishedV2(modifiers ...Modifier) (*ActivityFinishedV2, error)

NewActivityFinishedV2 creates a new struct pointer that represents major version 2 of EiffelActivityFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ActivityFinishedV2) DomainID

func (e ActivityFinishedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityFinishedV2) ID

func (e ActivityFinishedV2) ID() string

ID returns the value of the meta.id field.

func (*ActivityFinishedV2) MarshalJSON

func (e *ActivityFinishedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityFinishedV2) SetField

func (e *ActivityFinishedV2) SetField(fieldName string, value interface{}) error

func (*ActivityFinishedV2) String

func (e *ActivityFinishedV2) String() string

String returns the JSON encoding of the event.

func (ActivityFinishedV2) Time

func (e ActivityFinishedV2) Time() int64

Time returns the value of the meta.time field.

func (ActivityFinishedV2) Type

func (e ActivityFinishedV2) Type() string

Type returns the value of the meta.type field.

func (ActivityFinishedV2) Version

func (e ActivityFinishedV2) Version() string

Version returns the value of the meta.version field.

type ActivityFinishedV3

type ActivityFinishedV3 struct {
	// Mandatory fields
	Data  ActFV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewActivityFinishedV3

func NewActivityFinishedV3(modifiers ...Modifier) (*ActivityFinishedV3, error)

NewActivityFinishedV3 creates a new struct pointer that represents major version 3 of EiffelActivityFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ActivityFinishedV3) DomainID

func (e ActivityFinishedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityFinishedV3) ID

func (e ActivityFinishedV3) ID() string

ID returns the value of the meta.id field.

func (*ActivityFinishedV3) MarshalJSON

func (e *ActivityFinishedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityFinishedV3) SetField

func (e *ActivityFinishedV3) SetField(fieldName string, value interface{}) error

func (*ActivityFinishedV3) String

func (e *ActivityFinishedV3) String() string

String returns the JSON encoding of the event.

func (ActivityFinishedV3) Time

func (e ActivityFinishedV3) Time() int64

Time returns the value of the meta.time field.

func (ActivityFinishedV3) Type

func (e ActivityFinishedV3) Type() string

Type returns the value of the meta.type field.

func (ActivityFinishedV3) Version

func (e ActivityFinishedV3) Version() string

Version returns the value of the meta.version field.

type ActivityStartedV1

type ActivityStartedV1 struct {
	// Mandatory fields
	Data  ActSV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewActivityStartedV1

func NewActivityStartedV1(modifiers ...Modifier) (*ActivityStartedV1, error)

NewActivityStartedV1 creates a new struct pointer that represents major version 1 of EiffelActivityStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ActivityStartedV1) DomainID

func (e ActivityStartedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityStartedV1) ID

func (e ActivityStartedV1) ID() string

ID returns the value of the meta.id field.

func (*ActivityStartedV1) MarshalJSON

func (e *ActivityStartedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityStartedV1) SetField

func (e *ActivityStartedV1) SetField(fieldName string, value interface{}) error

func (*ActivityStartedV1) String

func (e *ActivityStartedV1) String() string

String returns the JSON encoding of the event.

func (ActivityStartedV1) Time

func (e ActivityStartedV1) Time() int64

Time returns the value of the meta.time field.

func (ActivityStartedV1) Type

func (e ActivityStartedV1) Type() string

Type returns the value of the meta.type field.

func (ActivityStartedV1) Version

func (e ActivityStartedV1) Version() string

Version returns the value of the meta.version field.

type ActivityStartedV2

type ActivityStartedV2 struct {
	// Mandatory fields
	Data  ActSV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityStartedV2

func NewActivityStartedV2(modifiers ...Modifier) (*ActivityStartedV2, error)

NewActivityStartedV2 creates a new struct pointer that represents major version 2 of EiffelActivityStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ActivityStartedV2) DomainID

func (e ActivityStartedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityStartedV2) ID

func (e ActivityStartedV2) ID() string

ID returns the value of the meta.id field.

func (*ActivityStartedV2) MarshalJSON

func (e *ActivityStartedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityStartedV2) SetField

func (e *ActivityStartedV2) SetField(fieldName string, value interface{}) error

func (*ActivityStartedV2) String

func (e *ActivityStartedV2) String() string

String returns the JSON encoding of the event.

func (ActivityStartedV2) Time

func (e ActivityStartedV2) Time() int64

Time returns the value of the meta.time field.

func (ActivityStartedV2) Type

func (e ActivityStartedV2) Type() string

Type returns the value of the meta.type field.

func (ActivityStartedV2) Version

func (e ActivityStartedV2) Version() string

Version returns the value of the meta.version field.

type ActivityStartedV3

type ActivityStartedV3 struct {
	// Mandatory fields
	Data  ActSV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityStartedV3

func NewActivityStartedV3(modifiers ...Modifier) (*ActivityStartedV3, error)

NewActivityStartedV3 creates a new struct pointer that represents major version 3 of EiffelActivityStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ActivityStartedV3) DomainID

func (e ActivityStartedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityStartedV3) ID

func (e ActivityStartedV3) ID() string

ID returns the value of the meta.id field.

func (*ActivityStartedV3) MarshalJSON

func (e *ActivityStartedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityStartedV3) SetField

func (e *ActivityStartedV3) SetField(fieldName string, value interface{}) error

func (*ActivityStartedV3) String

func (e *ActivityStartedV3) String() string

String returns the JSON encoding of the event.

func (ActivityStartedV3) Time

func (e ActivityStartedV3) Time() int64

Time returns the value of the meta.time field.

func (ActivityStartedV3) Type

func (e ActivityStartedV3) Type() string

Type returns the value of the meta.type field.

func (ActivityStartedV3) Version

func (e ActivityStartedV3) Version() string

Version returns the value of the meta.version field.

type ActivityStartedV4

type ActivityStartedV4 struct {
	// Mandatory fields
	Data  ActSV4Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewActivityStartedV4

func NewActivityStartedV4(modifiers ...Modifier) (*ActivityStartedV4, error)

NewActivityStartedV4 creates a new struct pointer that represents major version 4 of EiffelActivityStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 4.x.x currently known by this SDK.

func (ActivityStartedV4) DomainID

func (e ActivityStartedV4) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityStartedV4) ID

func (e ActivityStartedV4) ID() string

ID returns the value of the meta.id field.

func (*ActivityStartedV4) MarshalJSON

func (e *ActivityStartedV4) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityStartedV4) SetField

func (e *ActivityStartedV4) SetField(fieldName string, value interface{}) error

func (*ActivityStartedV4) String

func (e *ActivityStartedV4) String() string

String returns the JSON encoding of the event.

func (ActivityStartedV4) Time

func (e ActivityStartedV4) Time() int64

Time returns the value of the meta.time field.

func (ActivityStartedV4) Type

func (e ActivityStartedV4) Type() string

Type returns the value of the meta.type field.

func (ActivityStartedV4) Version

func (e ActivityStartedV4) Version() string

Version returns the value of the meta.version field.

type ActivityTriggeredV1

type ActivityTriggeredV1 struct {
	// Mandatory fields
	Data  ActTV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewActivityTriggeredV1

func NewActivityTriggeredV1(modifiers ...Modifier) (*ActivityTriggeredV1, error)

NewActivityTriggeredV1 creates a new struct pointer that represents major version 1 of EiffelActivityTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ActivityTriggeredV1) DomainID

func (e ActivityTriggeredV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityTriggeredV1) ID

func (e ActivityTriggeredV1) ID() string

ID returns the value of the meta.id field.

func (*ActivityTriggeredV1) MarshalJSON

func (e *ActivityTriggeredV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityTriggeredV1) SetField

func (e *ActivityTriggeredV1) SetField(fieldName string, value interface{}) error

func (*ActivityTriggeredV1) String

func (e *ActivityTriggeredV1) String() string

String returns the JSON encoding of the event.

func (ActivityTriggeredV1) Time

func (e ActivityTriggeredV1) Time() int64

Time returns the value of the meta.time field.

func (ActivityTriggeredV1) Type

func (e ActivityTriggeredV1) Type() string

Type returns the value of the meta.type field.

func (ActivityTriggeredV1) Version

func (e ActivityTriggeredV1) Version() string

Version returns the value of the meta.version field.

type ActivityTriggeredV2

type ActivityTriggeredV2 struct {
	// Mandatory fields
	Data  ActTV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityTriggeredV2

func NewActivityTriggeredV2(modifiers ...Modifier) (*ActivityTriggeredV2, error)

NewActivityTriggeredV2 creates a new struct pointer that represents major version 2 of EiffelActivityTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ActivityTriggeredV2) DomainID

func (e ActivityTriggeredV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityTriggeredV2) ID

func (e ActivityTriggeredV2) ID() string

ID returns the value of the meta.id field.

func (*ActivityTriggeredV2) MarshalJSON

func (e *ActivityTriggeredV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityTriggeredV2) SetField

func (e *ActivityTriggeredV2) SetField(fieldName string, value interface{}) error

func (*ActivityTriggeredV2) String

func (e *ActivityTriggeredV2) String() string

String returns the JSON encoding of the event.

func (ActivityTriggeredV2) Time

func (e ActivityTriggeredV2) Time() int64

Time returns the value of the meta.time field.

func (ActivityTriggeredV2) Type

func (e ActivityTriggeredV2) Type() string

Type returns the value of the meta.type field.

func (ActivityTriggeredV2) Version

func (e ActivityTriggeredV2) Version() string

Version returns the value of the meta.version field.

type ActivityTriggeredV3

type ActivityTriggeredV3 struct {
	// Mandatory fields
	Data  ActTV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewActivityTriggeredV3

func NewActivityTriggeredV3(modifiers ...Modifier) (*ActivityTriggeredV3, error)

NewActivityTriggeredV3 creates a new struct pointer that represents major version 3 of EiffelActivityTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ActivityTriggeredV3) DomainID

func (e ActivityTriggeredV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityTriggeredV3) ID

func (e ActivityTriggeredV3) ID() string

ID returns the value of the meta.id field.

func (*ActivityTriggeredV3) MarshalJSON

func (e *ActivityTriggeredV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityTriggeredV3) SetField

func (e *ActivityTriggeredV3) SetField(fieldName string, value interface{}) error

func (*ActivityTriggeredV3) String

func (e *ActivityTriggeredV3) String() string

String returns the JSON encoding of the event.

func (ActivityTriggeredV3) Time

func (e ActivityTriggeredV3) Time() int64

Time returns the value of the meta.time field.

func (ActivityTriggeredV3) Type

func (e ActivityTriggeredV3) Type() string

Type returns the value of the meta.type field.

func (ActivityTriggeredV3) Version

func (e ActivityTriggeredV3) Version() string

Version returns the value of the meta.version field.

type ActivityTriggeredV4

type ActivityTriggeredV4 struct {
	// Mandatory fields
	Data  ActTV4Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewActivityTriggeredV4

func NewActivityTriggeredV4(modifiers ...Modifier) (*ActivityTriggeredV4, error)

NewActivityTriggeredV4 creates a new struct pointer that represents major version 4 of EiffelActivityTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 4.x.x currently known by this SDK.

func (ActivityTriggeredV4) DomainID

func (e ActivityTriggeredV4) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ActivityTriggeredV4) ID

func (e ActivityTriggeredV4) ID() string

ID returns the value of the meta.id field.

func (*ActivityTriggeredV4) MarshalJSON

func (e *ActivityTriggeredV4) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ActivityTriggeredV4) SetField

func (e *ActivityTriggeredV4) SetField(fieldName string, value interface{}) error

func (*ActivityTriggeredV4) String

func (e *ActivityTriggeredV4) String() string

String returns the JSON encoding of the event.

func (ActivityTriggeredV4) Time

func (e ActivityTriggeredV4) Time() int64

Time returns the value of the meta.time field.

func (ActivityTriggeredV4) Type

func (e ActivityTriggeredV4) Type() string

Type returns the value of the meta.type field.

func (ActivityTriggeredV4) Version

func (e ActivityTriggeredV4) Version() string

Version returns the value of the meta.version field.

type AnnPV1Data

type AnnPV1Data struct {
	// Mandatory fields
	Body     string             `json:"body"`
	Heading  string             `json:"heading"`
	Severity AnnPV1DataSeverity `json:"severity"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	URI        string         `json:"uri,omitempty"`
}

type AnnPV1DataSeverity

type AnnPV1DataSeverity string
const (
	AnnPV1DataSeverity_Minor    AnnPV1DataSeverity = "MINOR"
	AnnPV1DataSeverity_Major    AnnPV1DataSeverity = "MAJOR"
	AnnPV1DataSeverity_Critical AnnPV1DataSeverity = "CRITICAL"
	AnnPV1DataSeverity_Blocker  AnnPV1DataSeverity = "BLOCKER"
	AnnPV1DataSeverity_Closed   AnnPV1DataSeverity = "CLOSED"
	AnnPV1DataSeverity_Canceled AnnPV1DataSeverity = "CANCELED"
)

type AnnPV2Data

type AnnPV2Data struct {
	// Mandatory fields
	Body     string             `json:"body"`
	Heading  string             `json:"heading"`
	Severity AnnPV2DataSeverity `json:"severity"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	URI        string         `json:"uri,omitempty"`
}

type AnnPV2DataSeverity

type AnnPV2DataSeverity string
const (
	AnnPV2DataSeverity_Minor    AnnPV2DataSeverity = "MINOR"
	AnnPV2DataSeverity_Major    AnnPV2DataSeverity = "MAJOR"
	AnnPV2DataSeverity_Critical AnnPV2DataSeverity = "CRITICAL"
	AnnPV2DataSeverity_Blocker  AnnPV2DataSeverity = "BLOCKER"
	AnnPV2DataSeverity_Closed   AnnPV2DataSeverity = "CLOSED"
	AnnPV2DataSeverity_Canceled AnnPV2DataSeverity = "CANCELED"
)

type AnnPV3Data

type AnnPV3Data struct {
	// Mandatory fields
	Body     string             `json:"body"`
	Heading  string             `json:"heading"`
	Severity AnnPV3DataSeverity `json:"severity"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	URI        string         `json:"uri,omitempty"`
}

type AnnPV3DataSeverity

type AnnPV3DataSeverity string
const (
	AnnPV3DataSeverity_Minor    AnnPV3DataSeverity = "MINOR"
	AnnPV3DataSeverity_Major    AnnPV3DataSeverity = "MAJOR"
	AnnPV3DataSeverity_Critical AnnPV3DataSeverity = "CRITICAL"
	AnnPV3DataSeverity_Blocker  AnnPV3DataSeverity = "BLOCKER"
	AnnPV3DataSeverity_Closed   AnnPV3DataSeverity = "CLOSED"
	AnnPV3DataSeverity_Canceled AnnPV3DataSeverity = "CANCELED"
)

type AnnouncementPublishedV1

type AnnouncementPublishedV1 struct {
	// Mandatory fields
	Data  AnnPV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewAnnouncementPublishedV1

func NewAnnouncementPublishedV1(modifiers ...Modifier) (*AnnouncementPublishedV1, error)

NewAnnouncementPublishedV1 creates a new struct pointer that represents major version 1 of EiffelAnnouncementPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (AnnouncementPublishedV1) DomainID

func (e AnnouncementPublishedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (AnnouncementPublishedV1) ID

ID returns the value of the meta.id field.

func (*AnnouncementPublishedV1) MarshalJSON

func (e *AnnouncementPublishedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*AnnouncementPublishedV1) SetField

func (e *AnnouncementPublishedV1) SetField(fieldName string, value interface{}) error

func (*AnnouncementPublishedV1) String

func (e *AnnouncementPublishedV1) String() string

String returns the JSON encoding of the event.

func (AnnouncementPublishedV1) Time

func (e AnnouncementPublishedV1) Time() int64

Time returns the value of the meta.time field.

func (AnnouncementPublishedV1) Type

Type returns the value of the meta.type field.

func (AnnouncementPublishedV1) Version

func (e AnnouncementPublishedV1) Version() string

Version returns the value of the meta.version field.

type AnnouncementPublishedV2

type AnnouncementPublishedV2 struct {
	// Mandatory fields
	Data  AnnPV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewAnnouncementPublishedV2

func NewAnnouncementPublishedV2(modifiers ...Modifier) (*AnnouncementPublishedV2, error)

NewAnnouncementPublishedV2 creates a new struct pointer that represents major version 2 of EiffelAnnouncementPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (AnnouncementPublishedV2) DomainID

func (e AnnouncementPublishedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (AnnouncementPublishedV2) ID

ID returns the value of the meta.id field.

func (*AnnouncementPublishedV2) MarshalJSON

func (e *AnnouncementPublishedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*AnnouncementPublishedV2) SetField

func (e *AnnouncementPublishedV2) SetField(fieldName string, value interface{}) error

func (*AnnouncementPublishedV2) String

func (e *AnnouncementPublishedV2) String() string

String returns the JSON encoding of the event.

func (AnnouncementPublishedV2) Time

func (e AnnouncementPublishedV2) Time() int64

Time returns the value of the meta.time field.

func (AnnouncementPublishedV2) Type

Type returns the value of the meta.type field.

func (AnnouncementPublishedV2) Version

func (e AnnouncementPublishedV2) Version() string

Version returns the value of the meta.version field.

type AnnouncementPublishedV3

type AnnouncementPublishedV3 struct {
	// Mandatory fields
	Data  AnnPV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewAnnouncementPublishedV3

func NewAnnouncementPublishedV3(modifiers ...Modifier) (*AnnouncementPublishedV3, error)

NewAnnouncementPublishedV3 creates a new struct pointer that represents major version 3 of EiffelAnnouncementPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (AnnouncementPublishedV3) DomainID

func (e AnnouncementPublishedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (AnnouncementPublishedV3) ID

ID returns the value of the meta.id field.

func (*AnnouncementPublishedV3) MarshalJSON

func (e *AnnouncementPublishedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*AnnouncementPublishedV3) SetField

func (e *AnnouncementPublishedV3) SetField(fieldName string, value interface{}) error

func (*AnnouncementPublishedV3) String

func (e *AnnouncementPublishedV3) String() string

String returns the JSON encoding of the event.

func (AnnouncementPublishedV3) Time

func (e AnnouncementPublishedV3) Time() int64

Time returns the value of the meta.time field.

func (AnnouncementPublishedV3) Type

Type returns the value of the meta.type field.

func (AnnouncementPublishedV3) Version

func (e AnnouncementPublishedV3) Version() string

Version returns the value of the meta.version field.

type Any

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

Any is a struct that represents any Eiffel event value. Its intended use is to allow JSON objects with arrays of Eiffel events to be unmarshalled into something useful.

The type also implements the MetaTeller interface so if you only need e.g. the ID of each event in a slice you don't have to do a type assertion on every element.

Example
inputData := `
	[
	  {
	    "meta": {
	      "type": "EiffelCompositionDefinedEvent",
	      "version": "3.2.0",
	      "time": 1234567890,
	      "id": "aaaaaaaa-bbbb-5ccc-8ddd-eeeeeeeeeee0"
	    },
	    "data": {
	      "name": "My Composition"
	    },
	    "links": []
	  }
	]`
var eventSlice []*Any
_ = json.Unmarshal([]byte(inputData), &eventSlice)

// Any implements MetaTeller so you can call its methods directly
// if you e.g. only need the event's ID.
fmt.Printf("The array contains an event with ID %s.\n", eventSlice[0].ID())

// Or use a type switch if you want access to the full event.
switch event := eventSlice[0].Get().(type) {
case *CompositionDefinedV3:
	fmt.Printf("It's a CompositionDefined event with the name %q.\n", event.Data.Name)
default:
	fmt.Println("Unsupported event type.")
}
Output:

The array contains an event with ID aaaaaaaa-bbbb-5ccc-8ddd-eeeeeeeeeee0.
It's a CompositionDefined event with the name "My Composition".

func (Any) DomainID

func (a Any) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (Any) Get

func (a Any) Get() interface{}

Get obtains the event as an interface pointer. Use a type assertion to convert it to a concrete event struct pointer.

func (Any) ID

func (a Any) ID() string

ID returns the value of the meta.id field.

func (Any) MarshalJSON

func (a Any) MarshalJSON() ([]byte, error)

MarshalJSON converts the event to its JSON representation.

func (Any) Time

func (a Any) Time() int64

Time returns the value of the meta.time field.

func (Any) Type

func (a Any) Type() string

Type returns the value of the meta.type field.

func (*Any) UnmarshalJSON

func (a *Any) UnmarshalJSON(b []byte) error

UnmarshalJSON parses the byte slice input as JSON and stores it.

func (Any) Version

func (a Any) Version() string

Version returns the value of the meta.version field.

type ArtCV1Data

type ArtCV1Data struct {
	// Mandatory fields
	Gav ArtCV1DataGav `json:"gav"`

	// Optional fields
	BuildCommand           string                           `json:"buildCommand,omitempty"`
	CustomData             []CustomDataV1                   `json:"customData,omitempty"`
	DependsOn              []ArtCV1DataDependsOn            `json:"dependsOn,omitempty"`
	FileInformation        []ArtCV1DataFileInformation      `json:"fileInformation,omitempty"`
	Implements             []ArtCV1DataImplement            `json:"implements,omitempty"`
	Name                   string                           `json:"name,omitempty"`
	RequiresImplementation ArtCV1DataRequiresImplementation `json:"requiresImplementation,omitempty"`
}

type ArtCV1DataDependsOn

type ArtCV1DataDependsOn struct {
	// Mandatory fields
	ArtifactID string `json:"artifactId"`
	GroupID    string `json:"groupId"`
	Version    string `json:"version"`
}

type ArtCV1DataFileInformation

type ArtCV1DataFileInformation struct {
	// Mandatory fields
	Classifier string `json:"classifier"`
	Extension  string `json:"extension"`
}

type ArtCV1DataGav

type ArtCV1DataGav struct {
	// Mandatory fields
	ArtifactID string `json:"artifactId"`
	GroupID    string `json:"groupId"`
	Version    string `json:"version"`
}

type ArtCV1DataImplement

type ArtCV1DataImplement struct {
	// Mandatory fields
	ArtifactID string `json:"artifactId"`
	GroupID    string `json:"groupId"`
	Version    string `json:"version"`
}

type ArtCV1DataRequiresImplementation

type ArtCV1DataRequiresImplementation string
const (
	ArtCV1DataRequiresImplementation_None       ArtCV1DataRequiresImplementation = "NONE"
	ArtCV1DataRequiresImplementation_Any        ArtCV1DataRequiresImplementation = "ANY"
	ArtCV1DataRequiresImplementation_ExactlyOne ArtCV1DataRequiresImplementation = "EXACTLY_ONE"
	ArtCV1DataRequiresImplementation_AtLeastOne ArtCV1DataRequiresImplementation = "AT_LEAST_ONE"
)

type ArtCV2Data

type ArtCV2Data struct {
	// Mandatory fields
	Identity string `json:"identity"`

	// Optional fields
	BuildCommand           string                           `json:"buildCommand,omitempty"`
	CustomData             []CustomDataV1                   `json:"customData,omitempty"`
	DependsOn              []string                         `json:"dependsOn,omitempty"`
	FileInformation        []ArtCV2DataFileInformation      `json:"fileInformation,omitempty"`
	Implements             []string                         `json:"implements,omitempty"`
	Name                   string                           `json:"name,omitempty"`
	RequiresImplementation ArtCV2DataRequiresImplementation `json:"requiresImplementation,omitempty"`
}

type ArtCV2DataFileInformation

type ArtCV2DataFileInformation struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Tags []string `json:"tags,omitempty"`
}

type ArtCV2DataRequiresImplementation

type ArtCV2DataRequiresImplementation string
const (
	ArtCV2DataRequiresImplementation_None       ArtCV2DataRequiresImplementation = "NONE"
	ArtCV2DataRequiresImplementation_Any        ArtCV2DataRequiresImplementation = "ANY"
	ArtCV2DataRequiresImplementation_ExactlyOne ArtCV2DataRequiresImplementation = "EXACTLY_ONE"
	ArtCV2DataRequiresImplementation_AtLeastOne ArtCV2DataRequiresImplementation = "AT_LEAST_ONE"
)

type ArtCV3Data

type ArtCV3Data struct {
	// Mandatory fields
	Identity string `json:"identity"`

	// Optional fields
	BuildCommand           string                           `json:"buildCommand,omitempty"`
	CustomData             []CustomDataV1                   `json:"customData,omitempty"`
	DependsOn              []string                         `json:"dependsOn,omitempty"`
	FileInformation        []ArtCV3DataFileInformation      `json:"fileInformation,omitempty"`
	Implements             []string                         `json:"implements,omitempty"`
	Name                   string                           `json:"name,omitempty"`
	RequiresImplementation ArtCV3DataRequiresImplementation `json:"requiresImplementation,omitempty"`
}

type ArtCV3DataFileInformation

type ArtCV3DataFileInformation struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	IntegrityProtection ArtCV3DataFileInformationIntegrityProtection `json:"integrityProtection,omitempty"`
	Tags                []string                                     `json:"tags,omitempty"`
}

type ArtCV3DataFileInformationIntegrityProtection

type ArtCV3DataFileInformationIntegrityProtection struct {
	// Mandatory fields
	Alg    ArtCV3DataFileInformationIntegrityProtectionAlg `json:"alg"`
	Digest string                                          `json:"digest"`
}

type ArtCV3DataFileInformationIntegrityProtectionAlg

type ArtCV3DataFileInformationIntegrityProtectionAlg string
const (
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_224     ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-224"
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_256     ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-256"
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_384     ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-384"
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_512     ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-512"
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_512_224 ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-512/224"
	ArtCV3DataFileInformationIntegrityProtectionAlg_SHA_512_256 ArtCV3DataFileInformationIntegrityProtectionAlg = "SHA-512/256"
)

type ArtCV3DataRequiresImplementation

type ArtCV3DataRequiresImplementation string
const (
	ArtCV3DataRequiresImplementation_None       ArtCV3DataRequiresImplementation = "NONE"
	ArtCV3DataRequiresImplementation_Any        ArtCV3DataRequiresImplementation = "ANY"
	ArtCV3DataRequiresImplementation_ExactlyOne ArtCV3DataRequiresImplementation = "EXACTLY_ONE"
	ArtCV3DataRequiresImplementation_AtLeastOne ArtCV3DataRequiresImplementation = "AT_LEAST_ONE"
)

type ArtDV0_1_0Data

type ArtDV0_1_0Data struct {

	// Optional fields
	CustomData  []CustomDataV1 `json:"customData,omitempty"`
	Description string         `json:"description,omitempty"`
	URI         string         `json:"uri,omitempty"`
}

type ArtPV1Data

type ArtPV1Data struct {
	// Mandatory fields
	Locations []ArtPV1DataLocation `json:"locations"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtPV1DataLocation

type ArtPV1DataLocation struct {
	// Mandatory fields
	Type ArtPV1DataLocationType `json:"type"`
	URI  string                 `json:"uri"`
}

type ArtPV1DataLocationType

type ArtPV1DataLocationType string
const (
	ArtPV1DataLocationType_Artifactory ArtPV1DataLocationType = "ARTIFACTORY"
	ArtPV1DataLocationType_Nexus       ArtPV1DataLocationType = "NEXUS"
	ArtPV1DataLocationType_Plain       ArtPV1DataLocationType = "PLAIN"
	ArtPV1DataLocationType_Other       ArtPV1DataLocationType = "OTHER"
)

type ArtPV2Data

type ArtPV2Data struct {
	// Mandatory fields
	Locations []ArtPV2DataLocation `json:"locations"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtPV2DataLocation

type ArtPV2DataLocation struct {
	// Mandatory fields
	Type ArtPV2DataLocationType `json:"type"`
	URI  string                 `json:"uri"`
}

type ArtPV2DataLocationType

type ArtPV2DataLocationType string
const (
	ArtPV2DataLocationType_Artifactory ArtPV2DataLocationType = "ARTIFACTORY"
	ArtPV2DataLocationType_Nexus       ArtPV2DataLocationType = "NEXUS"
	ArtPV2DataLocationType_Plain       ArtPV2DataLocationType = "PLAIN"
	ArtPV2DataLocationType_Other       ArtPV2DataLocationType = "OTHER"
)

type ArtPV3Data

type ArtPV3Data struct {
	// Mandatory fields
	Locations []ArtPV3DataLocation `json:"locations"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtPV3DataLocation

type ArtPV3DataLocation struct {
	// Mandatory fields
	Type ArtPV3DataLocationType `json:"type"`
	URI  string                 `json:"uri"`

	// Optional fields
	Name string `json:"name,omitempty"`
}

type ArtPV3DataLocationType

type ArtPV3DataLocationType string
const (
	ArtPV3DataLocationType_Artifactory ArtPV3DataLocationType = "ARTIFACTORY"
	ArtPV3DataLocationType_Nexus       ArtPV3DataLocationType = "NEXUS"
	ArtPV3DataLocationType_Plain       ArtPV3DataLocationType = "PLAIN"
	ArtPV3DataLocationType_Other       ArtPV3DataLocationType = "OTHER"
)

type ArtRV1Data

type ArtRV1Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtRV2Data

type ArtRV2Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtRV3Data

type ArtRV3Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type ArtifactCreatedV1

type ArtifactCreatedV1 struct {
	// Mandatory fields
	Data  ArtCV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewArtifactCreatedV1

func NewArtifactCreatedV1(modifiers ...Modifier) (*ArtifactCreatedV1, error)

NewArtifactCreatedV1 creates a new struct pointer that represents major version 1 of EiffelArtifactCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ArtifactCreatedV1) DomainID

func (e ArtifactCreatedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactCreatedV1) ID

func (e ArtifactCreatedV1) ID() string

ID returns the value of the meta.id field.

func (*ArtifactCreatedV1) MarshalJSON

func (e *ArtifactCreatedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactCreatedV1) SetField

func (e *ArtifactCreatedV1) SetField(fieldName string, value interface{}) error

func (*ArtifactCreatedV1) String

func (e *ArtifactCreatedV1) String() string

String returns the JSON encoding of the event.

func (ArtifactCreatedV1) Time

func (e ArtifactCreatedV1) Time() int64

Time returns the value of the meta.time field.

func (ArtifactCreatedV1) Type

func (e ArtifactCreatedV1) Type() string

Type returns the value of the meta.type field.

func (ArtifactCreatedV1) Version

func (e ArtifactCreatedV1) Version() string

Version returns the value of the meta.version field.

type ArtifactCreatedV2

type ArtifactCreatedV2 struct {
	// Mandatory fields
	Data  ArtCV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewArtifactCreatedV2

func NewArtifactCreatedV2(modifiers ...Modifier) (*ArtifactCreatedV2, error)

NewArtifactCreatedV2 creates a new struct pointer that represents major version 2 of EiffelArtifactCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ArtifactCreatedV2) DomainID

func (e ArtifactCreatedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactCreatedV2) ID

func (e ArtifactCreatedV2) ID() string

ID returns the value of the meta.id field.

func (*ArtifactCreatedV2) MarshalJSON

func (e *ArtifactCreatedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactCreatedV2) SetField

func (e *ArtifactCreatedV2) SetField(fieldName string, value interface{}) error

func (*ArtifactCreatedV2) String

func (e *ArtifactCreatedV2) String() string

String returns the JSON encoding of the event.

func (ArtifactCreatedV2) Time

func (e ArtifactCreatedV2) Time() int64

Time returns the value of the meta.time field.

func (ArtifactCreatedV2) Type

func (e ArtifactCreatedV2) Type() string

Type returns the value of the meta.type field.

func (ArtifactCreatedV2) Version

func (e ArtifactCreatedV2) Version() string

Version returns the value of the meta.version field.

type ArtifactCreatedV3

type ArtifactCreatedV3 struct {
	// Mandatory fields
	Data  ArtCV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewArtifactCreatedV3

func NewArtifactCreatedV3(modifiers ...Modifier) (*ArtifactCreatedV3, error)

NewArtifactCreatedV3 creates a new struct pointer that represents major version 3 of EiffelArtifactCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ArtifactCreatedV3) DomainID

func (e ArtifactCreatedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactCreatedV3) ID

func (e ArtifactCreatedV3) ID() string

ID returns the value of the meta.id field.

func (*ArtifactCreatedV3) MarshalJSON

func (e *ArtifactCreatedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactCreatedV3) SetField

func (e *ArtifactCreatedV3) SetField(fieldName string, value interface{}) error

func (*ArtifactCreatedV3) String

func (e *ArtifactCreatedV3) String() string

String returns the JSON encoding of the event.

func (ArtifactCreatedV3) Time

func (e ArtifactCreatedV3) Time() int64

Time returns the value of the meta.time field.

func (ArtifactCreatedV3) Type

func (e ArtifactCreatedV3) Type() string

Type returns the value of the meta.type field.

func (ArtifactCreatedV3) Version

func (e ArtifactCreatedV3) Version() string

Version returns the value of the meta.version field.

type ArtifactDeployedV0_1_0

type ArtifactDeployedV0_1_0 struct {
	// Mandatory fields
	Data  ArtDV0_1_0Data `json:"data"`
	Links EventLinksV1   `json:"links"`
	Meta  MetaV3         `json:"meta"`
}

func NewArtifactDeployedV0_1_0

func NewArtifactDeployedV0_1_0(modifiers ...Modifier) (*ArtifactDeployedV0_1_0, error)

NewArtifactDeployedV0_1_0 creates a new struct pointer that represents version 0.1.0 of EiffelArtifactDeployedEvent. The returned struct has all required meta members populated.

func (ArtifactDeployedV0_1_0) DomainID

func (e ArtifactDeployedV0_1_0) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactDeployedV0_1_0) ID

ID returns the value of the meta.id field.

func (*ArtifactDeployedV0_1_0) MarshalJSON

func (e *ArtifactDeployedV0_1_0) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactDeployedV0_1_0) SetField

func (e *ArtifactDeployedV0_1_0) SetField(fieldName string, value interface{}) error

func (*ArtifactDeployedV0_1_0) String

func (e *ArtifactDeployedV0_1_0) String() string

String returns the JSON encoding of the event.

func (ArtifactDeployedV0_1_0) Time

func (e ArtifactDeployedV0_1_0) Time() int64

Time returns the value of the meta.time field.

func (ArtifactDeployedV0_1_0) Type

func (e ArtifactDeployedV0_1_0) Type() string

Type returns the value of the meta.type field.

func (ArtifactDeployedV0_1_0) Version

func (e ArtifactDeployedV0_1_0) Version() string

Version returns the value of the meta.version field.

type ArtifactPublishedV1

type ArtifactPublishedV1 struct {
	// Mandatory fields
	Data  ArtPV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewArtifactPublishedV1

func NewArtifactPublishedV1(modifiers ...Modifier) (*ArtifactPublishedV1, error)

NewArtifactPublishedV1 creates a new struct pointer that represents major version 1 of EiffelArtifactPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ArtifactPublishedV1) DomainID

func (e ArtifactPublishedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactPublishedV1) ID

func (e ArtifactPublishedV1) ID() string

ID returns the value of the meta.id field.

func (*ArtifactPublishedV1) MarshalJSON

func (e *ArtifactPublishedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactPublishedV1) SetField

func (e *ArtifactPublishedV1) SetField(fieldName string, value interface{}) error

func (*ArtifactPublishedV1) String

func (e *ArtifactPublishedV1) String() string

String returns the JSON encoding of the event.

func (ArtifactPublishedV1) Time

func (e ArtifactPublishedV1) Time() int64

Time returns the value of the meta.time field.

func (ArtifactPublishedV1) Type

func (e ArtifactPublishedV1) Type() string

Type returns the value of the meta.type field.

func (ArtifactPublishedV1) Version

func (e ArtifactPublishedV1) Version() string

Version returns the value of the meta.version field.

type ArtifactPublishedV2

type ArtifactPublishedV2 struct {
	// Mandatory fields
	Data  ArtPV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewArtifactPublishedV2

func NewArtifactPublishedV2(modifiers ...Modifier) (*ArtifactPublishedV2, error)

NewArtifactPublishedV2 creates a new struct pointer that represents major version 2 of EiffelArtifactPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ArtifactPublishedV2) DomainID

func (e ArtifactPublishedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactPublishedV2) ID

func (e ArtifactPublishedV2) ID() string

ID returns the value of the meta.id field.

func (*ArtifactPublishedV2) MarshalJSON

func (e *ArtifactPublishedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactPublishedV2) SetField

func (e *ArtifactPublishedV2) SetField(fieldName string, value interface{}) error

func (*ArtifactPublishedV2) String

func (e *ArtifactPublishedV2) String() string

String returns the JSON encoding of the event.

func (ArtifactPublishedV2) Time

func (e ArtifactPublishedV2) Time() int64

Time returns the value of the meta.time field.

func (ArtifactPublishedV2) Type

func (e ArtifactPublishedV2) Type() string

Type returns the value of the meta.type field.

func (ArtifactPublishedV2) Version

func (e ArtifactPublishedV2) Version() string

Version returns the value of the meta.version field.

type ArtifactPublishedV3

type ArtifactPublishedV3 struct {
	// Mandatory fields
	Data  ArtPV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewArtifactPublishedV3

func NewArtifactPublishedV3(modifiers ...Modifier) (*ArtifactPublishedV3, error)

NewArtifactPublishedV3 creates a new struct pointer that represents major version 3 of EiffelArtifactPublishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ArtifactPublishedV3) DomainID

func (e ArtifactPublishedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactPublishedV3) ID

func (e ArtifactPublishedV3) ID() string

ID returns the value of the meta.id field.

func (*ArtifactPublishedV3) MarshalJSON

func (e *ArtifactPublishedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactPublishedV3) SetField

func (e *ArtifactPublishedV3) SetField(fieldName string, value interface{}) error

func (*ArtifactPublishedV3) String

func (e *ArtifactPublishedV3) String() string

String returns the JSON encoding of the event.

func (ArtifactPublishedV3) Time

func (e ArtifactPublishedV3) Time() int64

Time returns the value of the meta.time field.

func (ArtifactPublishedV3) Type

func (e ArtifactPublishedV3) Type() string

Type returns the value of the meta.type field.

func (ArtifactPublishedV3) Version

func (e ArtifactPublishedV3) Version() string

Version returns the value of the meta.version field.

type ArtifactReusedV1

type ArtifactReusedV1 struct {
	// Mandatory fields
	Data  ArtRV1Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewArtifactReusedV1

func NewArtifactReusedV1(modifiers ...Modifier) (*ArtifactReusedV1, error)

NewArtifactReusedV1 creates a new struct pointer that represents major version 1 of EiffelArtifactReusedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ArtifactReusedV1) DomainID

func (e ArtifactReusedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactReusedV1) ID

func (e ArtifactReusedV1) ID() string

ID returns the value of the meta.id field.

func (*ArtifactReusedV1) MarshalJSON

func (e *ArtifactReusedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactReusedV1) SetField

func (e *ArtifactReusedV1) SetField(fieldName string, value interface{}) error

func (*ArtifactReusedV1) String

func (e *ArtifactReusedV1) String() string

String returns the JSON encoding of the event.

func (ArtifactReusedV1) Time

func (e ArtifactReusedV1) Time() int64

Time returns the value of the meta.time field.

func (ArtifactReusedV1) Type

func (e ArtifactReusedV1) Type() string

Type returns the value of the meta.type field.

func (ArtifactReusedV1) Version

func (e ArtifactReusedV1) Version() string

Version returns the value of the meta.version field.

type ArtifactReusedV2

type ArtifactReusedV2 struct {
	// Mandatory fields
	Data  ArtRV2Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewArtifactReusedV2

func NewArtifactReusedV2(modifiers ...Modifier) (*ArtifactReusedV2, error)

NewArtifactReusedV2 creates a new struct pointer that represents major version 2 of EiffelArtifactReusedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ArtifactReusedV2) DomainID

func (e ArtifactReusedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactReusedV2) ID

func (e ArtifactReusedV2) ID() string

ID returns the value of the meta.id field.

func (*ArtifactReusedV2) MarshalJSON

func (e *ArtifactReusedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactReusedV2) SetField

func (e *ArtifactReusedV2) SetField(fieldName string, value interface{}) error

func (*ArtifactReusedV2) String

func (e *ArtifactReusedV2) String() string

String returns the JSON encoding of the event.

func (ArtifactReusedV2) Time

func (e ArtifactReusedV2) Time() int64

Time returns the value of the meta.time field.

func (ArtifactReusedV2) Type

func (e ArtifactReusedV2) Type() string

Type returns the value of the meta.type field.

func (ArtifactReusedV2) Version

func (e ArtifactReusedV2) Version() string

Version returns the value of the meta.version field.

type ArtifactReusedV3

type ArtifactReusedV3 struct {
	// Mandatory fields
	Data  ArtRV3Data   `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewArtifactReusedV3

func NewArtifactReusedV3(modifiers ...Modifier) (*ArtifactReusedV3, error)

NewArtifactReusedV3 creates a new struct pointer that represents major version 3 of EiffelArtifactReusedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ArtifactReusedV3) DomainID

func (e ArtifactReusedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ArtifactReusedV3) ID

func (e ArtifactReusedV3) ID() string

ID returns the value of the meta.id field.

func (*ArtifactReusedV3) MarshalJSON

func (e *ArtifactReusedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ArtifactReusedV3) SetField

func (e *ArtifactReusedV3) SetField(fieldName string, value interface{}) error

func (*ArtifactReusedV3) String

func (e *ArtifactReusedV3) String() string

String returns the JSON encoding of the event.

func (ArtifactReusedV3) Time

func (e ArtifactReusedV3) Time() int64

Time returns the value of the meta.time field.

func (ArtifactReusedV3) Type

func (e ArtifactReusedV3) Type() string

Type returns the value of the meta.type field.

func (ArtifactReusedV3) Version

func (e ArtifactReusedV3) Version() string

Version returns the value of the meta.version field.

type CDV1Data

type CDV1Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type CDV2Data

type CDV2Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type CDV3Data

type CDV3Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type CLMV1Data

type CLMV1Data struct {
	// Mandatory fields
	Name  string         `json:"name"`
	Value CLMV1DataValue `json:"value"`

	// Optional fields
	CustomData []CustomDataV1  `json:"customData,omitempty"`
	Issuer     CLMV1DataIssuer `json:"issuer,omitempty"`
}

type CLMV1DataIssuer

type CLMV1DataIssuer struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type CLMV1DataValue

type CLMV1DataValue string
const (
	CLMV1DataValue_Success      CLMV1DataValue = "SUCCESS"
	CLMV1DataValue_Failure      CLMV1DataValue = "FAILURE"
	CLMV1DataValue_Inconclusive CLMV1DataValue = "INCONCLUSIVE"
)

type CLMV2Data

type CLMV2Data struct {
	// Mandatory fields
	Name  string         `json:"name"`
	Value CLMV2DataValue `json:"value"`

	// Optional fields
	CustomData []CustomDataV1  `json:"customData,omitempty"`
	Issuer     CLMV2DataIssuer `json:"issuer,omitempty"`
}

type CLMV2DataIssuer

type CLMV2DataIssuer struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type CLMV2DataValue

type CLMV2DataValue string
const (
	CLMV2DataValue_Success      CLMV2DataValue = "SUCCESS"
	CLMV2DataValue_Failure      CLMV2DataValue = "FAILURE"
	CLMV2DataValue_Inconclusive CLMV2DataValue = "INCONCLUSIVE"
)

type CLMV3Data

type CLMV3Data struct {
	// Mandatory fields
	Name  string         `json:"name"`
	Value CLMV3DataValue `json:"value"`

	// Optional fields
	CustomData []CustomDataV1  `json:"customData,omitempty"`
	Issuer     CLMV3DataIssuer `json:"issuer,omitempty"`
}

type CLMV3DataIssuer

type CLMV3DataIssuer struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type CLMV3DataValue

type CLMV3DataValue string
const (
	CLMV3DataValue_Success      CLMV3DataValue = "SUCCESS"
	CLMV3DataValue_Failure      CLMV3DataValue = "FAILURE"
	CLMV3DataValue_Inconclusive CLMV3DataValue = "INCONCLUSIVE"
)

type CompositionDefinedV1

type CompositionDefinedV1 struct {
	// Mandatory fields
	Data  CDV1Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewCompositionDefinedV1

func NewCompositionDefinedV1(modifiers ...Modifier) (*CompositionDefinedV1, error)

NewCompositionDefinedV1 creates a new struct pointer that represents major version 1 of EiffelCompositionDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (CompositionDefinedV1) DomainID

func (e CompositionDefinedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (CompositionDefinedV1) ID

ID returns the value of the meta.id field.

func (*CompositionDefinedV1) MarshalJSON

func (e *CompositionDefinedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*CompositionDefinedV1) SetField

func (e *CompositionDefinedV1) SetField(fieldName string, value interface{}) error

func (*CompositionDefinedV1) String

func (e *CompositionDefinedV1) String() string

String returns the JSON encoding of the event.

func (CompositionDefinedV1) Time

func (e CompositionDefinedV1) Time() int64

Time returns the value of the meta.time field.

func (CompositionDefinedV1) Type

func (e CompositionDefinedV1) Type() string

Type returns the value of the meta.type field.

func (CompositionDefinedV1) Version

func (e CompositionDefinedV1) Version() string

Version returns the value of the meta.version field.

type CompositionDefinedV2

type CompositionDefinedV2 struct {
	// Mandatory fields
	Data  CDV2Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewCompositionDefinedV2

func NewCompositionDefinedV2(modifiers ...Modifier) (*CompositionDefinedV2, error)

NewCompositionDefinedV2 creates a new struct pointer that represents major version 2 of EiffelCompositionDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (CompositionDefinedV2) DomainID

func (e CompositionDefinedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (CompositionDefinedV2) ID

ID returns the value of the meta.id field.

func (*CompositionDefinedV2) MarshalJSON

func (e *CompositionDefinedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*CompositionDefinedV2) SetField

func (e *CompositionDefinedV2) SetField(fieldName string, value interface{}) error

func (*CompositionDefinedV2) String

func (e *CompositionDefinedV2) String() string

String returns the JSON encoding of the event.

func (CompositionDefinedV2) Time

func (e CompositionDefinedV2) Time() int64

Time returns the value of the meta.time field.

func (CompositionDefinedV2) Type

func (e CompositionDefinedV2) Type() string

Type returns the value of the meta.type field.

func (CompositionDefinedV2) Version

func (e CompositionDefinedV2) Version() string

Version returns the value of the meta.version field.

type CompositionDefinedV3

type CompositionDefinedV3 struct {
	// Mandatory fields
	Data  CDV3Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewCompositionDefinedV3

func NewCompositionDefinedV3(modifiers ...Modifier) (*CompositionDefinedV3, error)

NewCompositionDefinedV3 creates a new struct pointer that represents major version 3 of EiffelCompositionDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (CompositionDefinedV3) DomainID

func (e CompositionDefinedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (CompositionDefinedV3) ID

ID returns the value of the meta.id field.

func (*CompositionDefinedV3) MarshalJSON

func (e *CompositionDefinedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*CompositionDefinedV3) SetField

func (e *CompositionDefinedV3) SetField(fieldName string, value interface{}) error

func (*CompositionDefinedV3) String

func (e *CompositionDefinedV3) String() string

String returns the JSON encoding of the event.

func (CompositionDefinedV3) Time

func (e CompositionDefinedV3) Time() int64

Time returns the value of the meta.time field.

func (CompositionDefinedV3) Type

func (e CompositionDefinedV3) Type() string

Type returns the value of the meta.type field.

func (CompositionDefinedV3) Version

func (e CompositionDefinedV3) Version() string

Version returns the value of the meta.version field.

type ConfidenceLevelModifiedV1

type ConfidenceLevelModifiedV1 struct {
	// Mandatory fields
	Data  CLMV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewConfidenceLevelModifiedV1

func NewConfidenceLevelModifiedV1(modifiers ...Modifier) (*ConfidenceLevelModifiedV1, error)

NewConfidenceLevelModifiedV1 creates a new struct pointer that represents major version 1 of EiffelConfidenceLevelModifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (ConfidenceLevelModifiedV1) DomainID

func (e ConfidenceLevelModifiedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ConfidenceLevelModifiedV1) ID

ID returns the value of the meta.id field.

func (*ConfidenceLevelModifiedV1) MarshalJSON

func (e *ConfidenceLevelModifiedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ConfidenceLevelModifiedV1) SetField

func (e *ConfidenceLevelModifiedV1) SetField(fieldName string, value interface{}) error

func (*ConfidenceLevelModifiedV1) String

func (e *ConfidenceLevelModifiedV1) String() string

String returns the JSON encoding of the event.

func (ConfidenceLevelModifiedV1) Time

Time returns the value of the meta.time field.

func (ConfidenceLevelModifiedV1) Type

Type returns the value of the meta.type field.

func (ConfidenceLevelModifiedV1) Version

func (e ConfidenceLevelModifiedV1) Version() string

Version returns the value of the meta.version field.

type ConfidenceLevelModifiedV2

type ConfidenceLevelModifiedV2 struct {
	// Mandatory fields
	Data  CLMV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewConfidenceLevelModifiedV2

func NewConfidenceLevelModifiedV2(modifiers ...Modifier) (*ConfidenceLevelModifiedV2, error)

NewConfidenceLevelModifiedV2 creates a new struct pointer that represents major version 2 of EiffelConfidenceLevelModifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (ConfidenceLevelModifiedV2) DomainID

func (e ConfidenceLevelModifiedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ConfidenceLevelModifiedV2) ID

ID returns the value of the meta.id field.

func (*ConfidenceLevelModifiedV2) MarshalJSON

func (e *ConfidenceLevelModifiedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ConfidenceLevelModifiedV2) SetField

func (e *ConfidenceLevelModifiedV2) SetField(fieldName string, value interface{}) error

func (*ConfidenceLevelModifiedV2) String

func (e *ConfidenceLevelModifiedV2) String() string

String returns the JSON encoding of the event.

func (ConfidenceLevelModifiedV2) Time

Time returns the value of the meta.time field.

func (ConfidenceLevelModifiedV2) Type

Type returns the value of the meta.type field.

func (ConfidenceLevelModifiedV2) Version

func (e ConfidenceLevelModifiedV2) Version() string

Version returns the value of the meta.version field.

type ConfidenceLevelModifiedV3

type ConfidenceLevelModifiedV3 struct {
	// Mandatory fields
	Data  CLMV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewConfidenceLevelModifiedV3

func NewConfidenceLevelModifiedV3(modifiers ...Modifier) (*ConfidenceLevelModifiedV3, error)

NewConfidenceLevelModifiedV3 creates a new struct pointer that represents major version 3 of EiffelConfidenceLevelModifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (ConfidenceLevelModifiedV3) DomainID

func (e ConfidenceLevelModifiedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (ConfidenceLevelModifiedV3) ID

ID returns the value of the meta.id field.

func (*ConfidenceLevelModifiedV3) MarshalJSON

func (e *ConfidenceLevelModifiedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*ConfidenceLevelModifiedV3) SetField

func (e *ConfidenceLevelModifiedV3) SetField(fieldName string, value interface{}) error

func (*ConfidenceLevelModifiedV3) String

func (e *ConfidenceLevelModifiedV3) String() string

String returns the JSON encoding of the event.

func (ConfidenceLevelModifiedV3) Time

Time returns the value of the meta.time field.

func (ConfidenceLevelModifiedV3) Type

Type returns the value of the meta.type field.

func (ConfidenceLevelModifiedV3) Version

func (e ConfidenceLevelModifiedV3) Version() string

Version returns the value of the meta.version field.

type CustomDataV1

type CustomDataV1 struct {
	// Mandatory fields
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type EDV1Data

type EDV1Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Host       EDV1DataHost   `json:"host,omitempty"`
	Image      string         `json:"image,omitempty"`
	URI        string         `json:"uri,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type EDV1DataHost

type EDV1DataHost struct {
	// Mandatory fields
	Name string `json:"name"`
	User string `json:"user"`
}

type EDV2Data

type EDV2Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Host       EDV2DataHost   `json:"host,omitempty"`
	Image      string         `json:"image,omitempty"`
	URI        string         `json:"uri,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type EDV2DataHost

type EDV2DataHost struct {
	// Mandatory fields
	Name string `json:"name"`
	User string `json:"user"`
}

type EDV3Data

type EDV3Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Host       EDV3DataHost   `json:"host,omitempty"`
	Image      string         `json:"image,omitempty"`
	URI        string         `json:"uri,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type EDV3DataHost

type EDV3DataHost struct {
	// Mandatory fields
	Name string `json:"name"`
	User string `json:"user"`
}

type EnvironmentDefinedV1

type EnvironmentDefinedV1 struct {
	// Mandatory fields
	Data  EDV1Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewEnvironmentDefinedV1

func NewEnvironmentDefinedV1(modifiers ...Modifier) (*EnvironmentDefinedV1, error)

NewEnvironmentDefinedV1 creates a new struct pointer that represents major version 1 of EiffelEnvironmentDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (EnvironmentDefinedV1) DomainID

func (e EnvironmentDefinedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (EnvironmentDefinedV1) ID

ID returns the value of the meta.id field.

func (*EnvironmentDefinedV1) MarshalJSON

func (e *EnvironmentDefinedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*EnvironmentDefinedV1) SetField

func (e *EnvironmentDefinedV1) SetField(fieldName string, value interface{}) error

func (*EnvironmentDefinedV1) String

func (e *EnvironmentDefinedV1) String() string

String returns the JSON encoding of the event.

func (EnvironmentDefinedV1) Time

func (e EnvironmentDefinedV1) Time() int64

Time returns the value of the meta.time field.

func (EnvironmentDefinedV1) Type

func (e EnvironmentDefinedV1) Type() string

Type returns the value of the meta.type field.

func (EnvironmentDefinedV1) Version

func (e EnvironmentDefinedV1) Version() string

Version returns the value of the meta.version field.

type EnvironmentDefinedV2

type EnvironmentDefinedV2 struct {
	// Mandatory fields
	Data  EDV2Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewEnvironmentDefinedV2

func NewEnvironmentDefinedV2(modifiers ...Modifier) (*EnvironmentDefinedV2, error)

NewEnvironmentDefinedV2 creates a new struct pointer that represents major version 2 of EiffelEnvironmentDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (EnvironmentDefinedV2) DomainID

func (e EnvironmentDefinedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (EnvironmentDefinedV2) ID

ID returns the value of the meta.id field.

func (*EnvironmentDefinedV2) MarshalJSON

func (e *EnvironmentDefinedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*EnvironmentDefinedV2) SetField

func (e *EnvironmentDefinedV2) SetField(fieldName string, value interface{}) error

func (*EnvironmentDefinedV2) String

func (e *EnvironmentDefinedV2) String() string

String returns the JSON encoding of the event.

func (EnvironmentDefinedV2) Time

func (e EnvironmentDefinedV2) Time() int64

Time returns the value of the meta.time field.

func (EnvironmentDefinedV2) Type

func (e EnvironmentDefinedV2) Type() string

Type returns the value of the meta.type field.

func (EnvironmentDefinedV2) Version

func (e EnvironmentDefinedV2) Version() string

Version returns the value of the meta.version field.

type EnvironmentDefinedV3

type EnvironmentDefinedV3 struct {
	// Mandatory fields
	Data  EDV3Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewEnvironmentDefinedV3

func NewEnvironmentDefinedV3(modifiers ...Modifier) (*EnvironmentDefinedV3, error)

NewEnvironmentDefinedV3 creates a new struct pointer that represents major version 3 of EiffelEnvironmentDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (EnvironmentDefinedV3) DomainID

func (e EnvironmentDefinedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (EnvironmentDefinedV3) ID

ID returns the value of the meta.id field.

func (*EnvironmentDefinedV3) MarshalJSON

func (e *EnvironmentDefinedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*EnvironmentDefinedV3) SetField

func (e *EnvironmentDefinedV3) SetField(fieldName string, value interface{}) error

func (*EnvironmentDefinedV3) String

func (e *EnvironmentDefinedV3) String() string

String returns the JSON encoding of the event.

func (EnvironmentDefinedV3) Time

func (e EnvironmentDefinedV3) Time() int64

Time returns the value of the meta.time field.

func (EnvironmentDefinedV3) Type

func (e EnvironmentDefinedV3) Type() string

Type returns the value of the meta.type field.

func (EnvironmentDefinedV3) Version

func (e EnvironmentDefinedV3) Version() string

Version returns the value of the meta.version field.

type EventLinkV1

type EventLinkV1 struct {
	// Mandatory fields
	Target string `json:"target"`
	Type   string `json:"type"`

	// Optional fields
	DomainID string `json:"domainId,omitempty"`
}

type EventLinksV1

type EventLinksV1 []EventLinkV1

EventLinksV1 represents a slice of EventLinkV1 values with helper methods for adding new links.

func (*EventLinksV1) Add

func (links *EventLinksV1) Add(linkType string, target MetaTeller)

Add adds a new link of the specified type to a target event.

func (*EventLinksV1) AddByID

func (links *EventLinksV1) AddByID(linkType string, target string)

AddByID adds a new link of the specified type to a target event identified by an ID.

func (EventLinksV1) FindAll

func (links EventLinksV1) FindAll(linkType string) []string

FindAll returns the IDs of all links of the specified type, or an empty slice if no such links are found.

func (EventLinksV1) FindFirst

func (links EventLinksV1) FindFirst(linkType string) string

FindFirst returns the ID of the first encountered link of the specified type, or an empty string if no such link is found.

type FCDV1Data

type FCDV1Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Product    string         `json:"product,omitempty"`
	Program    string         `json:"program,omitempty"`
	Project    string         `json:"project,omitempty"`
	Track      string         `json:"track,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type FCDV2Data

type FCDV2Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Product    string         `json:"product,omitempty"`
	Program    string         `json:"program,omitempty"`
	Project    string         `json:"project,omitempty"`
	Track      string         `json:"track,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type FCDV3Data

type FCDV3Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Product    string         `json:"product,omitempty"`
	Program    string         `json:"program,omitempty"`
	Project    string         `json:"project,omitempty"`
	Track      string         `json:"track,omitempty"`
	Version    string         `json:"version,omitempty"`
}

type FieldSetter

type FieldSetter interface {
	SetField(fieldName string, value interface{}) error
}

FieldSetter sets struct field by name using the usual toplevelfield.subfield notation. Fields should be expressed with their JSON names, i.e. based on the "json" tag.

type FlowContextDefinedV1

type FlowContextDefinedV1 struct {
	// Mandatory fields
	Data  FCDV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewFlowContextDefinedV1

func NewFlowContextDefinedV1(modifiers ...Modifier) (*FlowContextDefinedV1, error)

NewFlowContextDefinedV1 creates a new struct pointer that represents major version 1 of EiffelFlowContextDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (FlowContextDefinedV1) DomainID

func (e FlowContextDefinedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (FlowContextDefinedV1) ID

ID returns the value of the meta.id field.

func (*FlowContextDefinedV1) MarshalJSON

func (e *FlowContextDefinedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*FlowContextDefinedV1) SetField

func (e *FlowContextDefinedV1) SetField(fieldName string, value interface{}) error

func (*FlowContextDefinedV1) String

func (e *FlowContextDefinedV1) String() string

String returns the JSON encoding of the event.

func (FlowContextDefinedV1) Time

func (e FlowContextDefinedV1) Time() int64

Time returns the value of the meta.time field.

func (FlowContextDefinedV1) Type

func (e FlowContextDefinedV1) Type() string

Type returns the value of the meta.type field.

func (FlowContextDefinedV1) Version

func (e FlowContextDefinedV1) Version() string

Version returns the value of the meta.version field.

type FlowContextDefinedV2

type FlowContextDefinedV2 struct {
	// Mandatory fields
	Data  FCDV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewFlowContextDefinedV2

func NewFlowContextDefinedV2(modifiers ...Modifier) (*FlowContextDefinedV2, error)

NewFlowContextDefinedV2 creates a new struct pointer that represents major version 2 of EiffelFlowContextDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (FlowContextDefinedV2) DomainID

func (e FlowContextDefinedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (FlowContextDefinedV2) ID

ID returns the value of the meta.id field.

func (*FlowContextDefinedV2) MarshalJSON

func (e *FlowContextDefinedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*FlowContextDefinedV2) SetField

func (e *FlowContextDefinedV2) SetField(fieldName string, value interface{}) error

func (*FlowContextDefinedV2) String

func (e *FlowContextDefinedV2) String() string

String returns the JSON encoding of the event.

func (FlowContextDefinedV2) Time

func (e FlowContextDefinedV2) Time() int64

Time returns the value of the meta.time field.

func (FlowContextDefinedV2) Type

func (e FlowContextDefinedV2) Type() string

Type returns the value of the meta.type field.

func (FlowContextDefinedV2) Version

func (e FlowContextDefinedV2) Version() string

Version returns the value of the meta.version field.

type FlowContextDefinedV3

type FlowContextDefinedV3 struct {
	// Mandatory fields
	Data  FCDV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewFlowContextDefinedV3

func NewFlowContextDefinedV3(modifiers ...Modifier) (*FlowContextDefinedV3, error)

NewFlowContextDefinedV3 creates a new struct pointer that represents major version 3 of EiffelFlowContextDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (FlowContextDefinedV3) DomainID

func (e FlowContextDefinedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (FlowContextDefinedV3) ID

ID returns the value of the meta.id field.

func (*FlowContextDefinedV3) MarshalJSON

func (e *FlowContextDefinedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*FlowContextDefinedV3) SetField

func (e *FlowContextDefinedV3) SetField(fieldName string, value interface{}) error

func (*FlowContextDefinedV3) String

func (e *FlowContextDefinedV3) String() string

String returns the JSON encoding of the event.

func (FlowContextDefinedV3) Time

func (e FlowContextDefinedV3) Time() int64

Time returns the value of the meta.time field.

func (FlowContextDefinedV3) Type

func (e FlowContextDefinedV3) Type() string

Type returns the value of the meta.type field.

func (FlowContextDefinedV3) Version

func (e FlowContextDefinedV3) Version() string

Version returns the value of the meta.version field.

type IDV1Data

type IDV1Data struct {
	// Mandatory fields
	ID      string       `json:"id"`
	Tracker string       `json:"tracker"`
	Type    IDV1DataType `json:"type"`
	URI     string       `json:"uri"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Title      string         `json:"title,omitempty"`
}

type IDV1DataType

type IDV1DataType string
const (
	IDV1DataType_Bug         IDV1DataType = "BUG"
	IDV1DataType_Improvement IDV1DataType = "IMPROVEMENT"
	IDV1DataType_Feature     IDV1DataType = "FEATURE"
	IDV1DataType_WorkItem    IDV1DataType = "WORK_ITEM"
	IDV1DataType_Requirement IDV1DataType = "REQUIREMENT"
	IDV1DataType_Other       IDV1DataType = "OTHER"
)

type IDV2Data

type IDV2Data struct {
	// Mandatory fields
	ID      string       `json:"id"`
	Tracker string       `json:"tracker"`
	Type    IDV2DataType `json:"type"`
	URI     string       `json:"uri"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Title      string         `json:"title,omitempty"`
}

type IDV2DataType

type IDV2DataType string
const (
	IDV2DataType_Bug         IDV2DataType = "BUG"
	IDV2DataType_Improvement IDV2DataType = "IMPROVEMENT"
	IDV2DataType_Feature     IDV2DataType = "FEATURE"
	IDV2DataType_WorkItem    IDV2DataType = "WORK_ITEM"
	IDV2DataType_Requirement IDV2DataType = "REQUIREMENT"
	IDV2DataType_Other       IDV2DataType = "OTHER"
)

type IDV3Data

type IDV3Data struct {
	// Mandatory fields
	ID      string       `json:"id"`
	Tracker string       `json:"tracker"`
	Type    IDV3DataType `json:"type"`
	URI     string       `json:"uri"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Title      string         `json:"title,omitempty"`
}

type IDV3DataType

type IDV3DataType string
const (
	IDV3DataType_Bug         IDV3DataType = "BUG"
	IDV3DataType_Improvement IDV3DataType = "IMPROVEMENT"
	IDV3DataType_Feature     IDV3DataType = "FEATURE"
	IDV3DataType_WorkItem    IDV3DataType = "WORK_ITEM"
	IDV3DataType_Requirement IDV3DataType = "REQUIREMENT"
	IDV3DataType_Other       IDV3DataType = "OTHER"
)

type IVV1Data

type IVV1Data struct {
	// Mandatory fields
	Issues []IVV1DataIssue `json:"issues"`

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type IVV1DataIssue

type IVV1DataIssue struct {
	// Mandatory fields
	ID      string             `json:"id"`
	Tracker string             `json:"tracker"`
	Type    IVV1DataIssueType  `json:"type"`
	URI     string             `json:"uri"`
	Value   IVV1DataIssueValue `json:"value"`
}

type IVV1DataIssueType

type IVV1DataIssueType string
const (
	IVV1DataIssueType_Bug         IVV1DataIssueType = "BUG"
	IVV1DataIssueType_Improvement IVV1DataIssueType = "IMPROVEMENT"
	IVV1DataIssueType_Feature     IVV1DataIssueType = "FEATURE"
	IVV1DataIssueType_WorkItem    IVV1DataIssueType = "WORK_ITEM"
	IVV1DataIssueType_Requirement IVV1DataIssueType = "REQUIREMENT"
	IVV1DataIssueType_Other       IVV1DataIssueType = "OTHER"
)

type IVV1DataIssueValue

type IVV1DataIssueValue string
const (
	IVV1DataIssueValue_Success      IVV1DataIssueValue = "SUCCESS"
	IVV1DataIssueValue_Failure      IVV1DataIssueValue = "FAILURE"
	IVV1DataIssueValue_Inconclusive IVV1DataIssueValue = "INCONCLUSIVE"
)

type IVV2Data

type IVV2Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type IVV3Data

type IVV3Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type IVV4Data

type IVV4Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
}

type IssueDefinedV1

type IssueDefinedV1 struct {

	// Optional fields
	Data  IDV1Data     `json:"data,omitempty"`
	Links EventLinksV1 `json:"links,omitempty"`
	Meta  MetaV1       `json:"meta,omitempty"`
}

func NewIssueDefinedV1

func NewIssueDefinedV1(modifiers ...Modifier) (*IssueDefinedV1, error)

NewIssueDefinedV1 creates a new struct pointer that represents major version 1 of EiffelIssueDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (IssueDefinedV1) DomainID

func (e IssueDefinedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueDefinedV1) ID

func (e IssueDefinedV1) ID() string

ID returns the value of the meta.id field.

func (*IssueDefinedV1) MarshalJSON

func (e *IssueDefinedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueDefinedV1) SetField

func (e *IssueDefinedV1) SetField(fieldName string, value interface{}) error

func (*IssueDefinedV1) String

func (e *IssueDefinedV1) String() string

String returns the JSON encoding of the event.

func (IssueDefinedV1) Time

func (e IssueDefinedV1) Time() int64

Time returns the value of the meta.time field.

func (IssueDefinedV1) Type

func (e IssueDefinedV1) Type() string

Type returns the value of the meta.type field.

func (IssueDefinedV1) Version

func (e IssueDefinedV1) Version() string

Version returns the value of the meta.version field.

type IssueDefinedV2

type IssueDefinedV2 struct {

	// Optional fields
	Data  IDV2Data     `json:"data,omitempty"`
	Links EventLinksV1 `json:"links,omitempty"`
	Meta  MetaV2       `json:"meta,omitempty"`
}

func NewIssueDefinedV2

func NewIssueDefinedV2(modifiers ...Modifier) (*IssueDefinedV2, error)

NewIssueDefinedV2 creates a new struct pointer that represents major version 2 of EiffelIssueDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (IssueDefinedV2) DomainID

func (e IssueDefinedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueDefinedV2) ID

func (e IssueDefinedV2) ID() string

ID returns the value of the meta.id field.

func (*IssueDefinedV2) MarshalJSON

func (e *IssueDefinedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueDefinedV2) SetField

func (e *IssueDefinedV2) SetField(fieldName string, value interface{}) error

func (*IssueDefinedV2) String

func (e *IssueDefinedV2) String() string

String returns the JSON encoding of the event.

func (IssueDefinedV2) Time

func (e IssueDefinedV2) Time() int64

Time returns the value of the meta.time field.

func (IssueDefinedV2) Type

func (e IssueDefinedV2) Type() string

Type returns the value of the meta.type field.

func (IssueDefinedV2) Version

func (e IssueDefinedV2) Version() string

Version returns the value of the meta.version field.

type IssueDefinedV3

type IssueDefinedV3 struct {

	// Optional fields
	Data  IDV3Data     `json:"data,omitempty"`
	Links EventLinksV1 `json:"links,omitempty"`
	Meta  MetaV3       `json:"meta,omitempty"`
}

func NewIssueDefinedV3

func NewIssueDefinedV3(modifiers ...Modifier) (*IssueDefinedV3, error)

NewIssueDefinedV3 creates a new struct pointer that represents major version 3 of EiffelIssueDefinedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (IssueDefinedV3) DomainID

func (e IssueDefinedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueDefinedV3) ID

func (e IssueDefinedV3) ID() string

ID returns the value of the meta.id field.

func (*IssueDefinedV3) MarshalJSON

func (e *IssueDefinedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueDefinedV3) SetField

func (e *IssueDefinedV3) SetField(fieldName string, value interface{}) error

func (*IssueDefinedV3) String

func (e *IssueDefinedV3) String() string

String returns the JSON encoding of the event.

func (IssueDefinedV3) Time

func (e IssueDefinedV3) Time() int64

Time returns the value of the meta.time field.

func (IssueDefinedV3) Type

func (e IssueDefinedV3) Type() string

Type returns the value of the meta.type field.

func (IssueDefinedV3) Version

func (e IssueDefinedV3) Version() string

Version returns the value of the meta.version field.

type IssueVerifiedV1

type IssueVerifiedV1 struct {
	// Mandatory fields
	Data  IVV1Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewIssueVerifiedV1

func NewIssueVerifiedV1(modifiers ...Modifier) (*IssueVerifiedV1, error)

NewIssueVerifiedV1 creates a new struct pointer that represents major version 1 of EiffelIssueVerifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (IssueVerifiedV1) DomainID

func (e IssueVerifiedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueVerifiedV1) ID

func (e IssueVerifiedV1) ID() string

ID returns the value of the meta.id field.

func (*IssueVerifiedV1) MarshalJSON

func (e *IssueVerifiedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueVerifiedV1) SetField

func (e *IssueVerifiedV1) SetField(fieldName string, value interface{}) error

func (*IssueVerifiedV1) String

func (e *IssueVerifiedV1) String() string

String returns the JSON encoding of the event.

func (IssueVerifiedV1) Time

func (e IssueVerifiedV1) Time() int64

Time returns the value of the meta.time field.

func (IssueVerifiedV1) Type

func (e IssueVerifiedV1) Type() string

Type returns the value of the meta.type field.

func (IssueVerifiedV1) Version

func (e IssueVerifiedV1) Version() string

Version returns the value of the meta.version field.

type IssueVerifiedV2

type IssueVerifiedV2 struct {
	// Mandatory fields
	Data  IVV2Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewIssueVerifiedV2

func NewIssueVerifiedV2(modifiers ...Modifier) (*IssueVerifiedV2, error)

NewIssueVerifiedV2 creates a new struct pointer that represents major version 2 of EiffelIssueVerifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (IssueVerifiedV2) DomainID

func (e IssueVerifiedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueVerifiedV2) ID

func (e IssueVerifiedV2) ID() string

ID returns the value of the meta.id field.

func (*IssueVerifiedV2) MarshalJSON

func (e *IssueVerifiedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueVerifiedV2) SetField

func (e *IssueVerifiedV2) SetField(fieldName string, value interface{}) error

func (*IssueVerifiedV2) String

func (e *IssueVerifiedV2) String() string

String returns the JSON encoding of the event.

func (IssueVerifiedV2) Time

func (e IssueVerifiedV2) Time() int64

Time returns the value of the meta.time field.

func (IssueVerifiedV2) Type

func (e IssueVerifiedV2) Type() string

Type returns the value of the meta.type field.

func (IssueVerifiedV2) Version

func (e IssueVerifiedV2) Version() string

Version returns the value of the meta.version field.

type IssueVerifiedV3

type IssueVerifiedV3 struct {
	// Mandatory fields
	Data  IVV3Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewIssueVerifiedV3

func NewIssueVerifiedV3(modifiers ...Modifier) (*IssueVerifiedV3, error)

NewIssueVerifiedV3 creates a new struct pointer that represents major version 3 of EiffelIssueVerifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (IssueVerifiedV3) DomainID

func (e IssueVerifiedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueVerifiedV3) ID

func (e IssueVerifiedV3) ID() string

ID returns the value of the meta.id field.

func (*IssueVerifiedV3) MarshalJSON

func (e *IssueVerifiedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueVerifiedV3) SetField

func (e *IssueVerifiedV3) SetField(fieldName string, value interface{}) error

func (*IssueVerifiedV3) String

func (e *IssueVerifiedV3) String() string

String returns the JSON encoding of the event.

func (IssueVerifiedV3) Time

func (e IssueVerifiedV3) Time() int64

Time returns the value of the meta.time field.

func (IssueVerifiedV3) Type

func (e IssueVerifiedV3) Type() string

Type returns the value of the meta.type field.

func (IssueVerifiedV3) Version

func (e IssueVerifiedV3) Version() string

Version returns the value of the meta.version field.

type IssueVerifiedV4

type IssueVerifiedV4 struct {
	// Mandatory fields
	Data  IVV4Data     `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewIssueVerifiedV4

func NewIssueVerifiedV4(modifiers ...Modifier) (*IssueVerifiedV4, error)

NewIssueVerifiedV4 creates a new struct pointer that represents major version 4 of EiffelIssueVerifiedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 4.x.x currently known by this SDK.

func (IssueVerifiedV4) DomainID

func (e IssueVerifiedV4) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (IssueVerifiedV4) ID

func (e IssueVerifiedV4) ID() string

ID returns the value of the meta.id field.

func (*IssueVerifiedV4) MarshalJSON

func (e *IssueVerifiedV4) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*IssueVerifiedV4) SetField

func (e *IssueVerifiedV4) SetField(fieldName string, value interface{}) error

func (*IssueVerifiedV4) String

func (e *IssueVerifiedV4) String() string

String returns the JSON encoding of the event.

func (IssueVerifiedV4) Time

func (e IssueVerifiedV4) Time() int64

Time returns the value of the meta.time field.

func (IssueVerifiedV4) Type

func (e IssueVerifiedV4) Type() string

Type returns the value of the meta.type field.

func (IssueVerifiedV4) Version

func (e IssueVerifiedV4) Version() string

Version returns the value of the meta.version field.

type LinkFinder

type LinkFinder interface {
	// FindAll returns the IDs of all links of the specified type,
	// or an empty slice if no such links are found.
	FindAll(linkType string) []string

	// FindFirst returns the ID of the first encountered link of the
	// specified type, or an empty string if no such link is found.
	FindFirst(linkType string) string
}

LinkFinder can search through a collection of links and locate those that have a wanted type.

type MetaTeller

type MetaTeller interface {
	// ID returns the value of the meta.id field.
	ID() string

	// Type returns the value of the meta.type field.
	Type() string

	// Version returns the value of the meta.version field.
	Version() string

	// Time returns the value of the meta.time field.
	Time() int64

	// DomainID returns the value of the meta.source.domainId field.
	DomainID() string
}

MetaTeller allow introspection of key metadata fields of anything that resembles an Eiffel event. Not all meta fields are included since they may vary over time, but is believed to be a time-invariant subset.

type MetaV1

type MetaV1 struct {
	// Mandatory fields
	ID      string `json:"id"`
	Time    int64  `json:"time"`
	Type    string `json:"type"`
	Version string `json:"version"`

	// Optional fields
	Security MetaV1Security `json:"security,omitempty"`
	Source   MetaV1Source   `json:"source,omitempty"`
	Tags     []string       `json:"tags,omitempty"`
}

type MetaV1Security

type MetaV1Security struct {

	// Optional fields
	SDM MetaV1SecuritySDM `json:"sdm,omitempty"`
}

type MetaV1SecuritySDM

type MetaV1SecuritySDM struct {
	// Mandatory fields
	AuthorIdentity  string `json:"authorIdentity"`
	EncryptedDigest string `json:"encryptedDigest"`
}

type MetaV1Source

type MetaV1Source struct {

	// Optional fields
	DomainID   string                 `json:"domainId,omitempty"`
	Host       string                 `json:"host,omitempty"`
	Name       string                 `json:"name,omitempty"`
	Serializer MetaV1SourceSerializer `json:"serializer,omitempty"`
	URI        string                 `json:"uri,omitempty"`
}

type MetaV1SourceSerializer

type MetaV1SourceSerializer struct {
	// Mandatory fields
	ArtifactID string `json:"artifactId"`
	GroupID    string `json:"groupId"`
	Version    string `json:"version"`
}

type MetaV2

type MetaV2 struct {
	// Mandatory fields
	ID      string `json:"id"`
	Time    int64  `json:"time"`
	Type    string `json:"type"`
	Version string `json:"version"`

	// Optional fields
	Security MetaV2Security `json:"security,omitempty"`
	Source   MetaV2Source   `json:"source,omitempty"`
	Tags     []string       `json:"tags,omitempty"`
}

type MetaV2Security

type MetaV2Security struct {

	// Optional fields
	SDM MetaV2SecuritySDM `json:"sdm,omitempty"`
}

type MetaV2SecuritySDM

type MetaV2SecuritySDM struct {
	// Mandatory fields
	AuthorIdentity  string `json:"authorIdentity"`
	EncryptedDigest string `json:"encryptedDigest"`
}

type MetaV2Source

type MetaV2Source struct {

	// Optional fields
	DomainID   string `json:"domainId,omitempty"`
	Host       string `json:"host,omitempty"`
	Name       string `json:"name,omitempty"`
	Serializer string `json:"serializer,omitempty"`
	URI        string `json:"uri,omitempty"`
}

type MetaV3

type MetaV3 struct {
	// Mandatory fields
	ID      string `json:"id"`
	Time    int64  `json:"time"`
	Type    string `json:"type"`
	Version string `json:"version"`

	// Optional fields
	SchemaURI string         `json:"schemaUri,omitempty"`
	Security  MetaV3Security `json:"security,omitempty"`
	Source    MetaV3Source   `json:"source,omitempty"`
	Tags      []string       `json:"tags,omitempty"`
}

type MetaV3Security

type MetaV3Security struct {
	// Mandatory fields
	AuthorIdentity string `json:"authorIdentity"`

	// Optional fields
	IntegrityProtection MetaV3SecurityIntegrityProtection  `json:"integrityProtection,omitempty"`
	SequenceProtection  []MetaV3SecuritySequenceProtection `json:"sequenceProtection,omitempty"`
}

type MetaV3SecurityIntegrityProtection

type MetaV3SecurityIntegrityProtection struct {
	// Mandatory fields
	Alg       MetaV3SecurityIntegrityProtectionAlg `json:"alg"`
	Signature string                               `json:"signature"`

	// Optional fields
	PublicKey string `json:"publicKey,omitempty"`
}

type MetaV3SecurityIntegrityProtectionAlg

type MetaV3SecurityIntegrityProtectionAlg string
const (
	MetaV3SecurityIntegrityProtectionAlg_HS256 MetaV3SecurityIntegrityProtectionAlg = "HS256"
	MetaV3SecurityIntegrityProtectionAlg_HS384 MetaV3SecurityIntegrityProtectionAlg = "HS384"
	MetaV3SecurityIntegrityProtectionAlg_HS512 MetaV3SecurityIntegrityProtectionAlg = "HS512"
	MetaV3SecurityIntegrityProtectionAlg_RS256 MetaV3SecurityIntegrityProtectionAlg = "RS256"
	MetaV3SecurityIntegrityProtectionAlg_RS384 MetaV3SecurityIntegrityProtectionAlg = "RS384"
	MetaV3SecurityIntegrityProtectionAlg_RS512 MetaV3SecurityIntegrityProtectionAlg = "RS512"
	MetaV3SecurityIntegrityProtectionAlg_ES256 MetaV3SecurityIntegrityProtectionAlg = "ES256"
	MetaV3SecurityIntegrityProtectionAlg_ES384 MetaV3SecurityIntegrityProtectionAlg = "ES384"
	MetaV3SecurityIntegrityProtectionAlg_ES512 MetaV3SecurityIntegrityProtectionAlg = "ES512"
	MetaV3SecurityIntegrityProtectionAlg_PS256 MetaV3SecurityIntegrityProtectionAlg = "PS256"
	MetaV3SecurityIntegrityProtectionAlg_PS384 MetaV3SecurityIntegrityProtectionAlg = "PS384"
	MetaV3SecurityIntegrityProtectionAlg_PS512 MetaV3SecurityIntegrityProtectionAlg = "PS512"
)

type MetaV3SecuritySequenceProtection

type MetaV3SecuritySequenceProtection struct {
	// Mandatory fields
	Position     int64  `json:"position"`
	SequenceName string `json:"sequenceName"`
}

type MetaV3Source

type MetaV3Source struct {

	// Optional fields
	DomainID   string `json:"domainId,omitempty"`
	Host       string `json:"host,omitempty"`
	Name       string `json:"name,omitempty"`
	Serializer string `json:"serializer,omitempty"`
	URI        string `json:"uri,omitempty"`
}

type Modifier

type Modifier func(fieldSetter FieldSetter) error

Modifier defines a kind of function that modifies an untyped Eiffel event. It can be passed to factory functions to adorn the newly created event with additional fields. The main use case is generic field changes that should apply to all events emitted from an application, e.g. the setting of meta.source.domainId.

Using modifiers together with a factory function allows creation of new factory functions that include the modifiers. Those factory function can be passed to other parts of the application to reduce duplication.

Example
// Define a factory function that encapsulates a WithDomainID modifier
compositionFactory := func() (*CompositionDefinedV3, error) {
	return NewCompositionDefinedV3(WithSourceDomainID("example.com"))
}

// Use the newly defined factory to create a customized new event
myComposition, _ := compositionFactory()
fmt.Println(myComposition.Meta.Source.DomainID)
Output:

example.com

func WithAutoSourceHost

func WithAutoSourceHost() Modifier

WithAutoSourceHost attempts to figure out the FQDN of the current host and stores it in the meta.source.host field. WithVersion sets the meta.version field of a newly created event.

func WithAutoSourceSerializer

func WithAutoSourceSerializer(version string) Modifier

WithAutoSourceSerializer sets the meta.source.serializer field to a purl describing the program's main package. It can't figure out the main package version so that value needs to be passed via the version parameter.

func WithSourceDomainID

func WithSourceDomainID(domainID string) Modifier

WithSourceDomainID sets the meta.source.domainId field of a newly created event.

func WithSourceHost

func WithSourceHost(hostname string) Modifier

WithSourceHost sets the meta.source.host field of a newly created event.

func WithSourceName

func WithSourceName(name string) Modifier

WithSourceName sets the meta.source.name field of a newly created event.

func WithSourceSerializer

func WithSourceSerializer(serializer string) Modifier

WithSourceSerializer sets the meta.source.serializer field of a newly created event.

func WithSourceURI

func WithSourceURI(uri string) Modifier

WithSourceURI sets the meta.source.uri field of a newly created event.

func WithVersion

func WithVersion(version string) Modifier

WithVersion sets the meta.version field of a newly created event. It's typically used to select a different minor or patch version than what the default factory function does.

type SCCV1Data

type SCCV1Data struct {

	// Optional fields
	Author                SCCV1DataAuthor                `json:"author,omitempty"`
	CcCompositeIdentifier SCCV1DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	Change                SCCV1DataChange                `json:"change,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCCV1DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCCV1DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	Issues                []interface{}                  `json:"issues,omitempty"`
	SvnIdentifier         SCCV1DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCCV1DataAuthor

type SCCV1DataAuthor struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCCV1DataCcCompositeIdentifier

type SCCV1DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCCV1DataChange

type SCCV1DataChange struct {

	// Optional fields
	Deletions  int64  `json:"deletions,omitempty"`
	Details    string `json:"details,omitempty"`
	Files      string `json:"files,omitempty"`
	ID         string `json:"id,omitempty"`
	Insertions int64  `json:"insertions,omitempty"`
	Tracker    string `json:"tracker,omitempty"`
}

type SCCV1DataGitIdentifier

type SCCV1DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV1DataHgIdentifier

type SCCV1DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV1DataSvnIdentifier

type SCCV1DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCCV2Data

type SCCV2Data struct {

	// Optional fields
	Author                SCCV2DataAuthor                `json:"author,omitempty"`
	CcCompositeIdentifier SCCV2DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	Change                SCCV2DataChange                `json:"change,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCCV2DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCCV2DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	SvnIdentifier         SCCV2DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCCV2DataAuthor

type SCCV2DataAuthor struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCCV2DataCcCompositeIdentifier

type SCCV2DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCCV2DataChange

type SCCV2DataChange struct {

	// Optional fields
	Deletions  int64  `json:"deletions,omitempty"`
	Details    string `json:"details,omitempty"`
	Files      string `json:"files,omitempty"`
	ID         string `json:"id,omitempty"`
	Insertions int64  `json:"insertions,omitempty"`
	Tracker    string `json:"tracker,omitempty"`
}

type SCCV2DataGitIdentifier

type SCCV2DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV2DataHgIdentifier

type SCCV2DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV2DataSvnIdentifier

type SCCV2DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCCV3Data

type SCCV3Data struct {

	// Optional fields
	Author                SCCV3DataAuthor                `json:"author,omitempty"`
	CcCompositeIdentifier SCCV3DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	Change                SCCV3DataChange                `json:"change,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCCV3DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCCV3DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	SvnIdentifier         SCCV3DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCCV3DataAuthor

type SCCV3DataAuthor struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCCV3DataCcCompositeIdentifier

type SCCV3DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCCV3DataChange

type SCCV3DataChange struct {

	// Optional fields
	Deletions  int64  `json:"deletions,omitempty"`
	Details    string `json:"details,omitempty"`
	Files      string `json:"files,omitempty"`
	ID         string `json:"id,omitempty"`
	Insertions int64  `json:"insertions,omitempty"`
	Tracker    string `json:"tracker,omitempty"`
}

type SCCV3DataGitIdentifier

type SCCV3DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV3DataHgIdentifier

type SCCV3DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV3DataSvnIdentifier

type SCCV3DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCCV4Data

type SCCV4Data struct {

	// Optional fields
	Author                SCCV4DataAuthor                `json:"author,omitempty"`
	CcCompositeIdentifier SCCV4DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	Change                SCCV4DataChange                `json:"change,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCCV4DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCCV4DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	SvnIdentifier         SCCV4DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCCV4DataAuthor

type SCCV4DataAuthor struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCCV4DataCcCompositeIdentifier

type SCCV4DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCCV4DataChange

type SCCV4DataChange struct {

	// Optional fields
	Deletions  int64  `json:"deletions,omitempty"`
	Details    string `json:"details,omitempty"`
	Files      string `json:"files,omitempty"`
	ID         string `json:"id,omitempty"`
	Insertions int64  `json:"insertions,omitempty"`
	Tracker    string `json:"tracker,omitempty"`
}

type SCCV4DataGitIdentifier

type SCCV4DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV4DataHgIdentifier

type SCCV4DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCCV4DataSvnIdentifier

type SCCV4DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCSV1Data

type SCSV1Data struct {

	// Optional fields
	CcCompositeIdentifier SCSV1DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCSV1DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCSV1DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	Submitter             SCSV1DataSubmitter             `json:"submitter,omitempty"`
	SvnIdentifier         SCSV1DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCSV1DataCcCompositeIdentifier

type SCSV1DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCSV1DataGitIdentifier

type SCSV1DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV1DataHgIdentifier

type SCSV1DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV1DataSubmitter

type SCSV1DataSubmitter struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCSV1DataSvnIdentifier

type SCSV1DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCSV2Data

type SCSV2Data struct {

	// Optional fields
	CcCompositeIdentifier SCSV2DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCSV2DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCSV2DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	Submitter             SCSV2DataSubmitter             `json:"submitter,omitempty"`
	SvnIdentifier         SCSV2DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCSV2DataCcCompositeIdentifier

type SCSV2DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCSV2DataGitIdentifier

type SCSV2DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV2DataHgIdentifier

type SCSV2DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV2DataSubmitter

type SCSV2DataSubmitter struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCSV2DataSvnIdentifier

type SCSV2DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SCSV3Data

type SCSV3Data struct {

	// Optional fields
	CcCompositeIdentifier SCSV3DataCcCompositeIdentifier `json:"ccCompositeIdentifier,omitempty"`
	CustomData            []CustomDataV1                 `json:"customData,omitempty"`
	GitIdentifier         SCSV3DataGitIdentifier         `json:"gitIdentifier,omitempty"`
	HgIdentifier          SCSV3DataHgIdentifier          `json:"hgIdentifier,omitempty"`
	Submitter             SCSV3DataSubmitter             `json:"submitter,omitempty"`
	SvnIdentifier         SCSV3DataSvnIdentifier         `json:"svnIdentifier,omitempty"`
}

type SCSV3DataCcCompositeIdentifier

type SCSV3DataCcCompositeIdentifier struct {
	// Mandatory fields
	Branch     string   `json:"branch"`
	ConfigSpec string   `json:"configSpec"`
	Vobs       []string `json:"vobs"`
}

type SCSV3DataGitIdentifier

type SCSV3DataGitIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV3DataHgIdentifier

type SCSV3DataHgIdentifier struct {
	// Mandatory fields
	CommitID string `json:"commitId"`
	RepoURI  string `json:"repoUri"`

	// Optional fields
	Branch   string `json:"branch,omitempty"`
	RepoName string `json:"repoName,omitempty"`
}

type SCSV3DataSubmitter

type SCSV3DataSubmitter struct {

	// Optional fields
	Email string `json:"email,omitempty"`
	Group string `json:"group,omitempty"`
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
}

type SCSV3DataSvnIdentifier

type SCSV3DataSvnIdentifier struct {
	// Mandatory fields
	Directory string `json:"directory"`
	RepoURI   string `json:"repoUri"`
	Revision  int64  `json:"revision"`

	// Optional fields
	RepoName string `json:"repoName,omitempty"`
}

type SourceChangeCreatedV1

type SourceChangeCreatedV1 struct {
	// Mandatory fields
	Data  SCCV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewSourceChangeCreatedV1

func NewSourceChangeCreatedV1(modifiers ...Modifier) (*SourceChangeCreatedV1, error)

NewSourceChangeCreatedV1 creates a new struct pointer that represents major version 1 of EiffelSourceChangeCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (SourceChangeCreatedV1) DomainID

func (e SourceChangeCreatedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeCreatedV1) ID

ID returns the value of the meta.id field.

func (*SourceChangeCreatedV1) MarshalJSON

func (e *SourceChangeCreatedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeCreatedV1) SetField

func (e *SourceChangeCreatedV1) SetField(fieldName string, value interface{}) error

func (*SourceChangeCreatedV1) String

func (e *SourceChangeCreatedV1) String() string

String returns the JSON encoding of the event.

func (SourceChangeCreatedV1) Time

func (e SourceChangeCreatedV1) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeCreatedV1) Type

func (e SourceChangeCreatedV1) Type() string

Type returns the value of the meta.type field.

func (SourceChangeCreatedV1) Version

func (e SourceChangeCreatedV1) Version() string

Version returns the value of the meta.version field.

type SourceChangeCreatedV2

type SourceChangeCreatedV2 struct {
	// Mandatory fields
	Data  SCCV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewSourceChangeCreatedV2

func NewSourceChangeCreatedV2(modifiers ...Modifier) (*SourceChangeCreatedV2, error)

NewSourceChangeCreatedV2 creates a new struct pointer that represents major version 2 of EiffelSourceChangeCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (SourceChangeCreatedV2) DomainID

func (e SourceChangeCreatedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeCreatedV2) ID

ID returns the value of the meta.id field.

func (*SourceChangeCreatedV2) MarshalJSON

func (e *SourceChangeCreatedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeCreatedV2) SetField

func (e *SourceChangeCreatedV2) SetField(fieldName string, value interface{}) error

func (*SourceChangeCreatedV2) String

func (e *SourceChangeCreatedV2) String() string

String returns the JSON encoding of the event.

func (SourceChangeCreatedV2) Time

func (e SourceChangeCreatedV2) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeCreatedV2) Type

func (e SourceChangeCreatedV2) Type() string

Type returns the value of the meta.type field.

func (SourceChangeCreatedV2) Version

func (e SourceChangeCreatedV2) Version() string

Version returns the value of the meta.version field.

type SourceChangeCreatedV3

type SourceChangeCreatedV3 struct {
	// Mandatory fields
	Data  SCCV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewSourceChangeCreatedV3

func NewSourceChangeCreatedV3(modifiers ...Modifier) (*SourceChangeCreatedV3, error)

NewSourceChangeCreatedV3 creates a new struct pointer that represents major version 3 of EiffelSourceChangeCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (SourceChangeCreatedV3) DomainID

func (e SourceChangeCreatedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeCreatedV3) ID

ID returns the value of the meta.id field.

func (*SourceChangeCreatedV3) MarshalJSON

func (e *SourceChangeCreatedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeCreatedV3) SetField

func (e *SourceChangeCreatedV3) SetField(fieldName string, value interface{}) error

func (*SourceChangeCreatedV3) String

func (e *SourceChangeCreatedV3) String() string

String returns the JSON encoding of the event.

func (SourceChangeCreatedV3) Time

func (e SourceChangeCreatedV3) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeCreatedV3) Type

func (e SourceChangeCreatedV3) Type() string

Type returns the value of the meta.type field.

func (SourceChangeCreatedV3) Version

func (e SourceChangeCreatedV3) Version() string

Version returns the value of the meta.version field.

type SourceChangeCreatedV4

type SourceChangeCreatedV4 struct {
	// Mandatory fields
	Data  SCCV4Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewSourceChangeCreatedV4

func NewSourceChangeCreatedV4(modifiers ...Modifier) (*SourceChangeCreatedV4, error)

NewSourceChangeCreatedV4 creates a new struct pointer that represents major version 4 of EiffelSourceChangeCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 4.x.x currently known by this SDK.

func (SourceChangeCreatedV4) DomainID

func (e SourceChangeCreatedV4) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeCreatedV4) ID

ID returns the value of the meta.id field.

func (*SourceChangeCreatedV4) MarshalJSON

func (e *SourceChangeCreatedV4) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeCreatedV4) SetField

func (e *SourceChangeCreatedV4) SetField(fieldName string, value interface{}) error

func (*SourceChangeCreatedV4) String

func (e *SourceChangeCreatedV4) String() string

String returns the JSON encoding of the event.

func (SourceChangeCreatedV4) Time

func (e SourceChangeCreatedV4) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeCreatedV4) Type

func (e SourceChangeCreatedV4) Type() string

Type returns the value of the meta.type field.

func (SourceChangeCreatedV4) Version

func (e SourceChangeCreatedV4) Version() string

Version returns the value of the meta.version field.

type SourceChangeSubmittedV1

type SourceChangeSubmittedV1 struct {
	// Mandatory fields
	Data  SCSV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewSourceChangeSubmittedV1

func NewSourceChangeSubmittedV1(modifiers ...Modifier) (*SourceChangeSubmittedV1, error)

NewSourceChangeSubmittedV1 creates a new struct pointer that represents major version 1 of EiffelSourceChangeSubmittedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (SourceChangeSubmittedV1) DomainID

func (e SourceChangeSubmittedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeSubmittedV1) ID

ID returns the value of the meta.id field.

func (*SourceChangeSubmittedV1) MarshalJSON

func (e *SourceChangeSubmittedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeSubmittedV1) SetField

func (e *SourceChangeSubmittedV1) SetField(fieldName string, value interface{}) error

func (*SourceChangeSubmittedV1) String

func (e *SourceChangeSubmittedV1) String() string

String returns the JSON encoding of the event.

func (SourceChangeSubmittedV1) Time

func (e SourceChangeSubmittedV1) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeSubmittedV1) Type

Type returns the value of the meta.type field.

func (SourceChangeSubmittedV1) Version

func (e SourceChangeSubmittedV1) Version() string

Version returns the value of the meta.version field.

type SourceChangeSubmittedV2

type SourceChangeSubmittedV2 struct {
	// Mandatory fields
	Data  SCSV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewSourceChangeSubmittedV2

func NewSourceChangeSubmittedV2(modifiers ...Modifier) (*SourceChangeSubmittedV2, error)

NewSourceChangeSubmittedV2 creates a new struct pointer that represents major version 2 of EiffelSourceChangeSubmittedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (SourceChangeSubmittedV2) DomainID

func (e SourceChangeSubmittedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeSubmittedV2) ID

ID returns the value of the meta.id field.

func (*SourceChangeSubmittedV2) MarshalJSON

func (e *SourceChangeSubmittedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeSubmittedV2) SetField

func (e *SourceChangeSubmittedV2) SetField(fieldName string, value interface{}) error

func (*SourceChangeSubmittedV2) String

func (e *SourceChangeSubmittedV2) String() string

String returns the JSON encoding of the event.

func (SourceChangeSubmittedV2) Time

func (e SourceChangeSubmittedV2) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeSubmittedV2) Type

Type returns the value of the meta.type field.

func (SourceChangeSubmittedV2) Version

func (e SourceChangeSubmittedV2) Version() string

Version returns the value of the meta.version field.

type SourceChangeSubmittedV3

type SourceChangeSubmittedV3 struct {
	// Mandatory fields
	Data  SCSV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewSourceChangeSubmittedV3

func NewSourceChangeSubmittedV3(modifiers ...Modifier) (*SourceChangeSubmittedV3, error)

NewSourceChangeSubmittedV3 creates a new struct pointer that represents major version 3 of EiffelSourceChangeSubmittedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (SourceChangeSubmittedV3) DomainID

func (e SourceChangeSubmittedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (SourceChangeSubmittedV3) ID

ID returns the value of the meta.id field.

func (*SourceChangeSubmittedV3) MarshalJSON

func (e *SourceChangeSubmittedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*SourceChangeSubmittedV3) SetField

func (e *SourceChangeSubmittedV3) SetField(fieldName string, value interface{}) error

func (*SourceChangeSubmittedV3) String

func (e *SourceChangeSubmittedV3) String() string

String returns the JSON encoding of the event.

func (SourceChangeSubmittedV3) Time

func (e SourceChangeSubmittedV3) Time() int64

Time returns the value of the meta.time field.

func (SourceChangeSubmittedV3) Type

Type returns the value of the meta.type field.

func (SourceChangeSubmittedV3) Version

func (e SourceChangeSubmittedV3) Version() string

Version returns the value of the meta.version field.

type TCCV1Data

type TCCV1Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type TCCV2Data

type TCCV2Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type TCCV3Data

type TCCV3Data struct {

	// Optional fields
	CustomData []CustomDataV1 `json:"customData,omitempty"`
	Reason     string         `json:"reason,omitempty"`
}

type TCFV1Data

type TCFV1Data struct {
	// Mandatory fields
	Outcome TCFV1DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	PersistentLogs []TCFV1DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TCFV1DataOutcome

type TCFV1DataOutcome struct {
	// Mandatory fields
	Conclusion TCFV1DataOutcomeConclusion `json:"conclusion"`
	Verdict    TCFV1DataOutcomeVerdict    `json:"verdict"`

	// Optional fields
	Description string                   `json:"description,omitempty"`
	Metrics     []TCFV1DataOutcomeMetric `json:"metrics,omitempty"`
}

type TCFV1DataOutcomeConclusion

type TCFV1DataOutcomeConclusion string
const (
	TCFV1DataOutcomeConclusion_Successful   TCFV1DataOutcomeConclusion = "SUCCESSFUL"
	TCFV1DataOutcomeConclusion_Failed       TCFV1DataOutcomeConclusion = "FAILED"
	TCFV1DataOutcomeConclusion_Aborted      TCFV1DataOutcomeConclusion = "ABORTED"
	TCFV1DataOutcomeConclusion_TimedOut     TCFV1DataOutcomeConclusion = "TIMED_OUT"
	TCFV1DataOutcomeConclusion_Inconclusive TCFV1DataOutcomeConclusion = "INCONCLUSIVE"
)

type TCFV1DataOutcomeMetric

type TCFV1DataOutcomeMetric struct {
	// Mandatory fields
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type TCFV1DataOutcomeVerdict

type TCFV1DataOutcomeVerdict string
const (
	TCFV1DataOutcomeVerdict_Passed       TCFV1DataOutcomeVerdict = "PASSED"
	TCFV1DataOutcomeVerdict_Failed       TCFV1DataOutcomeVerdict = "FAILED"
	TCFV1DataOutcomeVerdict_Inconclusive TCFV1DataOutcomeVerdict = "INCONCLUSIVE"
)

type TCFV1DataPersistentLog

type TCFV1DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TCFV2Data

type TCFV2Data struct {
	// Mandatory fields
	Outcome TCFV2DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	PersistentLogs []TCFV2DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TCFV2DataOutcome

type TCFV2DataOutcome struct {
	// Mandatory fields
	Conclusion TCFV2DataOutcomeConclusion `json:"conclusion"`
	Verdict    TCFV2DataOutcomeVerdict    `json:"verdict"`

	// Optional fields
	Description string                   `json:"description,omitempty"`
	Metrics     []TCFV2DataOutcomeMetric `json:"metrics,omitempty"`
}

type TCFV2DataOutcomeConclusion

type TCFV2DataOutcomeConclusion string
const (
	TCFV2DataOutcomeConclusion_Successful   TCFV2DataOutcomeConclusion = "SUCCESSFUL"
	TCFV2DataOutcomeConclusion_Failed       TCFV2DataOutcomeConclusion = "FAILED"
	TCFV2DataOutcomeConclusion_Aborted      TCFV2DataOutcomeConclusion = "ABORTED"
	TCFV2DataOutcomeConclusion_TimedOut     TCFV2DataOutcomeConclusion = "TIMED_OUT"
	TCFV2DataOutcomeConclusion_Inconclusive TCFV2DataOutcomeConclusion = "INCONCLUSIVE"
)

type TCFV2DataOutcomeMetric

type TCFV2DataOutcomeMetric struct {
	// Mandatory fields
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type TCFV2DataOutcomeVerdict

type TCFV2DataOutcomeVerdict string
const (
	TCFV2DataOutcomeVerdict_Passed       TCFV2DataOutcomeVerdict = "PASSED"
	TCFV2DataOutcomeVerdict_Failed       TCFV2DataOutcomeVerdict = "FAILED"
	TCFV2DataOutcomeVerdict_Inconclusive TCFV2DataOutcomeVerdict = "INCONCLUSIVE"
)

type TCFV2DataPersistentLog

type TCFV2DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TCFV3Data

type TCFV3Data struct {
	// Mandatory fields
	Outcome TCFV3DataOutcome `json:"outcome"`

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	PersistentLogs []TCFV3DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TCFV3DataOutcome

type TCFV3DataOutcome struct {
	// Mandatory fields
	Conclusion TCFV3DataOutcomeConclusion `json:"conclusion"`
	Verdict    TCFV3DataOutcomeVerdict    `json:"verdict"`

	// Optional fields
	Description string                   `json:"description,omitempty"`
	Metrics     []TCFV3DataOutcomeMetric `json:"metrics,omitempty"`
}

type TCFV3DataOutcomeConclusion

type TCFV3DataOutcomeConclusion string
const (
	TCFV3DataOutcomeConclusion_Successful   TCFV3DataOutcomeConclusion = "SUCCESSFUL"
	TCFV3DataOutcomeConclusion_Failed       TCFV3DataOutcomeConclusion = "FAILED"
	TCFV3DataOutcomeConclusion_Aborted      TCFV3DataOutcomeConclusion = "ABORTED"
	TCFV3DataOutcomeConclusion_TimedOut     TCFV3DataOutcomeConclusion = "TIMED_OUT"
	TCFV3DataOutcomeConclusion_Inconclusive TCFV3DataOutcomeConclusion = "INCONCLUSIVE"
)

type TCFV3DataOutcomeMetric

type TCFV3DataOutcomeMetric struct {
	// Mandatory fields
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type TCFV3DataOutcomeVerdict

type TCFV3DataOutcomeVerdict string
const (
	TCFV3DataOutcomeVerdict_Passed       TCFV3DataOutcomeVerdict = "PASSED"
	TCFV3DataOutcomeVerdict_Failed       TCFV3DataOutcomeVerdict = "FAILED"
	TCFV3DataOutcomeVerdict_Inconclusive TCFV3DataOutcomeVerdict = "INCONCLUSIVE"
)

type TCFV3DataPersistentLog

type TCFV3DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type TCSV1Data

type TCSV1Data struct {

	// Optional fields
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	Executor   string             `json:"executor,omitempty"`
	LiveLogs   []TCSV1DataLiveLog `json:"liveLogs,omitempty"`
}

type TCSV1DataLiveLog

type TCSV1DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TCSV2Data

type TCSV2Data struct {

	// Optional fields
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	Executor   string             `json:"executor,omitempty"`
	LiveLogs   []TCSV2DataLiveLog `json:"liveLogs,omitempty"`
}

type TCSV2DataLiveLog

type TCSV2DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TCSV3Data

type TCSV3Data struct {

	// Optional fields
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	Executor   string             `json:"executor,omitempty"`
	LiveLogs   []TCSV3DataLiveLog `json:"liveLogs,omitempty"`
}

type TCSV3DataLiveLog

type TCSV3DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type TCTV1Data

type TCTV1Data struct {
	// Mandatory fields
	TestCase TCTV1DataTestCase `json:"testCase"`

	// Optional fields
	CustomData    []CustomDataV1         `json:"customData,omitempty"`
	ExecutionType TCTV1DataExecutionType `json:"executionType,omitempty"`
	Parameters    []TCTV1DataParameter   `json:"parameters,omitempty"`
	RecipeID      string                 `json:"recipeId,omitempty"`
	Triggers      []TCTV1DataTrigger     `json:"triggers,omitempty"`
}

type TCTV1DataExecutionType

type TCTV1DataExecutionType string
const (
	TCTV1DataExecutionType_Manual        TCTV1DataExecutionType = "MANUAL"
	TCTV1DataExecutionType_SemiAutomated TCTV1DataExecutionType = "SEMI_AUTOMATED"
	TCTV1DataExecutionType_Automated     TCTV1DataExecutionType = "AUTOMATED"
	TCTV1DataExecutionType_Other         TCTV1DataExecutionType = "OTHER"
)

type TCTV1DataParameter

type TCTV1DataParameter struct {
	// Mandatory fields
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TCTV1DataTestCase

type TCTV1DataTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
	Version string `json:"version,omitempty"`
}

type TCTV1DataTrigger

type TCTV1DataTrigger struct {
	// Mandatory fields
	Type TCTV1DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type TCTV1DataTriggerType

type TCTV1DataTriggerType string
const (
	TCTV1DataTriggerType_Manual       TCTV1DataTriggerType = "MANUAL"
	TCTV1DataTriggerType_EiffelEvent  TCTV1DataTriggerType = "EIFFEL_EVENT"
	TCTV1DataTriggerType_SourceChange TCTV1DataTriggerType = "SOURCE_CHANGE"
	TCTV1DataTriggerType_Timer        TCTV1DataTriggerType = "TIMER"
	TCTV1DataTriggerType_Other        TCTV1DataTriggerType = "OTHER"
)

type TCTV2Data

type TCTV2Data struct {
	// Mandatory fields
	TestCase TCTV2DataTestCase `json:"testCase"`

	// Optional fields
	CustomData    []CustomDataV1         `json:"customData,omitempty"`
	ExecutionType TCTV2DataExecutionType `json:"executionType,omitempty"`
	Parameters    []TCTV2DataParameter   `json:"parameters,omitempty"`
	RecipeID      string                 `json:"recipeId,omitempty"`
	Triggers      []TCTV2DataTrigger     `json:"triggers,omitempty"`
}

type TCTV2DataExecutionType

type TCTV2DataExecutionType string
const (
	TCTV2DataExecutionType_Manual        TCTV2DataExecutionType = "MANUAL"
	TCTV2DataExecutionType_SemiAutomated TCTV2DataExecutionType = "SEMI_AUTOMATED"
	TCTV2DataExecutionType_Automated     TCTV2DataExecutionType = "AUTOMATED"
	TCTV2DataExecutionType_Other         TCTV2DataExecutionType = "OTHER"
)

type TCTV2DataParameter

type TCTV2DataParameter struct {
	// Mandatory fields
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TCTV2DataTestCase

type TCTV2DataTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
	Version string `json:"version,omitempty"`
}

type TCTV2DataTrigger

type TCTV2DataTrigger struct {
	// Mandatory fields
	Type TCTV2DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type TCTV2DataTriggerType

type TCTV2DataTriggerType string
const (
	TCTV2DataTriggerType_Manual       TCTV2DataTriggerType = "MANUAL"
	TCTV2DataTriggerType_EiffelEvent  TCTV2DataTriggerType = "EIFFEL_EVENT"
	TCTV2DataTriggerType_SourceChange TCTV2DataTriggerType = "SOURCE_CHANGE"
	TCTV2DataTriggerType_Timer        TCTV2DataTriggerType = "TIMER"
	TCTV2DataTriggerType_Other        TCTV2DataTriggerType = "OTHER"
)

type TCTV3Data

type TCTV3Data struct {
	// Mandatory fields
	TestCase TCTV3DataTestCase `json:"testCase"`

	// Optional fields
	CustomData    []CustomDataV1         `json:"customData,omitempty"`
	ExecutionType TCTV3DataExecutionType `json:"executionType,omitempty"`
	Parameters    []TCTV3DataParameter   `json:"parameters,omitempty"`
	RecipeID      string                 `json:"recipeId,omitempty"`
	Triggers      []TCTV3DataTrigger     `json:"triggers,omitempty"`
}

type TCTV3DataExecutionType

type TCTV3DataExecutionType string
const (
	TCTV3DataExecutionType_Manual        TCTV3DataExecutionType = "MANUAL"
	TCTV3DataExecutionType_SemiAutomated TCTV3DataExecutionType = "SEMI_AUTOMATED"
	TCTV3DataExecutionType_Automated     TCTV3DataExecutionType = "AUTOMATED"
	TCTV3DataExecutionType_Other         TCTV3DataExecutionType = "OTHER"
)

type TCTV3DataParameter

type TCTV3DataParameter struct {
	// Mandatory fields
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TCTV3DataTestCase

type TCTV3DataTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
	Version string `json:"version,omitempty"`
}

type TCTV3DataTrigger

type TCTV3DataTrigger struct {
	// Mandatory fields
	Type TCTV3DataTriggerType `json:"type"`

	// Optional fields
	Description string `json:"description,omitempty"`
}

type TCTV3DataTriggerType

type TCTV3DataTriggerType string
const (
	TCTV3DataTriggerType_Manual       TCTV3DataTriggerType = "MANUAL"
	TCTV3DataTriggerType_EiffelEvent  TCTV3DataTriggerType = "EIFFEL_EVENT"
	TCTV3DataTriggerType_SourceChange TCTV3DataTriggerType = "SOURCE_CHANGE"
	TCTV3DataTriggerType_Timer        TCTV3DataTriggerType = "TIMER"
	TCTV3DataTriggerType_Other        TCTV3DataTriggerType = "OTHER"
)

type TERCCV1Data

type TERCCV1Data struct {
	// Mandatory fields
	SelectionStrategy TERCCV1DataSelectionStrategy `json:"selectionStrategy"`

	// Optional fields
	Batches    []TERCCV1DataBatch `json:"batches,omitempty"`
	BatchesURI string             `json:"batchesUri,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
}

type TERCCV1DataBatch

type TERCCV1DataBatch struct {
	// Mandatory fields
	Priority int64                    `json:"priority"`
	Recipes  []TERCCV1DataBatchRecipe `json:"recipes"`

	// Optional fields
	Dependencies []TERCCV1DataBatchDependency `json:"dependencies,omitempty"`
	Name         string                       `json:"name,omitempty"`
}

type TERCCV1DataBatchDependency

type TERCCV1DataBatchDependency struct {
	// Mandatory fields
	Dependency string `json:"dependency"`
	Dependent  string `json:"dependent"`
}

type TERCCV1DataBatchRecipe

type TERCCV1DataBatchRecipe struct {
	// Mandatory fields
	ID       string                         `json:"id"`
	TestCase TERCCV1DataBatchRecipeTestCase `json:"testCase"`

	// Optional fields
	Constraints interface{} `json:"constraints,omitempty"`
}

type TERCCV1DataBatchRecipeTestCase

type TERCCV1DataBatchRecipeTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV1DataSelectionStrategy

type TERCCV1DataSelectionStrategy struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV2Data

type TERCCV2Data struct {
	// Mandatory fields
	SelectionStrategy TERCCV2DataSelectionStrategy `json:"selectionStrategy"`

	// Optional fields
	Batches    []TERCCV2DataBatch `json:"batches,omitempty"`
	BatchesURI string             `json:"batchesUri,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
}

type TERCCV2DataBatch

type TERCCV2DataBatch struct {
	// Mandatory fields
	Priority int64                    `json:"priority"`
	Recipes  []TERCCV2DataBatchRecipe `json:"recipes"`

	// Optional fields
	Dependencies []TERCCV2DataBatchDependency `json:"dependencies,omitempty"`
	Name         string                       `json:"name,omitempty"`
}

type TERCCV2DataBatchDependency

type TERCCV2DataBatchDependency struct {
	// Mandatory fields
	Dependency string `json:"dependency"`
	Dependent  string `json:"dependent"`
}

type TERCCV2DataBatchRecipe

type TERCCV2DataBatchRecipe struct {
	// Mandatory fields
	ID       string                         `json:"id"`
	TestCase TERCCV2DataBatchRecipeTestCase `json:"testCase"`

	// Optional fields
	Constraints []TERCCV2DataBatchRecipeConstraint `json:"constraints,omitempty"`
}

type TERCCV2DataBatchRecipeConstraint

type TERCCV2DataBatchRecipeConstraint struct {
	// Mandatory fields
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type TERCCV2DataBatchRecipeTestCase

type TERCCV2DataBatchRecipeTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV2DataSelectionStrategy

type TERCCV2DataSelectionStrategy struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV3Data

type TERCCV3Data struct {
	// Mandatory fields
	SelectionStrategy TERCCV3DataSelectionStrategy `json:"selectionStrategy"`

	// Optional fields
	Batches    []TERCCV3DataBatch `json:"batches,omitempty"`
	BatchesURI string             `json:"batchesUri,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
}

type TERCCV3DataBatch

type TERCCV3DataBatch struct {
	// Mandatory fields
	Priority int64                    `json:"priority"`
	Recipes  []TERCCV3DataBatchRecipe `json:"recipes"`

	// Optional fields
	Dependencies []TERCCV3DataBatchDependency `json:"dependencies,omitempty"`
	Name         string                       `json:"name,omitempty"`
}

type TERCCV3DataBatchDependency

type TERCCV3DataBatchDependency struct {
	// Mandatory fields
	Dependency string `json:"dependency"`
	Dependent  string `json:"dependent"`
}

type TERCCV3DataBatchRecipe

type TERCCV3DataBatchRecipe struct {
	// Mandatory fields
	ID       string                         `json:"id"`
	TestCase TERCCV3DataBatchRecipeTestCase `json:"testCase"`

	// Optional fields
	Constraints []TERCCV3DataBatchRecipeConstraint `json:"constraints,omitempty"`
}

type TERCCV3DataBatchRecipeConstraint

type TERCCV3DataBatchRecipeConstraint struct {
	// Mandatory fields
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type TERCCV3DataBatchRecipeTestCase

type TERCCV3DataBatchRecipeTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV3DataSelectionStrategy

type TERCCV3DataSelectionStrategy struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TERCCV4Data

type TERCCV4Data struct {
	// Mandatory fields
	SelectionStrategy TERCCV4DataSelectionStrategy `json:"selectionStrategy"`

	// Optional fields
	Batches    []TERCCV4DataBatch `json:"batches,omitempty"`
	BatchesURI string             `json:"batchesUri,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
}

type TERCCV4DataBatch

type TERCCV4DataBatch struct {
	// Mandatory fields
	Priority int64                    `json:"priority"`
	Recipes  []TERCCV4DataBatchRecipe `json:"recipes"`

	// Optional fields
	Dependencies []TERCCV4DataBatchDependency `json:"dependencies,omitempty"`
	Name         string                       `json:"name,omitempty"`
}

type TERCCV4DataBatchDependency

type TERCCV4DataBatchDependency struct {
	// Mandatory fields
	Dependency string `json:"dependency"`
	Dependent  string `json:"dependent"`
}

type TERCCV4DataBatchRecipe

type TERCCV4DataBatchRecipe struct {
	// Mandatory fields
	ID       string                         `json:"id"`
	TestCase TERCCV4DataBatchRecipeTestCase `json:"testCase"`

	// Optional fields
	Constraints []TERCCV4DataBatchRecipeConstraint `json:"constraints,omitempty"`
}

type TERCCV4DataBatchRecipeConstraint

type TERCCV4DataBatchRecipeConstraint struct {
	// Mandatory fields
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type TERCCV4DataBatchRecipeTestCase

type TERCCV4DataBatchRecipeTestCase struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
	Version string `json:"version,omitempty"`
}

type TERCCV4DataSelectionStrategy

type TERCCV4DataSelectionStrategy struct {
	// Mandatory fields
	ID string `json:"id"`

	// Optional fields
	Tracker string `json:"tracker,omitempty"`
	URI     string `json:"uri,omitempty"`
}

type TSFV1Data

type TSFV1Data struct {

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	Outcome        TSFV1DataOutcome         `json:"outcome,omitempty"`
	PersistentLogs []TSFV1DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TSFV1DataOutcome

type TSFV1DataOutcome struct {

	// Optional fields
	Conclusion  TSFV1DataOutcomeConclusion `json:"conclusion,omitempty"`
	Description string                     `json:"description,omitempty"`
	Verdict     TSFV1DataOutcomeVerdict    `json:"verdict,omitempty"`
}

type TSFV1DataOutcomeConclusion

type TSFV1DataOutcomeConclusion string
const (
	TSFV1DataOutcomeConclusion_Successful   TSFV1DataOutcomeConclusion = "SUCCESSFUL"
	TSFV1DataOutcomeConclusion_Failed       TSFV1DataOutcomeConclusion = "FAILED"
	TSFV1DataOutcomeConclusion_Aborted      TSFV1DataOutcomeConclusion = "ABORTED"
	TSFV1DataOutcomeConclusion_TimedOut     TSFV1DataOutcomeConclusion = "TIMED_OUT"
	TSFV1DataOutcomeConclusion_Inconclusive TSFV1DataOutcomeConclusion = "INCONCLUSIVE"
)

type TSFV1DataOutcomeVerdict

type TSFV1DataOutcomeVerdict string
const (
	TSFV1DataOutcomeVerdict_Passed       TSFV1DataOutcomeVerdict = "PASSED"
	TSFV1DataOutcomeVerdict_Failed       TSFV1DataOutcomeVerdict = "FAILED"
	TSFV1DataOutcomeVerdict_Inconclusive TSFV1DataOutcomeVerdict = "INCONCLUSIVE"
)

type TSFV1DataPersistentLog

type TSFV1DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TSFV2Data

type TSFV2Data struct {

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	Outcome        TSFV2DataOutcome         `json:"outcome,omitempty"`
	PersistentLogs []TSFV2DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TSFV2DataOutcome

type TSFV2DataOutcome struct {

	// Optional fields
	Conclusion  TSFV2DataOutcomeConclusion `json:"conclusion,omitempty"`
	Description string                     `json:"description,omitempty"`
	Verdict     TSFV2DataOutcomeVerdict    `json:"verdict,omitempty"`
}

type TSFV2DataOutcomeConclusion

type TSFV2DataOutcomeConclusion string
const (
	TSFV2DataOutcomeConclusion_Successful   TSFV2DataOutcomeConclusion = "SUCCESSFUL"
	TSFV2DataOutcomeConclusion_Failed       TSFV2DataOutcomeConclusion = "FAILED"
	TSFV2DataOutcomeConclusion_Aborted      TSFV2DataOutcomeConclusion = "ABORTED"
	TSFV2DataOutcomeConclusion_TimedOut     TSFV2DataOutcomeConclusion = "TIMED_OUT"
	TSFV2DataOutcomeConclusion_Inconclusive TSFV2DataOutcomeConclusion = "INCONCLUSIVE"
)

type TSFV2DataOutcomeVerdict

type TSFV2DataOutcomeVerdict string
const (
	TSFV2DataOutcomeVerdict_Passed       TSFV2DataOutcomeVerdict = "PASSED"
	TSFV2DataOutcomeVerdict_Failed       TSFV2DataOutcomeVerdict = "FAILED"
	TSFV2DataOutcomeVerdict_Inconclusive TSFV2DataOutcomeVerdict = "INCONCLUSIVE"
)

type TSFV2DataPersistentLog

type TSFV2DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TSFV3Data

type TSFV3Data struct {

	// Optional fields
	CustomData     []CustomDataV1           `json:"customData,omitempty"`
	Outcome        TSFV3DataOutcome         `json:"outcome,omitempty"`
	PersistentLogs []TSFV3DataPersistentLog `json:"persistentLogs,omitempty"`
}

type TSFV3DataOutcome

type TSFV3DataOutcome struct {

	// Optional fields
	Conclusion  TSFV3DataOutcomeConclusion `json:"conclusion,omitempty"`
	Description string                     `json:"description,omitempty"`
	Verdict     TSFV3DataOutcomeVerdict    `json:"verdict,omitempty"`
}

type TSFV3DataOutcomeConclusion

type TSFV3DataOutcomeConclusion string
const (
	TSFV3DataOutcomeConclusion_Successful   TSFV3DataOutcomeConclusion = "SUCCESSFUL"
	TSFV3DataOutcomeConclusion_Failed       TSFV3DataOutcomeConclusion = "FAILED"
	TSFV3DataOutcomeConclusion_Aborted      TSFV3DataOutcomeConclusion = "ABORTED"
	TSFV3DataOutcomeConclusion_TimedOut     TSFV3DataOutcomeConclusion = "TIMED_OUT"
	TSFV3DataOutcomeConclusion_Inconclusive TSFV3DataOutcomeConclusion = "INCONCLUSIVE"
)

type TSFV3DataOutcomeVerdict

type TSFV3DataOutcomeVerdict string
const (
	TSFV3DataOutcomeVerdict_Passed       TSFV3DataOutcomeVerdict = "PASSED"
	TSFV3DataOutcomeVerdict_Failed       TSFV3DataOutcomeVerdict = "FAILED"
	TSFV3DataOutcomeVerdict_Inconclusive TSFV3DataOutcomeVerdict = "INCONCLUSIVE"
)

type TSFV3DataPersistentLog

type TSFV3DataPersistentLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type TSSV1Data

type TSSV1Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories []string           `json:"categories,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	LiveLogs   []TSSV1DataLiveLog `json:"liveLogs,omitempty"`
	Types      []TSSV1DataType    `json:"types,omitempty"`
}

type TSSV1DataLiveLog

type TSSV1DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TSSV1DataType

type TSSV1DataType string
const (
	TSSV1DataType_Accessibility    TSSV1DataType = "ACCESSIBILITY"
	TSSV1DataType_BackupRecovery   TSSV1DataType = "BACKUP_RECOVERY"
	TSSV1DataType_Compatibility    TSSV1DataType = "COMPATIBILITY"
	TSSV1DataType_Conversion       TSSV1DataType = "CONVERSION"
	TSSV1DataType_DisasterRecovery TSSV1DataType = "DISASTER_RECOVERY"
	TSSV1DataType_Functional       TSSV1DataType = "FUNCTIONAL"
	TSSV1DataType_Installability   TSSV1DataType = "INSTALLABILITY"
	TSSV1DataType_Interoperability TSSV1DataType = "INTEROPERABILITY"
	TSSV1DataType_Localization     TSSV1DataType = "LOCALIZATION"
	TSSV1DataType_Maintainability  TSSV1DataType = "MAINTAINABILITY"
	TSSV1DataType_Performance      TSSV1DataType = "PERFORMANCE"
	TSSV1DataType_Portability      TSSV1DataType = "PORTABILITY"
	TSSV1DataType_Procedure        TSSV1DataType = "PROCEDURE"
	TSSV1DataType_Reliability      TSSV1DataType = "RELIABILITY"
	TSSV1DataType_Security         TSSV1DataType = "SECURITY"
	TSSV1DataType_Stability        TSSV1DataType = "STABILITY"
	TSSV1DataType_Usability        TSSV1DataType = "USABILITY"
)

type TSSV2Data

type TSSV2Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories []string           `json:"categories,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	LiveLogs   []TSSV2DataLiveLog `json:"liveLogs,omitempty"`
	Types      []TSSV2DataType    `json:"types,omitempty"`
}

type TSSV2DataLiveLog

type TSSV2DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`
}

type TSSV2DataType

type TSSV2DataType string
const (
	TSSV2DataType_Accessibility    TSSV2DataType = "ACCESSIBILITY"
	TSSV2DataType_BackupRecovery   TSSV2DataType = "BACKUP_RECOVERY"
	TSSV2DataType_Compatibility    TSSV2DataType = "COMPATIBILITY"
	TSSV2DataType_Conversion       TSSV2DataType = "CONVERSION"
	TSSV2DataType_DisasterRecovery TSSV2DataType = "DISASTER_RECOVERY"
	TSSV2DataType_Functional       TSSV2DataType = "FUNCTIONAL"
	TSSV2DataType_Installability   TSSV2DataType = "INSTALLABILITY"
	TSSV2DataType_Interoperability TSSV2DataType = "INTEROPERABILITY"
	TSSV2DataType_Localization     TSSV2DataType = "LOCALIZATION"
	TSSV2DataType_Maintainability  TSSV2DataType = "MAINTAINABILITY"
	TSSV2DataType_Performance      TSSV2DataType = "PERFORMANCE"
	TSSV2DataType_Portability      TSSV2DataType = "PORTABILITY"
	TSSV2DataType_Procedure        TSSV2DataType = "PROCEDURE"
	TSSV2DataType_Reliability      TSSV2DataType = "RELIABILITY"
	TSSV2DataType_Security         TSSV2DataType = "SECURITY"
	TSSV2DataType_Stability        TSSV2DataType = "STABILITY"
	TSSV2DataType_Usability        TSSV2DataType = "USABILITY"
)

type TSSV3Data

type TSSV3Data struct {
	// Mandatory fields
	Name string `json:"name"`

	// Optional fields
	Categories []string           `json:"categories,omitempty"`
	CustomData []CustomDataV1     `json:"customData,omitempty"`
	LiveLogs   []TSSV3DataLiveLog `json:"liveLogs,omitempty"`
	Types      []TSSV3DataType    `json:"types,omitempty"`
}

type TSSV3DataLiveLog

type TSSV3DataLiveLog struct {
	// Mandatory fields
	Name string `json:"name"`
	URI  string `json:"uri"`

	// Optional fields
	MediaType string   `json:"mediaType,omitempty"`
	Tags      []string `json:"tags,omitempty"`
}

type TSSV3DataType

type TSSV3DataType string
const (
	TSSV3DataType_Accessibility    TSSV3DataType = "ACCESSIBILITY"
	TSSV3DataType_BackupRecovery   TSSV3DataType = "BACKUP_RECOVERY"
	TSSV3DataType_Compatibility    TSSV3DataType = "COMPATIBILITY"
	TSSV3DataType_Conversion       TSSV3DataType = "CONVERSION"
	TSSV3DataType_DisasterRecovery TSSV3DataType = "DISASTER_RECOVERY"
	TSSV3DataType_Functional       TSSV3DataType = "FUNCTIONAL"
	TSSV3DataType_Installability   TSSV3DataType = "INSTALLABILITY"
	TSSV3DataType_Interoperability TSSV3DataType = "INTEROPERABILITY"
	TSSV3DataType_Localization     TSSV3DataType = "LOCALIZATION"
	TSSV3DataType_Maintainability  TSSV3DataType = "MAINTAINABILITY"
	TSSV3DataType_Performance      TSSV3DataType = "PERFORMANCE"
	TSSV3DataType_Portability      TSSV3DataType = "PORTABILITY"
	TSSV3DataType_Procedure        TSSV3DataType = "PROCEDURE"
	TSSV3DataType_Reliability      TSSV3DataType = "RELIABILITY"
	TSSV3DataType_Security         TSSV3DataType = "SECURITY"
	TSSV3DataType_Stability        TSSV3DataType = "STABILITY"
	TSSV3DataType_Usability        TSSV3DataType = "USABILITY"
)

type TestCaseCanceledV1

type TestCaseCanceledV1 struct {
	// Mandatory fields
	Data  TCCV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestCaseCanceledV1

func NewTestCaseCanceledV1(modifiers ...Modifier) (*TestCaseCanceledV1, error)

NewTestCaseCanceledV1 creates a new struct pointer that represents major version 1 of EiffelTestCaseCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestCaseCanceledV1) DomainID

func (e TestCaseCanceledV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseCanceledV1) ID

func (e TestCaseCanceledV1) ID() string

ID returns the value of the meta.id field.

func (*TestCaseCanceledV1) MarshalJSON

func (e *TestCaseCanceledV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseCanceledV1) SetField

func (e *TestCaseCanceledV1) SetField(fieldName string, value interface{}) error

func (*TestCaseCanceledV1) String

func (e *TestCaseCanceledV1) String() string

String returns the JSON encoding of the event.

func (TestCaseCanceledV1) Time

func (e TestCaseCanceledV1) Time() int64

Time returns the value of the meta.time field.

func (TestCaseCanceledV1) Type

func (e TestCaseCanceledV1) Type() string

Type returns the value of the meta.type field.

func (TestCaseCanceledV1) Version

func (e TestCaseCanceledV1) Version() string

Version returns the value of the meta.version field.

type TestCaseCanceledV2

type TestCaseCanceledV2 struct {
	// Mandatory fields
	Data  TCCV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestCaseCanceledV2

func NewTestCaseCanceledV2(modifiers ...Modifier) (*TestCaseCanceledV2, error)

NewTestCaseCanceledV2 creates a new struct pointer that represents major version 2 of EiffelTestCaseCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestCaseCanceledV2) DomainID

func (e TestCaseCanceledV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseCanceledV2) ID

func (e TestCaseCanceledV2) ID() string

ID returns the value of the meta.id field.

func (*TestCaseCanceledV2) MarshalJSON

func (e *TestCaseCanceledV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseCanceledV2) SetField

func (e *TestCaseCanceledV2) SetField(fieldName string, value interface{}) error

func (*TestCaseCanceledV2) String

func (e *TestCaseCanceledV2) String() string

String returns the JSON encoding of the event.

func (TestCaseCanceledV2) Time

func (e TestCaseCanceledV2) Time() int64

Time returns the value of the meta.time field.

func (TestCaseCanceledV2) Type

func (e TestCaseCanceledV2) Type() string

Type returns the value of the meta.type field.

func (TestCaseCanceledV2) Version

func (e TestCaseCanceledV2) Version() string

Version returns the value of the meta.version field.

type TestCaseCanceledV3

type TestCaseCanceledV3 struct {
	// Mandatory fields
	Data  TCCV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestCaseCanceledV3

func NewTestCaseCanceledV3(modifiers ...Modifier) (*TestCaseCanceledV3, error)

NewTestCaseCanceledV3 creates a new struct pointer that represents major version 3 of EiffelTestCaseCanceledEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestCaseCanceledV3) DomainID

func (e TestCaseCanceledV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseCanceledV3) ID

func (e TestCaseCanceledV3) ID() string

ID returns the value of the meta.id field.

func (*TestCaseCanceledV3) MarshalJSON

func (e *TestCaseCanceledV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseCanceledV3) SetField

func (e *TestCaseCanceledV3) SetField(fieldName string, value interface{}) error

func (*TestCaseCanceledV3) String

func (e *TestCaseCanceledV3) String() string

String returns the JSON encoding of the event.

func (TestCaseCanceledV3) Time

func (e TestCaseCanceledV3) Time() int64

Time returns the value of the meta.time field.

func (TestCaseCanceledV3) Type

func (e TestCaseCanceledV3) Type() string

Type returns the value of the meta.type field.

func (TestCaseCanceledV3) Version

func (e TestCaseCanceledV3) Version() string

Version returns the value of the meta.version field.

type TestCaseFinishedV1

type TestCaseFinishedV1 struct {
	// Mandatory fields
	Data  TCFV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestCaseFinishedV1

func NewTestCaseFinishedV1(modifiers ...Modifier) (*TestCaseFinishedV1, error)

NewTestCaseFinishedV1 creates a new struct pointer that represents major version 1 of EiffelTestCaseFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestCaseFinishedV1) DomainID

func (e TestCaseFinishedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseFinishedV1) ID

func (e TestCaseFinishedV1) ID() string

ID returns the value of the meta.id field.

func (*TestCaseFinishedV1) MarshalJSON

func (e *TestCaseFinishedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseFinishedV1) SetField

func (e *TestCaseFinishedV1) SetField(fieldName string, value interface{}) error

func (*TestCaseFinishedV1) String

func (e *TestCaseFinishedV1) String() string

String returns the JSON encoding of the event.

func (TestCaseFinishedV1) Time

func (e TestCaseFinishedV1) Time() int64

Time returns the value of the meta.time field.

func (TestCaseFinishedV1) Type

func (e TestCaseFinishedV1) Type() string

Type returns the value of the meta.type field.

func (TestCaseFinishedV1) Version

func (e TestCaseFinishedV1) Version() string

Version returns the value of the meta.version field.

type TestCaseFinishedV2

type TestCaseFinishedV2 struct {
	// Mandatory fields
	Data  TCFV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestCaseFinishedV2

func NewTestCaseFinishedV2(modifiers ...Modifier) (*TestCaseFinishedV2, error)

NewTestCaseFinishedV2 creates a new struct pointer that represents major version 2 of EiffelTestCaseFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestCaseFinishedV2) DomainID

func (e TestCaseFinishedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseFinishedV2) ID

func (e TestCaseFinishedV2) ID() string

ID returns the value of the meta.id field.

func (*TestCaseFinishedV2) MarshalJSON

func (e *TestCaseFinishedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseFinishedV2) SetField

func (e *TestCaseFinishedV2) SetField(fieldName string, value interface{}) error

func (*TestCaseFinishedV2) String

func (e *TestCaseFinishedV2) String() string

String returns the JSON encoding of the event.

func (TestCaseFinishedV2) Time

func (e TestCaseFinishedV2) Time() int64

Time returns the value of the meta.time field.

func (TestCaseFinishedV2) Type

func (e TestCaseFinishedV2) Type() string

Type returns the value of the meta.type field.

func (TestCaseFinishedV2) Version

func (e TestCaseFinishedV2) Version() string

Version returns the value of the meta.version field.

type TestCaseFinishedV3

type TestCaseFinishedV3 struct {
	// Mandatory fields
	Data  TCFV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestCaseFinishedV3

func NewTestCaseFinishedV3(modifiers ...Modifier) (*TestCaseFinishedV3, error)

NewTestCaseFinishedV3 creates a new struct pointer that represents major version 3 of EiffelTestCaseFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestCaseFinishedV3) DomainID

func (e TestCaseFinishedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseFinishedV3) ID

func (e TestCaseFinishedV3) ID() string

ID returns the value of the meta.id field.

func (*TestCaseFinishedV3) MarshalJSON

func (e *TestCaseFinishedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseFinishedV3) SetField

func (e *TestCaseFinishedV3) SetField(fieldName string, value interface{}) error

func (*TestCaseFinishedV3) String

func (e *TestCaseFinishedV3) String() string

String returns the JSON encoding of the event.

func (TestCaseFinishedV3) Time

func (e TestCaseFinishedV3) Time() int64

Time returns the value of the meta.time field.

func (TestCaseFinishedV3) Type

func (e TestCaseFinishedV3) Type() string

Type returns the value of the meta.type field.

func (TestCaseFinishedV3) Version

func (e TestCaseFinishedV3) Version() string

Version returns the value of the meta.version field.

type TestCaseStartedV1

type TestCaseStartedV1 struct {
	// Mandatory fields
	Data  TCSV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestCaseStartedV1

func NewTestCaseStartedV1(modifiers ...Modifier) (*TestCaseStartedV1, error)

NewTestCaseStartedV1 creates a new struct pointer that represents major version 1 of EiffelTestCaseStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestCaseStartedV1) DomainID

func (e TestCaseStartedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseStartedV1) ID

func (e TestCaseStartedV1) ID() string

ID returns the value of the meta.id field.

func (*TestCaseStartedV1) MarshalJSON

func (e *TestCaseStartedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseStartedV1) SetField

func (e *TestCaseStartedV1) SetField(fieldName string, value interface{}) error

func (*TestCaseStartedV1) String

func (e *TestCaseStartedV1) String() string

String returns the JSON encoding of the event.

func (TestCaseStartedV1) Time

func (e TestCaseStartedV1) Time() int64

Time returns the value of the meta.time field.

func (TestCaseStartedV1) Type

func (e TestCaseStartedV1) Type() string

Type returns the value of the meta.type field.

func (TestCaseStartedV1) Version

func (e TestCaseStartedV1) Version() string

Version returns the value of the meta.version field.

type TestCaseStartedV2

type TestCaseStartedV2 struct {
	// Mandatory fields
	Data  TCSV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestCaseStartedV2

func NewTestCaseStartedV2(modifiers ...Modifier) (*TestCaseStartedV2, error)

NewTestCaseStartedV2 creates a new struct pointer that represents major version 2 of EiffelTestCaseStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestCaseStartedV2) DomainID

func (e TestCaseStartedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseStartedV2) ID

func (e TestCaseStartedV2) ID() string

ID returns the value of the meta.id field.

func (*TestCaseStartedV2) MarshalJSON

func (e *TestCaseStartedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseStartedV2) SetField

func (e *TestCaseStartedV2) SetField(fieldName string, value interface{}) error

func (*TestCaseStartedV2) String

func (e *TestCaseStartedV2) String() string

String returns the JSON encoding of the event.

func (TestCaseStartedV2) Time

func (e TestCaseStartedV2) Time() int64

Time returns the value of the meta.time field.

func (TestCaseStartedV2) Type

func (e TestCaseStartedV2) Type() string

Type returns the value of the meta.type field.

func (TestCaseStartedV2) Version

func (e TestCaseStartedV2) Version() string

Version returns the value of the meta.version field.

type TestCaseStartedV3

type TestCaseStartedV3 struct {
	// Mandatory fields
	Data  TCSV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestCaseStartedV3

func NewTestCaseStartedV3(modifiers ...Modifier) (*TestCaseStartedV3, error)

NewTestCaseStartedV3 creates a new struct pointer that represents major version 3 of EiffelTestCaseStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestCaseStartedV3) DomainID

func (e TestCaseStartedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseStartedV3) ID

func (e TestCaseStartedV3) ID() string

ID returns the value of the meta.id field.

func (*TestCaseStartedV3) MarshalJSON

func (e *TestCaseStartedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseStartedV3) SetField

func (e *TestCaseStartedV3) SetField(fieldName string, value interface{}) error

func (*TestCaseStartedV3) String

func (e *TestCaseStartedV3) String() string

String returns the JSON encoding of the event.

func (TestCaseStartedV3) Time

func (e TestCaseStartedV3) Time() int64

Time returns the value of the meta.time field.

func (TestCaseStartedV3) Type

func (e TestCaseStartedV3) Type() string

Type returns the value of the meta.type field.

func (TestCaseStartedV3) Version

func (e TestCaseStartedV3) Version() string

Version returns the value of the meta.version field.

type TestCaseTriggeredV1

type TestCaseTriggeredV1 struct {
	// Mandatory fields
	Data  TCTV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestCaseTriggeredV1

func NewTestCaseTriggeredV1(modifiers ...Modifier) (*TestCaseTriggeredV1, error)

NewTestCaseTriggeredV1 creates a new struct pointer that represents major version 1 of EiffelTestCaseTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestCaseTriggeredV1) DomainID

func (e TestCaseTriggeredV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseTriggeredV1) ID

func (e TestCaseTriggeredV1) ID() string

ID returns the value of the meta.id field.

func (*TestCaseTriggeredV1) MarshalJSON

func (e *TestCaseTriggeredV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseTriggeredV1) SetField

func (e *TestCaseTriggeredV1) SetField(fieldName string, value interface{}) error

func (*TestCaseTriggeredV1) String

func (e *TestCaseTriggeredV1) String() string

String returns the JSON encoding of the event.

func (TestCaseTriggeredV1) Time

func (e TestCaseTriggeredV1) Time() int64

Time returns the value of the meta.time field.

func (TestCaseTriggeredV1) Type

func (e TestCaseTriggeredV1) Type() string

Type returns the value of the meta.type field.

func (TestCaseTriggeredV1) Version

func (e TestCaseTriggeredV1) Version() string

Version returns the value of the meta.version field.

type TestCaseTriggeredV2

type TestCaseTriggeredV2 struct {
	// Mandatory fields
	Data  TCTV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestCaseTriggeredV2

func NewTestCaseTriggeredV2(modifiers ...Modifier) (*TestCaseTriggeredV2, error)

NewTestCaseTriggeredV2 creates a new struct pointer that represents major version 2 of EiffelTestCaseTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestCaseTriggeredV2) DomainID

func (e TestCaseTriggeredV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseTriggeredV2) ID

func (e TestCaseTriggeredV2) ID() string

ID returns the value of the meta.id field.

func (*TestCaseTriggeredV2) MarshalJSON

func (e *TestCaseTriggeredV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseTriggeredV2) SetField

func (e *TestCaseTriggeredV2) SetField(fieldName string, value interface{}) error

func (*TestCaseTriggeredV2) String

func (e *TestCaseTriggeredV2) String() string

String returns the JSON encoding of the event.

func (TestCaseTriggeredV2) Time

func (e TestCaseTriggeredV2) Time() int64

Time returns the value of the meta.time field.

func (TestCaseTriggeredV2) Type

func (e TestCaseTriggeredV2) Type() string

Type returns the value of the meta.type field.

func (TestCaseTriggeredV2) Version

func (e TestCaseTriggeredV2) Version() string

Version returns the value of the meta.version field.

type TestCaseTriggeredV3

type TestCaseTriggeredV3 struct {
	// Mandatory fields
	Data  TCTV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestCaseTriggeredV3

func NewTestCaseTriggeredV3(modifiers ...Modifier) (*TestCaseTriggeredV3, error)

NewTestCaseTriggeredV3 creates a new struct pointer that represents major version 3 of EiffelTestCaseTriggeredEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestCaseTriggeredV3) DomainID

func (e TestCaseTriggeredV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestCaseTriggeredV3) ID

func (e TestCaseTriggeredV3) ID() string

ID returns the value of the meta.id field.

func (*TestCaseTriggeredV3) MarshalJSON

func (e *TestCaseTriggeredV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestCaseTriggeredV3) SetField

func (e *TestCaseTriggeredV3) SetField(fieldName string, value interface{}) error

func (*TestCaseTriggeredV3) String

func (e *TestCaseTriggeredV3) String() string

String returns the JSON encoding of the event.

func (TestCaseTriggeredV3) Time

func (e TestCaseTriggeredV3) Time() int64

Time returns the value of the meta.time field.

func (TestCaseTriggeredV3) Type

func (e TestCaseTriggeredV3) Type() string

Type returns the value of the meta.type field.

func (TestCaseTriggeredV3) Version

func (e TestCaseTriggeredV3) Version() string

Version returns the value of the meta.version field.

type TestExecutionRecipeCollectionCreatedV1

type TestExecutionRecipeCollectionCreatedV1 struct {
	// Mandatory fields
	Data  TERCCV1Data  `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestExecutionRecipeCollectionCreatedV1

func NewTestExecutionRecipeCollectionCreatedV1(modifiers ...Modifier) (*TestExecutionRecipeCollectionCreatedV1, error)

NewTestExecutionRecipeCollectionCreatedV1 creates a new struct pointer that represents major version 1 of EiffelTestExecutionRecipeCollectionCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestExecutionRecipeCollectionCreatedV1) DomainID

DomainID returns the value of the meta.source.domainId field.

func (TestExecutionRecipeCollectionCreatedV1) ID

ID returns the value of the meta.id field.

func (*TestExecutionRecipeCollectionCreatedV1) MarshalJSON

func (e *TestExecutionRecipeCollectionCreatedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestExecutionRecipeCollectionCreatedV1) SetField

func (e *TestExecutionRecipeCollectionCreatedV1) SetField(fieldName string, value interface{}) error

func (*TestExecutionRecipeCollectionCreatedV1) String

String returns the JSON encoding of the event.

func (TestExecutionRecipeCollectionCreatedV1) Time

Time returns the value of the meta.time field.

func (TestExecutionRecipeCollectionCreatedV1) Type

Type returns the value of the meta.type field.

func (TestExecutionRecipeCollectionCreatedV1) Version

Version returns the value of the meta.version field.

type TestExecutionRecipeCollectionCreatedV2

type TestExecutionRecipeCollectionCreatedV2 struct {
	// Mandatory fields
	Data  TERCCV2Data  `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestExecutionRecipeCollectionCreatedV2

func NewTestExecutionRecipeCollectionCreatedV2(modifiers ...Modifier) (*TestExecutionRecipeCollectionCreatedV2, error)

NewTestExecutionRecipeCollectionCreatedV2 creates a new struct pointer that represents major version 2 of EiffelTestExecutionRecipeCollectionCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestExecutionRecipeCollectionCreatedV2) DomainID

DomainID returns the value of the meta.source.domainId field.

func (TestExecutionRecipeCollectionCreatedV2) ID

ID returns the value of the meta.id field.

func (*TestExecutionRecipeCollectionCreatedV2) MarshalJSON

func (e *TestExecutionRecipeCollectionCreatedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestExecutionRecipeCollectionCreatedV2) SetField

func (e *TestExecutionRecipeCollectionCreatedV2) SetField(fieldName string, value interface{}) error

func (*TestExecutionRecipeCollectionCreatedV2) String

String returns the JSON encoding of the event.

func (TestExecutionRecipeCollectionCreatedV2) Time

Time returns the value of the meta.time field.

func (TestExecutionRecipeCollectionCreatedV2) Type

Type returns the value of the meta.type field.

func (TestExecutionRecipeCollectionCreatedV2) Version

Version returns the value of the meta.version field.

type TestExecutionRecipeCollectionCreatedV3

type TestExecutionRecipeCollectionCreatedV3 struct {
	// Mandatory fields
	Data  TERCCV3Data  `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestExecutionRecipeCollectionCreatedV3

func NewTestExecutionRecipeCollectionCreatedV3(modifiers ...Modifier) (*TestExecutionRecipeCollectionCreatedV3, error)

NewTestExecutionRecipeCollectionCreatedV3 creates a new struct pointer that represents major version 3 of EiffelTestExecutionRecipeCollectionCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestExecutionRecipeCollectionCreatedV3) DomainID

DomainID returns the value of the meta.source.domainId field.

func (TestExecutionRecipeCollectionCreatedV3) ID

ID returns the value of the meta.id field.

func (*TestExecutionRecipeCollectionCreatedV3) MarshalJSON

func (e *TestExecutionRecipeCollectionCreatedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestExecutionRecipeCollectionCreatedV3) SetField

func (e *TestExecutionRecipeCollectionCreatedV3) SetField(fieldName string, value interface{}) error

func (*TestExecutionRecipeCollectionCreatedV3) String

String returns the JSON encoding of the event.

func (TestExecutionRecipeCollectionCreatedV3) Time

Time returns the value of the meta.time field.

func (TestExecutionRecipeCollectionCreatedV3) Type

Type returns the value of the meta.type field.

func (TestExecutionRecipeCollectionCreatedV3) Version

Version returns the value of the meta.version field.

type TestExecutionRecipeCollectionCreatedV4

type TestExecutionRecipeCollectionCreatedV4 struct {
	// Mandatory fields
	Data  TERCCV4Data  `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestExecutionRecipeCollectionCreatedV4

func NewTestExecutionRecipeCollectionCreatedV4(modifiers ...Modifier) (*TestExecutionRecipeCollectionCreatedV4, error)

NewTestExecutionRecipeCollectionCreatedV4 creates a new struct pointer that represents major version 4 of EiffelTestExecutionRecipeCollectionCreatedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 4.x.x currently known by this SDK.

func (TestExecutionRecipeCollectionCreatedV4) DomainID

DomainID returns the value of the meta.source.domainId field.

func (TestExecutionRecipeCollectionCreatedV4) ID

ID returns the value of the meta.id field.

func (*TestExecutionRecipeCollectionCreatedV4) MarshalJSON

func (e *TestExecutionRecipeCollectionCreatedV4) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestExecutionRecipeCollectionCreatedV4) SetField

func (e *TestExecutionRecipeCollectionCreatedV4) SetField(fieldName string, value interface{}) error

func (*TestExecutionRecipeCollectionCreatedV4) String

String returns the JSON encoding of the event.

func (TestExecutionRecipeCollectionCreatedV4) Time

Time returns the value of the meta.time field.

func (TestExecutionRecipeCollectionCreatedV4) Type

Type returns the value of the meta.type field.

func (TestExecutionRecipeCollectionCreatedV4) Version

Version returns the value of the meta.version field.

type TestSuiteFinishedV1

type TestSuiteFinishedV1 struct {
	// Mandatory fields
	Data  TSFV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestSuiteFinishedV1

func NewTestSuiteFinishedV1(modifiers ...Modifier) (*TestSuiteFinishedV1, error)

NewTestSuiteFinishedV1 creates a new struct pointer that represents major version 1 of EiffelTestSuiteFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestSuiteFinishedV1) DomainID

func (e TestSuiteFinishedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteFinishedV1) ID

func (e TestSuiteFinishedV1) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteFinishedV1) MarshalJSON

func (e *TestSuiteFinishedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteFinishedV1) SetField

func (e *TestSuiteFinishedV1) SetField(fieldName string, value interface{}) error

func (*TestSuiteFinishedV1) String

func (e *TestSuiteFinishedV1) String() string

String returns the JSON encoding of the event.

func (TestSuiteFinishedV1) Time

func (e TestSuiteFinishedV1) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteFinishedV1) Type

func (e TestSuiteFinishedV1) Type() string

Type returns the value of the meta.type field.

func (TestSuiteFinishedV1) Version

func (e TestSuiteFinishedV1) Version() string

Version returns the value of the meta.version field.

type TestSuiteFinishedV2

type TestSuiteFinishedV2 struct {
	// Mandatory fields
	Data  TSFV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestSuiteFinishedV2

func NewTestSuiteFinishedV2(modifiers ...Modifier) (*TestSuiteFinishedV2, error)

NewTestSuiteFinishedV2 creates a new struct pointer that represents major version 2 of EiffelTestSuiteFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestSuiteFinishedV2) DomainID

func (e TestSuiteFinishedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteFinishedV2) ID

func (e TestSuiteFinishedV2) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteFinishedV2) MarshalJSON

func (e *TestSuiteFinishedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteFinishedV2) SetField

func (e *TestSuiteFinishedV2) SetField(fieldName string, value interface{}) error

func (*TestSuiteFinishedV2) String

func (e *TestSuiteFinishedV2) String() string

String returns the JSON encoding of the event.

func (TestSuiteFinishedV2) Time

func (e TestSuiteFinishedV2) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteFinishedV2) Type

func (e TestSuiteFinishedV2) Type() string

Type returns the value of the meta.type field.

func (TestSuiteFinishedV2) Version

func (e TestSuiteFinishedV2) Version() string

Version returns the value of the meta.version field.

type TestSuiteFinishedV3

type TestSuiteFinishedV3 struct {
	// Mandatory fields
	Data  TSFV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestSuiteFinishedV3

func NewTestSuiteFinishedV3(modifiers ...Modifier) (*TestSuiteFinishedV3, error)

NewTestSuiteFinishedV3 creates a new struct pointer that represents major version 3 of EiffelTestSuiteFinishedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestSuiteFinishedV3) DomainID

func (e TestSuiteFinishedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteFinishedV3) ID

func (e TestSuiteFinishedV3) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteFinishedV3) MarshalJSON

func (e *TestSuiteFinishedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteFinishedV3) SetField

func (e *TestSuiteFinishedV3) SetField(fieldName string, value interface{}) error

func (*TestSuiteFinishedV3) String

func (e *TestSuiteFinishedV3) String() string

String returns the JSON encoding of the event.

func (TestSuiteFinishedV3) Time

func (e TestSuiteFinishedV3) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteFinishedV3) Type

func (e TestSuiteFinishedV3) Type() string

Type returns the value of the meta.type field.

func (TestSuiteFinishedV3) Version

func (e TestSuiteFinishedV3) Version() string

Version returns the value of the meta.version field.

type TestSuiteStartedV1

type TestSuiteStartedV1 struct {
	// Mandatory fields
	Data  TSSV1Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV1       `json:"meta"`
}

func NewTestSuiteStartedV1

func NewTestSuiteStartedV1(modifiers ...Modifier) (*TestSuiteStartedV1, error)

NewTestSuiteStartedV1 creates a new struct pointer that represents major version 1 of EiffelTestSuiteStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 1.x.x currently known by this SDK.

func (TestSuiteStartedV1) DomainID

func (e TestSuiteStartedV1) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteStartedV1) ID

func (e TestSuiteStartedV1) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteStartedV1) MarshalJSON

func (e *TestSuiteStartedV1) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteStartedV1) SetField

func (e *TestSuiteStartedV1) SetField(fieldName string, value interface{}) error

func (*TestSuiteStartedV1) String

func (e *TestSuiteStartedV1) String() string

String returns the JSON encoding of the event.

func (TestSuiteStartedV1) Time

func (e TestSuiteStartedV1) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteStartedV1) Type

func (e TestSuiteStartedV1) Type() string

Type returns the value of the meta.type field.

func (TestSuiteStartedV1) Version

func (e TestSuiteStartedV1) Version() string

Version returns the value of the meta.version field.

type TestSuiteStartedV2

type TestSuiteStartedV2 struct {
	// Mandatory fields
	Data  TSSV2Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV2       `json:"meta"`
}

func NewTestSuiteStartedV2

func NewTestSuiteStartedV2(modifiers ...Modifier) (*TestSuiteStartedV2, error)

NewTestSuiteStartedV2 creates a new struct pointer that represents major version 2 of EiffelTestSuiteStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 2.x.x currently known by this SDK.

func (TestSuiteStartedV2) DomainID

func (e TestSuiteStartedV2) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteStartedV2) ID

func (e TestSuiteStartedV2) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteStartedV2) MarshalJSON

func (e *TestSuiteStartedV2) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteStartedV2) SetField

func (e *TestSuiteStartedV2) SetField(fieldName string, value interface{}) error

func (*TestSuiteStartedV2) String

func (e *TestSuiteStartedV2) String() string

String returns the JSON encoding of the event.

func (TestSuiteStartedV2) Time

func (e TestSuiteStartedV2) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteStartedV2) Type

func (e TestSuiteStartedV2) Type() string

Type returns the value of the meta.type field.

func (TestSuiteStartedV2) Version

func (e TestSuiteStartedV2) Version() string

Version returns the value of the meta.version field.

type TestSuiteStartedV3

type TestSuiteStartedV3 struct {
	// Mandatory fields
	Data  TSSV3Data    `json:"data"`
	Links EventLinksV1 `json:"links"`
	Meta  MetaV3       `json:"meta"`
}

func NewTestSuiteStartedV3

func NewTestSuiteStartedV3(modifiers ...Modifier) (*TestSuiteStartedV3, error)

NewTestSuiteStartedV3 creates a new struct pointer that represents major version 3 of EiffelTestSuiteStartedEvent. The returned struct has all required meta members populated. The event version is set to the most recent 3.x.x currently known by this SDK.

func (TestSuiteStartedV3) DomainID

func (e TestSuiteStartedV3) DomainID() string

DomainID returns the value of the meta.source.domainId field.

func (TestSuiteStartedV3) ID

func (e TestSuiteStartedV3) ID() string

ID returns the value of the meta.id field.

func (*TestSuiteStartedV3) MarshalJSON

func (e *TestSuiteStartedV3) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoding of the event.

func (*TestSuiteStartedV3) SetField

func (e *TestSuiteStartedV3) SetField(fieldName string, value interface{}) error

func (*TestSuiteStartedV3) String

func (e *TestSuiteStartedV3) String() string

String returns the JSON encoding of the event.

func (TestSuiteStartedV3) Time

func (e TestSuiteStartedV3) Time() int64

Time returns the value of the meta.time field.

func (TestSuiteStartedV3) Type

func (e TestSuiteStartedV3) Type() string

Type returns the value of the meta.type field.

func (TestSuiteStartedV3) Version

func (e TestSuiteStartedV3) Version() string

Version returns the value of the meta.version field.

Source Files

Directories

Path Synopsis
editions
internal
codetemplate
Package codetemplate provides a small wrapper type that makes it more convenient to generate correctly formatted Go source files.
Package codetemplate provides a small wrapper type that makes it more convenient to generate correctly formatted Go source files.
Package routingkey contains functions for generating AMQP routing keys (topics) based on Eiffel events.
Package routingkey contains functions for generating AMQP routing keys (topics) based on Eiffel events.
Package validator contains types for validating Eiffel events in different ways, e.g.
Package validator contains types for validating Eiffel events in different ways, e.g.

Jump to

Keyboard shortcuts

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