Class TillageDataBaseClient
java.lang.Object
com.azure.verticals.agrifood.farming.TillageDataBaseClient
Initializes a new instance of the TillageDataBaseClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String farmerId, String tillageDataId) Creates or updates an tillage data resource under a particular farmer.Deletes a specified tillage data resource under a particular farmer.Get a specified tillage data resource under a particular farmer.invoke()
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.list()
Returns a paginated list of tillage data resources across all farmers.listByFarmerId
(String farmerId) Returns a paginated list of tillage data resources under a particular farm.listByFarmerIdNext
(String nextLink) Get the next page of items.Get the next page of items.
-
Method Details
-
listByFarmerId
Returns a paginated list of tillage data resources under a particular farm.Optional Query Parameters
Optional Query Parameters Name Type Description minTillageDepth Double Minimum measured tillage depth (inclusive). maxTillageDepth Double Maximum measured tillage depth (inclusive). minTillagePressure Double Minimum pressure applied by a tillage implement (inclusive). maxTillagePressure Double Maximum pressure applied by a tillage implement (inclusive). sources List<String> Sources of the operation data. associatedBoundaryIds List<String> Boundary IDs associated with operation data. operationBoundaryIds List<String> Operation boundary IDs associated with operation data. minOperationStartDateTime OffsetDateTime Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationStartDateTime OffsetDateTime Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minOperationEndDateTime OffsetDateTime Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationEndDateTime OffsetDateTime Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minOperationModifiedDateTime OffsetDateTime Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationModifiedDateTime OffsetDateTime Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minArea Double Minimum area for which operation was applied (inclusive). maxArea Double Maximum area for which operation was applied (inclusive). ids List<String> Ids of the resource. names List<String> Names of the resource. propertyFilters List<String> Filters on key-value pairs within the Properties object. eg. "{testKey} eq {testValue}". statuses List<String> Statuses of the resource. minCreatedDateTime OffsetDateTime Minimum creation date of resource (inclusive). maxCreatedDateTime OffsetDateTime Maximum creation date of resource (inclusive). minLastModifiedDateTime OffsetDateTime Minimum last modified date of resource (inclusive). maxLastModifiedDateTime OffsetDateTime Maximum last modified date of resource (inclusive). maxPageSize Integer Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50. skipToken String Skip token for getting next set of results. Response Body Schema
{ value: [ { tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } } ] skipToken: String nextLink: String }
- Parameters:
farmerId
- ID of the associated farmer.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
list
Returns a paginated list of tillage data resources across all farmers.Optional Query Parameters
Optional Query Parameters Name Type Description minTillageDepth Double Minimum measured tillage depth (inclusive). maxTillageDepth Double Maximum measured tillage depth (inclusive). minTillagePressure Double Minimum pressure applied by a tillage implement (inclusive). maxTillagePressure Double Maximum pressure applied by a tillage implement (inclusive). sources List<String> Sources of the operation data. associatedBoundaryIds List<String> Boundary IDs associated with operation data. operationBoundaryIds List<String> Operation boundary IDs associated with operation data. minOperationStartDateTime OffsetDateTime Minimum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationStartDateTime OffsetDateTime Maximum start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minOperationEndDateTime OffsetDateTime Minimum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationEndDateTime OffsetDateTime Maximum end date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minOperationModifiedDateTime OffsetDateTime Minimum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). maxOperationModifiedDateTime OffsetDateTime Maximum modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ (inclusive). minArea Double Minimum area for which operation was applied (inclusive). maxArea Double Maximum area for which operation was applied (inclusive). ids List<String> Ids of the resource. names List<String> Names of the resource. propertyFilters List<String> Filters on key-value pairs within the Properties object. eg. "{testKey} eq {testValue}". statuses List<String> Statuses of the resource. minCreatedDateTime OffsetDateTime Minimum creation date of resource (inclusive). maxCreatedDateTime OffsetDateTime Maximum creation date of resource (inclusive). minLastModifiedDateTime OffsetDateTime Minimum last modified date of resource (inclusive). maxLastModifiedDateTime OffsetDateTime Maximum last modified date of resource (inclusive). maxPageSize Integer Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50. skipToken String Skip token for getting next set of results. Response Body Schema
{ value: [ { tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } } ] skipToken: String nextLink: String }
- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
get
Get a specified tillage data resource under a particular farmer.Response Body Schema
{ tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } }
- Parameters:
farmerId
- ID of the associated farmer resource.tillageDataId
- ID of the tillage data resource.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
createOrUpdate
Creates or updates an tillage data resource under a particular farmer.Request Body Schema
{ tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } }
Response Body Schema
(recursive schema, see above)
- Parameters:
farmerId
- ID of the associated farmer.tillageDataId
- ID of the tillage data resource.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
delete
Deletes a specified tillage data resource under a particular farmer.- Parameters:
farmerId
- ID of the associated farmer resource.tillageDataId
- ID of the tillage data.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
listByFarmerIdNext
Get the next page of items.Response Body Schema
{ value: [ { tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } } ] skipToken: String nextLink: String }
- Parameters:
nextLink
- The nextLink parameter.- Returns:
- a DynamicRequest where customizations can be made before sent to the service.
-
listNext
Get the next page of items.Response Body Schema
{ value: [ { tillageDepth: { unit: String value: Double } tillagePressure: (recursive schema, see tillagePressure above) area: (recursive schema, see area above) source: String operationModifiedDateTime: OffsetDateTime operationStartDateTime: OffsetDateTime operationEndDateTime: OffsetDateTime attachmentsLink: String associatedBoundaryId: String operationBoundaryId: String farmerId: String id: String eTag: String status: String createdDateTime: OffsetDateTime modifiedDateTime: OffsetDateTime name: String description: String properties: { String: Object } } ] skipToken: String nextLink: String }
- Parameters:
nextLink
- The nextLink parameter.- 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.
-