(self, timeline_id, sketch_id, api, name=None,
                 searchindex=None)
Initializes the Timeline object.

        Args:
            timeline_id: The primary key ID of the timeline.
            sketch_id: ID of a sketch.
            api: Instance of a TimesketchApi object.
            name: Name of the timeline (optional)
            searchindex: The OpenSearch index name (optional)
Initializes the Timeline object.
Initializes the Timeline object .
def __init__(self, timeline_id, sketch_id, api, name=None,
                 searchindex=None):
        """Initializes the Timeline object.

        Args:
            timeline_id: The primary key ID of the timeline.
            sketch_id: ID of a sketch.
            api: Instance of a TimesketchApi object.
            name: Name of the timeline (optional)
            searchindex: The OpenSearch index name (optional)
        """
        self.id = timeline_id
        self._color = ''
        self._name = name
        self._description = ''
        self._searchindex = searchindex
        self._sketch_id = sketch_id
        resource_uri = 'sketches/{0:d}/timelines/{1:d}/'.format(
            sketch_id, self.id)
        super().__init__(api, resource_uri)
def __init__ ( self , timeline_id , sketch_id , api , name = None , searchindex = None ) : self . id = timeline_id self . _color = '' self . _name = name self . _description = '' self . _searchindex = searchindex self . _sketch_id = sketch_id resource_uri = 'sketches/{0:d}/timelines/{1:d}/' . format ( sketch_id , self . id ) super ( ) . __init__ ( api , resource_uri )