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