Method: Hubspot::Cms::UrlRedirects::CollectionResponseWithTotalUrlMapping#valid?

Defined in:
lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid


98
99
100
101
102
# File 'lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb', line 98

def valid?
  return false if @total.nil?
  return false if @results.nil?
  true
end