Class R2Result<T>
- Namespace
- Cloudflare.NET.R2.Models
- Assembly
- Cloudflare.NET.R2.dll
Represents the result of an R2 operation that returns a data payload in addition to billable metrics.
public record R2Result<T> : IEquatable<R2Result<T>>
Type Parameters
TThe type of the data payload.
- Inheritance
-
R2Result<T>
- Implements
-
IEquatable<R2Result<T>>
- Inherited Members
Constructors
R2Result(T, R2Result)
Represents the result of an R2 operation that returns a data payload in addition to billable metrics.
public R2Result(T Data, R2Result Metrics)
Parameters
DataTThe data payload returned by the operation.
MetricsR2ResultThe billable metrics for the operation.
Properties
Data
The data payload returned by the operation.
public T Data { get; init; }
Property Value
- T
Metrics
The billable metrics for the operation.
public R2Result Metrics { get; init; }