auto-generated/objc/SwaggerClient/Model/SWGExecution.m
#import "SWGExecution.h"

@implementation SWGExecution

- (instancetype)init {
  self = [super init];
  if (self) {
    // initialize property's default value, if any
    
  }
  return self;
}


/**
 * Maps json key to property name.
 * This method is used by `JSONModel`.
 */
+ (JSONKeyMapper *)keyMapper {
  return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{ @"execID": @"execID", @"orderID": @"orderID", @"clOrdID": @"clOrdID", @"clOrdLinkID": @"clOrdLinkID", @"account": @"account", @"symbol": @"symbol", @"side": @"side", @"lastQty": @"lastQty", @"lastPx": @"lastPx", @"lastLiquidityInd": @"lastLiquidityInd", @"orderQty": @"orderQty", @"price": @"price", @"displayQty": @"displayQty", @"stopPx": @"stopPx", @"pegOffsetValue": @"pegOffsetValue", @"pegPriceType": @"pegPriceType", @"currency": @"currency", @"settlCurrency": @"settlCurrency", @"execType": @"execType", @"ordType": @"ordType", @"timeInForce": @"timeInForce", @"execInst": @"execInst", @"contingencyType": @"contingencyType", @"ordStatus": @"ordStatus", @"triggered": @"triggered", @"workingIndicator": @"workingIndicator", @"ordRejReason": @"ordRejReason", @"leavesQty": @"leavesQty", @"cumQty": @"cumQty", @"avgPx": @"avgPx", @"commission": @"commission", @"feeType": @"feeType", @"tradePublishIndicator": @"tradePublishIndicator", @"text": @"text", @"trdMatchID": @"trdMatchID", @"execCost": @"execCost", @"execComm": @"execComm", @"homeNotional": @"homeNotional", @"foreignNotional": @"foreignNotional", @"transactTime": @"transactTime", @"timestamp": @"timestamp" }];
}

/**
 * Indicates whether the property with the given name is optional.
 * If `propertyName` is optional, then return `YES`, otherwise return `NO`.
 * This method is used by `JSONModel`.
 */
+ (BOOL)propertyIsOptional:(NSString *)propertyName {

  NSArray *optionalProperties = @[@"execID", @"orderID", @"clOrdID", @"clOrdLinkID", @"account", @"side", @"lastQty", @"lastPx", @"lastLiquidityInd", @"orderQty", @"price", @"displayQty", @"stopPx", @"pegOffsetValue", @"pegPriceType", @"currency", @"settlCurrency", @"execType", @"ordType", @"timeInForce", @"execInst", @"contingencyType", @"ordStatus", @"triggered", @"workingIndicator", @"ordRejReason", @"leavesQty", @"cumQty", @"avgPx", @"commission", @"feeType", @"tradePublishIndicator", @"text", @"trdMatchID", @"execCost", @"execComm", @"homeNotional", @"foreignNotional", @"transactTime", ];
  return [optionalProperties containsObject:propertyName];
}

@end
