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