Skip to main content

ConfigurationDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents data of a configuration (mail, database, etc.)

public record ConfigurationDto : IEquatable<ConfigurationDto>

Inheritance ObjectConfigurationDto
Implements IEquatable<ConfigurationDto>

Properties

ConfigurationRtId

Gets or sets the runtime id of the configuration.

public OctoObjectId ConfigurationRtId { get; }

Property Value

OctoObjectId

ConfigurationTypeId

Returns the type of the configuration.

public CkId<CkTypeId> ConfigurationTypeId { get; }

Property Value

CkId<CkTypeId>

ConfigurationName

Returns the name of the configuration.

public string ConfigurationName { get; }

Property Value

String

ConfigurationValue

Returns the value of the configuration.

public string ConfigurationValue { get; }

Property Value

String

Constructors

ConfigurationDto(OctoObjectId, CkId<CkTypeId>, String, String)

Initializes a new instance of the ConfigurationDto class.

public ConfigurationDto(OctoObjectId configurationRtId, CkId<CkTypeId> configurationTypeId, string configurationName, string configurationValue)

Parameters

configurationRtId OctoObjectId
ID of the configuration.

configurationTypeId CkId<CkTypeId>
ID of the configuration type.

configurationName String
Name of the configuration.

configurationValue String
Value of the configuration.

Methods

Equals(ConfigurationDto)

public bool Equals(ConfigurationDto other)

Parameters

other ConfigurationDto

Returns

Boolean

GetHashCode()

public int GetHashCode()

Returns

Int32