Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the Dataflow class.
 /// </summary>
 /// <param name="objectId">The dataflow id</param>
 /// <param name="name">The dataflow name</param>
 /// <param name="description">The dataflow description</param>
 /// <param name="modelUrl">A URL to the dataflow definition file
 /// (model.json)</param>
 /// <param name="configuredBy">The dataflow owner</param>
 /// <param name="modifiedBy">The user that modified this
 /// dataflow</param>
 /// <param name="endorsementDetails">The dataflow endorsement
 /// details</param>
 /// <param name="modifiedDateTime">modification date time</param>
 /// <param name="datasourceUsages">Datasource usages</param>
 /// <param name="upstreamDataflows">Upstream Dataflows</param>
 /// <param name="sensitivityLabel">The dataflow sensitivity
 /// label</param>
 public Dataflow(System.Guid objectId, string name = default(string), string description = default(string), string modelUrl = default(string), string configuredBy = default(string), string modifiedBy = default(string), EndorsementDetails endorsementDetails = default(EndorsementDetails), System.DateTime?modifiedDateTime = default(System.DateTime?), IList <DatasourceUsage> datasourceUsages = default(IList <DatasourceUsage>), IList <DependentDataflow> upstreamDataflows = default(IList <DependentDataflow>), SensitivityLabel sensitivityLabel = default(SensitivityLabel))
 {
     ObjectId           = objectId;
     Name               = name;
     Description        = description;
     ModelUrl           = modelUrl;
     ConfiguredBy       = configuredBy;
     ModifiedBy         = modifiedBy;
     EndorsementDetails = endorsementDetails;
     ModifiedDateTime   = modifiedDateTime;
     DatasourceUsages   = datasourceUsages;
     UpstreamDataflows  = upstreamDataflows;
     SensitivityLabel   = sensitivityLabel;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the Report class.
 /// </summary>
 /// <param name="id">The report id</param>
 /// <param name="name">The report name</param>
 /// <param name="webUrl">The report web url</param>
 /// <param name="embedUrl">The report embed url</param>
 /// <param name="datasetId">The dataset id</param>
 /// <param name="description">The report description</param>
 /// <param name="createdBy">The report owner</param>
 /// <param name="modifiedBy">The user that modified this report</param>
 /// <param name="createdDateTime">The report created date time.</param>
 /// <param name="modifiedDateTime">The report modified date
 /// time.</param>
 /// <param name="reportType">Report type. Possible values include:
 /// 'PaginatedReport'</param>
 public Report(System.Guid id, string name = default(string), string webUrl = default(string), string embedUrl = default(string), string datasetId = default(string), string description = default(string), string createdBy = default(string), string modifiedBy = default(string), System.DateTime?createdDateTime = default(System.DateTime?), System.DateTime?modifiedDateTime = default(System.DateTime?), EndorsementDetails endorsementDetails = default(EndorsementDetails), SensitivityLabel sensitivityLabel = default(SensitivityLabel), string reportType = default(string))
 {
     Id                 = id;
     Name               = name;
     WebUrl             = webUrl;
     EmbedUrl           = embedUrl;
     DatasetId          = datasetId;
     Description        = description;
     CreatedBy          = createdBy;
     ModifiedBy         = modifiedBy;
     CreatedDateTime    = createdDateTime;
     ModifiedDateTime   = modifiedDateTime;
     EndorsementDetails = endorsementDetails;
     SensitivityLabel   = sensitivityLabel;
     ReportType         = reportType;
     CustomInit();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the Dataset class.
 /// </summary>
 /// <param name="id">The dataset id</param>
 /// <param name="name">The dataset name</param>
 /// <param name="configuredBy">The dataset owner</param>
 /// <param name="addRowsAPIEnabled">Whether the dataset allows adding
 /// new rows</param>
 /// <param name="webUrl">The dataset web url</param>
 /// <param name="isRefreshable">Can this dataset be refreshed</param>
 /// <param name="isEffectiveIdentityRequired">Whether the dataset
 /// requires an effective identity. This indicates that you must send
 /// an effective identity using the GenerateToken API.</param>
 /// <param name="isEffectiveIdentityRolesRequired">Whether RLS is
 /// defined inside the PBIX file. This indicates that you must specify
 /// a role.</param>
 /// <param name="isOnPremGatewayRequired">Dataset requires an
 /// On-premises Data Gateway</param>
 /// <param name="encryption">The dataset encryption information (Only
 /// applicable when $expand is specified)</param>
 /// <param name="createdDate">DateTime of creation of this
 /// dataset</param>
 /// <param name="contentProviderType">The content provider type for the
 /// dataset</param>
 /// <param name="createReportEmbedURL">The dataset create report embed
 /// url</param>
 /// <param name="qnaEmbedURL">The dataset qna embed url</param>
 /// <param name="description">The dataset description</param>
 /// <param name="datasourceUsages">Datasource usages</param>
 /// <param name="upstreamDataflows">Upstream Dataflows</param>
 public Dataset(string id, string name = default(string), string configuredBy = default(string), bool?addRowsAPIEnabled = default(bool?), string webUrl = default(string), bool?isRefreshable = default(bool?), bool?isEffectiveIdentityRequired = default(bool?), bool?isEffectiveIdentityRolesRequired = default(bool?), bool?isOnPremGatewayRequired = default(bool?), Encryption encryption = default(Encryption), System.DateTime?createdDate = default(System.DateTime?), string contentProviderType = default(string), string createReportEmbedURL = default(string), string qnaEmbedURL = default(string), string description = default(string), EndorsementDetails endorsementDetails = default(EndorsementDetails), IList <DatasourceUsage> datasourceUsages = default(IList <DatasourceUsage>), IList <DependentDataflow> upstreamDataflows = default(IList <DependentDataflow>), SensitivityLabel sensitivityLabel = default(SensitivityLabel))
 {
     Id                               = id;
     Name                             = name;
     ConfiguredBy                     = configuredBy;
     AddRowsAPIEnabled                = addRowsAPIEnabled;
     WebUrl                           = webUrl;
     IsRefreshable                    = isRefreshable;
     IsEffectiveIdentityRequired      = isEffectiveIdentityRequired;
     IsEffectiveIdentityRolesRequired = isEffectiveIdentityRolesRequired;
     IsOnPremGatewayRequired          = isOnPremGatewayRequired;
     Encryption                       = encryption;
     CreatedDate                      = createdDate;
     ContentProviderType              = contentProviderType;
     CreateReportEmbedURL             = createReportEmbedURL;
     QnaEmbedURL                      = qnaEmbedURL;
     Description                      = description;
     EndorsementDetails               = endorsementDetails;
     DatasourceUsages                 = datasourceUsages;
     UpstreamDataflows                = upstreamDataflows;
     SensitivityLabel                 = sensitivityLabel;
     CustomInit();
 }