Method: KlaviyoAPI::FormSeriesRequestDTOResourceObjectAttributes#list_invalid_properties

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

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons


131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# File 'lib/klaviyo-api-sdk/models/form_series_request_dto_resource_object_attributes.rb', line 131

def list_invalid_properties
  invalid_properties = Array.new
  if @statistics.nil?
    invalid_properties.push('invalid value for "statistics", statistics cannot be nil.')
  end

  if @timeframe.nil?
    invalid_properties.push('invalid value for "timeframe", timeframe cannot be nil.')
  end

  if @interval.nil?
    invalid_properties.push('invalid value for "interval", interval cannot be nil.')
  end

  invalid_properties
end