lib/purecloud/models/conversation_notification_video.rb in purecloud-0.52.1 vs lib/purecloud/models/conversation_notification_video.rb in purecloud-0.53.1
- old
+ new
@@ -157,18 +157,9 @@
end
@state = state
end
# Custom attribute writer method checking allowed values (enum).
- def provider=(provider)
- allowed_values = ["PureCloud WebRTC", "PureCloud Email", "PureCloud Webchat", "PureCloud Co-browse", "PureCloud VR", "PureCloud Callback", "PureCloud Social Channel Management", "PureCloud Fax", "Edge", "Twillio", "Bifrost", "Unknown"]
- if provider && !allowed_values.include?(provider)
- fail "invalid value for 'provider', must be one of #{allowed_values}"
- end
- @provider = provider
- end
-
- # Custom attribute writer method checking allowed values (enum).
def disconnect_type=(disconnect_type)
allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TIMEOUT", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "TRANSFER_FORWARD", "TRANSFER_NOANSWER", "TRANSFER_NOTAVAILABLE", "TRANSPORT_FAILURE", "ERROR", "PEER", "OTHER", "SPAM"]
if disconnect_type && !allowed_values.include?(disconnect_type)
fail "invalid value for 'disconnect_type', must be one of #{allowed_values}"
end