Skip to content

Commit

Permalink
Merge pull request #271 from /issues/268
Browse files Browse the repository at this point in the history
issues/268 - Added missing lock_status field to ContractPackage
  • Loading branch information
cnorburn authored Apr 25, 2024
2 parents e6f90d8 + c448fd2 commit ebebb52
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions src/main/java/com/casper/sdk/model/contract/ContractPackage.java
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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<DisabledVersion> 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> groups;

/**
* versions(Array/ContractVersion)
*/
/** versions(Array/ContractVersion) */
@JsonProperty("versions")
private List<ContractVersion> versions;
}

0 comments on commit ebebb52

Please sign in to comment.