edgerule

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateActionFromDiscriminatorValue

CreateActionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateEdgeRuleFromDiscriminatorValue

CreateEdgeRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTriggerFromDiscriminatorValue

CreateTriggerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type Action

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

func NewAction

func NewAction() *Action

NewAction instantiates a new Action and sets the default values.

func (*Action) GetActionParameter1

func (m *Action) GetActionParameter1() *string

GetActionParameter1 gets the ActionParameter1 property value. The ActionParameter1 property returns a *string when successful

func (*Action) GetActionParameter2

func (m *Action) GetActionParameter2() *string

GetActionParameter2 gets the ActionParameter2 property value. The ActionParameter2 property returns a *string when successful

func (*Action) GetActionType

func (m *Action) GetActionType() *float64

GetActionType gets the ActionType property value. The ActionType property returns a *float64 when successful

func (*Action) GetAdditionalData

func (m *Action) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Action) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Action) Serialize

Serialize serializes information the current object

func (*Action) SetActionParameter1

func (m *Action) SetActionParameter1(value *string)

SetActionParameter1 sets the ActionParameter1 property value. The ActionParameter1 property

func (*Action) SetActionParameter2

func (m *Action) SetActionParameter2(value *string)

SetActionParameter2 sets the ActionParameter2 property value. The ActionParameter2 property

func (*Action) SetActionType

func (m *Action) SetActionType(value *float64)

SetActionType sets the ActionType property value. The ActionType property

func (*Action) SetAdditionalData

func (m *Action) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type Actionable

type Actionable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetActionParameter1() *string
	GetActionParameter2() *string
	GetActionType() *float64
	SetActionParameter1(value *string)
	SetActionParameter2(value *string)
	SetActionType(value *float64)
}

type EdgeRule

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

func NewEdgeRule

func NewEdgeRule() *EdgeRule

NewEdgeRule instantiates a new EdgeRule and sets the default values.

func (*EdgeRule) GetActionParameter1

func (m *EdgeRule) GetActionParameter1() *string

GetActionParameter1 gets the ActionParameter1 property value. The Action parameter 1. The value depends on other parameters of the edge rule. returns a *string when successful

func (*EdgeRule) GetActionParameter2

func (m *EdgeRule) GetActionParameter2() *string

GetActionParameter2 gets the ActionParameter2 property value. The Action parameter 2. The value depends on other parameters of the edge rule. returns a *string when successful

func (*EdgeRule) GetActionType

func (m *EdgeRule) GetActionType() *float64

GetActionType gets the ActionType property value. The ActionType property returns a *float64 when successful

func (*EdgeRule) GetAdditionalData

func (m *EdgeRule) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*EdgeRule) GetDescription

func (m *EdgeRule) GetDescription() *string

GetDescription gets the Description property value. The description of the edge rule returns a *string when successful

func (*EdgeRule) GetEnabled

func (m *EdgeRule) GetEnabled() *bool

GetEnabled gets the Enabled property value. Determines if the edge rule is currently enabled or not returns a *bool when successful

func (*EdgeRule) GetExtraActions

func (m *EdgeRule) GetExtraActions() []Actionable

GetExtraActions gets the ExtraActions property value. The ExtraActions property returns a []Actionable when successful

func (*EdgeRule) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*EdgeRule) GetGuid

func (m *EdgeRule) GetGuid() *string

GetGuid gets the Guid property value. The unique GUID of the edge rule returns a *string when successful

func (*EdgeRule) GetTriggerMatchingType

func (m *EdgeRule) GetTriggerMatchingType() *float64

GetTriggerMatchingType gets the TriggerMatchingType property value. The TriggerMatchingType property returns a *float64 when successful

func (*EdgeRule) GetTriggers

func (m *EdgeRule) GetTriggers() []Triggerable

GetTriggers gets the Triggers property value. The Triggers property returns a []Triggerable when successful

func (*EdgeRule) Serialize

Serialize serializes information the current object

func (*EdgeRule) SetActionParameter1

func (m *EdgeRule) SetActionParameter1(value *string)

SetActionParameter1 sets the ActionParameter1 property value. The Action parameter 1. The value depends on other parameters of the edge rule.

func (*EdgeRule) SetActionParameter2

func (m *EdgeRule) SetActionParameter2(value *string)

SetActionParameter2 sets the ActionParameter2 property value. The Action parameter 2. The value depends on other parameters of the edge rule.

func (*EdgeRule) SetActionType

func (m *EdgeRule) SetActionType(value *float64)

SetActionType sets the ActionType property value. The ActionType property

func (*EdgeRule) SetAdditionalData

func (m *EdgeRule) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*EdgeRule) SetDescription

func (m *EdgeRule) SetDescription(value *string)

SetDescription sets the Description property value. The description of the edge rule

func (*EdgeRule) SetEnabled

func (m *EdgeRule) SetEnabled(value *bool)

SetEnabled sets the Enabled property value. Determines if the edge rule is currently enabled or not

func (*EdgeRule) SetExtraActions

func (m *EdgeRule) SetExtraActions(value []Actionable)

SetExtraActions sets the ExtraActions property value. The ExtraActions property

func (*EdgeRule) SetGuid

func (m *EdgeRule) SetGuid(value *string)

SetGuid sets the Guid property value. The unique GUID of the edge rule

func (*EdgeRule) SetTriggerMatchingType

func (m *EdgeRule) SetTriggerMatchingType(value *float64)

SetTriggerMatchingType sets the TriggerMatchingType property value. The TriggerMatchingType property

func (*EdgeRule) SetTriggers

func (m *EdgeRule) SetTriggers(value []Triggerable)

SetTriggers sets the Triggers property value. The Triggers property

type EdgeRuleable

type EdgeRuleable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetActionParameter1() *string
	GetActionParameter2() *string
	GetActionType() *float64
	GetDescription() *string
	GetEnabled() *bool
	GetExtraActions() []Actionable
	GetGuid() *string
	GetTriggerMatchingType() *float64
	GetTriggers() []Triggerable
	SetActionParameter1(value *string)
	SetActionParameter2(value *string)
	SetActionType(value *float64)
	SetDescription(value *string)
	SetEnabled(value *bool)
	SetExtraActions(value []Actionable)
	SetGuid(value *string)
	SetTriggerMatchingType(value *float64)
	SetTriggers(value []Triggerable)
}

type Trigger

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

func NewTrigger

func NewTrigger() *Trigger

NewTrigger instantiates a new Trigger and sets the default values.

func (*Trigger) GetAdditionalData

func (m *Trigger) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*Trigger) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Trigger) GetParameter1

func (m *Trigger) GetParameter1() *string

GetParameter1 gets the Parameter1 property value. The trigger parameter 1. The value depends on the type of trigger. returns a *string when successful

func (*Trigger) GetPatternMatches

func (m *Trigger) GetPatternMatches() []string

GetPatternMatches gets the PatternMatches property value. The list of pattern matches that will trigger the edge rule returns a []string when successful

func (*Trigger) GetPatternMatchingType

func (m *Trigger) GetPatternMatchingType() *float64

GetPatternMatchingType gets the PatternMatchingType property value. The PatternMatchingType property returns a *float64 when successful

func (*Trigger) GetTypeEscaped

func (m *Trigger) GetTypeEscaped() *float64

GetTypeEscaped gets the Type property value. The Type property returns a *float64 when successful

func (*Trigger) Serialize

Serialize serializes information the current object

func (*Trigger) SetAdditionalData

func (m *Trigger) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Trigger) SetParameter1

func (m *Trigger) SetParameter1(value *string)

SetParameter1 sets the Parameter1 property value. The trigger parameter 1. The value depends on the type of trigger.

func (*Trigger) SetPatternMatches

func (m *Trigger) SetPatternMatches(value []string)

SetPatternMatches sets the PatternMatches property value. The list of pattern matches that will trigger the edge rule

func (*Trigger) SetPatternMatchingType

func (m *Trigger) SetPatternMatchingType(value *float64)

SetPatternMatchingType sets the PatternMatchingType property value. The PatternMatchingType property

func (*Trigger) SetTypeEscaped

func (m *Trigger) SetTypeEscaped(value *float64)

SetTypeEscaped sets the Type property value. The Type property

type Triggerable

type Triggerable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetParameter1() *string
	GetPatternMatches() []string
	GetPatternMatchingType() *float64
	GetTypeEscaped() *float64
	SetParameter1(value *string)
	SetPatternMatches(value []string)
	SetPatternMatchingType(value *float64)
	SetTypeEscaped(value *float64)
}

Jump to

Keyboard shortcuts

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