Sha256: 19fabc597ab47afa7b8245320f7b9a5a74244ccb0068b8dedc0e795b9ba84d02
Contents?: true
Size: 904 Bytes
Versions: 23
Compression:
Stored size: 904 Bytes
Contents
# bandwidth # # This file was automatically generated by APIMATIC v2.0 # ( https://apimatic.io ). module Bandwidth # TwoFactorMessagingResponse Model. class TwoFactorMessagingResponse < BaseModel # TODO: Write general description for this method # @return [String] attr_accessor :message_id # A mapping from model property names to API property names. def self.names @_hash = {} if @_hash.nil? @_hash['message_id'] = 'messageId' @_hash end def initialize(message_id = nil) @message_id = message_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. message_id = hash['messageId'] # Create object from extracted values. TwoFactorMessagingResponse.new(message_id) end end end
Version data entries
23 entries across 23 versions & 1 rubygems