File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
src/main/java/com/whatsapp/api/domain/messages/response Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11package com .whatsapp .api .domain .messages .response ;
22
3+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
34import com .fasterxml .jackson .annotation .JsonInclude ;
45import com .fasterxml .jackson .annotation .JsonProperty ;
56
67/**
78 * The type Contact.
89 */
910@ JsonInclude (JsonInclude .Include .NON_NULL )
11+ @ JsonIgnoreProperties (ignoreUnknown = true )
1012public record Contact (
1113
1214 @ JsonProperty ("input" ) String input ,
Original file line number Diff line number Diff line change 11package com .whatsapp .api .domain .messages .response ;
22
3+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
34import com .fasterxml .jackson .annotation .JsonInclude ;
45import com .fasterxml .jackson .annotation .JsonProperty ;
56
67/**
78 * The type Message.
89 */
910@ JsonInclude (JsonInclude .Include .NON_NULL )
11+ @ JsonIgnoreProperties (ignoreUnknown = true )
1012public record Message (
1113
1214 @ JsonProperty ("id" ) String id ) {
Original file line number Diff line number Diff line change 11package com .whatsapp .api .domain .messages .response ;
22
3+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
34import com .fasterxml .jackson .annotation .JsonInclude ;
45import com .fasterxml .jackson .annotation .JsonProperty ;
56
910 * The type Message response.
1011 */
1112@ JsonInclude (JsonInclude .Include .NON_NULL )
13+ @ JsonIgnoreProperties (ignoreUnknown = true )
1214public record MessageResponse (
1315
1416 @ JsonProperty ("messaging_product" ) String messagingProduct ,
You can’t perform that action at this time.
0 commit comments