Sha256: eb7b44f914c1a0eb3f7a90a85587600244f99c1e0057b7bbab53cbe40c994433
Contents?: true
Size: 934 Bytes
Versions: 18
Compression:
Stored size: 934 Bytes
Contents
# bandwidth # # This file was automatically generated by APIMATIC v2.0 # ( https://apimatic.io ). module Bandwidth # ParticipantSubscription Model. class ParticipantSubscription < BaseModel # Participant the subscriber should be subscribed to # @return [String] attr_accessor :participant_id # A mapping from model property names to API property names. def self.names @_hash = {} if @_hash.nil? @_hash['participant_id'] = 'participantId' @_hash end def initialize(participant_id = nil) @participant_id = participant_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. participant_id = hash['participantId'] # Create object from extracted values. ParticipantSubscription.new(participant_id) end end end
Version data entries
18 entries across 18 versions & 1 rubygems