model

package
v0.0.0-...-ae82ce1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppSource

func GetAppSource(input string) string

func GetSource

func GetSource(input string) string

func GetSourceOfTruth

func GetSourceOfTruth(input string) string

Types

type CustomFieldValue

type CustomFieldValue struct {
	Str     *string    `json:"string,omitempty"`
	Int     *int64     `json:"int,omitempty"`
	Time    *time.Time `json:"time,omitempty"`
	Bool    *bool      `json:"bool,omitempty"`
	Decimal *float64   `json:"decimal,omitempty"`
}

func (*CustomFieldValue) RealValue

func (c *CustomFieldValue) RealValue() any

type ExternalSystem

type ExternalSystem struct {
	ExternalSystemId string     `json:"externalSystemId,omitempty"`
	ExternalUrl      string     `json:"externalUrl,omitempty"`
	ExternalId       string     `json:"externalId,omitempty"`
	ExternalIdSecond string     `json:"externalIdSecond,omitempty"`
	ExternalSource   string     `json:"externalSource,omitempty"`
	SyncDate         *time.Time `json:"syncDate,omitempty"`
	Primary          bool       `json:"primary"`
}

func (ExternalSystem) Available

func (e ExternalSystem) Available() bool

type SourceFields

type SourceFields struct {
	Source    string `json:"source"`
	AppSource string `json:"appSource"`
	// Deprecated
	SourceOfTruth string `json:"sourceOfTruth"`
}

func (SourceFields) GetAppSource

func (s SourceFields) GetAppSource() string

func (SourceFields) GetSource

func (s SourceFields) GetSource() string

Jump to

Keyboard shortcuts

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