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?



116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/pulpcore_client/models/task_schedule_response.rb', line 116

def list_invalid_properties
  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

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

  invalid_properties
end