def to_dict(self, include_empty: bool=False) -> dict:
    result = {}
    if (hasattr(self, 'data') and self.data):
        result['data'] = [i0.to_dict(include_empty=include_empty) for i0 in self.data]
    elif include_empty:
        result['data'] = []
    if (hasattr(self, 'paging') and self.paging):
        result['paging'] = self.paging.to_dict(include_empty=include_empty)
    elif include_empty:
        result['paging'] = AccountcommonPaginationV3()
    return result
def to_dict(self, include_empty: bool=False) -> dict:
    result = {}
    if (hasattr(self, 'data') and self.data):
        result['data'] = [i0.to_dict(include_empty=include_empty) for i0 in self.data]
    elif include_empty:
        result['data'] = []
    if (hasattr(self, 'paging') and self.paging):
        result['paging'] = self.paging.to_dict(include_empty=include_empty)
    elif include_empty:
        result['paging'] = AccountcommonPaginationV3()
    return result