Class Metadata
Assembly: Confluent.SchemaRegistry.dll
[DataContract]
public class Metadata : IEquatable<Metadata>
Constructors
Declaration
public Metadata(IDictionary<string, ISet<string>> tags, IDictionary<string, string> properties, ISet<string> sensitive)
Parameters
Properties
Declaration
[DataMember(Name = "properties")]
public IDictionary<string, string> Properties { get; set; }
Property Value
Declaration
[DataMember(Name = "sensitive")]
public ISet<string> Sensitive { get; set; }
Property Value
Declaration
[DataMember(Name = "tags")]
public IDictionary<string, ISet<string>> Tags { get; set; }
Property Value
Methods
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. |
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
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|
| int | A hash code for the current object. |
Overrides
Implements