/// <summary> /// Initializes a new instance of the <see cref="Plugin" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName (required).</param> /// <param name="Description">Description.</param> /// <param name="ConnectorType">ConnectorType.</param> /// <param name="InputDataset">InputDataset.</param> /// <param name="FlowSteps">FlowSteps.</param> public Plugin(string Id = default(string), string DisplayName = default(string), string Description = default(string), IdWithName ConnectorType = default(IdWithName), IdWithName InputDataset = default(IdWithName), List <IdWithName> FlowSteps = default(List <IdWithName>)) { // to ensure "DisplayName" is required (not null) if (DisplayName == null) { throw new InvalidDataException("DisplayName is a required property for Plugin and cannot be null"); } else { this.DisplayName = DisplayName; } this.Id = Id; this.Description = Description; this.ConnectorType = ConnectorType; this.InputDataset = InputDataset; this.FlowSteps = FlowSteps; }
/// <summary> /// Initializes a new instance of the <see cref="FlowExecution" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="Status">Status.</param> /// <param name="Flow">Flow.</param> /// <param name="State">State.</param> public FlowExecution(string Id = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), FlowExecutionStatus Status = default(FlowExecutionStatus), IdWithName Flow = default(IdWithName), FlowExecutionState State = default(FlowExecutionState)) { this.Id = Id; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Status = Status; this.Flow = Flow; this.State = State; }
/// <summary> /// Initializes a new instance of the <see cref="Printer" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName (required).</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="Definition">Definition (required).</param> /// <param name="Flavor">Flavor.</param> /// <param name="DefaultPrinter">DefaultPrinter (default to false).</param> /// <param name="Properties">Properties.</param> public Printer(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), IdWithName Definition = default(IdWithName), FlavorEnum?Flavor = default(FlavorEnum?), bool?DefaultPrinter = false, PrinterProperties Properties = default(PrinterProperties)) { // to ensure "DisplayName" is required (not null) if (DisplayName == null) { throw new InvalidDataException("DisplayName is a required property for Printer and cannot be null"); } else { this.DisplayName = DisplayName; } // to ensure "Definition" is required (not null) if (Definition == null) { throw new InvalidDataException("Definition is a required property for Printer and cannot be null"); } else { this.Definition = Definition; } this.Id = Id; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Flavor = Flavor; // use default value if no "DefaultPrinter" provided if (DefaultPrinter == null) { this.DefaultPrinter = false; } else { this.DefaultPrinter = DefaultPrinter; } this.Properties = Properties; }
/// <summary> /// Initializes a new instance of the <see cref="Data" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="Dataset">Dataset.</param> /// <param name="PluginDataset">PluginDataset.</param> /// <param name="Type">Type.</param> /// <param name="Value">Value.</param> /// <param name="Reference">Reference.</param> /// <param name="DataAvailable">DataAvailable.</param> /// <param name="Expiration">Expiration.</param> /// <param name="Usage">Usage.</param> /// <param name="FlowExecution">FlowExecution.</param> /// <param name="ContentType">ContentType.</param> public Data(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), IdWithName Dataset = default(IdWithName), IdWithName PluginDataset = default(IdWithName), TypeEnum?Type = default(TypeEnum?), DataValue Value = default(DataValue), DataReference Reference = default(DataReference), bool?DataAvailable = default(bool?), string Expiration = default(string), ObjectUsage Usage = default(ObjectUsage), FlowExecution FlowExecution = default(FlowExecution), string ContentType = default(string)) { this.Id = Id; this.DisplayName = DisplayName; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Dataset = Dataset; this.PluginDataset = PluginDataset; this.Type = Type; this.Value = Value; this.Reference = Reference; this.DataAvailable = DataAvailable; this.Expiration = Expiration; this.Usage = Usage; this.FlowExecution = FlowExecution; this.ContentType = ContentType; }
/// <summary> /// Initializes a new instance of the <see cref="User" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="UserName">UserName (required).</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="FirstName">FirstName (required).</param> /// <param name="LastName">LastName (required).</param> /// <param name="Description">Description.</param> /// <param name="EmailAddress">EmailAddress (required).</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="LastLogin">LastLogin.</param> /// <param name="LoginCount">LoginCount.</param> /// <param name="Active">Active.</param> /// <param name="Identity">Identity.</param> /// <param name="Settings">Settings.</param> /// <param name="Roles">Roles.</param> public User(string Id = default(string), string UserName = default(string), string DisplayName = default(string), string FirstName = default(string), string LastName = default(string), string Description = default(string), string EmailAddress = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), string LastLogin = default(string), int?LoginCount = default(int?), bool?Active = default(bool?), UserIdentity Identity = default(UserIdentity), Object Settings = default(Object), List <Role> Roles = default(List <Role>)) { // to ensure "UserName" is required (not null) if (UserName == null) { throw new InvalidDataException("UserName is a required property for User and cannot be null"); } else { this.UserName = UserName; } // to ensure "FirstName" is required (not null) if (FirstName == null) { throw new InvalidDataException("FirstName is a required property for User and cannot be null"); } else { this.FirstName = FirstName; } // to ensure "LastName" is required (not null) if (LastName == null) { throw new InvalidDataException("LastName is a required property for User and cannot be null"); } else { this.LastName = LastName; } // to ensure "EmailAddress" is required (not null) if (EmailAddress == null) { throw new InvalidDataException("EmailAddress is a required property for User and cannot be null"); } else { this.EmailAddress = EmailAddress; } this.Id = Id; this.DisplayName = DisplayName; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.LastLogin = LastLogin; this.LoginCount = LoginCount; this.Active = Active; this.Identity = Identity; this.Settings = Settings; this.Roles = Roles; }
/// <summary> /// Initializes a new instance of the <see cref="Connector" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName (required).</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="ConnectorType">ConnectorType (required).</param> /// <param name="Active">Active.</param> /// <param name="_Default">_Default.</param> /// <param name="Properties">Properties.</param> public Connector(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), IdWithName ConnectorType = default(IdWithName), bool?Active = default(bool?), bool?_Default = default(bool?), Object Properties = default(Object)) { // to ensure "DisplayName" is required (not null) if (DisplayName == null) { throw new InvalidDataException("DisplayName is a required property for Connector and cannot be null"); } else { this.DisplayName = DisplayName; } // to ensure "ConnectorType" is required (not null) if (ConnectorType == null) { throw new InvalidDataException("ConnectorType is a required property for Connector and cannot be null"); } else { this.ConnectorType = ConnectorType; } this.Id = Id; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Active = Active; this._Default = _Default; this.Properties = Properties; }
/// <summary> /// Initializes a new instance of the <see cref="GeneratedDocumentContent" /> class. /// </summary> /// <param name="Entity">Entity.</param> /// <param name="Link">Link.</param> /// <param name="Data">Data.</param> public GeneratedDocumentContent(IdWithName Entity = default(IdWithName), string Link = default(string), byte[] Data = default(byte[])) { this.Entity = Entity; this.Link = Link; this.Data = Data; }
/// <summary> /// Initializes a new instance of the <see cref="TagGroup" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="Tags">All possible tags for a group.</param> public TagGroup(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), List <string> Tags = default(List <string>)) { this.Id = Id; this.DisplayName = DisplayName; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Tags = Tags; }
/// <summary> /// Initializes a new instance of the <see cref="TagGroupRef" /> class. /// </summary> /// <param name="Group">Group.</param> /// <param name="Tags">The selected tags for a tag group for an object.</param> public TagGroupRef(IdWithName Group = default(IdWithName), List <string> Tags = default(List <string>)) { this.Group = Group; this.Tags = Tags; }
/// <summary> /// Initializes a new instance of the <see cref="FlowExecutionProgress" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Percentage">Percentage.</param> /// <param name="CurrentData">CurrentData.</param> /// <param name="Message">Message.</param> /// <param name="Status">Status.</param> /// <param name="Schema">Schema.</param> /// <param name="Model">Model.</param> /// <param name="Form">Form.</param> public FlowExecutionProgress(string Id = default(string), int?Percentage = default(int?), IdWithName CurrentData = default(IdWithName), string Message = default(string), FlowExecutionStatus Status = default(FlowExecutionStatus), Object Schema = default(Object), Object Model = default(Object), List <Object> Form = default(List <Object>)) { this.Id = Id; this.Percentage = Percentage; this.CurrentData = CurrentData; this.Message = Message; this.Status = Status; this.Schema = Schema; this.Model = Model; this.Form = Form; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultPluginSettings" /> class. /// </summary> /// <param name="ConnectorType">ConnectorType.</param> /// <param name="InputDataset">InputDataset.</param> public DefaultPluginSettings(IdWithName ConnectorType = default(IdWithName), IdWithName InputDataset = default(IdWithName)) { this.ConnectorType = ConnectorType; this.InputDataset = InputDataset; }
/// <summary> /// Initializes a new instance of the <see cref="FlowInput" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Type">Type.</param> /// <param name="Dataset">Dataset.</param> public FlowInput(string Id = default(string), string DisplayName = default(string), FlowInputType Type = default(FlowInputType), IdWithName Dataset = default(IdWithName)) { this.Id = Id; this.DisplayName = DisplayName; this.Type = Type; this.Dataset = Dataset; }
/// <summary> /// Initializes a new instance of the <see cref="GeneratedDocument" /> class. /// </summary> /// <param name="DisplayName">DisplayName.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="Properties">Properties.</param> /// <param name="Content">Content.</param> /// <param name="Pages">Pages.</param> /// <param name="Charts">Charts.</param> /// <param name="Messages">Messages.</param> public GeneratedDocument(string DisplayName = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), GeneratedDocumentProperties Properties = default(GeneratedDocumentProperties), GeneratedDocumentContent Content = default(GeneratedDocumentContent), List <GeneratedDocumentPages> Pages = default(List <GeneratedDocumentPages>), List <GeneratedDocumentCharts> Charts = default(List <GeneratedDocumentCharts>), List <StatusMessage> Messages = default(List <StatusMessage>)) { this.DisplayName = DisplayName; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.Properties = Properties; this.Content = Content; this.Pages = Pages; this.Charts = Charts; this.Messages = Messages; }
/// <summary> /// Initializes a new instance of the <see cref="Language" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="Code">Code.</param> /// <param name="IsDefault">IsDefault (default to false).</param> /// <param name="Aliases">Aliases.</param> public Language(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), string Code = default(string), bool?IsDefault = false, List <string> Aliases = default(List <string>)) { this.Id = Id; this.DisplayName = DisplayName; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.Code = Code; // use default value if no "IsDefault" provided if (IsDefault == null) { this.IsDefault = false; } else { this.IsDefault = IsDefault; } this.Aliases = Aliases; }
/// <summary> /// Initializes a new instance of the <see cref="StatisticsPerObject" /> class. /// </summary> /// <param name="_Object">_Object.</param> /// <param name="Count">Count.</param> /// <param name="Percentage">Percentage.</param> public StatisticsPerObject(IdWithName _Object = default(IdWithName), int?Count = default(int?), int?Percentage = default(int?)) { this._Object = _Object; this.Count = Count; this.Percentage = Percentage; }
/// <summary> /// Initializes a new instance of the <see cref="Asset" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName (required).</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="ContentType">ContentType.</param> /// <param name="ContentLength">ContentLength.</param> /// <param name="Content">Content.</param> public Asset(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), string ContentType = default(string), decimal?ContentLength = default(decimal?), string Content = default(string)) { // to ensure "DisplayName" is required (not null) if (DisplayName == null) { throw new InvalidDataException("DisplayName is a required property for Asset and cannot be null"); } else { this.DisplayName = DisplayName; } this.Id = Id; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.ContentType = ContentType; this.ContentLength = ContentLength; this.Content = Content; }
/// <summary> /// Initializes a new instance of the <see cref="Flow" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName.</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="TagGroups">TagGroups.</param> /// <param name="Type">Type (default to TypeEnum.Advanced).</param> /// <param name="Body">Body.</param> /// <param name="Input">Input.</param> /// <param name="PrimaryEntity">PrimaryEntity.</param> /// <param name="PrimaryTemplate">PrimaryTemplate.</param> /// <param name="Settings">Settings.</param> public Flow(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), List <TagGroupRef> TagGroups = default(List <TagGroupRef>), TypeEnum?Type = TypeEnum.Advanced, FlowBody Body = default(FlowBody), FlowInput Input = default(FlowInput), string PrimaryEntity = default(string), IdWithName PrimaryTemplate = default(IdWithName), FlowSettings Settings = default(FlowSettings)) { this.Id = Id; this.DisplayName = DisplayName; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.TagGroups = TagGroups; // use default value if no "Type" provided if (Type == null) { this.Type = TypeEnum.Advanced; } else { this.Type = Type; } this.Body = Body; this.Input = Input; this.PrimaryEntity = PrimaryEntity; this.PrimaryTemplate = PrimaryTemplate; this.Settings = Settings; }
/// <summary> /// Initializes a new instance of the <see cref="Version" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="Description">The comments entered when creating the version.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="Revision">Increments with one each time a new version is created.</param> public Version(string Id = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), decimal?Revision = default(decimal?)) { this.Id = Id; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.Revision = Revision; }
/// <summary> /// Initializes a new instance of the <see cref="DatasourceLayout" /> class. /// </summary> /// <param name="DatasourceType">DatasourceType.</param> /// <param name="Type">Type.</param> /// <param name="Entities">Entities.</param> public DatasourceLayout(IdWithName DatasourceType = default(IdWithName), TypeEnum?Type = default(TypeEnum?), List <EntityDefinition> Entities = default(List <EntityDefinition>)) { this.DatasourceType = DatasourceType; this.Type = Type; this.Entities = Entities; }
/// <summary> /// Initializes a new instance of the <see cref="Datasource" /> class. /// </summary> /// <param name="Id">Id.</param> /// <param name="DisplayName">DisplayName (required).</param> /// <param name="Description">Description.</param> /// <param name="CreatedAt">CreatedAt.</param> /// <param name="CreatedBy">CreatedBy.</param> /// <param name="ModifiedAt">ModifiedAt.</param> /// <param name="ModifiedBy">ModifiedBy.</param> /// <param name="DatasourceType">DatasourceType.</param> /// <param name="Connector">Connector.</param> /// <param name="Properties">Properties.</param> public Datasource(string Id = default(string), string DisplayName = default(string), string Description = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), IdWithName DatasourceType = default(IdWithName), IdWithName Connector = default(IdWithName), Dictionary <string, string> Properties = default(Dictionary <string, string>)) { // to ensure "DisplayName" is required (not null) if (DisplayName == null) { throw new InvalidDataException("DisplayName is a required property for Datasource and cannot be null"); } else { this.DisplayName = DisplayName; } this.Id = Id; this.Description = Description; this.CreatedAt = CreatedAt; this.CreatedBy = CreatedBy; this.ModifiedAt = ModifiedAt; this.ModifiedBy = ModifiedBy; this.DatasourceType = DatasourceType; this.Connector = Connector; this.Properties = Properties; }
/// <summary> /// Initializes a new instance of the <see cref="DependencyMapping" /> class. /// </summary> /// <param name="Source">Source.</param> /// <param name="Target">Target.</param> public DependencyMapping(IdWithName Source = default(IdWithName), IdWithName Target = default(IdWithName)) { this.Source = Source; this.Target = Target; }