(self, view_id, view_name, sketch_id, api)
Initializes the View object.

        Args:
            view_id: Primary key ID for the view.
            view_name: The name of the view.
            sketch_id: ID of a sketch.
            api: Instance of a TimesketchApi object.
Initializes the View object.
Initializes the View object .
def __init__(self, view_id, view_name, sketch_id, api):
        """Initializes the View object.

        Args:
            view_id: Primary key ID for the view.
            view_name: The name of the view.
            sketch_id: ID of a sketch.
            api: Instance of a TimesketchApi object.
        """
        logger.info(
            'View objects will be deprecated soon, consider transitioning '
            'into using the search.Search object instead')
        self.id = view_id
        self.name = view_name
        resource_uri = 'sketches/{0:d}/views/{1:d}/'.format(sketch_id, self.id)
        super().__init__(api, resource_uri)
def __init__ ( self , view_id , view_name , sketch_id , api ) : logger . info ( 'View objects will be deprecated soon, consider transitioning ' 'into using the search.Search object instead' ) self . id = view_id self . name = view_name resource_uri = 'sketches/{0:d}/views/{1:d}/' . format ( sketch_id , self . id ) super ( ) . __init__ ( api , resource_uri )