Class MappedWithAttribute
Tells Apizr to map api request object with model object
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Parameter)]
public class MappedWithAttribute : Attribute, _Attribute
- Inheritance
-
MappedWithAttribute
- Implements
- Derived
- Inherited Members
Constructors
MappedWithAttribute(Type)
Tells Apizr to map api response to a model response
public MappedWithAttribute(Type secondEntityType)
Parameters
secondEntityType
Type
Properties
SecondEntityType
The model object to map with
public Type SecondEntityType { get; }