Class FarmOperationsBaseClient
java.lang.Object
com.azure.verticals.agrifood.farming.FarmOperationsBaseClient
Initializes a new instance of the FarmOperationsBaseClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDataIngestionJob
(String jobId) Create a farm operation data ingestion job.getDataIngestionJobDetails
(String jobId) Get a farm operation data ingestion job.invoke()
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.
-
Method Details
-
createDataIngestionJob
Create a farm operation data ingestion job.Request Body Schema
{ farmerId: String authProviderId: String operations: [ String ] startYear: int id: String status: String durationInSeconds: Double message: String createdDateTime: OffsetDateTime lastActionDateTime: OffsetDateTime startTime: OffsetDateTime endTime: OffsetDateTime name: String description: String properties: { String: Object } }
Response Body Schema
(recursive schema, see above)
- Parameters:
jobId
- Job ID supplied by user.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
getDataIngestionJobDetails
Get a farm operation data ingestion job.Response Body Schema
{ farmerId: String authProviderId: String operations: [ String ] startYear: int id: String status: String durationInSeconds: Double message: String createdDateTime: OffsetDateTime lastActionDateTime: OffsetDateTime startTime: OffsetDateTime endTime: OffsetDateTime name: String description: String properties: { String: Object } }
- Parameters:
jobId
- ID of the job.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
invoke
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-