Constructor for Permission
objects. Takes all of the attributes as an object.
An object containing all fields for the Permission.
A 2-character ISO country code indicating the regions where this applies. Use the
CountryCode enum for an easy, validated option; maps to country_code
Boolean flag defining whether the permissions is granted or not; maps to enabled
The end of the date range for which this permissions applies. Provide a Date object;
maps to end_date
The start of the date range for which this permissions applies. Provide a Date object;
maps to start_date
The permissions type. See AudioSalad documentation for possible types; maps to type
Generates AudioSalad XML for the permissions.
AudioSalad XML <permissions>
element
Generated using TypeDoc
A date and region-bounded distribution permissions; maps to
permission_type