lib/purecloudplatformclientv2/models/dialer_action.rb in purecloudplatformclientv2-5.1.1 vs lib/purecloudplatformclientv2/models/dialer_action.rb in purecloudplatformclientv2-6.0.0

- old
+ new

@@ -2,11 +2,11 @@ PureCloud Platform API With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more. OpenAPI spec version: v2 -Contact: DeveloperEvangelists@inin.com +Contact: DeveloperEvangelists@genesys.com Generated by: https://github.com/swagger-api/swagger-codegen.git License: ININ http://www.inin.com @@ -98,11 +98,11 @@ end if @action_type_name.nil? return false end - allowed_values = ["DO_NOT_DIAL", "MODIFY_CONTACT_ATTRIBUTE", "SWITCH_TO_PREVIEW", "APPEND_NUMBER_TO_DNC_LIST", "SCHEDULE_CALLBACK", "CONTACT_UNCALLABLE", "NUMBER_UNCALLABLE"] + allowed_values = ["DO_NOT_DIAL", "MODIFY_CONTACT_ATTRIBUTE", "SWITCH_TO_PREVIEW", "APPEND_NUMBER_TO_DNC_LIST", "SCHEDULE_CALLBACK", "CONTACT_UNCALLABLE", "NUMBER_UNCALLABLE", "SET_CALLER_ID", "SET_SKILLS"] if @action_type_name && !allowed_values.include?(@action_type_name) return false end allowed_values = ["SET", "INCREMENT", "DECREMENT", "CURRENT_TIME"] if @update_option && !allowed_values.include?(@update_option) @@ -121,10 +121,10 @@ end # Custom attribute writer method checking allowed values (enum). # @param [Object] action_type_name Object to be assigned def action_type_name=(action_type_name) - allowed_values = ["DO_NOT_DIAL", "MODIFY_CONTACT_ATTRIBUTE", "SWITCH_TO_PREVIEW", "APPEND_NUMBER_TO_DNC_LIST", "SCHEDULE_CALLBACK", "CONTACT_UNCALLABLE", "NUMBER_UNCALLABLE"] + allowed_values = ["DO_NOT_DIAL", "MODIFY_CONTACT_ATTRIBUTE", "SWITCH_TO_PREVIEW", "APPEND_NUMBER_TO_DNC_LIST", "SCHEDULE_CALLBACK", "CONTACT_UNCALLABLE", "NUMBER_UNCALLABLE", "SET_CALLER_ID", "SET_SKILLS"] if action_type_name && !allowed_values.include?(action_type_name) fail ArgumentError, "invalid value for 'action_type_name', must be one of #{allowed_values}." end @action_type_name = action_type_name end