Method: Falcon::ApiAuditEventDetailsResourceV1#list_invalid_properties

Defined in:
lib/crimson-falcon/models/api_audit_event_details_resource_v1.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'lib/crimson-falcon/models/api_audit_event_details_resource_v1.rb', line 124

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

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

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

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

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

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

  invalid_properties
end