Class ContractPackage
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.ContractPackage
-
public class ContractPackage extends java.lang.Object
Contract definition, metadata, and security container- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContractPackage.ContractPackageBuilder
-
Constructor Summary
Constructors Constructor Description ContractPackage()
ContractPackage(java.lang.String accessKey, java.util.List<DisabledVersion> disabledVersions, java.util.List<Groups> groups, java.util.List<ContractVersion> versions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContractPackage.ContractPackageBuilder
builder()
java.lang.String
getAccessKey()
access_key(string)java.util.List<DisabledVersion>
getDisabledVersions()
disabled_versions(Array/DisabledVersion)java.util.List<Groups>
getGroups()
groups(Array/Group)java.util.List<ContractVersion>
getVersions()
versions(Array/ContractVersion)void
setAccessKey(java.lang.String accessKey)
access_key(string)void
setDisabledVersions(java.util.List<DisabledVersion> disabledVersions)
disabled_versions(Array/DisabledVersion)void
setGroups(java.util.List<Groups> groups)
groups(Array/Group)void
setVersions(java.util.List<ContractVersion> versions)
versions(Array/ContractVersion)
-
-
-
Constructor Detail
-
ContractPackage
public ContractPackage(java.lang.String accessKey, java.util.List<DisabledVersion> disabledVersions, java.util.List<Groups> groups, java.util.List<ContractVersion> versions)
-
ContractPackage
public ContractPackage()
-
-
Method Detail
-
builder
public static ContractPackage.ContractPackageBuilder builder()
-
getAccessKey
public java.lang.String getAccessKey()
access_key(string)
-
getDisabledVersions
public java.util.List<DisabledVersion> getDisabledVersions()
disabled_versions(Array/DisabledVersion)
-
getGroups
public java.util.List<Groups> getGroups()
groups(Array/Group)
-
getVersions
public java.util.List<ContractVersion> getVersions()
versions(Array/ContractVersion)
-
setAccessKey
public void setAccessKey(java.lang.String accessKey)
access_key(string)
-
setDisabledVersions
public void setDisabledVersions(java.util.List<DisabledVersion> disabledVersions)
disabled_versions(Array/DisabledVersion)
-
setGroups
public void setGroups(java.util.List<Groups> groups)
groups(Array/Group)
-
setVersions
public void setVersions(java.util.List<ContractVersion> versions)
versions(Array/ContractVersion)
-
-