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
Type Name Description
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
Type Description
IDictionary<string, string>

Sensitive

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

Tags

Declaration
[DataMember(Name = "tags")]
public IDictionary<string, ISet<string>> Tags { get; set; }
Property Value
Type Description
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
Type Name Description
Metadata other

An object to compare with this object.

Returns
Type Description
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
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
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
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IEquatable<T>
In this article