':param id: Subscription ID.
:type id: ``str``
:param resource: Resource (e.g vlan, ip, etc.).
:type resource: ``str``
:param period: Subscription period.
:type period: ``str``
:param status: Subscription status (active / inactive).
:type status: ``str``
:param price: Subscription price.
:type price: ``str``
:param start_time: Start time for this subscription.
:type start_time: ``datetime.datetime``
:param end_time: End time for this subscription.
:type end_time: ``datetime.datetime``
:param auto_renew: True if the subscription is auto renewed.
:type auto_renew: ``bool``
:param subscribed_object: Optional UUID of the subscribed object.
:type subscribed_object: ``str``'

def __init__(self, id, resource, amount, period, status, price, start_time, end_time, auto_renew, subscribed_object=None):

    self.id = id
    self.resource = resource
    self.amount = amount
    self.period = period
    self.status = status
    self.price = price
    self.start_time = start_time
    self.end_time = end_time
    self.auto_renew = auto_renew
    self.subscribed_object = subscribed_object
