Skip to content

Commit

Permalink
ADST-49 (#68)
Browse files Browse the repository at this point in the history
* update model key for in payload request

* updated value key for few models
  • Loading branch information
aman-alfresco authored Mar 31, 2024
1 parent ae97574 commit c57598a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import com.squareup.moshi.JsonClass
data class RequestCreateProcessInstance(
@Json(name = "name") @field:Json(name = "name") var name: String? = null,
@Json(name = "processDefinitionId") @field:Json(name = "processDefinitionId") var processDefinitionId: String? = null,
@Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null
@Json(name = "values") @field:Json(name = "values") var values: Map<String, Any?>? = null
)
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class RequestOutcomes(
@Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null,
@Json(name = "values") @field:Json(name = "values") var values: Map<String, Any?>? = null,
@Json(name = "outcome") @field:Json(name = "outcome") var outcome: String? = null
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class RequestSaveForm(
@Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null
@Json(name = "values") @field:Json(name = "values") var values: Map<String, Any?>? = null
)

0 comments on commit c57598a

Please sign in to comment.