Skip to main content

GrpcObjectRequest

Namespace: IotaSdk

A reference to an object to fetch with objects_with_versions, with an optional version. If no version is provided, the latest version is returned.

public record class GrpcObjectRequest : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcObjectRequest, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcObjectRequest
Implements IDisposable, IEquatable<GrpcObjectRequest>
Attributes NullableContextAttribute, NullableAttribute

Properties​

ObjectId​

The id of the object.

public ObjectId ObjectId { get; init; }

Property Value​

ObjectId

Version​

The optional version of the object.

public Version? Version { get; init; }

Property Value​

Version

Constructors​

GrpcObjectRequest(ObjectId, Version)​

A reference to an object to fetch with objects_with_versions, with an optional version. If no version is provided, the latest version is returned.

public GrpcObjectRequest(ObjectId ObjectId, Version? Version = null)

Parameters​

ObjectId ObjectId
The id of the object.

Version Version?
The optional version of the object.

Methods​

Dispose()​

public void Dispose()