Storage Location

class AzuracastPy.models.administration.StorageLocation(id, type, adapter, path, s3_credential_key, s3_credential_secret, s3_region, s3_version, s3_bucket, s3_endpoint, dropbox_app_key, dropbox_app_secret, dropbox_auth_token, sftp_host, sftp_username, sftp_password, sftp_port, sftp_private_key, sftp_private_key_pass_phrase, storage_quota, storage_quota_bytes, storage_used, storage_used_bytes, storage_available, storage_available_bytes, storage_used_percent, is_full, uri, stations, links, _admin)

Represents a storage location on a radio.

__init__(id, type, adapter, path, s3_credential_key, s3_credential_secret, s3_region, s3_version, s3_bucket, s3_endpoint, dropbox_app_key, dropbox_app_secret, dropbox_auth_token, sftp_host, sftp_username, sftp_password, sftp_port, sftp_private_key, sftp_private_key_pass_phrase, storage_quota, storage_quota_bytes, storage_used, storage_used_bytes, storage_available, storage_available_bytes, storage_used_percent, is_full, uri, stations, links, _admin)

Initializes a StorageLocation object.

Note

This class should not be initialized directly. Instead, obtain an instance via: __call__() or storage_locations().

delete()

Deletes the storage location from the radio.

Sets all attributes of the current StorageLocation object to None.

Usage:

storage_location.delete()