lib/purecloud/models/trunk_base.rb in purecloud-0.36.1 vs lib/purecloud/models/trunk_base.rb in purecloud-0.37.1

- old
+ new

@@ -1,18 +1,18 @@ =begin -PureCloud API +PureCloud Platform API -PureCloud 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: v1 -Contact: chuck.pulfer@inin.com +OpenAPI spec version: v2 +Contact: DeveloperEvangelists@inin.com Generated by: https://github.com/swagger-api/swagger-codegen.git License: ININ http://www.inin.com -Terms of Service: http://www.inin.com +Terms of Service: https://developer.mypurecloud.com/tos =end require 'date' @@ -196,10 +196,10 @@ end # Custom attribute writer method checking allowed values (enum). def state=(state) - allowed_values = ["ACTIVE", "INACTIVE", "DELETED"] + allowed_values = ["active", "inactive", "deleted"] if state && !allowed_values.include?(state) fail "invalid value for 'state', must be one of #{allowed_values}" end @state = state end