Package com.atlan.api
Class ContractsEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
com.atlan.api.HeraclesEndpoint
com.atlan.api.ContractsEndpoint
API endpoints for data contract-specific operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.api.AbstractEndpoint
AbstractEndpoint.RawResponse
-
Field Summary
Fields inherited from class com.atlan.api.AbstractEndpoint
client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateInitialSpec
(Asset asset) Generate an initial contract spec for the provided asset.generateInitialSpec
(Asset asset, RequestOptions options) Generate an initial contract spec for the provided asset.Methods inherited from class com.atlan.api.HeraclesEndpoint
getBaseUrl
Methods inherited from class com.atlan.api.AbstractEndpoint
getBaseUrl
-
Constructor Details
-
ContractsEndpoint
-
-
Method Details
-
generateInitialSpec
Generate an initial contract spec for the provided asset. The asset must have at least its qualifiedName (and type) populated.- Parameters:
asset
- for which to generate the initial contract spec- Returns:
- the YAML for the initial contract spec for the provided asset
- Throws:
AtlanException
- on any issue interacting with the API
-
generateInitialSpec
Generate an initial contract spec for the provided asset. The asset must have at least its qualifiedName (and type) populated.- Parameters:
asset
- for which to generate the initial contract specoptions
- to override default client settings- Returns:
- the YAML for the initial contract spec for the provided asset
- Throws:
AtlanException
- on any issue interacting with the API
-