Sha256: 14ffafcf94ee6501c65df141c06847133def23c71610cbff3ccede4ad383a8d6

Contents?: true

Size: 859 Bytes

Versions: 3

Compression:

Stored size: 859 Bytes

Contents

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

module Bandwidth
  # ModifyCallRecordingState Model.
  class ModifyCallRecordingState < BaseModel
    # TODO: Write general description for this method
    # @return [State1Enum]
    attr_accessor :state

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

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

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

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

      # Create object from extracted values.
      ModifyCallRecordingState.new(state)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bandwidth-sdk-2.1.1 lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
bandwidth-sdk-2.1.0 lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
bandwidth-sdk-2.0.0 lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb