class

Plaid::MFA

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Specifies the multi-factor authentication settings to use with this test account

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, _type : String | Nil = nil, question_rounds : Float64 | Nil = nil, questions_per_round : Float64 | Nil = nil, selection_rounds : Float64 | Nil = nil, selections_per_question : Float64 | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

_type

Possible values are device, selections, or questions. If value is device, the MFA answer is 1234. If value is selections, the MFA answer is always the first option. If value is questions, the MFA answer is answer_<i>_<j> for the j-th question in the i-th round, starting from 0. For example, the answer to the first question in the second round is answer_1_0.

Source
_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
question_rounds

Number of rounds of questions. Required if value of type is questions.

Source
question_rounds=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] question_rounds Object to be assigned

Source
questions_per_round

Number of questions per round. Required if value of type is questions. If value of type is selections, default value is 2.

Source
questions_per_round=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] questions_per_round Object to be assigned

Source
selection_rounds

Number of rounds of selections, used if type is selections. Defaults to 1.

Source
selection_rounds=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] selection_rounds Object to be assigned

Source
selections_per_question

Number of available answers per question, used if type is selection. Defaults to 2.

Source
selections_per_question=(new_value : Float64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] selections_per_question Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source