code: def from_value(value):
          
          if isinstance(value, PagingParams):
              return value
          if isinstance(value, AnyValueMap):
              return PagingParams.from_map(value)
          
          map = AnyValueMap.from_value(value)
          return PagingParams.from_map(map)
docs: Converts specified value into PagingParams.
  
          :param value: value to be converted
  
          :return: a newly created PagingParams.