def auth_type=(auth_type)
      validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
      unless validator.valid?(auth_type)
        fail ArgumentError, 'invalid value for "auth_type", must be one of #{validator.allowable_values}.'
      end
      @auth_type = auth_type
    end
def auth_type=(auth_type)
      validator = EnumAttributeValidator.new('String', ['none', 'password', 'oauth', 'email_link', 'phone_number', 'ldap', 'saml'])
      unless validator.valid?(auth_type)
        fail ArgumentError, 'invalid value for "auth_type", must be one of #{validator.allowable_values}.'
      end
      @auth_type = auth_type
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] auth_type Object to be assigned