Method: DocuSign_Maestro::WorkflowDefinition#valid?

Defined in:
lib/docusign_maestro/models/workflow_definition.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid

[View source]

169
170
171
172
173
174
175
176
177
178
179
# File 'lib/docusign_maestro/models/workflow_definition.rb', line 169

def valid?
  return false if @account_id.nil?
  return false if @document_version.nil?
  return false if @schema_version.nil?
  return false if @steps.nil?
  return false if @trigger.nil?
  return false if @variables.nil?
  return false if @workflow_description.nil?
  return false if @workflow_name.nil?
  true
end