Method: KlaviyoAPI::TriggerBranchActionData#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/klaviyo-api-sdk/models/trigger_branch_action_data.rb', line 116

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

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

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

  invalid_properties
end