public CatalogItemAdvancedFilter(JToken node) : base(node) { if (node["serviceTypeEqual"] != null) { this._ServiceTypeEqual = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceTypeEqual"].Value <string>()); } if (node["serviceTypeIn"] != null) { this._ServiceTypeIn = node["serviceTypeIn"].Value <string>(); } if (node["serviceFeatureEqual"] != null) { this._ServiceFeatureEqual = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeatureEqual"].Value <string>()); } if (node["serviceFeatureIn"] != null) { this._ServiceFeatureIn = node["serviceFeatureIn"].Value <string>(); } if (node["turnAroundTimeEqual"] != null) { this._TurnAroundTimeEqual = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTimeEqual"].Value <string>()); } if (node["turnAroundTimeIn"] != null) { this._TurnAroundTimeIn = node["turnAroundTimeIn"].Value <string>(); } if (node["sourceLanguageEqual"] != null) { this._SourceLanguageEqual = (CatalogItemLanguage)StringEnum.Parse(typeof(CatalogItemLanguage), node["sourceLanguageEqual"].Value <string>()); } if (node["targetLanguageEqual"] != null) { this._TargetLanguageEqual = (CatalogItemLanguage)StringEnum.Parse(typeof(CatalogItemLanguage), node["targetLanguageEqual"].Value <string>()); } }
public VendorCatalogItem(JToken node) : base(node) { if (node["id"] != null) { this._Id = ParseInt(node["id"].Value <string>()); } if (node["vendorPartnerId"] != null) { this._VendorPartnerId = ParseInt(node["vendorPartnerId"].Value <string>()); } if (node["name"] != null) { this._Name = node["name"].Value <string>(); } if (node["systemName"] != null) { this._SystemName = node["systemName"].Value <string>(); } if (node["createdAt"] != null) { this._CreatedAt = ParseInt(node["createdAt"].Value <string>()); } if (node["updatedAt"] != null) { this._UpdatedAt = ParseInt(node["updatedAt"].Value <string>()); } if (node["status"] != null) { this._Status = (VendorCatalogItemStatus)ParseEnum(typeof(VendorCatalogItemStatus), node["status"].Value <string>()); } if (node["serviceType"] != null) { this._ServiceType = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceType"].Value <string>()); } if (node["serviceFeature"] != null) { this._ServiceFeature = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeature"].Value <string>()); } if (node["turnAroundTime"] != null) { this._TurnAroundTime = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTime"].Value <string>()); } if (node["pricing"] != null) { this._Pricing = ObjectFactory.Create <VendorCatalogItemPricing>(node["pricing"]); } if (node["allowResubmission"] != null) { this._AllowResubmission = ParseBool(node["allowResubmission"].Value <string>()); } }
public ReachReportInputFilter(JToken node) : base(node) { if (node["serviceType"] != null) { this._ServiceType = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceType"].Value <string>()); } if (node["serviceFeature"] != null) { this._ServiceFeature = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeature"].Value <string>()); } if (node["turnAroundTime"] != null) { this._TurnAroundTime = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTime"].Value <string>()); } }
public BulkUploadResultVendorCatalogItem(JToken node) : base(node) { if (node["vendorCatalogItemId"] != null) { this._VendorCatalogItemId = ParseInt(node["vendorCatalogItemId"].Value <string>()); } if (node["vendorPartnerId"] != null) { this._VendorPartnerId = ParseInt(node["vendorPartnerId"].Value <string>()); } if (node["name"] != null) { this._Name = node["name"].Value <string>(); } if (node["systemName"] != null) { this._SystemName = node["systemName"].Value <string>(); } if (node["serviceFeature"] != null) { this._ServiceFeature = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeature"].Value <string>()); } if (node["serviceType"] != null) { this._ServiceType = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceType"].Value <string>()); } if (node["turnAroundTime"] != null) { this._TurnAroundTime = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTime"].Value <string>()); } if (node["sourceLanguage"] != null) { this._SourceLanguage = (CatalogItemLanguage)StringEnum.Parse(typeof(CatalogItemLanguage), node["sourceLanguage"].Value <string>()); } if (node["targetLanguage"] != null) { this._TargetLanguage = (CatalogItemLanguage)StringEnum.Parse(typeof(CatalogItemLanguage), node["targetLanguage"].Value <string>()); } if (node["outputFormat"] != null) { this._OutputFormat = (VendorCatalogItemOutputFormat)ParseEnum(typeof(VendorCatalogItemOutputFormat), node["outputFormat"].Value <string>()); } if (node["enableSpeakerId"] != null) { this._EnableSpeakerId = (NullableBoolean)ParseEnum(typeof(NullableBoolean), node["enableSpeakerId"].Value <string>()); } if (node["fixedPriceAddons"] != null) { this._FixedPriceAddons = ParseInt(node["fixedPriceAddons"].Value <string>()); } if (node["pricing"] != null) { this._Pricing = ObjectFactory.Create <VendorCatalogItemPricing>(node["pricing"]); } if (node["flavorParamsId"] != null) { this._FlavorParamsId = ParseInt(node["flavorParamsId"].Value <string>()); } if (node["clearAudioFlavorParamsId"] != null) { this._ClearAudioFlavorParamsId = ParseInt(node["clearAudioFlavorParamsId"].Value <string>()); } }
public VendorCatalogItemBaseFilter(JToken node) : base(node) { if (node["idEqual"] != null) { this._IdEqual = ParseInt(node["idEqual"].Value <string>()); } if (node["idIn"] != null) { this._IdIn = node["idIn"].Value <string>(); } if (node["idNotIn"] != null) { this._IdNotIn = node["idNotIn"].Value <string>(); } if (node["vendorPartnerIdEqual"] != null) { this._VendorPartnerIdEqual = ParseInt(node["vendorPartnerIdEqual"].Value <string>()); } if (node["vendorPartnerIdIn"] != null) { this._VendorPartnerIdIn = node["vendorPartnerIdIn"].Value <string>(); } if (node["createdAtGreaterThanOrEqual"] != null) { this._CreatedAtGreaterThanOrEqual = ParseInt(node["createdAtGreaterThanOrEqual"].Value <string>()); } if (node["createdAtLessThanOrEqual"] != null) { this._CreatedAtLessThanOrEqual = ParseInt(node["createdAtLessThanOrEqual"].Value <string>()); } if (node["updatedAtGreaterThanOrEqual"] != null) { this._UpdatedAtGreaterThanOrEqual = ParseInt(node["updatedAtGreaterThanOrEqual"].Value <string>()); } if (node["updatedAtLessThanOrEqual"] != null) { this._UpdatedAtLessThanOrEqual = ParseInt(node["updatedAtLessThanOrEqual"].Value <string>()); } if (node["statusEqual"] != null) { this._StatusEqual = (VendorCatalogItemStatus)ParseEnum(typeof(VendorCatalogItemStatus), node["statusEqual"].Value <string>()); } if (node["statusIn"] != null) { this._StatusIn = node["statusIn"].Value <string>(); } if (node["serviceTypeEqual"] != null) { this._ServiceTypeEqual = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceTypeEqual"].Value <string>()); } if (node["serviceTypeIn"] != null) { this._ServiceTypeIn = node["serviceTypeIn"].Value <string>(); } if (node["serviceFeatureEqual"] != null) { this._ServiceFeatureEqual = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeatureEqual"].Value <string>()); } if (node["serviceFeatureIn"] != null) { this._ServiceFeatureIn = node["serviceFeatureIn"].Value <string>(); } if (node["turnAroundTimeEqual"] != null) { this._TurnAroundTimeEqual = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTimeEqual"].Value <string>()); } if (node["turnAroundTimeIn"] != null) { this._TurnAroundTimeIn = node["turnAroundTimeIn"].Value <string>(); } }
public EntryVendorTask(JToken node) : base(node) { if (node["id"] != null) { this._Id = ParseLong(node["id"].Value <string>()); } if (node["partnerId"] != null) { this._PartnerId = ParseInt(node["partnerId"].Value <string>()); } if (node["vendorPartnerId"] != null) { this._VendorPartnerId = ParseInt(node["vendorPartnerId"].Value <string>()); } if (node["createdAt"] != null) { this._CreatedAt = ParseInt(node["createdAt"].Value <string>()); } if (node["updatedAt"] != null) { this._UpdatedAt = ParseInt(node["updatedAt"].Value <string>()); } if (node["queueTime"] != null) { this._QueueTime = ParseInt(node["queueTime"].Value <string>()); } if (node["finishTime"] != null) { this._FinishTime = ParseInt(node["finishTime"].Value <string>()); } if (node["entryId"] != null) { this._EntryId = node["entryId"].Value <string>(); } if (node["status"] != null) { this._Status = (EntryVendorTaskStatus)ParseEnum(typeof(EntryVendorTaskStatus), node["status"].Value <string>()); } if (node["reachProfileId"] != null) { this._ReachProfileId = ParseInt(node["reachProfileId"].Value <string>()); } if (node["catalogItemId"] != null) { this._CatalogItemId = ParseInt(node["catalogItemId"].Value <string>()); } if (node["price"] != null) { this._Price = ParseFloat(node["price"].Value <string>()); } if (node["userId"] != null) { this._UserId = node["userId"].Value <string>(); } if (node["moderatingUser"] != null) { this._ModeratingUser = node["moderatingUser"].Value <string>(); } if (node["errDescription"] != null) { this._ErrDescription = node["errDescription"].Value <string>(); } if (node["accessKey"] != null) { this._AccessKey = node["accessKey"].Value <string>(); } if (node["version"] != null) { this._Version = node["version"].Value <string>(); } if (node["notes"] != null) { this._Notes = node["notes"].Value <string>(); } if (node["dictionary"] != null) { this._Dictionary = node["dictionary"].Value <string>(); } if (node["context"] != null) { this._Context = node["context"].Value <string>(); } if (node["accuracy"] != null) { this._Accuracy = ParseInt(node["accuracy"].Value <string>()); } if (node["outputObjectId"] != null) { this._OutputObjectId = node["outputObjectId"].Value <string>(); } if (node["partnerData"] != null) { this._PartnerData = node["partnerData"].Value <string>(); } if (node["creationMode"] != null) { this._CreationMode = (EntryVendorTaskCreationMode)ParseEnum(typeof(EntryVendorTaskCreationMode), node["creationMode"].Value <string>()); } if (node["taskJobData"] != null) { this._TaskJobData = ObjectFactory.Create <VendorTaskData>(node["taskJobData"]); } if (node["expectedFinishTime"] != null) { this._ExpectedFinishTime = ParseInt(node["expectedFinishTime"].Value <string>()); } if (node["serviceType"] != null) { this._ServiceType = (VendorServiceType)ParseEnum(typeof(VendorServiceType), node["serviceType"].Value <string>()); } if (node["serviceFeature"] != null) { this._ServiceFeature = (VendorServiceFeature)ParseEnum(typeof(VendorServiceFeature), node["serviceFeature"].Value <string>()); } if (node["turnAroundTime"] != null) { this._TurnAroundTime = (VendorServiceTurnAroundTime)ParseEnum(typeof(VendorServiceTurnAroundTime), node["turnAroundTime"].Value <string>()); } }