public static RCMessageTypeRecord ToStructure(ssContactManager.RestRecords.JSONRCMessageTypeRecord obj, IBehaviorsConfiguration config) { RCMessageTypeRecord s = new RCMessageTypeRecord(null); if (obj != null) { s.ssENMessageType = ssContactManager.RestRecords.JSONENMessageTypeEntityRecord.ToStructure(obj.AttrMessageType, config); } return(s); }
public static ssAddress_CS.RestRecords.JSONRCCountryRecord FromStructure(RCCountryRecord s, IBehaviorsConfiguration config) { return(new ssAddress_CS.RestRecords.JSONRCCountryRecord(s, config)); }
public static RCAddressTypeRecord ToStructure(ssAddress_CS.RestRecords.JSONRCAddressTypeRecord obj, IBehaviorsConfiguration config) { RCAddressTypeRecord s = new RCAddressTypeRecord(null); if (obj != null) { s.ssENAddressType = ssAddress_CS.RestRecords.JSONENAddressTypeEntityRecord.ToStructure(obj.AttrAddressType, config); } return(s); }
public static ssContactManager.RestRecords.JSONENMenuItemEntityRecord FromStructure(ENMenuItemEntityRecord s, IBehaviorsConfiguration config) { return(new ssContactManager.RestRecords.JSONENMenuItemEntityRecord(s, config)); }
public static Func <ENAddressEntityRecord, ssAddress_CS.RestRecords.JSONENAddressEntityRecord> FromStructureDelegate(IBehaviorsConfiguration config) { return((ENAddressEntityRecord s) => FromStructure(s, config)); }
public static ssAddress_CS.RestRecords.JSONENUserEntityRecord FromStructure(ENUserEntityRecord s, IBehaviorsConfiguration config) { return(new ssAddress_CS.RestRecords.JSONENUserEntityRecord(s, config)); }
public static Func <ssContactManager.RestRecords.JSONENMenuItemEntityRecord, ENMenuItemEntityRecord> ToStructureDelegate(IBehaviorsConfiguration config) { return((ssContactManager.RestRecords.JSONENMenuItemEntityRecord s) => ToStructure(s, config)); }
public static Func <ssContactManager.RestRecords.JSONRCUserRecord, RCUserRecord> ToStructureDelegate(IBehaviorsConfiguration config) { return((ssContactManager.RestRecords.JSONRCUserRecord s) => ToStructure(s, config)); }
public static RCUserRecord ToStructure(ssContactManager.RestRecords.JSONRCUserRecord obj, IBehaviorsConfiguration config) { RCUserRecord s = new RCUserRecord(null); if (obj != null) { s.ssENUser = ssContactManager.RestRecords.JSONENUserEntityRecord.ToStructure(obj.AttrUser, config); } return(s); }
public static Func <RCFeedback_MessageRecord, ssContactManager.RestRecords.JSONRCFeedback_MessageRecord> FromStructureDelegate(IBehaviorsConfiguration config) { return((RCFeedback_MessageRecord s) => FromStructure(s, config)); }
public static ssContactManager.RestRecords.JSONRCFeedback_MessageRecord FromStructure(RCFeedback_MessageRecord s, IBehaviorsConfiguration config) { return(new ssContactManager.RestRecords.JSONRCFeedback_MessageRecord(s, config)); }
public static RCFeedback_MessageRecord ToStructure(ssContactManager.RestRecords.JSONRCFeedback_MessageRecord obj, IBehaviorsConfiguration config) { RCFeedback_MessageRecord s = new RCFeedback_MessageRecord(null); if (obj != null) { s.ssSTFeedback_Message = ssContactManager.RestRecords.JSONSTFeedback_MessageStructure.ToStructure(obj.AttrFeedback_Message, config); } return(s); }
public static ssContactManager.RestRecords.JSONRCExcel_ContactsRecord FromStructure(RCExcel_ContactsRecord s, IBehaviorsConfiguration config) { return(new ssContactManager.RestRecords.JSONRCExcel_ContactsRecord(s, config)); }
public static RCExcel_ContactsRecord ToStructure(ssContactManager.RestRecords.JSONRCExcel_ContactsRecord obj, IBehaviorsConfiguration config) { RCExcel_ContactsRecord s = new RCExcel_ContactsRecord(null); if (obj != null) { s.ssSTExcel_Contacts = ssContactManager.RestRecords.JSONSTExcel_ContactsStructure.ToStructure(obj.AttrExcel_Contacts, config); } return(s); }
public static Func <STExcel_ContactsStructure, ssContactManager.RestRecords.JSONSTExcel_ContactsStructure> FromStructureDelegate(IBehaviorsConfiguration config) { return((STExcel_ContactsStructure s) => FromStructure(s, config)); }
public JSONSTListNavigation_PageNumberStructure(STListNavigation_PageNumberStructure s, IBehaviorsConfiguration config) { if (config.DefaultValuesBehavior == DefaultValuesBehavior.DontSend) { AttrNumber = ConvertToRestWithoutDefaults(s.ssNumber, ""); AttrIndex = ConvertToRestWithoutDefaults(s.ssIndex, 0); AttrIsCurrent = ConvertToRestWithoutDefaults(s.ssIsCurrent, false); } else { AttrNumber = s.ssNumber; AttrIndex = (int?)s.ssIndex; AttrIsCurrent = (bool?)s.ssIsCurrent; } }
public static ssContactManager.RestRecords.JSONSTExcel_ContactsStructure FromStructure(STExcel_ContactsStructure s, IBehaviorsConfiguration config) { return(new ssContactManager.RestRecords.JSONSTExcel_ContactsStructure(s, config)); }
public static STListNavigation_PageNumberStructure ToStructure(ssContactManager.RestRecords.JSONSTListNavigation_PageNumberStructure obj, IBehaviorsConfiguration config) { STListNavigation_PageNumberStructure s = new STListNavigation_PageNumberStructure(null); if (obj != null) { s.ssNumber = obj.AttrNumber == null ? "": obj.AttrNumber; s.ssIndex = obj.AttrIndex == null ? 0: obj.AttrIndex.Value; s.ssIsCurrent = obj.AttrIsCurrent == null ? false: obj.AttrIsCurrent.Value; } return(s); }
public static ENUserEntityRecord ToStructure(ssAddress_CS.RestRecords.JSONENUserEntityRecord obj, IBehaviorsConfiguration config) { ENUserEntityRecord s = new ENUserEntityRecord(null); if (obj != null) { s.ssId = obj.AttrId == null ? 0: obj.AttrId.Value; s.ssName = obj.AttrName == null ? "": obj.AttrName; s.ssUsername = obj.AttrUsername == null ? "": obj.AttrUsername; s.ssPassword = obj.AttrPassword == null ? "": obj.AttrPassword; s.ssEmail = obj.AttrEmail == null ? "": obj.AttrEmail; s.ssMobilePhone = obj.AttrMobilePhone == null ? "": obj.AttrMobilePhone; s.ssExternal_Id = obj.AttrExternal_Id == null ? "": obj.AttrExternal_Id; s.ssCreation_Date = obj.AttrCreation_Date == null ? new DateTime(1900, 1, 1, 0, 0, 0): OutSystems.RESTService.Conversions.TextToDateTime(obj.AttrCreation_Date, config.DateTimeFormat); s.ssLast_Login = obj.AttrLast_Login == null ? new DateTime(1900, 1, 1, 0, 0, 0): OutSystems.RESTService.Conversions.TextToDateTime(obj.AttrLast_Login, config.DateTimeFormat); s.ssIs_Active = obj.AttrIs_Active == null ? true: obj.AttrIs_Active.Value; } return(s); }
public static Func <STListNavigation_PageNumberStructure, ssContactManager.RestRecords.JSONSTListNavigation_PageNumberStructure> FromStructureDelegate(IBehaviorsConfiguration config) { return((STListNavigation_PageNumberStructure s) => FromStructure(s, config)); }
public static ENMenuItemEntityRecord ToStructure(ssContactManager.RestRecords.JSONENMenuItemEntityRecord obj, IBehaviorsConfiguration config) { ENMenuItemEntityRecord s = new ENMenuItemEntityRecord(null); if (obj != null) { s.ssId = obj.AttrId == null ? 0: obj.AttrId.Value; s.ssOrder = obj.AttrOrder == null ? 0: obj.AttrOrder.Value; s.ssCaption = obj.AttrCaption == null ? "": obj.AttrCaption; } return(s); }
public static ssContactManager.RestRecords.JSONSTListNavigation_PageNumberStructure FromStructure(STListNavigation_PageNumberStructure s, IBehaviorsConfiguration config) { return(new ssContactManager.RestRecords.JSONSTListNavigation_PageNumberStructure(s, config)); }
public static ENAddressEntityRecord ToStructure(ssAddress_CS.RestRecords.JSONENAddressEntityRecord obj, IBehaviorsConfiguration config) { ENAddressEntityRecord s = new ENAddressEntityRecord(null); if (obj != null) { s.ssId = obj.AttrId == null ? 0L: obj.AttrId.Value; s.ssAddressLine1 = obj.AttrAddressLine1 == null ? "": obj.AttrAddressLine1; s.ssAddressLine2 = obj.AttrAddressLine2 == null ? "": obj.AttrAddressLine2; s.ssAddressLine3 = obj.AttrAddressLine3 == null ? "": obj.AttrAddressLine3; s.ssAddressLine4 = obj.AttrAddressLine4 == null ? "": obj.AttrAddressLine4; s.ssAddressLine5 = obj.AttrAddressLine5 == null ? "": obj.AttrAddressLine5; s.ssCity = obj.AttrCity == null ? "": obj.AttrCity; s.ssCounty = obj.AttrCounty == null ? "": obj.AttrCounty; s.ssPostcode = obj.AttrPostcode == null ? "": obj.AttrPostcode; s.ssCountryId = obj.AttrCountryId == null ? 0L: obj.AttrCountryId.Value; s.ssAddressTypeId = obj.AttrAddressTypeId == null ? 0L: obj.AttrAddressTypeId.Value; s.ssActive = obj.AttrActive == null ? true: obj.AttrActive.Value; s.ssCreatedDate = obj.AttrCreatedDate == null ? new DateTime(1900, 1, 1, 0, 0, 0): OutSystems.RESTService.Conversions.TextToDateTime(obj.AttrCreatedDate, config.DateTimeFormat); s.ssCreatedBy = obj.AttrCreatedBy == null ? 0: obj.AttrCreatedBy.Value; s.ssLastUpdatedDate = obj.AttrLastUpdatedDate == null ? new DateTime(1900, 1, 1, 0, 0, 0): OutSystems.RESTService.Conversions.TextToDateTime(obj.AttrLastUpdatedDate, config.DateTimeFormat); s.ssLastUpdatedBy = obj.AttrLastUpdatedBy == null ? 0: obj.AttrLastUpdatedBy.Value; } return(s); }
public static ENApplicationEntityRecord ToStructure(ssContactManager.RestRecords.JSONENApplicationEntityRecord obj, IBehaviorsConfiguration config) { ENApplicationEntityRecord s = new ENApplicationEntityRecord(null); if (obj != null) { s.ssId = obj.AttrId == null ? 0: obj.AttrId.Value; s.ssName = obj.AttrName == null ? "": obj.AttrName; s.ssDescription = obj.AttrDescription == null ? "": obj.AttrDescription; s.ssEntry_eSpace_Id = obj.AttrEntry_eSpace_Id == null ? 0: obj.AttrEntry_eSpace_Id.Value; s.ssBackOffice_eSpace_Id = obj.AttrBackOffice_eSpace_Id == null ? 0: obj.AttrBackOffice_eSpace_Id.Value; s.ssDefaultThemeIsMobile = obj.AttrDefaultThemeIsMobile == null ? false: obj.AttrDefaultThemeIsMobile.Value; s.ssKey = obj.AttrKey == null ? "": obj.AttrKey; s.ssIs_Active = obj.AttrIs_Active == null ? false: obj.AttrIs_Active.Value; s.ssDisabled = obj.AttrDisabled == null ? false: obj.AttrDisabled.Value; s.ssCreatedBy = obj.AttrCreatedBy == null ? 0: obj.AttrCreatedBy.Value; s.ssApplicationKind = obj.AttrApplicationKind == null ? "": obj.AttrApplicationKind; s.ssTemplateKey = obj.AttrTemplateKey == null ? "": obj.AttrTemplateKey; s.ssPrimaryColor = obj.AttrPrimaryColor == null ? "": obj.AttrPrimaryColor; s.ssNativeHash = obj.AttrNativeHash == null ? "": obj.AttrNativeHash; } return(s); }
public static Func <RCCountryRecord, ssAddress_CS.RestRecords.JSONRCCountryRecord> FromStructureDelegate(IBehaviorsConfiguration config) { return((RCCountryRecord s) => FromStructure(s, config)); }
public static ENRecentItemEntityRecord ToStructure(ssContactManager.RestRecords.JSONENRecentItemEntityRecord obj, IBehaviorsConfiguration config) { ENRecentItemEntityRecord s = new ENRecentItemEntityRecord(null); if (obj != null) { s.ssId = obj.AttrId == null ? 0: obj.AttrId.Value; s.ssTenantId = obj.AttrTenantId == null ? 0: obj.AttrTenantId.Value; s.ssUserId = obj.AttrUserId == null ? 0: obj.AttrUserId.Value; s.ssLabel = obj.AttrLabel == null ? "": obj.AttrLabel; s.ssTag = obj.AttrTag == null ? "": obj.AttrTag; s.ssURL = obj.AttrURL == null ? "": obj.AttrURL; s.ssInstant = obj.AttrInstant == null ? new DateTime(1900, 1, 1, 0, 0, 0): OutSystems.RESTService.Conversions.TextToDateTime(obj.AttrInstant, config.DateTimeFormat); } return(s); }
public static Func <ssAddress_CS.RestRecords.JSONRCAddressTypeRecord, RCAddressTypeRecord> ToStructureDelegate(IBehaviorsConfiguration config) { return((ssAddress_CS.RestRecords.JSONRCAddressTypeRecord s) => ToStructure(s, config)); }
public static STExcel_ContactsStructure ToStructure(ssContactManager.RestRecords.JSONSTExcel_ContactsStructure obj, IBehaviorsConfiguration config) { STExcel_ContactsStructure s = new STExcel_ContactsStructure(null); if (obj != null) { s.ssName = obj.AttrName == null ? "": obj.AttrName; s.ssJobTitle = obj.AttrJobTitle == null ? "": obj.AttrJobTitle; s.ssPhone = obj.AttrPhone == null ? "": obj.AttrPhone; s.ssEmail = obj.AttrEmail == null ? "": obj.AttrEmail; } return(s); }
public static Func <ENUserEntityRecord, ssContactManager.RestRecords.JSONENUserEntityRecord> FromStructureDelegate(IBehaviorsConfiguration config) { return((ENUserEntityRecord s) => FromStructure(s, config)); }
public static RCListNavigation_PageNumberRecord ToStructure(ssContactManager.RestRecords.JSONRCListNavigation_PageNumberRecord obj, IBehaviorsConfiguration config) { RCListNavigation_PageNumberRecord s = new RCListNavigation_PageNumberRecord(null); if (obj != null) { s.ssSTListNavigation_PageNumber = ssContactManager.RestRecords.JSONSTListNavigation_PageNumberStructure.ToStructure(obj.AttrListNavigation_PageNumber, config); } return(s); }