Beispiel #1
0
 /// <summary>
 /// Create service model from api model
 /// </summary>
 public EnumFieldModel ToServiceModel()
 {
     return(new EnumFieldModel {
         Name = Name,
         Description = Description?.ToServiceModel(),
         DisplayName = DisplayName?.ToServiceModel(),
         Value = Value
     });
 }