UpdatePolicyRequestDataAttributes class

Constructors

UpdatePolicyRequestDataAttributes({String? name, int? duration, bool? strict, bool? floating, bool? requireProductScope, bool? requirePolicyScope, bool? requireMachineScope, bool? requireFingerprintScope, bool? requireUserScope, bool? requireChecksumScope, bool? requireVersionScope, bool? requireCheckIn, UpdatePolicyRequestDataAttributesCheckInIntervalEnum? checkInInterval, int? checkInIntervalCount, int? maxMachines, int? maxProcesses, int? maxCores, int? maxUses, bool? protected, bool? requireHeartbeat, int? heartbeatDuration, UpdatePolicyRequestDataAttributesHeartbeatCullStrategyEnum? heartbeatCullStrategy, UpdatePolicyRequestDataAttributesHeartbeatResurrectionStrategyEnum? heartbeatResurrectionStrategy, UpdatePolicyRequestDataAttributesHeartbeatBasisEnum? heartbeatBasis, UpdatePolicyRequestDataAttributesMachineUniquenessStrategyEnum? machineUniquenessStrategy, UpdatePolicyRequestDataAttributesMachineMatchingStrategyEnum? machineMatchingStrategy, UpdatePolicyRequestDataAttributesExpirationStrategyEnum? expirationStrategy, UpdatePolicyRequestDataAttributesExpirationBasisEnum? expirationBasis, UpdatePolicyRequestDataAttributesTransferStrategyEnum? transferStrategy, UpdatePolicyRequestDataAttributesAuthenticationStrategyEnum? authenticationStrategy, UpdatePolicyRequestDataAttributesMachineLeasingStrategyEnum? machineLeasingStrategy, UpdatePolicyRequestDataAttributesProcessLeasingStrategyEnum? processLeasingStrategy, UpdatePolicyRequestDataAttributesOverageStrategyEnum? overageStrategy, Object? metadata})
Returns a new UpdatePolicyRequestDataAttributes instance.

Properties

authenticationStrategy UpdatePolicyRequestDataAttributesAuthenticationStrategyEnum?
The strategy used for authenticating as a license, for client-side integrations.
getter/setter pair
checkInInterval UpdatePolicyRequestDataAttributesCheckInIntervalEnum?
The frequency at which a license should check-in.
getter/setter pair
checkInIntervalCount int?
The number of intervals (specified in the check-in interval property) between each required check-in.
getter/setter pair
duration int?
The duration for the policy in seconds.
getter/setter pair
expirationBasis UpdatePolicyRequestDataAttributesExpirationBasisEnum?
Control when a license's initial expiry is set.
getter/setter pair
expirationStrategy UpdatePolicyRequestDataAttributesExpirationStrategyEnum?
The strategy for expired licenses during a license validation and when accessing releases.
getter/setter pair
floating bool?
When enabled, a license that implements the policy will be valid across multiple machines.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
heartbeatBasis UpdatePolicyRequestDataAttributesHeartbeatBasisEnum?
Control when a machine's initial heartbeat is started.
getter/setter pair
heartbeatCullStrategy UpdatePolicyRequestDataAttributesHeartbeatCullStrategyEnum?
The strategy used for culling dead machines and processes.
getter/setter pair
heartbeatDuration int?
The heartbeat duration for the policy, in seconds.
getter/setter pair
heartbeatResurrectionStrategy UpdatePolicyRequestDataAttributesHeartbeatResurrectionStrategyEnum?
The strategy used for controlling whether or not dead machines and processes can be resurrected shortly after death.
getter/setter pair
machineLeasingStrategy UpdatePolicyRequestDataAttributesMachineLeasingStrategyEnum?
The strategy used for leasing machines. ### Options - PER_LICENSE: Machine processes are counted per-license, i.e. collectively across all of a license's machines. - PER_USER: Machines are counted per-user, per-license. For example, with a max machines value of 2, each user could have 2 machines per-license.
getter/setter pair
machineMatchingStrategy UpdatePolicyRequestDataAttributesMachineMatchingStrategyEnum?
The matching strategy for machine fingerprints supplied during a license validation.
getter/setter pair
machineUniquenessStrategy UpdatePolicyRequestDataAttributesMachineUniquenessStrategyEnum?
The uniqueness validation strategy for machine fingerprints.
getter/setter pair
maxCores int?
The maximum number of machine CPU cores a license implementing the policy can have associated with it.
getter/setter pair
maxMachines int?
The maximum number of machines a license implementing the policy can have associated with it.
getter/setter pair
maxProcesses int?
The maximum number of machine processes a license implementing the policy can have associated with it, also depending on the policy's leasing strategy.
getter/setter pair
maxUses int?
The maximum number of uses a license implementing the policy can have.
getter/setter pair
metadata Object?
Object containing policy metadata.
getter/setter pair
name String?
The name of the policy.
getter/setter pair
overageStrategy UpdatePolicyRequestDataAttributesOverageStrategyEnum?
The strategy used for allowing machine, core and process overages.
getter/setter pair
processLeasingStrategy UpdatePolicyRequestDataAttributesProcessLeasingStrategyEnum?
The strategy used for leasing machine processes. ### Options - PER_MACHINE: Processes are counted per-machine. For example, given a policy with a max processes value of 5, each license could have up to 5 processes for each machine. This is the default. - PER_LICENSE: Processes are counted per-license. For example, with a max processes value of 5, each license could have up to 5 processes combined across all machines. - PER_USER: Processes are counted per-user, per-license. For example, with a max processes value of 5, each user could have up to 5 processes combined across all owned machines per-license.
getter/setter pair
protected bool?
Whether or not the policy is protected.
getter/setter pair
requireCheckIn bool?
When enabled, a license that implements the policy will require check-in at a predefined interval to continue to pass validation i.e. if a license misses a check-in, it will be invalidated.
getter/setter pair
requireChecksumScope bool?
When enabled, validating a license that implements the policy will require a checksum scope to be provided, matching an accessible artifact for the license.
getter/setter pair
requireFingerprintScope bool?
When enabled, validating a license that implements the policy will require a fingerprint scope that matches at least 1 of the license's machine relationships by its fingerprint.
getter/setter pair
requireHeartbeat bool?
Whether or not the policy requires its machines to maintain a heartbeat.
getter/setter pair
requireMachineScope bool?
When enabled, validating a license that implements the policy will require a machine scope that matches at least 1 of the license's machine relationships by its identifier (UUID).
getter/setter pair
requirePolicyScope bool?
When enabled, validating a license that implements the policy will require a policy scope that matches the license's policy relationship by its identifier (UUID).
getter/setter pair
requireProductScope bool?
When enabled, validating a license that implements the policy will require a product scope that matches the license's product relationship by its identifier (UUID).
getter/setter pair
requireUserScope bool?
When enabled, validating a license that implements the policy will require a user scope that matches the license's user relationship.
getter/setter pair
requireVersionScope bool?
When enabled, validating a license that implements the policy will require a version scope to be provided, matching an accessible release for the license.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strict bool?
When enabled, a license that implements the policy will be considered invalid if its machine limit, machine core limit, or processes limit is surpassed.
getter/setter pair
transferStrategy UpdatePolicyRequestDataAttributesTransferStrategyEnum?
Control whether a license's expiration is reset when transferred to this policy.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) UpdatePolicyRequestDataAttributes?
Returns a new UpdatePolicyRequestDataAttributes instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<UpdatePolicyRequestDataAttributes>
mapFromJson(dynamic json) Map<String, UpdatePolicyRequestDataAttributes>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<UpdatePolicyRequestDataAttributes>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.