docs: def _from_dict(cls, _dict):
          """Initialize a MetricTokenResponse object from a json dictionary."""
          args = {}
          if 'aggregations' in _dict:
              args['aggregations'] = [
                  MetricTokenAggregation._from_dict(x)
                  for x in (_dict.get('aggregations'))
              ]
          return cls(**args)