Method: Bfwd::DataSynchronisationAppConfigurationPagedMetadata#list_invalid_properties

Defined in:
lib/bf_ruby2/models/data_synchronisation_app_configuration_paged_metadata.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# File 'lib/bf_ruby2/models/data_synchronisation_app_configuration_paged_metadata.rb', line 108

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

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

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

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

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

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

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

  return invalid_properties
end