public final class ApplicationDataBaseClient extends Object
Modifier and Type | Method and Description |
---|---|
com.azure.core.experimental.http.DynamicRequest |
createOrUpdate(String farmerId,
String applicationDataId)
Creates or updates an application data resource under a particular farmer.
|
com.azure.core.experimental.http.DynamicRequest |
delete(String farmerId,
String applicationDataId)
Deletes a specified application data resource under a particular farmer.
|
com.azure.core.experimental.http.DynamicRequest |
get(String farmerId,
String applicationDataId)
Get a specified application data resource under a particular farmer.
|
com.azure.core.experimental.http.DynamicRequest |
invoke()
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.
|
com.azure.core.experimental.http.DynamicRequest |
list()
Returns a paginated list of application data resources across all farmers.
|
com.azure.core.experimental.http.DynamicRequest |
listByFarmerId(String farmerId)
Returns a paginated list of application data resources under a particular farm.
|
com.azure.core.experimental.http.DynamicRequest |
listByFarmerIdNext(String nextLink)
Get the next page of items.
|
com.azure.core.experimental.http.DynamicRequest |
listNext(String nextLink)
Get the next page of items.
|
public com.azure.core.experimental.http.DynamicRequest listByFarmerId(String farmerId)
Optional Query Parameters
Name | Type | Description |
---|---|---|
minAvgMaterial | Double | Minimum average amount of material applied during the application (inclusive). |
maxAvgMaterial | Double | Maximum average amount of material applied during the application (inclusive). |
minTotalMaterial | Double | Minimum total amount of material applied during the application (inclusive). |
maxTotalMaterial | Double | Maximum total amount of material applied during the application (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: [
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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
}
farmerId
- ID of the associated farmer.public com.azure.core.experimental.http.DynamicRequest list()
Optional Query Parameters
Name | Type | Description |
---|---|---|
minAvgMaterial | Double | Minimum average amount of material applied during the application (inclusive). |
maxAvgMaterial | Double | Maximum average amount of material applied during the application (inclusive). |
minTotalMaterial | Double | Minimum total amount of material applied during the application (inclusive). |
maxTotalMaterial | Double | Maximum total amount of material applied during the application (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: [
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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
}
public com.azure.core.experimental.http.DynamicRequest get(String farmerId, String applicationDataId)
Response Body Schema
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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
}
}
farmerId
- ID of the associated farmer resource.applicationDataId
- ID of the application data resource.public com.azure.core.experimental.http.DynamicRequest createOrUpdate(String farmerId, String applicationDataId)
Request Body Schema
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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)
farmerId
- ID of the associated farmer.applicationDataId
- ID of the application data resource.public com.azure.core.experimental.http.DynamicRequest delete(String farmerId, String applicationDataId)
farmerId
- ID of the associated farmer resource.applicationDataId
- ID of the application data.public com.azure.core.experimental.http.DynamicRequest listByFarmerIdNext(String nextLink)
Response Body Schema
{
value: [
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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
}
nextLink
- The nextLink parameter.public com.azure.core.experimental.http.DynamicRequest listNext(String nextLink)
Response Body Schema
{
value: [
{
applicationProductDetails: [
{
productName: String
isCarrier: Boolean
avgMaterial: {
unit: String
value: Double
}
totalMaterial: (recursive schema, see totalMaterial above)
}
]
avgMaterial: (recursive schema, see avgMaterial above)
totalMaterial: (recursive schema, see totalMaterial 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
}
nextLink
- The nextLink parameter.public com.azure.core.experimental.http.DynamicRequest invoke()
Copyright © 2021 Microsoft Corporation. All rights reserved.