Method: IbmCloudPower::Status#valid?

Defined in:
lib/ibm_cloud_power/models/status.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



101
102
103
104
105
# File 'lib/ibm_cloud_power/models/status.rb', line 101

def valid?
  return false if @progress.nil?
  return false if @state.nil?
  true
end