solarnetwork-api-core
    Preparing search index...

    Class SecurityPolicyBuilder

    A mutable builder object for Domain.SecurityPolicy instances.

    Index

    Constructors

    Properties

    aggregations?: Set<Aggregation>
    locationPrecisions?: Set<LocationPrecision>
    minAggregation?: Aggregation
    minLocationPrecision?: LocationPrecision
    nodeIds?: Set<number>
    nodeMetadataPaths?: Set<string>
    sourceIds?: Set<string>
    userMetadataPaths?: Set<string>

    Methods

    • Add a set of node IDs.

      Parameters

      • OptionalnodeIds: number | number[] | Set<number>

        the node IDs to add

      Returns this

      this object

    • Add a set of node metadata paths.

      Parameters

      • OptionalnodeMetadataPaths: string | string[] | Set<string>

        the path expressions to add

      Returns this

      this object

    • Add source IDs.

      Parameters

      • OptionalsourceIds: string | string[] | Set<string>

        the source IDs to add

      Returns this

      this object

    • Add a set of user metadata paths.

      Parameters

      • OptionaluserMetadataPaths: string | string[] | Set<string>

        the path expressions to add

      Returns this

      this object

    • Set the node IDs.

      Parameters

      • OptionalnodeIds: number | number[] | Set<number>

        the node IDs to use

      Returns this

      this object

    • Set the node metadata paths.

      Parameters

      • OptionalnodeMetadataPaths: string | string[] | Set<string>

        the path expressions to use

      Returns this

      this object

    • Set the source IDs.

      Parameters

      • OptionalsourceIds: string | string[] | Set<string>

        the source IDs to use

      Returns this

      this object

    • Set the user metadata paths.

      Parameters

      • OptionaluserMetadataPaths: string | string[] | Set<string>

        the path expressions to use

      Returns this

      this object