Class ContractTermsDocument
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractTermsDocument
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ContractTermsDocument extends com.ibm.cloud.sdk.core.service.model.GenericModel
Standard contract terms document, which is used for get and list contract terms responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContractTermsDocument.Builder
Builder.static interface
ContractTermsDocument.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
id()
Gets the id.java.lang.String
name()
Gets the name.ContractTermsDocument.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 ContractTermsDocument.Builder newBuilder()
New builder.- Returns:
- a ContractTermsDocument builder
-
url
public java.lang.String url()
Gets the url. URL that can be used to retrieve the contract document.- Returns:
- the url
-
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
-
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
-
-