Method: Kuapir::FilmSearchByFiltersResponseItems#valid?

Defined in:
lib/kuapir/models/film_search_by_filters_response_items.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



145
146
147
148
149
150
# File 'lib/kuapir/models/film_search_by_filters_response_items.rb', line 145

def valid?
  type_validator = EnumAttributeValidator.new("String", %w[FILM TV_SHOW VIDEO MINI_SERIES TV_SERIES UNKNOWN])
  return false unless type_validator.valid?(@type)

  true
end