Method: PulpcoreClient::TaskScheduleResponse#list_invalid_properties

Defined in:
lib/pulpcore_client/models/task_schedule_response.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/pulpcore_client/models/task_schedule_response.rb', line 148

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @name.nil?
    invalid_properties.push('invalid value for "name", name cannot be nil.')
  end

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

  invalid_properties
end