Class WriteOutcome<T>.Updated
- Namespace
- Trellis
- Assembly
- Trellis.Core.dll
An existing resource was replaced/updated and the new representation is returned. Transports as HTTP 200 OK.
public sealed record WriteOutcome<T>.Updated : WriteOutcome<T>, IEquatable<WriteOutcome<T>>, IEquatable<WriteOutcome<T>.Updated>
- Inheritance
-
WriteOutcome<T>WriteOutcome<T>.Updated
- Implements
- Inherited Members
- Extension Methods
Constructors
Updated(T, RepresentationMetadata?)
An existing resource was replaced/updated and the new representation is returned. Transports as HTTP 200 OK.
public Updated(T Value, RepresentationMetadata? Metadata = null)
Parameters
ValueTThe updated entity.
MetadataRepresentationMetadataOptional representation metadata for the updated resource.
Properties
Metadata
Optional representation metadata for the updated resource.
public RepresentationMetadata? Metadata { get; init; }
Property Value
Value
The updated entity.
public T Value { get; init; }
Property Value
- T