Method: PureCloud::CampaignSequenceNotification#valid?

Defined in:
lib/purecloudplatformclientv2/models/campaign_sequence_notification.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



142
143
144
145
146
147
# File 'lib/purecloudplatformclientv2/models/campaign_sequence_notification.rb', line 142

def valid?
  allowed_values = ["ON", "OFF", "COMPLETE"]
  if @status && !allowed_values.include?(@status)
    return false
  end
end