|
|
@ -74,7 +74,13 @@ Future main() async { |
|
|
|
.id!; |
|
|
|
.id!; |
|
|
|
await validateResponse<NotesNote, void>( |
|
|
|
await validateResponse<NotesNote, void>( |
|
|
|
client.notes, |
|
|
|
client.notes, |
|
|
|
client.notes.updateNoteWithHttpInfo(id, NotesNote(title: 'b')), |
|
|
|
client.notes.updateNoteWithHttpInfo( |
|
|
|
|
|
|
|
id, |
|
|
|
|
|
|
|
NotesNote( |
|
|
|
|
|
|
|
id: id, |
|
|
|
|
|
|
|
title: 'b', |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
final response = (await validateResponse<NotesNote, void>( |
|
|
|
final response = (await validateResponse<NotesNote, void>( |
|
|
@ -94,7 +100,10 @@ Future main() async { |
|
|
|
client.notes, |
|
|
|
client.notes, |
|
|
|
client.notes.updateNoteWithHttpInfo( |
|
|
|
client.notes.updateNoteWithHttpInfo( |
|
|
|
response.id!, |
|
|
|
response.id!, |
|
|
|
NotesNote(title: 'b'), |
|
|
|
NotesNote( |
|
|
|
|
|
|
|
id: response.id!, |
|
|
|
|
|
|
|
title: 'b', |
|
|
|
|
|
|
|
), |
|
|
|
ifMatch: '"${response.etag}"', |
|
|
|
ifMatch: '"${response.etag}"', |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
@ -104,7 +113,10 @@ Future main() async { |
|
|
|
client.notes, |
|
|
|
client.notes, |
|
|
|
client.notes.updateNoteWithHttpInfo( |
|
|
|
client.notes.updateNoteWithHttpInfo( |
|
|
|
response.id!, |
|
|
|
response.id!, |
|
|
|
NotesNote(title: 'c'), |
|
|
|
NotesNote( |
|
|
|
|
|
|
|
id: response.id!, |
|
|
|
|
|
|
|
title: 'c', |
|
|
|
|
|
|
|
), |
|
|
|
ifMatch: '"${response.etag}"', |
|
|
|
ifMatch: '"${response.etag}"', |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|