Method: DocuSign_Maestro::WorkflowDefinition#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons

[View source]

130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# File 'lib/docusign_maestro/models/workflow_definition.rb', line 130

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

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

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

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

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

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

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

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

  invalid_properties
end