Method: TogaiClient::Incident#valid?
- Defined in:
- lib/togai_client/models/incident.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
193 194 195 196 197 198 199 200 201 202 |
# File 'lib/togai_client/models/incident.rb', line 193 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @id.nil? return false if @alert_id.nil? return false if @alert_version.nil? return false if @alert_template_id.nil? return false if @status.nil? return false if @created_at.nil? true end |