Class AssociationInfo
Information about an association in a response.
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class AssociationInfoConstructors
AssociationInfo()
Initializes a new instance of the AssociationInfo class.
Declaration
public AssociationInfo()AssociationInfo(string, string, string, bool, Schema)
Initializes a new instance of the AssociationInfo class.
Declaration
public AssociationInfo(string subject, string associationType, string lifecycle, bool frozen, Schema schema)Parameters
| Type | Name | Description |
|---|---|---|
| string | subject | |
| string | associationType | |
| string | lifecycle | |
| bool | frozen | |
| Schema | schema |
Properties
AssociationType
The type of association (e.g., "key" or "value").
Declaration
[JsonProperty("associationType")]
public string AssociationType { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Frozen
Whether the association is frozen.
Declaration
[JsonProperty("frozen")]
public bool Frozen { get; set; }Property Value
| Type | Description |
|---|---|
| bool |
Lifecycle
The lifecycle policy.
Declaration
[JsonProperty("lifecycle")]
public string Lifecycle { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Schema
The schema associated with this association.
Declaration
[JsonProperty("schema")]
public Schema Schema { get; set; }Property Value
| Type | Description |
|---|---|
| Schema |
Subject
The subject name.
Declaration
[JsonProperty("subject")]
public string Subject { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Methods
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
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |