HarvestData Class

Schema of harvest data resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
HarvestData

Constructor

HarvestData(*, total_yield: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, avg_yield: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, total_wet_mass: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, avg_wet_mass: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, avg_moisture: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, avg_speed: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, harvest_product_details: Optional[List[azure.agrifood.farming.models._models_py3.HarvestProductDetail]] = None, area: Optional[azure.agrifood.farming.models._models_py3.Measure] = None, source: Optional[str] = None, operation_modified_date_time: Optional[datetime.datetime] = None, operation_start_date_time: Optional[datetime.datetime] = None, operation_end_date_time: Optional[datetime.datetime] = None, associated_boundary_id: Optional[str] = None, operation_boundary_id: Optional[str] = None, status: Optional[str] = None, name: Optional[str] = None, description: Optional[str] = None, properties: Optional[Dict[str, Any]] = None, **kwargs)

Parameters

total_yield
Measure
Required

Schema for storing measurement reading and unit.

avg_yield
Measure
Required

Schema for storing measurement reading and unit.

total_wet_mass
Measure
Required

Schema for storing measurement reading and unit.

avg_wet_mass
Measure
Required

Schema for storing measurement reading and unit.

avg_moisture
Measure
Required

Schema for storing measurement reading and unit.

avg_speed
Measure
Required

Schema for storing measurement reading and unit.

harvest_product_details
list[HarvestProductDetail]
Required

Harvest product details.

area
Measure
Required

Schema for storing measurement reading and unit.

source
str
Required

Source of the operation data.

operation_modified_date_time
datetime
Required

Modified date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ. Note: this will be specified by the source provider itself.

operation_start_date_time
datetime
Required

Start date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.

operation_end_date_time
datetime
Required

End date-time of the operation data, sample format: yyyy-MM-ddTHH:mm:ssZ.

associated_boundary_id
str
Required

Optional boundary ID of the field for which operation was applied.

operation_boundary_id
str
Required

Optional boundary ID of the actual area for which operation was applied inside the specified field.

status
str
Required

Status of the resource.

name
str
Required

Name to identify resource.

description
str
Required

Textual description of the resource.

properties
dict[str, any]
Required

A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string and numeral values are supported.

Variables

attachments_link
str

Link for attachments.

farmer_id
str

Farmer ID which belongs to the operation data.

id
str

Unique resource ID.

e_tag
str

The ETag value to implement optimistic concurrency.

created_date_time
datetime

Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.

modified_date_time
datetime

Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.