code: def from_array(array):
          
          if array is None or not array:
              return None
          # end if
          assert_type_or_raise(array, dict, parameter_name="array")
  
          data = {}
          data['latitude'] = float(array.get('latitude'))
          data['longitude'] = float(array.get('longitude'))
          data['title'] = u(array.get('title'))
          data['address'] = u(array.get('address'))
          data['foursquare_id'] = u(array.get('foursquare_id')) if array.get('foursquare_id') is not None else None
          data['foursquare_type'] = u(array.get('foursquare_type')) if array.get('foursquare_type') is not None else None
  
          instance = InputVenueMessageContent(**data)
          instance._raw = array
          return instance
docs: Deserialize a new InputVenueMessageContent from a given dictionary.
  
          :return: new InputVenueMessageContent instance.
          :rtype: InputVenueMessageContent