Table of Contents

Class DataBlockRegistrationRequest

Namespace
Datafication.Server.Core.Models
Assembly
Datafication.Server.Core.dll

Represents a request to register a new DataBlock.

public class DataBlockRegistrationRequest
Inheritance
object
DataBlockRegistrationRequest

Properties

AccessPolicy

Gets or sets the access policy for the DataBlock.

public string? AccessPolicy { get; set; }

Property Value

string

ConnectorOptions

Gets or sets connector-specific configuration options. Used when ConnectorType is specified.

public Dictionary<string, object>? ConnectorOptions { get; set; }

Property Value

Dictionary<string, object>

ConnectorType

Gets or sets the connector type identifier (e.g., "csv", "excel", "json"). When provided, the endpoint will use a connector to load data instead of manual data.

public string? ConnectorType { get; set; }

Property Value

string

Data

Gets or sets the data rows for the DataBlock.

public List<object[]>? Data { get; set; }

Property Value

List<object[]>

Description

Gets or sets the description of the DataBlock.

public string? Description { get; set; }

Property Value

string

Id

Gets or sets the unique identifier for the DataBlock.

public string Id { get; set; }

Property Value

string

IsReadOnly

Gets or sets a value indicating whether the DataBlock is read-only.

public bool IsReadOnly { get; set; }

Property Value

bool

Name

Gets or sets the display name for the DataBlock.

public string? Name { get; set; }

Property Value

string

Schema

Gets or sets the schema definition for the DataBlock.

public DataBlockSchemaDefinition? Schema { get; set; }

Property Value

DataBlockSchemaDefinition

Tags

Gets or sets the tags associated with the DataBlock.

public List<string>? Tags { get; set; }

Property Value

List<string>