Class GovernanceEmissionPayload
- Namespace
- AsiBackbone.Core.Emissions
- Assembly
- AsiBackbone.Core.dll
Describes a minimized provider-neutral payload associated with a governance emission envelope.
public sealed class GovernanceEmissionPayload
- Inheritance
-
GovernanceEmissionPayload
- Inherited Members
Remarks
This type intentionally describes payload identity, shape, and safe diagnostics. It does not require raw protected content, provider SDK payloads, or cloud-specific envelopes.
Properties
ContentHash
Gets a hash of the payload content, when available.
public string? ContentHash { get; }
Property Value
ContentType
Gets the payload content type, when available.
public string? ContentType { get; }
Property Value
HasMetadata
Gets a value indicating whether payload metadata is present.
public bool HasMetadata { get; }
Property Value
Metadata
Gets minimized provider-neutral payload metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }
Property Value
PayloadType
Gets the provider-neutral payload type.
public string PayloadType { get; }
Property Value
SchemaVersion
Gets the payload schema version, when available.
public string? SchemaVersion { get; }
Property Value
SizeBytes
Gets the payload size in bytes, when available.
public long? SizeBytes { get; }
Property Value
- long?
Methods
Create(string, string?, string?, string?, long?, IReadOnlyDictionary<string, string>?)
Creates a minimized provider-neutral payload descriptor.
public static GovernanceEmissionPayload Create(string payloadType, string? schemaVersion = null, string? contentType = null, string? contentHash = null, long? sizeBytes = null, IReadOnlyDictionary<string, string>? metadata = null)
Parameters
payloadTypestringschemaVersionstringcontentTypestringcontentHashstringsizeByteslong?metadataIReadOnlyDictionary<string, string>