Sha256: 2ce0de543aea575d860dc9246d9a25aeb92bf84013b245896c5da2bc12432ccc
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 # TwoFactorVoiceResponse Model. class TwoFactorVoiceResponse < BaseModel # TODO: Write general description for this method # @return [String] attr_accessor :call_id # A mapping from model property names to API property names. def self.names @_hash = {} if @_hash.nil? @_hash['call_id'] = 'callId' @_hash end def initialize(call_id = nil) @call_id = call_id end # Creates an instance of the object from a hash. def self.from_hash(hash) return nil unless hash # Extract variables from the hash. call_id = hash['callId'] # Create object from extracted values. TwoFactorVoiceResponse.new(call_id) end end end
Version data entries
23 entries across 23 versions & 1 rubygems