confluent-kafka-dotnet
Show / Hide Table of Contents

Class Metadata

Inheritance
object
Metadata
Implements
IEquatable<Metadata>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
[DataContract]
public class Metadata : IEquatable<Metadata>

Constructors

Metadata(IDictionary<string, ISet<string>>, IDictionary<string, string>, ISet<string>)

Declaration
public Metadata(IDictionary<string, ISet<string>> tags, IDictionary<string, string> properties, ISet<string> sensitive)
Parameters
TypeNameDescription
IDictionary<string, ISet<string>>tags
IDictionary<string, string>properties
ISet<string>sensitive

Properties

Properties

Declaration
[DataMember(Name = "properties")]
public IDictionary<string, string> Properties { get; set; }
Property Value
TypeDescription
IDictionary<string, string>

Sensitive

Declaration
[DataMember(Name = "sensitive")]
public ISet<string> Sensitive { get; set; }
Property Value
TypeDescription
ISet<string>

Tags

Declaration
[DataMember(Name = "tags")]
public IDictionary<string, ISet<string>> Tags { get; set; }
Property Value
TypeDescription
IDictionary<string, ISet<string>>

Methods

Equals(Metadata)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(Metadata other)
Parameters
TypeNameDescription
Metadataother

An object to compare with this object.

Returns
TypeDescription
bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
objectobj

The object to compare with the current object.

Returns
TypeDescription
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
TypeDescription
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IEquatable<T>
In this article