Method: KlaviyoAPI::FlowCreateQueryResourceObjectAttributes#valid?

Defined in:
lib/klaviyo-api-sdk/models/flow_create_query_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



91
92
93
94
95
# File 'lib/klaviyo-api-sdk/models/flow_create_query_resource_object_attributes.rb', line 91

def valid?
  return false if @name.nil?
  return false if @definition.nil?
  true
end