/// <summary> /// Initializes a new instance of the <see cref="ServerConfigChangeDetail" /> class. /// </summary> /// <param name="ConfigChangeContext">ConfigChangeContext.</param> /// <param name="ConfigChangeType">ConfigChangeType.</param> /// <param name="DisruptionType">DisruptionType.</param> /// <param name="Message">Message.</param> /// <param name="MessageParams">MessageParams.</param> public ServerConfigChangeDetail(PolicyConfigResultContext ConfigChangeContext = default(PolicyConfigResultContext), string ConfigChangeType = default(string), string DisruptionType = default(string), string Message = default(string), Object MessageParams = default(Object)) { this.ConfigChangeContext = ConfigChangeContext; this.ConfigChangeType = ConfigChangeType; this.DisruptionType = DisruptionType; this.Message = Message; this.MessageParams = MessageParams; }
/// <summary> /// Initializes a new instance of the <see cref="PolicyAbstractConfigResultEntry" /> class. /// </summary> /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param> /// <param name="Moid">A unique identifier of this Managed Object instance. .</param> /// <param name="Owners">An array of owners which represent effective ownership of this object. .</param> /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param> /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects. .</param> /// <param name="CompletedTime">The completed time of the task in installer .</param> /// <param name="Context">Context.</param> /// <param name="Message">Localized message based on the locale setting of the user's context .</param> /// <param name="OwnerId">OwnerId.</param> /// <param name="State">Values - - ok, ok-with-warning, errored .</param> /// <param name="Type">Indicates if the result is reported during the logical model validation/resource allocation phase or the configuration applying phase. Values - - validation, config .</param> public PolicyAbstractConfigResultEntry(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), string CompletedTime = default(string), PolicyConfigResultContext Context = default(PolicyConfigResultContext), string Message = default(string), string OwnerId = default(string), string State = default(string), string Type = default(string)) { this.Ancestors = Ancestors; this.Moid = Moid; this.Owners = Owners; this.Parent = Parent; this.Tags = Tags; this.CompletedTime = CompletedTime; this.Context = Context; this.Message = Message; this.OwnerId = OwnerId; this.State = State; this.Type = Type; }
/// <summary> /// Initializes a new instance of the <see cref="PolicyAbstractConfigChangeDetail" /> class. /// </summary> /// <param name="Ancestors">Ancestors is an array containing the MO references of the ancestors in the object containment hierarchy. .</param> /// <param name="Moid">A unique identifier of this Managed Object instance. .</param> /// <param name="Owners">An array of owners which represent effective ownership of this object. .</param> /// <param name="Parent">The direct ancestor of this managed object in the containment hierarchy. .</param> /// <param name="Tags">An array of tags, which allow to add key, value meta-data to managed objects. .</param> /// <param name="VersionContext">The versioning info for this managed object .</param> /// <param name="Changes">Type of the configuration change .</param> /// <param name="ConfigChangeContext">Context information on the change. .</param> /// <param name="Disruptions">Possible discrution the configuration change might cause .</param> /// <param name="Message">Detailed description of the config change .</param> /// <param name="ModStatus">Modification status of the mo in this config change (default to ModStatusEnum.None).</param> public PolicyAbstractConfigChangeDetail(List <MoBaseMoRef> Ancestors = default(List <MoBaseMoRef>), string Moid = default(string), List <string> Owners = default(List <string>), MoBaseMoRef Parent = default(MoBaseMoRef), List <MoTag> Tags = default(List <MoTag>), MoVersionContext VersionContext = default(MoVersionContext), List <string> Changes = default(List <string>), PolicyConfigResultContext ConfigChangeContext = default(PolicyConfigResultContext), List <string> Disruptions = default(List <string>), string Message = default(string), ModStatusEnum?ModStatus = ModStatusEnum.None) { this.Ancestors = Ancestors; this.Moid = Moid; this.Owners = Owners; this.Parent = Parent; this.Tags = Tags; this.VersionContext = VersionContext; this.Changes = Changes; this.ConfigChangeContext = ConfigChangeContext; this.Disruptions = Disruptions; this.Message = Message; // use default value if no "ModStatus" provided if (ModStatus == null) { this.ModStatus = ModStatusEnum.None; } else { this.ModStatus = ModStatus; } }