lib/purecloud/models/endpoint.rb in purecloud-0.28.0 vs lib/purecloud/models/endpoint.rb in purecloud-0.29.1

- old
+ new

@@ -98,11 +98,11 @@ :'created_by' => :'String', :'state' => :'String', :'modified_by_app' => :'String', :'created_by_app' => :'String', :'count' => :'Integer', - :'properties' => :'Hash<String, inline_response_200>', + :'properties' => :'Hash<String, Line_properties>', :'schema' => :'UriReference', :'enabled' => :'BOOLEAN', :'site' => :'UriReference', :'dids' => :'Array<String>', :'self_uri' => :'String' @@ -197,10 +197,10 @@ end # Custom attribute writer method checking allowed values (enum). def state=(state) - allowed_values = ["ACTIVE", "DELETED", "INACTIVE"] + 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