Class AdapterCreateDirectoryRequest

Namespace
MirrorPulse.Adapter.Sdk
Assembly
MirrorPulse.Adapter.Sdk.dll

Creates one directory with the requested absence policy and a stable operation ID.

public sealed record AdapterCreateDirectoryRequest : IEquatable<AdapterCreateDirectoryRequest>
Inheritance
AdapterCreateDirectoryRequest
Implements
Inherited Members

Constructors

AdapterCreateDirectoryRequest(Guid, string, string, bool)

Creates one directory with the requested absence policy and a stable operation ID.

public AdapterCreateDirectoryRequest(Guid OperationId, string RootKey, string Path, bool MustBeAbsent = true)

Parameters

OperationId Guid
RootKey string
Path string
MustBeAbsent bool

Properties

MustBeAbsent

public bool MustBeAbsent { get; init; }

Property Value

bool

OperationId

public Guid OperationId { get; init; }

Property Value

Guid

Path

public string Path { get; init; }

Property Value

string

RootKey

public string RootKey { get; init; }

Property Value

string

Methods

Deconstruct(out Guid, out string, out string, out bool)

public void Deconstruct(out Guid OperationId, out string RootKey, out string Path, out bool MustBeAbsent)

Parameters

OperationId Guid
RootKey string
Path string
MustBeAbsent bool

Equals(AdapterCreateDirectoryRequest?)

public bool Equals(AdapterCreateDirectoryRequest? other)

Parameters

other AdapterCreateDirectoryRequest

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AdapterCreateDirectoryRequest?, AdapterCreateDirectoryRequest?)

public static bool operator ==(AdapterCreateDirectoryRequest? left, AdapterCreateDirectoryRequest? right)

Parameters

left AdapterCreateDirectoryRequest
right AdapterCreateDirectoryRequest

Returns

bool

operator !=(AdapterCreateDirectoryRequest?, AdapterCreateDirectoryRequest?)

public static bool operator !=(AdapterCreateDirectoryRequest? left, AdapterCreateDirectoryRequest? right)

Parameters

left AdapterCreateDirectoryRequest
right AdapterCreateDirectoryRequest

Returns

bool