Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
change snake case to camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-dev006 committed Jun 21, 2022
1 parent d379fdf commit 7bd9c5f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"idempotency_key": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"idempotencyKey": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"platform": "Android",
"appPackageName": "jp.go.mhlw.covid19radar",
"deviceVerificationPayload": "dummy value",
"event_logs": [
"eventLogs": [
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640256881,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullam"
},
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640257311,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Aenean sit amet dui blandit, faucibus neque sollicitudin, sollicitudin nisi. Vivamus mattis felis vitae lorem ultrices interdum. Nam massa orci, hendrerit in mauris at, ultricies eleifend tortor. Etiam neque dolor, tincidunt a scelerisque id, commodo at purus. Mauris ac ultrices quam. Aliquam elementum diam venenatis orci tempor finibus. Donec ultricies interdum tortor, vitae imperdiet orci porta ac."
},
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640258212,
"type": "ExposureNotification",
"subtype": "ExposureData",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"idempotency_key": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"idempotencyKey": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"platform": "Android",
"appPackageName": "jp.go.mhlw.covid19radar",
"deviceVerificationPayload": "dummy value",
"event_logs": [
"eventLogs": [
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640256881,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullam"
},
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640257311,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Aenean sit amet dui blandit, faucibus neque sollicitudin, sollicitudin nisi. Vivamus mattis felis vitae lorem ultrices interdum. Nam massa orci, hendrerit in mauris at, ultricies eleifend tortor. Etiam neque dolor, tincidunt a scelerisque id, commodo at purus. Mauris ac ultrices quam. Aliquam elementum diam venenatis orci tempor finibus. Donec ultricies interdum tortor, vitae imperdiet orci porta ac."
},
{
"has_consent": false,
"hasConsent": false,
"epoch": 1640258212,
"type": "ExposureNotification",
"subtype": "ExposureData",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"idempotency_key": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"idempotencyKey": "E09585E4-A6A9-4E4A-84C3-0FB8B23B2498",
"platform": "Android",
"appPackageName": "jp.go.mhlw.covid19radar",
"deviceVerificationPayload": "dummy value",
"event_logs": [
"eventLogs": [
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640256881,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrum exercitationem ullam"
},
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640257311,
"type": "ExposureNotification",
"subtype": "ExposureData",
"content": "Aenean sit amet dui blandit, faucibus neque sollicitudin, sollicitudin nisi. Vivamus mattis felis vitae lorem ultrices interdum. Nam massa orci, hendrerit in mauris at, ultricies eleifend tortor. Etiam neque dolor, tincidunt a scelerisque id, commodo at purus. Mauris ac ultrices quam. Aliquam elementum diam venenatis orci tempor finibus. Donec ultricies interdum tortor, vitae imperdiet orci porta ac."
},
{
"has_consent": true,
"hasConsent": true,
"epoch": 1640258212,
"type": "ExposureNotification",
"subtype": "ExposureData",
Expand Down
6 changes: 3 additions & 3 deletions src/Covid19Radar.Api/Models/V1EventLogSubmissionParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Covid19Radar.Api.Models
{
public class V1EventLogSubmissionParameter : IDeviceVerification
{
[JsonProperty("idempotency_key")]
[JsonProperty("idempotencyKey")]
public string IdempotencyKey { get; set; }

[JsonProperty("platform")]
Expand All @@ -23,7 +23,7 @@ public class V1EventLogSubmissionParameter : IDeviceVerification
[JsonProperty("deviceVerificationPayload")]
public string DeviceVerificationPayload { get; set; }

[JsonProperty("event_logs")]
[JsonProperty("eventLogs")]
public EventLog[] EventLogs { get; set; }

#region Apple Device Check
Expand Down Expand Up @@ -70,7 +70,7 @@ private string KeysTextForDeviceVerification

public class EventLog
{
[JsonProperty("has_consent")]
[JsonProperty("hasConsent")]
public bool HasConsent { get; set; }

[JsonProperty("epoch")]
Expand Down

0 comments on commit 7bd9c5f

Please sign in to comment.