Relay

class AzuracastPy.models.administration.Relay(id: int, name: str, shortcode: str, description: str, url: str, genre: str, type: str, port: int, relay_pw: str, admin_pw: str, mounts: List[Mount])

Represents a relay item of a radio.

__init__(id: int, name: str, shortcode: str, description: str, url: str, genre: str, type: str, port: int, relay_pw: str, admin_pw: str, mounts: List[Mount])

Initializes a Relay object.

Note

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