Method: KlaviyoAPI::SegmentValuesRequestDTOResourceObjectAttributes#valid?

Defined in:
lib/klaviyo-api-sdk/models/segment_values_request_dto_resource_object_attributes.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



125
126
127
128
129
# File 'lib/klaviyo-api-sdk/models/segment_values_request_dto_resource_object_attributes.rb', line 125

def valid?
  return false if @statistics.nil?
  return false if @timeframe.nil?
  true
end