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