public static final class ReleaseManagementUpdateReleasePackageRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ReleaseManagementUpdateReleasePackageResponse |
call(String rpid,
String wfaction) |
Calls updateReleasePackage method, Update the release/obsoletion package properties and/or item properties and transition it to
desired state
|
ReleaseManagementUpdateReleasePackageRequestItems[] |
items() |
Get Array of items to be updated along with their desired new properties.
|
ReleaseManagementUpdateReleasePackageRequest.Builder |
items(ReleaseManagementUpdateReleasePackageRequestItems[] value) |
Set Array of items to be updated along with their desired new properties.
|
ReleaseManagementUpdateReleasePackageRequestProperties[] |
properties() |
Get Array of properties to update before doing the transition.
|
ReleaseManagementUpdateReleasePackageRequest.Builder |
properties(ReleaseManagementUpdateReleasePackageRequestProperties[] value) |
Set Array of properties to update before doing the transition.
|
public final ReleaseManagementUpdateReleasePackageRequestProperties[] properties()
public final ReleaseManagementUpdateReleasePackageRequest.Builder properties(ReleaseManagementUpdateReleasePackageRequestProperties[] value)
value - Array of properties to update before doing the transition. All properties with required=true which do not have a value must be specified. No properties with editable=false should be specified.public final ReleaseManagementUpdateReleasePackageRequestItems[] items()
public final ReleaseManagementUpdateReleasePackageRequest.Builder items(ReleaseManagementUpdateReleasePackageRequestItems[] value)
value - Array of items to be updated along with their desired new properties. Only the items for which properties need to be updated to be included in this listpublic final ReleaseManagementUpdateReleasePackageResponse call(String rpid, String wfaction) throws OnshapeException
rpid - ID of package to transitionwfaction - Workflow action to perform on the package. Allowed values are SUBMIT, CREATE_AND_RELEASE, RELEASE, REJECT, OBSOLETE, DISCARD or CREATE_AND_OBSOLETE. DISCARD can only be performed by the creator of the package and is the only transition that can be performed even if items have errors. CREATE_AND_RELEASE and CREATE_AND_OBSOLETE can only be performed by creator if the Release management settings for the company allow release without approvers. If Release management settings restrict the approver list to a subset of company users, Only those users can perform transitions. (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.