models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ErrorResponseCodeConflict captures enum value "conflict"
	ErrorResponseCodeConflict string = "conflict"

	// ErrorResponseCodeNotFound captures enum value "not_found"
	ErrorResponseCodeNotFound string = "not_found"

	// ErrorResponseCodeBadRequest captures enum value "bad_request"
	ErrorResponseCodeBadRequest string = "bad_request"

	// ErrorResponseCodeInternalError captures enum value "internal_error"
	ErrorResponseCodeInternalError string = "internal_error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// metric
	Metric string `json:"metric,omitempty"`

	// resource
	Resource string `json:"resource,omitempty"`

	// rule
	Rule string `json:"rule,omitempty"`

	// severity
	Severity string `json:"severity,omitempty"`

	// triggered at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	TriggeredAt strfmt.DateTime `json:"triggered_at,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Alert alert

swagger:model Alert

func (*Alert) ContextValidate

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

ContextValidate validate this alert based on the context it is used

func (*Alert) MarshalBinary

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

MarshalBinary interface implementation

func (*Alert) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Alert) Validate

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

Validate validates this alert

type AlertArray

type AlertArray struct {

	// items
	Items []*Alert `json:"items"`
}

AlertArray alert array

swagger:model AlertArray

func (*AlertArray) ContextValidate

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

ContextValidate validate this alert array based on the context it is used

func (*AlertArray) MarshalBinary

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

MarshalBinary interface implementation

func (*AlertArray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlertArray) Validate

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

Validate validates this alert array

type AlertPolicy

type AlertPolicy struct {

	// resource
	// Read Only: true
	Resource string `json:"resource,omitempty"`

	// rules
	Rules []*Rule `json:"rules"`
}

AlertPolicy alert policy

swagger:model AlertPolicy

func (*AlertPolicy) ContextValidate

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

ContextValidate validate this alert policy based on the context it is used

func (*AlertPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*AlertPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlertPolicy) Validate

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

Validate validates this alert policy

type AlertTemplate

type AlertTemplate struct {

	// body
	Body string `json:"body,omitempty"`

	// created at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

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

	// name
	Name string `json:"name,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// variables
	Variables *AlertTemplateVariables `json:"variables,omitempty"`
}

AlertTemplate alert template

swagger:model AlertTemplate

func (*AlertTemplate) ContextValidate

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

ContextValidate validate this alert template based on the context it is used

func (*AlertTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*AlertTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlertTemplate) Validate

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

Validate validates this alert template

type AlertTemplateVariables

type AlertTemplateVariables struct {

	// default
	Default string `json:"default,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

AlertTemplateVariables alert template variables

swagger:model AlertTemplateVariables

func (*AlertTemplateVariables) ContextValidate

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

ContextValidate validates this alert template variables based on context it is used

func (*AlertTemplateVariables) MarshalBinary

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

MarshalBinary interface implementation

func (*AlertTemplateVariables) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlertTemplateVariables) Validate

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

Validate validates this alert template variables

type AlertTemplatesArray

type AlertTemplatesArray struct {

	// items
	Items []*AlertTemplate `json:"items"`
}

AlertTemplatesArray alert templates array

swagger:model AlertTemplatesArray

func (*AlertTemplatesArray) ContextValidate

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

ContextValidate validate this alert templates array based on the context it is used

func (*AlertTemplatesArray) MarshalBinary

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

MarshalBinary interface implementation

func (*AlertTemplatesArray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlertTemplatesArray) Validate

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

Validate validates this alert templates array

type ErrorResponse

type ErrorResponse struct {

	// cause
	// Example: name must not be empty
	Cause string `json:"cause,omitempty"`

	// code
	// Example: internal_error
	// Enum: [conflict not_found bad_request internal_error]
	Code string `json:"code,omitempty"`

	// message
	// Example: Request is invalid
	Message string `json:"message,omitempty"`
}

ErrorResponse error response

swagger:model ErrorResponse

func (*ErrorResponse) ContextValidate

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

ContextValidate validates this error response based on context it is used

func (*ErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type Firehose

type Firehose struct {

	// configs
	// Required: true
	Configs *FirehoseConfig `json:"configs"`

	// created at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// description
	// Example: This firehose consumes from booking events and ingests to redis
	Description string `json:"description,omitempty"`

	// group
	// Example: e144ea5e-c7d6-48c4-a580-db31cb3389aa
	// Format: uuid
	Group strfmt.UUID `json:"group,omitempty"`

	// kube cluster
	// Example: orn:entropy:kubernetes:sample_project:sample_name
	KubeCluster string `json:"kube_cluster,omitempty"`

	// metadata
	// Read Only: true
	Metadata *FirehoseMetadata `json:"metadata,omitempty"`

	// name
	// Example: booking-events-ingester
	Name string `json:"name,omitempty"`

	// state
	State *FirehoseState `json:"state,omitempty"`

	// title
	// Example: Booking Events Ingester
	Title string `json:"title,omitempty"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// urn
	// Example: orn:foo:firehose:fh1
	// Read Only: true
	Urn string `json:"urn,omitempty"`
}

Firehose firehose

swagger:model Firehose

func (*Firehose) ContextValidate

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

ContextValidate validate this firehose based on the context it is used

func (*Firehose) MarshalBinary

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

MarshalBinary interface implementation

func (*Firehose) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Firehose) Validate

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

Validate validates this firehose

type FirehoseArray

type FirehoseArray struct {

	// items
	Items []*Firehose `json:"items"`
}

FirehoseArray firehose array

swagger:model FirehoseArray

func (*FirehoseArray) ContextValidate

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

ContextValidate validate this firehose array based on the context it is used

func (*FirehoseArray) MarshalBinary

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

MarshalBinary interface implementation

func (*FirehoseArray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FirehoseArray) Validate

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

Validate validates this firehose array

type FirehoseConfig

type FirehoseConfig struct {

	// bootstrap servers
	// Required: true
	BootstrapServers *string `json:"bootstrap_servers"`

	// consumer group id
	// Required: true
	ConsumerGroupID *string `json:"consumer_group_id"`

	// env vars
	EnvVars map[string]string `json:"env_vars,omitempty"`

	// input schema proto class
	// Required: true
	InputSchemaProtoClass *string `json:"input_schema_proto_class"`

	// replicas
	Replicas *float64 `json:"replicas,omitempty"`

	// sink type
	// Required: true
	SinkType *FirehoseSinkType `json:"sink_type"`

	// stop date
	StopDate string `json:"stop_date,omitempty"`

	// stream name
	// Required: true
	StreamName *string `json:"stream_name"`

	// topic name
	// Required: true
	TopicName *string `json:"topic_name"`

	// version
	// Example: 1.0.0
	// Read Only: true
	Version string `json:"version,omitempty"`
}

FirehoseConfig firehose config

swagger:model FirehoseConfig

func (*FirehoseConfig) ContextValidate

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

ContextValidate validate this firehose config based on the context it is used

func (*FirehoseConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*FirehoseConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FirehoseConfig) Validate

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

Validate validates this firehose config

type FirehoseMetadata

type FirehoseMetadata struct {

	// created by
	// Format: uuid
	CreatedBy strfmt.UUID `json:"created_by,omitempty"`

	// created by email
	// Format: email
	CreatedByEmail strfmt.Email `json:"created_by_email,omitempty"`

	// updated by
	// Format: uuid
	UpdatedBy strfmt.UUID `json:"updated_by,omitempty"`

	// updated by email
	// Format: email
	UpdatedByEmail strfmt.Email `json:"updated_by_email,omitempty"`
}

FirehoseMetadata firehose metadata

swagger:model FirehoseMetadata

func (*FirehoseMetadata) ContextValidate

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

ContextValidate validates this firehose metadata based on context it is used

func (*FirehoseMetadata) MarshalBinary

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

MarshalBinary interface implementation

func (*FirehoseMetadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FirehoseMetadata) Validate

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

Validate validates this firehose metadata

type FirehoseSinkType

type FirehoseSinkType string

FirehoseSinkType firehose sink type

swagger:model FirehoseSinkType

const (

	// FirehoseSinkTypeLOG captures enum value "LOG"
	FirehoseSinkTypeLOG FirehoseSinkType = "LOG"

	// FirehoseSinkTypeHTTP captures enum value "HTTP"
	FirehoseSinkTypeHTTP FirehoseSinkType = "HTTP"

	// FirehoseSinkTypePOSTGRES captures enum value "POSTGRES"
	FirehoseSinkTypePOSTGRES FirehoseSinkType = "POSTGRES"

	// FirehoseSinkTypeINFLUXDB captures enum value "INFLUXDB"
	FirehoseSinkTypeINFLUXDB FirehoseSinkType = "INFLUXDB"

	// FirehoseSinkTypeELASTIC captures enum value "ELASTIC"
	FirehoseSinkTypeELASTIC FirehoseSinkType = "ELASTIC"

	// FirehoseSinkTypeREDIS captures enum value "REDIS"
	FirehoseSinkTypeREDIS FirehoseSinkType = "REDIS"

	// FirehoseSinkTypeGRPC captures enum value "GRPC"
	FirehoseSinkTypeGRPC FirehoseSinkType = "GRPC"

	// FirehoseSinkTypePROMETHEUS captures enum value "PROMETHEUS"
	FirehoseSinkTypePROMETHEUS FirehoseSinkType = "PROMETHEUS"

	// FirehoseSinkTypeBIGQUERY captures enum value "BIGQUERY"
	FirehoseSinkTypeBIGQUERY FirehoseSinkType = "BIGQUERY"

	// FirehoseSinkTypeBLOB captures enum value "BLOB"
	FirehoseSinkTypeBLOB FirehoseSinkType = "BLOB"

	// FirehoseSinkTypeBIGTABLE captures enum value "BIGTABLE"
	FirehoseSinkTypeBIGTABLE FirehoseSinkType = "BIGTABLE"
)

func NewFirehoseSinkType

func NewFirehoseSinkType(value FirehoseSinkType) *FirehoseSinkType

func (FirehoseSinkType) ContextValidate

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

ContextValidate validates this firehose sink type based on context it is used

func (FirehoseSinkType) Pointer

func (m FirehoseSinkType) Pointer() *FirehoseSinkType

Pointer returns a pointer to a freshly-allocated FirehoseSinkType.

func (FirehoseSinkType) Validate

func (m FirehoseSinkType) Validate(formats strfmt.Registry) error

Validate validates this firehose sink type

type FirehoseState

type FirehoseState struct {

	// output
	Output interface{} `json:"output,omitempty"`

	// state
	// Example: STATUS_COMPLETED
	State string `json:"state,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

FirehoseState firehose state

swagger:model FirehoseState

func (*FirehoseState) ContextValidate

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

ContextValidate validates this firehose state based on context it is used

func (*FirehoseState) MarshalBinary

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

MarshalBinary interface implementation

func (*FirehoseState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FirehoseState) Validate

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

Validate validates this firehose state

type History

type History struct {

	// items
	Items []*RevisionDiff `json:"items"`
}

History history

swagger:model History

func (*History) ContextValidate

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

ContextValidate validate this history based on the context it is used

func (*History) MarshalBinary

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

MarshalBinary interface implementation

func (*History) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*History) Validate

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

Validate validates this history

type Kubernetes

type Kubernetes struct {

	// created at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// name
	// Example: k8s1
	Name string `json:"name,omitempty"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// urn
	// Example: orn:foo:kubernetes:k8s1
	// Read Only: true
	Urn string `json:"urn,omitempty"`
}

Kubernetes kubernetes

swagger:model Kubernetes

func (*Kubernetes) ContextValidate

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

ContextValidate validate this kubernetes based on the context it is used

func (*Kubernetes) MarshalBinary

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

MarshalBinary interface implementation

func (*Kubernetes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Kubernetes) Validate

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

Validate validates this kubernetes

type KubernetesArray

type KubernetesArray struct {

	// items
	Items []*Kubernetes `json:"items"`
}

KubernetesArray kubernetes array

swagger:model KubernetesArray

func (*KubernetesArray) ContextValidate

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

ContextValidate validate this kubernetes array based on the context it is used

func (*KubernetesArray) MarshalBinary

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

MarshalBinary interface implementation

func (*KubernetesArray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KubernetesArray) Validate

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

Validate validates this kubernetes array

type Logs

type Logs []*LogsItems0

Logs logs

swagger:model Logs

func (Logs) ContextValidate

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

ContextValidate validate this logs based on the context it is used

func (Logs) Validate

func (m Logs) Validate(formats strfmt.Registry) error

Validate validates this logs

type LogsItems0

type LogsItems0 struct {

	// data
	Data string `json:"data,omitempty"`

	// filter
	Filter interface{} `json:"filter,omitempty"`
}

LogsItems0 logs items0

swagger:model LogsItems0

func (*LogsItems0) ContextValidate

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

ContextValidate validates this logs items0 based on context it is used

func (*LogsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*LogsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogsItems0) Validate

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

Validate validates this logs items0

type Project

type Project struct {

	// created at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id
	// Example: foo
	// Read Only: true
	ID string `json:"id,omitempty"`

	// metadata
	// Example: {"environment":"production","landscape":"systems","organization":"foo"}
	Metadata interface{} `json:"metadata,omitempty"`

	// name
	// Example: Project Foo
	Name string `json:"name,omitempty"`

	// slug
	// Example: project-foo
	Slug string `json:"slug,omitempty"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Project project

swagger:model Project

func (*Project) ContextValidate

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

ContextValidate validate this project based on the context it is used

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type ProjectArray

type ProjectArray struct {

	// items
	Items []*Project `json:"items"`
}

ProjectArray project array

swagger:model ProjectArray

func (*ProjectArray) ContextValidate

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

ContextValidate validate this project array based on the context it is used

func (*ProjectArray) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectArray) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectArray) Validate

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

Validate validates this project array

type RevisionDiff

type RevisionDiff struct {

	// diff
	Diff interface{} `json:"diff,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

RevisionDiff revision diff

swagger:model RevisionDiff

func (*RevisionDiff) ContextValidate

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

ContextValidate validate this revision diff based on the context it is used

func (*RevisionDiff) MarshalBinary

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

MarshalBinary interface implementation

func (*RevisionDiff) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RevisionDiff) Validate

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

Validate validates this revision diff

type Rule

type Rule struct {

	// created at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// template
	Template string `json:"template,omitempty"`

	// updated at
	// Example: 2022-06-23T16:49:15.885541Z
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// variables
	Variables []*RuleVariablesItems0 `json:"variables"`
}

Rule rule

swagger:model Rule

func (*Rule) ContextValidate

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

ContextValidate validate this rule based on the context it is used

func (*Rule) MarshalBinary

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

MarshalBinary interface implementation

func (*Rule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Rule) Validate

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

Validate validates this rule

type RuleVariablesItems0

type RuleVariablesItems0 struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

RuleVariablesItems0 rule variables items0

swagger:model RuleVariablesItems0

func (*RuleVariablesItems0) ContextValidate

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

ContextValidate validates this rule variables items0 based on context it is used

func (*RuleVariablesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RuleVariablesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RuleVariablesItems0) Validate

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

Validate validates this rule variables items0

Jump to

Keyboard shortcuts

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