lib/purecloudplatformclientv2/models/schedule.rb in purecloudplatformclientv2-17.0.0 vs lib/purecloudplatformclientv2/models/schedule.rb in purecloudplatformclientv2-18.0.0

- old
+ new

@@ -20,30 +20,38 @@ # Defines a period of time to perform a specific action. Each schedule must be associated with one or more schedule groups to be used. class Schedule # The globally unique identifier for the object. attr_accessor :id + # The name of the entity. attr_accessor :name + # The resource's description. attr_accessor :description + # The current version of the resource. attr_accessor :version - # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ + # The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :date_created - # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ + # The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :date_modified + # The ID of the user that last modified the resource. attr_accessor :modified_by + # The ID of the user that created the resource. attr_accessor :created_by + # Indicates if the resource is active, inactive, or deleted. attr_accessor :state + # The application that last modified the resource. attr_accessor :modified_by_app + # The application that created the resource. attr_accessor :created_by_app # Date time is represented as an ISO-8601 string without a timezone. For example: yyyy-MM-ddTHH:mm:ss.SSS attr_accessor :start @@ -291,9 +299,14 @@ + + if @name.nil? + return false + end +