Method: KlaviyoAPI::CampaignCloneQueryResourceObject#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb', line 84

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

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

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

  invalid_properties
end