Class OperationContainer
- Namespace
- JsonApiDotNetCore.Resources
- Assembly
- JsonApiDotNetCore.dll
Represents a write operation on a JSON:API resource.
[PublicAPI]
public sealed class OperationContainer
- Inheritance
-
OperationContainer
- Inherited Members
Constructors
OperationContainer(IIdentifiable, ITargetedFields, IJsonApiRequest)
public OperationContainer(IIdentifiable resource, ITargetedFields targetedFields, IJsonApiRequest request)
Parameters
resource
IIdentifiabletargetedFields
ITargetedFieldsrequest
IJsonApiRequest
Properties
Request
public IJsonApiRequest Request { get; }
Property Value
Resource
public IIdentifiable Resource { get; }
Property Value
TargetedFields
public ITargetedFields TargetedFields { get; }
Property Value
Methods
GetSecondaryResources()
public ISet<IIdentifiable> GetSecondaryResources()
Returns
SetTransactionId(string)
public void SetTransactionId(string transactionId)
Parameters
transactionId
string
WithResource(IIdentifiable)
public OperationContainer WithResource(IIdentifiable resource)
Parameters
resource
IIdentifiable