confluent-kafka-dotnet
Show / Hide Table of Contents

Class AssociationCreateOrUpdateRequest

Request to create or update associations.

Inheritance
object
AssociationCreateOrUpdateRequest
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 AssociationCreateOrUpdateRequest

Constructors

AssociationCreateOrUpdateRequest()

Initializes a new instance of the AssociationCreateOrUpdateRequest class.

Declaration
public AssociationCreateOrUpdateRequest()

AssociationCreateOrUpdateRequest(string, string, string, string, List<AssociationCreateOrUpdateInfo>)

Initializes a new instance of the AssociationCreateOrUpdateRequest class.

Declaration
public AssociationCreateOrUpdateRequest(string resourceName, string resourceNamespace, string resourceId, string resourceType, List<AssociationCreateOrUpdateInfo> associations)
Parameters
TypeNameDescription
stringresourceName
stringresourceNamespace
stringresourceId
stringresourceType
List<AssociationCreateOrUpdateInfo>associations

Properties

Associations

The associations to create or update.

Declaration
[JsonProperty("associations")]
public List<AssociationCreateOrUpdateInfo> Associations { get; set; }
Property Value
TypeDescription
List<AssociationCreateOrUpdateInfo>

ResourceId

The resource identifier.

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

ResourceName

The resource name (e.g., topic name).

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

ResourceNamespace

The resource namespace (e.g., Kafka cluster ID).

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

ResourceType

The type of resource (e.g., "topic").

Declaration
[JsonProperty("resourceType")]
public string ResourceType { 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