Sha256: 4482e3713364c7d7532b0d5c7dc84a611afd2addc7d3b7b35e91590f36cdb963

Contents?: true

Size: 865 Bytes

Versions: 23

Compression:

Stored size: 865 Bytes

Contents

# bandwidth
#
# This file was automatically generated by APIMATIC v2.0
# ( https://apimatic.io ).

module Bandwidth
  # TwoFactorVerifyCodeResponse Model.
  class TwoFactorVerifyCodeResponse < BaseModel
    # TODO: Write general description for this method
    # @return [Boolean]
    attr_accessor :valid

    # A mapping from model property names to API property names.
    def self.names
      @_hash = {} if @_hash.nil?
      @_hash['valid'] = 'valid'
      @_hash
    end

    def initialize(valid = nil)
      @valid = valid
    end

    # Creates an instance of the object from a hash.
    def self.from_hash(hash)
      return nil unless hash

      # Extract variables from the hash.
      valid = hash['valid']

      # Create object from extracted values.
      TwoFactorVerifyCodeResponse.new(valid)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bandwidth-sdk-8.0.0 lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-7.1.0 lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-7.0.0 lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-6.2.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-6.1.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-6.0.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-5.0.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-4.0.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.13.2 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.13.1 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.13.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.12.1 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.12.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.11.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.10.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.9.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.8.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.7.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.6.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
bandwidth-sdk-3.5.0 lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb