Class FarmOperationsBaseClient

java.lang.Object
com.azure.verticals.agrifood.farming.FarmOperationsBaseClient

public final class FarmOperationsBaseClient extends Object
Initializes a new instance of the FarmOperationsBaseClient type.
  • Method Details

    • createDataIngestionJob

      public DynamicRequest createDataIngestionJob(String jobId)
      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

      public DynamicRequest getDataIngestionJobDetails(String jobId)
      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

      public DynamicRequest 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.