il2_rest/models.py
def json(self, hide_null=True, return_as_str=False) :
        """
        Convert a BaseModel class to a dict (JSON like).

        Args:
            hide_null (:obj:`bool`, optional): If True, discards every item (key, value) where value is None.
            return_as_str (:obj:`bool`, optional): If True, return the JSON as a string instead of a dict.

        Returns:
            :obj:`dict`/:obj:`str` : return obj as a JSON
        """   
        return BaseModel.to_json(self, hide_null, return_as_str)

        Convert a BaseModel class to a dict (JSON like).

        Args:
            hide_null (:obj:`bool`, optional): If True, discards every item (key, value) where value is None.
            return_as_str (:obj:`bool`, optional): If True, return the JSON as a string instead of a dict.

        Returns:
            :obj:`dict`/:obj:`str` : return obj as a JSON
        
Convert a BaseModel class to a dict (JSON like).
Convert a BaseModel class to a dict ( JSON like ) .
def json(self, hide_null=True, return_as_str=False) :
        return BaseModel.to_json(self, hide_null, return_as_str)
def json ( self , hide_null = True , return_as_str = False ) : return BaseModel . to_json ( self , hide_null , return_as_str )
Convert a BaseModel class to a dict (JSON like).
Convert a BaseModel class to a dict ( JSON like ) .
"""
        Convert a BaseModel class to a dict (JSON like).

        Args:
            hide_null (:obj:`bool`, optional): If True, discards every item (key, value) where value is None.
            return_as_str (:obj:`bool`, optional): If True, return the JSON as a string instead of a dict.

        Returns:
            :obj:`dict`/:obj:`str` : return obj as a JSON
        """
None
self
hide_null
return_as_str
hide_null (
`bool`, optional): If True, discards every item (key, value) where value is None.
` bool ` optional ) : If True discards every item ( key value ) where value is None .
return_as_str (
`bool`, optional): If True, return the JSON as a string instead of a dict.
` bool ` optional ) : If True return the JSON as a string instead of a dict .