From c448fd233211bfddd1277e1c3ddff0d68a74b0e9 Mon Sep 17 00:00:00 2001 From: meywood <105049338+meywood@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:59:05 +0100 Subject: [PATCH] issues/268 - Added missing lock_status field to ContractPackage --- .../sdk/model/contract/ContractPackage.java | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/casper/sdk/model/contract/ContractPackage.java b/src/main/java/com/casper/sdk/model/contract/ContractPackage.java index 8d95ccdae..70d96eda9 100644 --- a/src/main/java/com/casper/sdk/model/contract/ContractPackage.java +++ b/src/main/java/com/casper/sdk/model/contract/ContractPackage.java @@ -1,11 +1,7 @@ package com.casper.sdk.model.contract; import com.fasterxml.jackson.annotation.JsonProperty; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; +import lombok.*; import java.util.List; @@ -23,27 +19,23 @@ @NoArgsConstructor public class ContractPackage { - /** - * access_key(string) - */ + /** access_key(string) */ @JsonProperty("access_key") private String accessKey; - /** - * disabled_versions(Array/DisabledVersion) - */ + /** disabled_versions(Array/DisabledVersion) */ @JsonProperty("disabled_versions") private List disabledVersions; - /** - * groups(Array/Group) - */ + /** The lock status of the contract package */ + @JsonProperty("lock_status") + private String lockStatus; + + /** groups(Array/Group) */ @JsonProperty("groups") private List groups; - /** - * versions(Array/ContractVersion) - */ + /** versions(Array/ContractVersion) */ @JsonProperty("versions") private List versions; }