Ejemplo n.º 1
0
 /// <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="Outputs">Outputs.</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), List <FlowOutput> Outputs = default(List <FlowOutput>), 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.Outputs         = Outputs;
     this.Settings        = Settings;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportInformationMissingConnectors" /> class.
 /// </summary>
 /// <param name="OfType">OfType.</param>
 public ImportInformationMissingConnectors(IdWithName OfType = default(IdWithName))
 {
     this.OfType = OfType;
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
 /// <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;
 }
Ejemplo n.º 5
0
 /// <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;
 }
Ejemplo n.º 6
0
 /// <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;
 }
Ejemplo n.º 7
0
 /// <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="MultiDependencyMapping" /> class.
 /// </summary>
 /// <param name="Source">Source.</param>
 /// <param name="Targets">Targets.</param>
 public MultiDependencyMapping(IdWithName Source = default(IdWithName), List <IdWithName> Targets = default(List <IdWithName>))
 {
     this.Source  = Source;
     this.Targets = Targets;
 }
Ejemplo n.º 9
0
 /// <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>
 /// <param name="DefinedBy">DefinedBy (default to DefinedByEnum.User).</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>), DefinedByEnum?DefinedBy = DefinedByEnum.User)
 {
     this.Id          = Id;
     this.DisplayName = DisplayName;
     this.Description = Description;
     this.CreatedAt   = CreatedAt;
     this.CreatedBy   = CreatedBy;
     this.ModifiedAt  = ModifiedAt;
     this.ModifiedBy  = ModifiedBy;
     this.Tags        = Tags;
     // use default value if no "DefinedBy" provided
     if (DefinedBy == null)
     {
         this.DefinedBy = DefinedByEnum.User;
     }
     else
     {
         this.DefinedBy = DefinedBy;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplatePortalContent" /> class.
 /// </summary>
 /// <param name="Connector">Connector.</param>
 /// <param name="Templates">Templates.</param>
 public TemplatePortalContent(IdWithName Connector = default(IdWithName), List <TemplatePortalContentTemplates> Templates = default(List <TemplatePortalContentTemplates>))
 {
     this.Connector = Connector;
     this.Templates = Templates;
 }
Ejemplo n.º 11
0
 /// <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;
 }
Ejemplo n.º 12
0
 /// <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;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Template" /> 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="Datasets">Datasets.</param>
 /// <param name="Type">Type.</param>
 /// <param name="TagGroups">TagGroups.</param>
 /// <param name="StandardContent">StandardContent.</param>
 /// <param name="ComposedContent">ComposedContent.</param>
 /// <param name="PortalContent">PortalContent.</param>
 public Template(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 <TemplateDatasets> Datasets = default(List <TemplateDatasets>), TypeEnum?Type = default(TypeEnum?), List <TagGroupRef> TagGroups = default(List <TagGroupRef>), TemplateStandardContent StandardContent = default(TemplateStandardContent), TemplateComposedContent ComposedContent = default(TemplateComposedContent), TemplatePortalContent PortalContent = default(TemplatePortalContent))
 {
     // to ensure "DisplayName" is required (not null)
     if (DisplayName == null)
     {
         throw new InvalidDataException("DisplayName is a required property for Template 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.Datasets        = Datasets;
     this.Type            = Type;
     this.TagGroups       = TagGroups;
     this.StandardContent = StandardContent;
     this.ComposedContent = ComposedContent;
     this.PortalContent   = PortalContent;
 }
Ejemplo n.º 14
0
 /// <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;
 }
Ejemplo n.º 15
0
 /// <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;
 }
Ejemplo n.º 16
0
 /// <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;
 }
Ejemplo n.º 17
0
 /// <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;
 }
Ejemplo n.º 18
0
 /// <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;
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FlowOutput" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="DisplayName">DisplayName.</param>
 /// <param name="Description">Description.</param>
 /// <param name="Type">Type.</param>
 /// <param name="Dataset">Dataset.</param>
 /// <param name="FieldMap">FieldMap.</param>
 public FlowOutput(string Id = default(string), string DisplayName = default(string), string Description = default(string), FlowInputType Type = default(FlowInputType), IdWithName Dataset = default(IdWithName), FieldMap FieldMap = default(FieldMap))
 {
     this.Id          = Id;
     this.DisplayName = DisplayName;
     this.Description = Description;
     this.Type        = Type;
     this.Dataset     = Dataset;
     this.FieldMap    = FieldMap;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DatasetFormContent" /> class.
 /// </summary>
 /// <param name="Form">Form.</param>
 /// <param name="Library">Library.</param>
 /// <param name="Group">Group.</param>
 /// <param name="WrapperElementName">WrapperElementName.</param>
 /// <param name="PrimaryEntity">PrimaryEntity.</param>
 /// <param name="SchemaContent">SchemaContent.</param>
 public DatasetFormContent(IdWithName Form = default(IdWithName), IdWithName Library = default(IdWithName), IdWithName Group = default(IdWithName), string WrapperElementName = default(string), string PrimaryEntity = default(string), byte[] SchemaContent = default(byte[]))
 {
     this.Form               = Form;
     this.Library            = Library;
     this.Group              = Group;
     this.WrapperElementName = WrapperElementName;
     this.PrimaryEntity      = PrimaryEntity;
     this.SchemaContent      = SchemaContent;
 }
Ejemplo n.º 21
0
 /// <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;
 }
Ejemplo n.º 22
0
 /// <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;
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Dataset" /> 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="Datasources">Datasources.</param>
 /// <param name="Plugin">Plugin.</param>
 /// <param name="TagGroups">TagGroups.</param>
 /// <param name="Content">Content.</param>
 /// <param name="Layout">Layout.</param>
 /// <param name="Purpose">Purpose.</param>
 /// <param name="_ReadOnly">_ReadOnly (default to false).</param>
 public Dataset(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 <IdWithName> Datasources = default(List <IdWithName>), IdWithName Plugin = default(IdWithName), List <TagGroupRef> TagGroups = default(List <TagGroupRef>), DatasetContent Content = default(DatasetContent), List <EntityReference> Layout = default(List <EntityReference>), List <PurposeEnum> Purpose = default(List <PurposeEnum>), bool?_ReadOnly = false)
 {
     // to ensure "DisplayName" is required (not null)
     if (DisplayName == null)
     {
         throw new InvalidDataException("DisplayName is a required property for Dataset 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.Datasources = Datasources;
     this.Plugin      = Plugin;
     this.TagGroups   = TagGroups;
     this.Content     = Content;
     this.Layout      = Layout;
     this.Purpose     = Purpose;
     // use default value if no "_ReadOnly" provided
     if (_ReadOnly == null)
     {
         this._ReadOnly = false;
     }
     else
     {
         this._ReadOnly = _ReadOnly;
     }
 }
Ejemplo n.º 24
0
 /// <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;
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsPerUser" /> class.
 /// </summary>
 /// <param name="User">User.</param>
 /// <param name="Count">Count.</param>
 /// <param name="Percentage">Percentage.</param>
 public StatisticsPerUser(IdWithName User = default(IdWithName), int?Count = default(int?), int?Percentage = default(int?))
 {
     this.User       = User;
     this.Count      = Count;
     this.Percentage = Percentage;
 }
Ejemplo n.º 26
0
 /// <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;
 }
Ejemplo n.º 27
0
 /// <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;
 }
Ejemplo n.º 28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Document" /> 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="TemplateId">TemplateId.</param>
 /// <param name="Language">Language.</param>
 /// <param name="Origin">Origin.</param>
 /// <param name="Finished">Finished.</param>
 /// <param name="Expiration">Expiration.</param>
 /// <param name="ContentType">ContentType.</param>
 /// <param name="PostProcessing">PostProcessing.</param>
 /// <param name="Usage">Usage.</param>
 /// <param name="FlowExecution">FlowExecution.</param>
 public Document(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 TemplateId = default(IdWithName), IdWithName Language = default(IdWithName), IdWithName Origin = default(IdWithName), bool?Finished = default(bool?), string Expiration = default(string), string ContentType = default(string), List <DocumentPostProcessing> PostProcessing = default(List <DocumentPostProcessing>), ObjectUsage Usage = default(ObjectUsage), FlowExecution FlowExecution = default(FlowExecution))
 {
     this.Id             = Id;
     this.DisplayName    = DisplayName;
     this.Description    = Description;
     this.CreatedAt      = CreatedAt;
     this.CreatedBy      = CreatedBy;
     this.ModifiedAt     = ModifiedAt;
     this.ModifiedBy     = ModifiedBy;
     this.TemplateId     = TemplateId;
     this.Language       = Language;
     this.Origin         = Origin;
     this.Finished       = Finished;
     this.Expiration     = Expiration;
     this.ContentType    = ContentType;
     this.PostProcessing = PostProcessing;
     this.Usage          = Usage;
     this.FlowExecution  = FlowExecution;
 }
Ejemplo n.º 29
0
 /// <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="CreatedFor">CreatedFor.</param>
 /// <param name="ModifiedAt">ModifiedAt.</param>
 /// <param name="ModifiedBy">ModifiedBy.</param>
 /// <param name="Priority">Priority.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Flow">Flow.</param>
 /// <param name="State">State.</param>
 /// <param name="Mode">Mode.</param>
 /// <param name="Outputs">Outputs.</param>
 public FlowExecution(string Id = default(string), string CreatedAt = default(string), IdWithName CreatedBy = default(IdWithName), IdWithName CreatedFor = default(IdWithName), string ModifiedAt = default(string), IdWithName ModifiedBy = default(IdWithName), int?Priority = default(int?), FlowExecutionStatus Status = default(FlowExecutionStatus), IdWithName Flow = default(IdWithName), FlowExecutionState State = default(FlowExecutionState), ModeEnum?Mode = default(ModeEnum?), List <FlowExecutionOutput> Outputs = default(List <FlowExecutionOutput>))
 {
     this.Id         = Id;
     this.CreatedAt  = CreatedAt;
     this.CreatedBy  = CreatedBy;
     this.CreatedFor = CreatedFor;
     this.ModifiedAt = ModifiedAt;
     this.ModifiedBy = ModifiedBy;
     this.Priority   = Priority;
     this.Status     = Status;
     this.Flow       = Flow;
     this.State      = State;
     this.Mode       = Mode;
     this.Outputs    = Outputs;
 }