docs: def _from_dict(cls, _dict):
          """Initialize a ValueCollection object from a json dictionary."""
          args = {}
          if 'values' in _dict:
              args['values'] = [
                  Value._from_dict(x) for x in (_dict.get('values'))
              ]
          else:
              raise ValueError(
                  'Required property \'values\' not present in ValueCollection JSON'
              )
          if 'pagination' in _dict:
              args['pagination'] = Pagination._from_dict(_dict.get('pagination'))
          else:
              raise ValueError(
                  'Required property \'pagination\' not present in ValueCollection JSON'
              )
          return cls(**args)