def prepare_channel_subscription(self, data): return ( Channel.from_response_data(data.get('channel', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )
def prepare_block(self, data): return ( User.from_response_data(data.get('blocked_user', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )
def prepare_stream_marker(self, data): return ( SimpleValueModel.from_response_data(data.get('marker', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )
def prepare_user_follow(self, data): return ( User.from_response_data(data.get('follows_user', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )
def prepare_mute(self, data): return ( User.from_response_data(data.get('muted_user', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )
def prepare_star(self, data): return ( Post.from_response_data(data.get('post', {}), self.api), User.from_response_data(data.get('user', {}), self.api), )