DownloadAccessRestriction class

Constructors

DownloadAccessRestriction()
DownloadAccessRestriction.fromJson(Map _json)

Properties

deviceAllowed ↔ bool
If restricted, whether access is granted for this (user, device, volume).
read / write
downloadsAcquired ↔ int
If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
read / write
justAcquired ↔ bool
If deviceAllowed, whether access was just acquired with this request.
read / write
kind ↔ String
Resource type.
read / write
maxDownloadDevices ↔ int
If restricted, the maximum number of content download licenses for this volume.
read / write
message ↔ String
Error/warning message.
read / write
nonce ↔ String
Client nonce for verification. Download access and client-validation only.
read / write
reasonCode ↔ String
Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
read / write
restricted ↔ bool
Whether this volume has any download access restrictions.
read / write
signature ↔ String
Response signature.
read / write
source ↔ String
Client app identifier for verification. Download access and client-validation only.
read / write
volumeId ↔ String
Identifies the volume for which this entry applies.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited