/// <summary> /// Initializes a new instance of the <see cref="DialerRulesetConfigChangeRuleSet" /> class. /// </summary> /// <param name="ContactList">ContactList.</param> /// <param name="Queue">A UriReference for a resource.</param> /// <param name="Rules">Rules.</param> /// <param name="Id">The globally unique identifier for the object..</param> /// <param name="Name">The UI-visible name of the object.</param> /// <param name="DateCreated">Creation time of the entity.</param> /// <param name="DateModified">Last modified time of the entity.</param> /// <param name="Version">Required for updates, must match the version number of the most recent update.</param> public DialerRulesetConfigChangeRuleSet(DialerRulesetConfigChangeUriReference ContactList = null, DialerRulesetConfigChangeUriReference Queue = null, List <DialerRulesetConfigChangeRule> Rules = null, string Id = null, string Name = null, DateTime?DateCreated = null, DateTime?DateModified = null, int?Version = null) { this.ContactList = ContactList; this.Queue = Queue; this.Rules = Rules; this.Id = Id; this.Name = Name; this.DateCreated = DateCreated; this.DateModified = DateModified; this.Version = Version; }
/// <summary> /// Initializes a new instance of the <see cref="DialerRulesetConfigChangeCondition" /> class. /// </summary> /// <param name="DataAction">A UriReference for a resource.</param> /// <param name="Type">The type of the condition.</param> /// <param name="Inverted">Indicates whether to evaluate for the opposite of the stated condition; default is false.</param> /// <param name="AttributeName">An attribute name associated with the condition (applies only to certain rule conditions).</param> /// <param name="Value">A value associated with the condition.</param> /// <param name="ValueType">Determines the type of the value associated with the condition.</param> /// <param name="Operator">An operation type for condition evaluation.</param> /// <param name="Codes">List of wrap-up code identifiers (used only in conditions of type 'wrapupCondition').</param> /// <param name="PropertyType">Determines the type of the property associated with the condition.</param> /// <param name="Property">A value associated with the property type of this condition.</param> /// <param name="DataNotFoundResolution">The result of this condition if the data action returns a result indicating there was no data. Required for a DataActionCondition..</param> /// <param name="ContactIdField">The input field from the data action that the contactId will be passed to for this condition. Valid for a dataActionCondition..</param> /// <param name="CallAnalysisResultField">The input field from the data action that the callAnalysisResult will be passed to for this condition. Valid for a wrapup dataActionCondition..</param> /// <param name="AgentWrapupField">The input field from the data action that the agentWrapup will be passed to for this condition. Valid for a wrapup dataActionCondition..</param> /// <param name="ContactColumnToDataActionFieldMappings">A list of mappings defining which contact data fields will be passed to which data action input fields for this condition. Valid for a dataActionCondition..</param> /// <param name="Predicates">A list of predicates defining the comparisons to use for this condition. Required for a dataActionCondition..</param> public DialerRulesetConfigChangeCondition(DialerRulesetConfigChangeUriReference DataAction = null, string Type = null, bool?Inverted = null, string AttributeName = null, string Value = null, ValueTypeEnum?ValueType = null, OperatorEnum?Operator = null, List <string> Codes = null, PropertyTypeEnum?PropertyType = null, string Property = null, bool?DataNotFoundResolution = null, string ContactIdField = null, string CallAnalysisResultField = null, string AgentWrapupField = null, List <DialerRulesetConfigChangeContactColumnToDataActionFieldMapping> ContactColumnToDataActionFieldMappings = null, List <DialerRulesetConfigChangeDataActionConditionPredicate> Predicates = null) { this.DataAction = DataAction; this.Type = Type; this.Inverted = Inverted; this.AttributeName = AttributeName; this.Value = Value; this.ValueType = ValueType; this.Operator = Operator; this.Codes = Codes; this.PropertyType = PropertyType; this.Property = Property; this.DataNotFoundResolution = DataNotFoundResolution; this.ContactIdField = ContactIdField; this.CallAnalysisResultField = CallAnalysisResultField; this.AgentWrapupField = AgentWrapupField; this.ContactColumnToDataActionFieldMappings = ContactColumnToDataActionFieldMappings; this.Predicates = Predicates; }