lib/ory-client/models/message.rb in ory-client-1.1.51 vs lib/ory-client/models/message.rb in ory-client-1.2.0

- old
+ new

@@ -1,11 +1,11 @@ =begin #Ory APIs #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. -The version of the OpenAPI document: v1.1.51 +The version of the OpenAPI document: v1.2.0 Contact: support@ory.sh Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.1 =end @@ -31,11 +31,11 @@ attr_accessor :status attr_accessor :subject - # recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid otp TypeOTP stub TypeTestStub + # recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid otp TypeOTP stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid attr_accessor :template_type attr_accessor :type # UpdatedAt is a helper struct field for gobuffalo.pop. @@ -226,20 +226,20 @@ return false if @recipient.nil? return false if @send_count.nil? return false if @status.nil? return false if @subject.nil? return false if @template_type.nil? - template_type_validator = EnumAttributeValidator.new('String', ["recovery_invalid", "recovery_valid", "recovery_code_invalid", "recovery_code_valid", "verification_invalid", "verification_valid", "verification_code_invalid", "verification_code_valid", "otp", "stub"]) + template_type_validator = EnumAttributeValidator.new('String', ["recovery_invalid", "recovery_valid", "recovery_code_invalid", "recovery_code_valid", "verification_invalid", "verification_valid", "verification_code_invalid", "verification_code_valid", "otp", "stub", "login_code_valid", "registration_code_valid"]) return false unless template_type_validator.valid?(@template_type) return false if @type.nil? return false if @updated_at.nil? true end # Custom attribute writer method checking allowed values (enum). # @param [Object] template_type Object to be assigned def template_type=(template_type) - validator = EnumAttributeValidator.new('String', ["recovery_invalid", "recovery_valid", "recovery_code_invalid", "recovery_code_valid", "verification_invalid", "verification_valid", "verification_code_invalid", "verification_code_valid", "otp", "stub"]) + validator = EnumAttributeValidator.new('String', ["recovery_invalid", "recovery_valid", "recovery_code_invalid", "recovery_code_valid", "verification_invalid", "verification_valid", "verification_code_invalid", "verification_code_valid", "otp", "stub", "login_code_valid", "registration_code_valid"]) unless validator.valid?(template_type) fail ArgumentError, "invalid value for \"template_type\", must be one of #{validator.allowable_values}." end @template_type = template_type end