Skip to content

converting json to models

santmalvin23 edited this page Oct 28, 2021 · 12 revisions

{ "status": "Success", "statusCode": 200, "data": [{ "id": "28", "name": "SILOAM HOSPITALS MANADO", "companyName": "", "logoImageUrl": "", "code": "SHMN", "address": "BOULEVARD CENTRE, JL. SAM RATULANGI NO.22 MANADO, SULAWESI UTARA", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "04317290900", "dailyQuota": 20, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2021-02-23T11:51:26.344Z", "hospital_id": "63c6af56-bb9a-4962-a698-454d3345630d", "isForPreRegistration": true, "isPEForm": false, "areaId": "7" }, { "id": "15", "name": "SILOAM HOSPITALS TB SIMATUPANG", "companyName": "", "logoImageUrl": null, "code": "SHTS", "address": "JL. R.A KARTINI NO. 8 CILANDAK, JAKARTA SELATAN TELP. (021) 2953-1900", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "", "dailyQuota": 5, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2019-07-23T05:09:01.496Z", "hospital_id": "561686b8-383e-45d9-97e6-b97e3d5ef492", "isForPreRegistration": true, "isPEForm": false, "areaId": "1" }, { "id": "17", "name": "SILOAM SRIWIJAYA", "companyName": "", "logoImageUrl": "https://mysiloam-api-staging.siloamhospitals.com/storage-down/mcu-hospital/mcu-hospital-16112192756816620.png", "code": "SHPL", "address": "JL. POM IX KOMPLEKS PALEMBANG SQUARE, PALEMBANG 30137 TELP (0711) 5229100", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "", "dailyQuota": 16, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2021-01-21T08:54:48.316Z", "hospital_id": "7b16ee07-7f87-4b78-b019-c0415454a5db", "isForPreRegistration": true, "isPEForm": false, "areaId": "8" }, { "id": "14", "name": "SILOAM HOSPITALS DENPASAR", "companyName": "", "logoImageUrl": null, "code": "SHDP", "address": "JL. SUNSET ROAD NO. 818, KUTA. BALI TELP. (0361) 779900", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "", "dailyQuota": 20, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2019-02-07T03:31:26.529Z", "hospital_id": "49a1ef75-2bdb-4586-b287-557929a7d873", "isForPreRegistration": true, "isPEForm": false, "areaId": "4" }, { "id": "4", "name": "SILOAM HOSPITALS LIPPO CIKARANG", "companyName": "", "logoImageUrl": null, "code": "SHLC", "address": "", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "", "dailyQuota": 20, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2019-11-22T02:13:03.032Z", "hospital_id": "153b75ee-dc07-4290-ad55-d4d28457780f", "isForPreRegistration": true, "isPEForm": false, "areaId": "2" }, { "id": "5", "name": "SILOAM HOSPITALS SURABAYA", "companyName": "", "logoImageUrl": null, "code": "SHSB", "address": "", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "", "dailyQuota": 5, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2019-08-01T08:44:14.697Z", "hospital_id": "deb78250-e156-4f62-b548-a648cf718bf2", "isForPreRegistration": true, "isPEForm": true, "areaId": "3" }, { "id": "48", "name": "SILOAM HOSPITALS BANJARMASIN", "companyName": null, "logoImageUrl": null, "code": "SHBJ", "address": null, "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": null, "dailyQuota": 20, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2021-04-15T07:50:55.346Z", "updatedAt": "2021-04-15T07:50:55.346Z", "hospital_id": "a0554ddc-e541-4640-9dc3-e102b97d454a", "isForPreRegistration": true, "isPEForm": false, "areaId": null }, { "id": "3", "name": "SILOAM HOSPITALS KEBON JERUK", "companyName": "", "logoImageUrl": "", "code": "SHKJ", "address": "JL. RAYA PEJUANGAN KAV 8 KEBON JERUK, JAKARTA BARAT TELP: 021-25677888", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "081234567890", "dailyQuota": 20, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2021-05-21T07:40:51.263Z", "hospital_id": "5588f248-6f45-4968-9009-13ee8f3bd5ec", "isForPreRegistration": true, "isPEForm": false, "areaId": "1" }, { "id": "2", "name": "SILOAM HOSPITALS LIPPO VILLAGE", "companyName": "", "logoImageUrl": "", "code": "SHLV", "address": "JALAN SILOAM NO.6 TANGERANG TELP : 021 - 5460055 FAX : 021 - 54210090", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "0215460055", "dailyQuota": 50, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2021-07-22T06:44:37.863Z", "hospital_id": "39764039-37b9-4176-a025-ef7b2e124ba4", "isForPreRegistration": true, "isPEForm": true, "areaId": "2" }, { "id": "19", "name": "MRCCC SILOAM HOSPITALS SEMANGGI", "companyName": "", "logoImageUrl": "https://mysiloam-api-staging.siloamhospitals.com/storage-down/mcu-hospital/mcu-hospital-16112192713142498.png", "code": "MRCCC", "address": "Jl. Garnisun Dalam No. 2-3 Semanggi, 12930, Indonesia", "coordinatesLat": null, "coordinatesLng": null, "phoneNumber": "02129962888", "dailyQuota": 5, "isActive": true, "timezone_diff": "+07", "timezone_name": "Asia/Bangkok", "createdAt": "2019-02-07T03:31:26.529Z", "updatedAt": "2021-08-23T04:48:32.267Z", "hospital_id": "beba4c15-72d4-473a-bb9e-6dc26c0c9052", "isForPreRegistration": true, "isPEForm": false, "areaId": "1" }] }

Finding these guides helpful?

We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.

Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.

Clone this wiki locally