/// <summary> /// Initializes a new instance of the <see cref="WorkflowLaunchableDesignRecord" /> class. /// </summary> /// <param name="DisplayName">Display name of the launchable..</param> /// <param name="Meta">Meta.</param> /// <param name="Roles">Role assignments. @todo Indication of whether assignment may be overridden?.</param> /// <param name="Description">Description of workflow..</param> /// <param name="Config">Workflow configuration data. @todo TBD. But for now just say it's some JSON..</param> /// <param name="Status">Status.</param> public WorkflowLaunchableDesignRecord(string DisplayName = null, WorkflowMetaRecord Meta = null, List <WorkflowRolesRecord> Roles = null, string Description = null, Object Config = null, bool?Status = null) { this.DisplayName = DisplayName; this.Meta = Meta; this.Roles = Roles; this.Description = Description; this.Config = Config; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="GetWorkflowMetaDataResult" /> class. /// </summary> /// <param name="Meta">Meta (required).</param> /// <param name="Hdr">Hdr (required).</param> public GetWorkflowMetaDataResult(WorkflowMetaRecord Meta = null, ResponseHeaderRecord Hdr = null) { // to ensure "Meta" is required (not null) if (Meta == null) { throw new InvalidDataException("Meta is a required property for GetWorkflowMetaDataResult and cannot be null"); } else { this.Meta = Meta; } // to ensure "Hdr" is required (not null) if (Hdr == null) { throw new InvalidDataException("Hdr is a required property for GetWorkflowMetaDataResult and cannot be null"); } else { this.Hdr = Hdr; } }
/// <summary> /// Initializes a new instance of the <see cref="WorkflowLaunchableRecord" /> class. /// </summary> /// <param name="AnonymousIconTiny">Anonymous icon path for tiny size..</param> /// <param name="AnonymousIconLarge">Anonymous icon path for large size..</param> /// <param name="DisplayName">Display Name..</param> /// <param name="AnonymousName">Anonymous Name..</param> /// <param name="IconMedium">Icon path for medium size..</param> /// <param name="IconLarge">Icon path for large size..</param> /// <param name="AnonymousIconEdit">Anonymous icon path for edit purpose..</param> /// <param name="Type">Type of Display Record.</param> /// <param name="AnonymousIconMedium">Anonymous icon path for medium size..</param> /// <param name="Solution">User solution.</param> /// <param name="AnonymousIconSmall">Anonymous icon path for small size..</param> /// <param name="NaviKey">Navigation Key ; store navigation group letter.</param> /// <param name="IsRegistered">Whether can login the network..</param> /// <param name="IsDisabled">Check user disabled.</param> /// <param name="IconTiny">Icon path for tiny size..</param> /// <param name="IconSmall">Icon path for small size..</param> /// <param name="Key">Key of Display record..</param> /// <param name="IconEdit">Icon path for edit purpose..</param> /// <param name="IsProvisioned">Determines if the user is a provisioned user or not..</param> /// <param name="Status">User Status..</param> /// <param name="Creator">Creator.</param> /// <param name="Name">Name of the item..</param> /// <param name="Description">Description of the item..</param> /// <param name="Data">Launch data to be provided by client..</param> /// <param name="Meta">Meta.</param> /// <param name="Roles">Role assignments. @todo Indication of whether assignment may be overridden?.</param> public WorkflowLaunchableRecord(string AnonymousIconTiny = null, string AnonymousIconLarge = null, string DisplayName = null, string AnonymousName = null, string IconMedium = null, string IconLarge = null, string AnonymousIconEdit = null, string Type = null, string AnonymousIconMedium = null, string Solution = null, string AnonymousIconSmall = null, string NaviKey = null, bool?IsRegistered = null, bool?IsDisabled = null, string IconTiny = null, string IconSmall = null, string Key = null, string IconEdit = null, bool?IsProvisioned = null, string Status = null, DisplayRecord Creator = null, string Name = null, string Description = null, List <WorkflowDataRecord> Data = null, WorkflowMetaRecord Meta = null, List <WorkflowRolesRecord> Roles = null) { this.AnonymousIconTiny = AnonymousIconTiny; this.AnonymousIconLarge = AnonymousIconLarge; this.DisplayName = DisplayName; this.AnonymousName = AnonymousName; this.IconMedium = IconMedium; this.IconLarge = IconLarge; this.AnonymousIconEdit = AnonymousIconEdit; this.Type = Type; this.AnonymousIconMedium = AnonymousIconMedium; this.Solution = Solution; this.AnonymousIconSmall = AnonymousIconSmall; this.NaviKey = NaviKey; this.IsRegistered = IsRegistered; this.IsDisabled = IsDisabled; this.IconTiny = IconTiny; this.IconSmall = IconSmall; this.Key = Key; this.IconEdit = IconEdit; this.IsProvisioned = IsProvisioned; this.Status = Status; this.Creator = Creator; this.Name = Name; this.Description = Description; this.Data = Data; this.Meta = Meta; this.Roles = Roles; }