code: func (r *GetOAuthTokenRequest) Validate() error {
  	switch {
  	case len(r.Scopes) == 0:
  		return errors.New(`field "scopes" is required`)
  	case len(r.Secret) == 0:
  		return errors.New(`field "secret" is required`)
  	case r.AccountID == "":
  		return errors.New(`field "account_id" is required`)
  	}
  	return nil
  }
docs: // Validate checks that the request is structurally valid.