Method: OpenapiClient::AuditLog#list_invalid_properties
- Defined in:
- lib/openapi_client/models/audit_log.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 |
# File 'lib/openapi_client/models/audit_log.rb', line 206 def list_invalid_properties invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @action.nil? invalid_properties.push('invalid value for "action", action cannot be nil.') end if @timestamp.nil? invalid_properties.push('invalid value for "timestamp", timestamp cannot be nil.') end if @query.nil? invalid_properties.push('invalid value for "query", query cannot be nil.') end if @pdp_config_id.nil? invalid_properties.push('invalid value for "pdp_config_id", pdp_config_id cannot be nil.') end if @env_id.nil? invalid_properties.push('invalid value for "env_id", env_id cannot be nil.') end if @project_id.nil? invalid_properties.push('invalid value for "project_id", project_id cannot be nil.') end if @org_id.nil? invalid_properties.push('invalid value for "org_id", org_id cannot be nil.') end invalid_properties end |