confluent-kafka-dotnet
Show / Hide Table of Contents

Class AssociationCreateOrUpdateInfo

Information about an association to create or update.

Inheritance
object
AssociationCreateOrUpdateInfo
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class AssociationCreateOrUpdateInfo

Constructors

AssociationCreateOrUpdateInfo()

Initializes a new instance of the AssociationCreateOrUpdateInfo class.

Declaration
public AssociationCreateOrUpdateInfo()

AssociationCreateOrUpdateInfo(string, string, string, bool?, Schema, bool?)

Initializes a new instance of the AssociationCreateOrUpdateInfo class.

Declaration
public AssociationCreateOrUpdateInfo(string subject, string associationType, string lifecycle, bool? frozen, Schema schema, bool? normalize)
Parameters
TypeNameDescription
stringsubject
stringassociationType
stringlifecycle
bool?frozen
Schemaschema
bool?normalize

Properties

AssociationType

The type of association (e.g., "key" or "value").

Declaration
[JsonProperty("associationType")]
public string AssociationType { get; set; }
Property Value
TypeDescription
string

Frozen

Whether the association is frozen.

Declaration
[JsonProperty("frozen")]
public bool? Frozen { get; set; }
Property Value
TypeDescription
bool?

Lifecycle

The lifecycle policy.

Declaration
[JsonProperty("lifecycle")]
public string Lifecycle { get; set; }
Property Value
TypeDescription
string

Normalize

Whether to normalize the schema.

Declaration
[JsonProperty("normalize")]
public bool? Normalize { get; set; }
Property Value
TypeDescription
bool?

Schema

The schema to register with this association.

Declaration
[JsonProperty("schema")]
public Schema Schema { get; set; }
Property Value
TypeDescription
Schema

Subject

The subject name.

Declaration
[JsonProperty("subject")]
public string Subject { get; set; }
Property Value
TypeDescription
string

Methods

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()
In this article