Class CreateDraftContractTermsDocumentOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.CreateDraftContractTermsDocumentOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateDraftContractTermsDocumentOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createDraftContractTermsDocument options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateDraftContractTermsDocumentOptions.Builder
Builder.static interface
CreateDraftContractTermsDocumentOptions.Type
Type of the contract document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractTermsDocumentAttachment
attachment()
Gets the attachment.java.lang.String
contractTermsId()
Gets the contractTermsId.java.lang.String
dataProductId()
Gets the dataProductId.java.lang.String
draftId()
Gets the draftId.java.lang.String
id()
Gets the id.java.lang.String
name()
Gets the name.CreateDraftContractTermsDocumentOptions.Builder
newBuilder()
New builder.java.lang.String
type()
Gets the type.java.lang.String
uploadUrl()
Gets the uploadUrl.java.lang.String
url()
Gets the url.
-
-
-
Method Detail
-
newBuilder
public CreateDraftContractTermsDocumentOptions.Builder newBuilder()
New builder.- Returns:
- a CreateDraftContractTermsDocumentOptions builder
-
dataProductId
public java.lang.String dataProductId()
Gets the dataProductId. Data product ID. Use '-' to skip specifying the data product ID explicitly.- Returns:
- the dataProductId
-
draftId
public java.lang.String draftId()
Gets the draftId. Data product draft id.- Returns:
- the draftId
-
contractTermsId
public java.lang.String contractTermsId()
Gets the contractTermsId. Contract terms id.- Returns:
- the contractTermsId
-
type
public java.lang.String type()
Gets the type. Type of the contract document.- Returns:
- the type
-
name
public java.lang.String name()
Gets the name. Name of the contract document.- Returns:
- the name
-
id
public java.lang.String id()
Gets the id. Id uniquely identifying this document within the contract terms instance.- Returns:
- the id
-
url
public java.lang.String url()
Gets the url. URL that can be used to retrieve the contract document.- Returns:
- the url
-
attachment
public ContractTermsDocumentAttachment attachment()
Gets the attachment. Attachment associated witht the document.- Returns:
- the attachment
-
uploadUrl
public java.lang.String uploadUrl()
Gets the uploadUrl. URL which can be used to upload document file.- Returns:
- the uploadUrl
-
-