model

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AutomationRoleMM captures enum value "MM"
	AutomationRoleMM string = "MM"

	// AutomationRoleIS captures enum value "IS"
	AutomationRoleIS string = "IS"
)
View Source
const (

	// ParticipantRoleMM captures enum value "MM"
	ParticipantRoleMM string = "MM"

	// ParticipantRoleIS captures enum value "IS"
	ParticipantRoleIS string = "IS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Automation

type Automation struct {

	// The business identifier code of each participant
	// Required: true
	// Max Length: 11
	// Min Length: 11
	// Pattern: ^[A-Z]{3}[A-Z]{3}[A-Z2-9]{1}[A-NP-Z0-9]{1}[A-Z0-9]{3}$
	Bic *string `json:"bic"`

	// Participant's country of residence, country code in ISO 3166-1 format
	// Required: true
	// Max Length: 3
	// Min Length: 3
	CountryCode *string `json:"countryCode"`

	// initialized
	// Required: true
	Initialized *bool `json:"initialized"`

	// institution Id
	// Required: true
	InstitutionID *string `json:"institutionId"`

	// The participant id for the participant
	// Required: true
	// Max Length: 32
	// Min Length: 5
	// Pattern: ^[a-zA-Z0-9-]{5,32}$
	ParticipantID *string `json:"participantId"`

	// replica
	Replica string `json:"replica,omitempty"`

	// role
	// Required: true
	// Max Length: 2
	// Min Length: 2
	// Enum: [MM IS]
	Role *string `json:"role"`

	// status
	// Required: true
	Status []string `json:"status"`
}

Automation Automation

Automation deployment model

swagger:model Automation

func (*Automation) MarshalBinary

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

MarshalBinary interface implementation

func (*Automation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Automation) Validate

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

Validate validates this automation

type Participant

type Participant struct {

	// The business identifier code of each participant
	// Required: true
	// Max Length: 11
	// Min Length: 11
	// Pattern: ^[A-Z]{3}[A-Z]{3}[A-Z2-9]{1}[A-NP-Z0-9]{1}[A-Z0-9]{3}$
	Bic *string `json:"bic"`

	// Callback url of the finiancial institute's backend system.
	// Required: true
	CallbackURL *string `json:"callbackUrl"`

	// Participant's country of residence
	// Required: true
	CountryCode *string `json:"countryCode"`

	// The participant domain for the participant
	// Required: true
	// Max Length: 32
	// Min Length: 5
	// Pattern: ^[a-zA-Z0-9-]{5,32}$
	ParticipantID *string `json:"participantId"`

	// RDO client url of the finiancial institute's backend system.
	// Required: true
	RdoClientURL *string `json:"rdoClientUrl"`

	// The Role of this registered participant, it can be MM for Market Maker and IS for Issuer or anchor
	// Required: true
	// Max Length: 2
	// Min Length: 2
	// Enum: [MM IS]
	Role *string `json:"role"`
}

Participant participant

Participant

swagger:model Participant

func (*Participant) MarshalBinary

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

MarshalBinary interface implementation

func (*Participant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Participant) Validate

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

Validate validates this participant

type Update

type Update struct {

	// participants
	// Required: true
	Participants []*Participant `json:"participants"`

	// version
	// Required: true
	Version *string `json:"version"`
}

Update Update

Update model

swagger:model Update

func (*Update) MarshalBinary

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

MarshalBinary interface implementation

func (*Update) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Update) Validate

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

Validate validates this update

type Upload

type Upload struct {

	// Encoded secret store in AWS secret manager
	AwsSecret string `json:"awsSecret,omitempty"`

	// Encoded K8s ConfigMap
	ConfigMap string `json:"configMap,omitempty"`

	// Encoded K8s secret
	K8sSecret string `json:"k8sSecret,omitempty"`

	// version
	// Required: true
	Version *string `json:"version"`
}

Upload Upload

Upload aws secret, k8s secret and config map to database for version control

swagger:model Upload

func (*Upload) MarshalBinary

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

MarshalBinary interface implementation

func (*Upload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Upload) Validate

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

Validate validates this upload

Jump to

Keyboard shortcuts

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