class MessageBird::Voice::List

def data=(value)

def data=(value)
  # Call List API retruns data object instead of items
  # to make it consistence with the rest of the SDK we shall
  # propagate it to items= method
  self.items = value.nil? ? [] : value
end

def pagination=(value)

map the pagination data to root level properties
def pagination=(value)
  map_hash_elements_to_self(value)
end