docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License

    • Unity.DigitalTwins.Live.Sdk.Abstractions
      • AuthorizedMessagingClient
      • LiveMessagingClient
    • Unity.DigitalTwins.Live.Sdk.Implementations
      • MessagingClientWrapper
      • ServiceHttpClientWrapper
      • SignalBus
    • Unity.DigitalTwins.Live.Sdk.Interfaces
      • IMessagingClientWrapper
      • IServiceHttpClientWrapper
      • ISignalBus
    • Unity.DigitalTwins.Live.Sdk.Mappers
      • DeviceMapper
      • DeviceTelemetriesMapper
      • NotificationMapper
      • TelemetryAggregateMapper
      • TelemetryMapper
    • Unity.DigitalTwins.Live.Sdk.Mappers.Configurations.DeviceSummaries
      • DeviceSummaryMapper
    • Unity.DigitalTwins.Live.Sdk.Mappers.Configurations.Plots
      • AxisPropertiesMapper
      • PlotConfigurationMapper
      • SeriesPropertiesMapper
    • Unity.DigitalTwins.Live.Sdk.Mappers.Configurations.Plots.TimeSeries
      • TimeSeriesPlotConfigurationMapper
      • TimeSeriesPropertiesMapper
    • Unity.DigitalTwins.Live.Sdk.Mappers.DataAssociations
      • CustomPropertiesListMapper
      • CustomPropertiesMapper
      • DeviceListMapper
      • RuleInterpreterListMapper
      • RuleInterpreterMapper
      • RuleListMapper
      • RuleMapper
    • Unity.DigitalTwins.Live.Sdk.Models
      • Device
      • DeviceTelemetries
      • FacilityInfo
      • LiveDevice
      • Notification
      • PulsingMaterialData
      • PulsingState
      • Telemetry
      • TelemetryAggregate
      • TelemetryHistory
    • Unity.DigitalTwins.Live.Sdk.Models.Configurations.DeviceSummaries
      • DeviceSummary
    • Unity.DigitalTwins.Live.Sdk.Models.Configurations.Plots
      • AxisProperties
      • PlotConfiguration
      • SeriesProperties
    • Unity.DigitalTwins.Live.Sdk.Models.Configurations.Plots.TimeSeries
      • TimeSeriesPlotConfiguration
      • TimeSeriesProperties
    • Unity.DigitalTwins.Live.Sdk.Models.DataAssociations
      • CustomProperties
      • Rule
      • RuleInterpreter
    • Unity.DigitalTwins.Live.Sdk.Samples.Services
      • DebugSignalBus
    • Unity.DigitalTwins.Live.Sdk.Samples.Services.Controllers
      • ConfigurationController
      • DeviceController
      • FacilityController
      • LoginController
      • NotificationController
      • ServicesController
      • TelemetryHistoryController
    • Unity.DigitalTwins.Live.Sdk.Samples.Services.Editor
      • ConfigurationControllerEditor
      • DeviceControllerEditor
      • FacilityControllerEditor
      • NotificationControllerEditor
      • TelemetryHistoryControllerEditor
    • Unity.DigitalTwins.Live.Sdk.Samples.Services.Models
      • ConfigurationServiceResult
      • DeviceServiceResult
      • DeviceSummaryResult
      • FacilityServiceResult
      • LiveDeviceResultView
      • NotificationServiceResult
      • TelemetryHistoryServiceResult
    • Unity.DigitalTwins.Live.Sdk.Services.Implementations
      • ConfigurationService
      • DataAssociationsService
      • DeviceService
      • FacilityService
      • NotificationService
      • TelemetryHistoryService
    • Unity.DigitalTwins.Live.Sdk.Services.Interfaces
      • IConfigurationService
      • IDataAssociationsService
      • IDeviceService
      • IFacilityService
      • INotificationService
      • ITelemetryHistoryService
    • Unity.DigitalTwins.Live.Sdk.Settings
      • CameraSettings
      • EnvironmentSettings
      • NavigationSettings
    • Unity.DigitalTwins.Live.Sdk.Signals
      • CameraInteractionModeUpdatedSignal
      • CameraInteractionModeUpdatedSignal.CameraInteractionMode
      • CameraZoomedSignal
      • DataAssociatedSignal
      • DeviceTelemetriesReceivedSignal
      • HoverChangedSignal
      • LiveDevicesReceivedSignal
      • LiveDeviceUpdatedSignal
      • LoginStateChangedSignal
      • ModifySelectionRequestSignal
      • NavigationTargetUpdatedSignal
      • NotificationReceivedSignal
      • SelectionChangedSignal
      • SettingChangedSignal
      • TelemetryAggregateReceivedSignal
    • Unity.DigitalTwins.Live.Sdk.Tests.Editor
      • PlaceholderUnitTests
    • Unity.DigitalTwins.Live.Sdk.Tests.Editor.Utilities
      • ServicesTestFactory
      • TestFactory
    • Unity.DigitalTwins.Live.Sdk.Utilities
      • ClientUtility
      • Constants
      • DeviceTopic
      • Optional
      • Optional<T>

    Class Rule

    A rule.

    Inheritance
    Object
    Rule
    Namespace: Unity.DigitalTwins.Live.Sdk.Models.DataAssociations
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class Rule

    Properties

    CreatedAt

    Date of rule creation in UTC.

    Declaration
    public DateTimeOffset CreatedAt { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    Expression

    The expression that represents the rule.

    Declaration
    public string Expression { get; set; }
    Property Value
    Type Description
    String

    FacilityId

    The ID of the facility the rule belongs to.

    Declaration
    public string FacilityId { get; set; }
    Property Value
    Type Description
    String

    Id

    The ID of the rule.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    String

    IsAutomated

    Determines whether or not the rule can be run automatically.

    Declaration
    public bool IsAutomated { get; set; }
    Property Value
    Type Description
    Boolean

    IsDisabled

    Indicates whether or not the rule is disabled. Disabled rules cannot be executed.

    Declaration
    public bool IsDisabled { get; set; }
    Property Value
    Type Description
    Boolean

    LastRun

    Date on which the rule was last executed in UTC.

    Declaration
    public DateTimeOffset LastRun { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    LastRunOutcome

    Outcome of the last execution of the rule.

    Declaration
    public string LastRunOutcome { get; set; }
    Property Value
    Type Description
    String

    Name

    The name of the rule.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    RuleInterpreterName

    The name of the rule interpreter that executes the rule.

    Declaration
    public string RuleInterpreterName { get; set; }
    Property Value
    Type Description
    String

    UpdatedAt

    Date on which the rule was last modified in UTC.

    Declaration
    public DateTimeOffset UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    WorkspaceId

    The ID of the workspace where the rule exists.

    Declaration
    public string WorkspaceId { get; set; }
    Property Value
    Type Description
    String

    Extension Methods

    RuleMapper.ToClientModel(Rule)
    Back to top Generated by DocFX
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023