Welcome to pyevr’s documentation!

pyevr

https://img.shields.io/pypi/v/pyevr.svg https://travis-ci.org/thorgate/pyevr.svg?branch=master Documentation Status Updates Test coverage

Python client for EVR

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Installation

Stable release

To install pyevr, run this command in your terminal:

$ pip install pyevr

This is the preferred method to install pyevr, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for pyevr can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/thorgate/pyevr

Or download the tarball:

$ curl -OJL https://github.com/thorgate/pyevr/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install

Usage

To use pyevr in a project:

import pyevr

pyevr package

Subpackages

pyevr.openapi_client package

Subpackages
pyevr.openapi_client.api package
Submodules
pyevr.openapi_client.api.assortments_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.assortments_api.AssortmentsApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

assortments_list(**kwargs)[source]

Sortimentide pärimine # noqa: E501

Tagastab EVR-i aktiivsed sortimendid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.assortments_list(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfAssortment If the method is called asynchronously, returns the request thread.

assortments_list_with_http_info(**kwargs)[source]

Sortimentide pärimine # noqa: E501

Tagastab EVR-i aktiivsed sortimendid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.assortments_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfAssortment, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.certificates_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.certificates_api.CertificatesApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

certificates_list(**kwargs)[source]

Sertifikaatide pärimine # noqa: E501

Tagastab EVR-i aktiivsed sertifikaadid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.certificates_list(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfCertificate If the method is called asynchronously, returns the request thread.

certificates_list_with_http_info(**kwargs)[source]

Sertifikaatide pärimine # noqa: E501

Tagastab EVR-i aktiivsed sertifikaadid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.certificates_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfCertificate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.measurement_units_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.measurement_units_api.MeasurementUnitsApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

measurement_units_list(**kwargs)[source]

Mõõtühikute pärimine # noqa: E501

Tagastab EVR-i aktiivsed mõõtühikud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurement_units_list(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfMeasurementUnit If the method is called asynchronously, returns the request thread.

measurement_units_list_with_http_info(**kwargs)[source]

Mõõtühikute pärimine # noqa: E501

Tagastab EVR-i aktiivsed mõõtühikud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurement_units_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfMeasurementUnit, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.measurements_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.measurements_api.MeasurementsApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

measurements_get(number, **kwargs)[source]

Veoselehe mõõtmisandmete pärimine # noqa: E501

Tagastab veoselehega seotud mõõtmisandmed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_get(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfMeasurementAct If the method is called asynchronously, returns the request thread.

measurements_get_with_http_info(number, **kwargs)[source]

Veoselehe mõõtmisandmete pärimine # noqa: E501

Tagastab veoselehega seotud mõõtmisandmed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_get_with_http_info(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfMeasurementAct, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

measurements_post(number, add_measurement_act_request, **kwargs)[source]

Veoselehele mõõtmisandmete lisamine # noqa: E501

Lisab veoselehele mõõtmisandmed. Mõõtmisandmeid saab lisada “koorem maas” staatuses veoselehele sellele märgitud veose saaja või tema volitatud mõõtja. Mõõtmistulemusi on võimalik lisada koormapakkidena või lihtsalt sortimentide kogustena. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_post(number, add_measurement_act_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • add_measurement_act_request (AddMeasurementActRequest) – Mõõtmisandmed (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

measurements_post_with_http_info(number, add_measurement_act_request, **kwargs)[source]

Veoselehele mõõtmisandmete lisamine # noqa: E501

Lisab veoselehele mõõtmisandmed. Mõõtmisandmeid saab lisada “koorem maas” staatuses veoselehele sellele märgitud veose saaja või tema volitatud mõõtja. Mõõtmistulemusi on võimalik lisada koormapakkidena või lihtsalt sortimentide kogustena. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_post_with_http_info(number, add_measurement_act_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • add_measurement_act_request (AddMeasurementActRequest) – Mõõtmisandmed (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.organizations_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.organizations_api.OrganizationsApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

organizations_list(**kwargs)[source]

Registreeritud asutuste pärimine # noqa: E501

Tagastab EVR-i aktiivsed asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_list(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code_starts_with (str) – Filtreerib asutused, mille registrikood algab otsinguterminiga
  • name_contains (str) – Filtreerib asutused, mille nimi sisaldab otsinguterminit
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfOrganization If the method is called asynchronously, returns the request thread.

organizations_list_with_http_info(**kwargs)[source]

Registreeritud asutuste pärimine # noqa: E501

Tagastab EVR-i aktiivsed asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code_starts_with (str) – Filtreerib asutused, mille registrikood algab otsinguterminiga
  • name_contains (str) – Filtreerib asutused, mille nimi sisaldab otsinguterminit
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfOrganization, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.place_of_deliveries_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.place_of_deliveries_api.PlaceOfDeliveriesApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

place_of_deliveries_add_or_update(code, put_place_of_delivery_request, **kwargs)[source]

Tarnekoha lisamine ja muutmine # noqa: E501

Lisab uue tarnekoha. Kui antud koodiga tarnekoht juba eksisteerib, siis muudab olemasolevat tarnekohta. Loomisel märgitakse päringu tegija tarnekoha omanikuks. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_add_or_update(code, put_place_of_delivery_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code (str) – Kood (required)
  • put_place_of_delivery_request (PutPlaceOfDeliveryRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

place_of_deliveries_add_or_update_with_http_info(code, put_place_of_delivery_request, **kwargs)[source]

Tarnekoha lisamine ja muutmine # noqa: E501

Lisab uue tarnekoha. Kui antud koodiga tarnekoht juba eksisteerib, siis muudab olemasolevat tarnekohta. Loomisel märgitakse päringu tegija tarnekoha omanikuks. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_add_or_update_with_http_info(code, put_place_of_delivery_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code (str) – Kood (required)
  • put_place_of_delivery_request (PutPlaceOfDeliveryRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

place_of_deliveries_get(code, **kwargs)[source]

Tarnekoha pärimine # noqa: E501

Tagastab koodile vastava tarnekoha. Pärida saab ainult enda asutusele kuuluvat tarnekohta. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_get(code, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code (str) – Päritava tarnekoha kood (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PlaceOfDelivery If the method is called asynchronously, returns the request thread.

place_of_deliveries_get_with_http_info(code, **kwargs)[source]

Tarnekoha pärimine # noqa: E501

Tagastab koodile vastava tarnekoha. Pärida saab ainult enda asutusele kuuluvat tarnekohta. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_get_with_http_info(code, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • code (str) – Päritava tarnekoha kood (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PlaceOfDelivery, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

place_of_deliveries_list(**kwargs)[source]

Tarnekohtade pärimine # noqa: E501

Tagastab filtritele vastavad aktiivsed avalikud tarnekohad ja kõik ettevõttega seotud tarnekohad. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_list(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • name_contains (str) – Filtreerib tarnekohad, mille nimi sisaldab otsinguterminit
  • code_starts_with (str) – Filtreerib tarnekohad, mille kood algab otsinguterminiga
  • register_code (str) – Filtreerib ettevõtte tarnekohad, mille registrikood vastab otsinguterminile
  • address (str) – Vabatekstiline aadressi otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA * jutumärkides tekst: otsitakse jutumärkides olevat lauset * OR: loogiline VÕI operaator sõnade vahel * -: loogiline EITUS
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfPlaceOfDelivery If the method is called asynchronously, returns the request thread.

place_of_deliveries_list_with_http_info(**kwargs)[source]

Tarnekohtade pärimine # noqa: E501

Tagastab filtritele vastavad aktiivsed avalikud tarnekohad ja kõik ettevõttega seotud tarnekohad. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_list_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • name_contains (str) – Filtreerib tarnekohad, mille nimi sisaldab otsinguterminit
  • code_starts_with (str) – Filtreerib tarnekohad, mille kood algab otsinguterminiga
  • register_code (str) – Filtreerib ettevõtte tarnekohad, mille registrikood vastab otsinguterminile
  • address (str) – Vabatekstiline aadressi otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA * jutumärkides tekst: otsitakse jutumärkides olevat lauset * OR: loogiline VÕI operaator sõnade vahel * -: loogiline EITUS
  • page (int) – Tagastatav lehekülg
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfPlaceOfDelivery, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

pyevr.openapi_client.api.waybills_api module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api.waybills_api.WaybillsApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech

Do not edit the class manually.

waybills_add_shipments(number, add_shipments_to_waybill_request, **kwargs)[source]

Veoselehele veose lisamine # noqa: E501

Lisab veoselehele uue veose. Uusi veoseid saab lisada ainult veoselehele vedajaks märgitud asutus. Veoseid saab lisada ainult veos olevatele veoselehtedele. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_add_shipments(number, add_shipments_to_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • add_shipments_to_waybill_request (AddShipmentsToWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_add_shipments_with_http_info(number, add_shipments_to_waybill_request, **kwargs)[source]

Veoselehele veose lisamine # noqa: E501

Lisab veoselehele uue veose. Uusi veoseid saab lisada ainult veoselehele vedajaks märgitud asutus. Veoseid saab lisada ainult veos olevatele veoselehtedele. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_add_shipments_with_http_info(number, add_shipments_to_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • add_shipments_to_waybill_request (AddShipmentsToWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_cancel(number, cancel_waybill_request, **kwargs)[source]

Veoselehe tühistamine # noqa: E501

Tühistab veoselehe. Veoselehe staatuseks märgitakse tühistatud (status: “cancelled”). Veoselehe saab tühistada ainult veoselehe looja, kuni veoseleht pole veel vastu võetud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_cancel(number, cancel_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • cancel_waybill_request (CancelWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_cancel_with_http_info(number, cancel_waybill_request, **kwargs)[source]

Veoselehe tühistamine # noqa: E501

Tühistab veoselehe. Veoselehe staatuseks märgitakse tühistatud (status: “cancelled”). Veoselehe saab tühistada ainult veoselehe looja, kuni veoseleht pole veel vastu võetud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_cancel_with_http_info(number, cancel_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • cancel_waybill_request (CancelWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_finish(number, **kwargs)[source]

Veoselehe lõpetamine # noqa: E501

Lõpetab veoselehe ja veoselehe staatuseks märgitakse “veoseleht lõpetatud” (status: “finished”). Veoselehte saab lõpetada veoselehele märgitud saaja ja seda ainult “koorem maas” staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_finish(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_finish_with_http_info(number, **kwargs)[source]

Veoselehe lõpetamine # noqa: E501

Lõpetab veoselehe ja veoselehe staatuseks märgitakse “veoseleht lõpetatud” (status: “finished”). Veoselehte saab lõpetada veoselehele märgitud saaja ja seda ainult “koorem maas” staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_finish_with_http_info(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_get(**kwargs)[source]

Veoselehtede pärimine # noqa: E501

Tagastab filtritele vastavad veoselehed. Veoselehti saavad pärida ainult nendega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • created_after (datetime) – Filtreerib veoselehed, mis on loodud hiljem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahel peab jääma 1 kuu piiresse.
  • created_before (datetime) – Filtreerib veoselehed, mis on loodud varem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahel peab jääma 1 kuu piiresse.
  • last_modified_after (datetime) – Filtreerib veoselehed, mis on muutunud pärast määratud aega
  • status (WaybillStatus) – Filtreerib veoselehed, mis vastavad määratud staatusele
  • owner_code (str) – Filtreerib veoselehed, millel on sama omaniku kood
  • transporter_code (str) – Filtreerib veoselehed, millel on sama transportija kood
  • receiver_code (str) – Filtreerib veoselehed, millel on sama saaja kood
  • van_registration_number (str) – Filtreerib veoselehed, millel on sama veoki registreerimisnumber (tõstutundlik)
  • trailer_registration_number (str) – Filtreerib veoselehed, millel on sama haagise registreerimisnumber (tõstutundlik)
  • text (str) – Vabateksti otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA. * jutumärkides tekst: otsitakse jutumärkides olevat lauset. * OR: loogiline VÕI operaator sõnade vahel. * -: loogiline EITUS.
  • sort (WaybillSortField) – Sorteerib tulemused valitud välja järgi
  • page (int) – Määrab tagastatava lehekülje
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

PagedResultOfWaybill If the method is called asynchronously, returns the request thread.

waybills_get2(number, **kwargs)[source]

Veoselehe pärimine # noqa: E501

Tagastab numbrile vastava veoselehe. Veoselehte saavad pärida ainult sellega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get2(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Päritava veoselehe number (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

Waybill If the method is called asynchronously, returns the request thread.

waybills_get2_with_http_info(number, **kwargs)[source]

Veoselehe pärimine # noqa: E501

Tagastab numbrile vastava veoselehe. Veoselehte saavad pärida ainult sellega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get2_with_http_info(number, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Päritava veoselehe number (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(Waybill, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

waybills_get_with_http_info(**kwargs)[source]

Veoselehtede pärimine # noqa: E501

Tagastab filtritele vastavad veoselehed. Veoselehti saavad pärida ainult nendega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get_with_http_info(async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • created_after (datetime) – Filtreerib veoselehed, mis on loodud hiljem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahel peab jääma 1 kuu piiresse.
  • created_before (datetime) – Filtreerib veoselehed, mis on loodud varem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahel peab jääma 1 kuu piiresse.
  • last_modified_after (datetime) – Filtreerib veoselehed, mis on muutunud pärast määratud aega
  • status (WaybillStatus) – Filtreerib veoselehed, mis vastavad määratud staatusele
  • owner_code (str) – Filtreerib veoselehed, millel on sama omaniku kood
  • transporter_code (str) – Filtreerib veoselehed, millel on sama transportija kood
  • receiver_code (str) – Filtreerib veoselehed, millel on sama saaja kood
  • van_registration_number (str) – Filtreerib veoselehed, millel on sama veoki registreerimisnumber (tõstutundlik)
  • trailer_registration_number (str) – Filtreerib veoselehed, millel on sama haagise registreerimisnumber (tõstutundlik)
  • text (str) – Vabateksti otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA. * jutumärkides tekst: otsitakse jutumärkides olevat lauset. * OR: loogiline VÕI operaator sõnade vahel. * -: loogiline EITUS.
  • sort (WaybillSortField) – Sorteerib tulemused valitud välja järgi
  • page (int) – Määrab tagastatava lehekülje
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(PagedResultOfWaybill, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

waybills_post(start_waybill_request, **kwargs)[source]

Veoselehe loomine # noqa: E501

Loob veoselehe staatusega “vedu alustatud” (status: “shipping”). Veo alustaja peab olema ise märgitud veoselehele kas omanikuks või vedajaks. Toimingu õnnestumisel tagastatakse loodud veoselehe number. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_post(start_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • start_waybill_request (StartWaybillRequest) – Veoselehe andmed (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

str If the method is called asynchronously, returns the request thread.

waybills_post_with_http_info(start_waybill_request, **kwargs)[source]

Veoselehe loomine # noqa: E501

Loob veoselehe staatusega “vedu alustatud” (status: “shipping”). Veo alustaja peab olema ise märgitud veoselehele kas omanikuks või vedajaks. Toimingu õnnestumisel tagastatakse loodud veoselehe number. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_post_with_http_info(start_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • start_waybill_request (StartWaybillRequest) – Veoselehe andmed (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

tuple(str, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.

waybills_unload(number, unload_waybill_request, **kwargs)[source]

Veoselehel veo lõpetamine # noqa: E501

Lõpetab veo veoselehel ja veoselehe staatuseks märgitakse “koorem maas” (status: “unloaded”). Vedu saab lõpetada veoselehele märgitud vedaja ja seda ainult “vedu alustatud” (status: shipping) staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_unload(number, unload_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • unload_waybill_request (UnloadWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

waybills_unload_with_http_info(number, unload_waybill_request, **kwargs)[source]

Veoselehel veo lõpetamine # noqa: E501

Lõpetab veo veoselehel ja veoselehe staatuseks märgitakse “koorem maas” (status: “unloaded”). Vedu saab lõpetada veoselehele märgitud vedaja ja seda ainult “vedu alustatud” (status: shipping) staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_unload_with_http_info(number, unload_waybill_request, async_req=True) >>> result = thread.get()

Parameters:
  • bool (async_req) – execute request asynchronously
  • number (str) – Veoselehe number (required)
  • unload_waybill_request (UnloadWaybillRequest) – (required)
  • evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
  • _return_http_data_only – response data without head status code and headers
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

None If the method is called asynchronously, returns the request thread.

Module contents
pyevr.openapi_client.models package
Submodules
pyevr.openapi_client.models.add_measurement_act_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.add_measurement_act_request.AddMeasurementActRequest(act_number=None, measurements=None, custom_measurement_data=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

act_number

Gets the act_number of this AddMeasurementActRequest. # noqa: E501

Mõõtmisakti number # noqa: E501

Returns:The act_number of this AddMeasurementActRequest. # noqa: E501
Return type:str
attribute_map = {'act_number': 'actNumber', 'custom_measurement_data': 'customMeasurementData', 'measurements': 'measurements'}
custom_measurement_data

Gets the custom_measurement_data of this AddMeasurementActRequest. # noqa: E501

Mõõtmistulemused vabas formaadis. # noqa: E501

Returns:The custom_measurement_data of this AddMeasurementActRequest. # noqa: E501
Return type:object
measurements

Gets the measurements of this AddMeasurementActRequest. # noqa: E501

Mõõtmistulemused # noqa: E501

Returns:The measurements of this AddMeasurementActRequest. # noqa: E501
Return type:list[ShipmentItem]
openapi_types = {'act_number': 'str', 'custom_measurement_data': 'object', 'measurements': 'list[ShipmentItem]'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.add_shipments_to_waybill_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.add_shipments_to_waybill_request.AddShipmentsToWaybillRequest(shipments=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'shipments': 'shipments'}
openapi_types = {'shipments': 'list[Shipment]'}
shipments

Gets the shipments of this AddShipmentsToWaybillRequest. # noqa: E501

Lisatavad veose andmed # noqa: E501

Returns:The shipments of this AddShipmentsToWaybillRequest. # noqa: E501
Return type:list[Shipment]
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.address module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.address.Address(country_code=None, county=None, city=None, street=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'city': 'city', 'country_code': 'countryCode', 'county': 'county', 'street': 'street'}
city

Gets the city of this Address. # noqa: E501

Linn # noqa: E501

Returns:The city of this Address. # noqa: E501
Return type:str
country_code

Gets the country_code of this Address. # noqa: E501

Riigi kood # noqa: E501

Returns:The country_code of this Address. # noqa: E501
Return type:str
county

Gets the county of this Address. # noqa: E501

Maakond # noqa: E501

Returns:The county of this Address. # noqa: E501
Return type:str
openapi_types = {'city': 'str', 'country_code': 'str', 'county': 'str', 'street': 'str'}
street

Gets the street of this Address. # noqa: E501

Tänav # noqa: E501

Returns:The street of this Address. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.assortment module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.assortment.Assortment(code=None, product_group_code=None, name=None, measurement_unit_code=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'measurement_unit_code': 'measurementUnitCode', 'name': 'name', 'product_group_code': 'productGroupCode'}
code

Gets the code of this Assortment. # noqa: E501

Sortimendi kood # noqa: E501

Returns:The code of this Assortment. # noqa: E501
Return type:str
measurement_unit_code

Gets the measurement_unit_code of this Assortment. # noqa: E501

Sortimendi mõõtühik # noqa: E501

Returns:The measurement_unit_code of this Assortment. # noqa: E501
Return type:str
name

Gets the name of this Assortment. # noqa: E501

Sortimendi nimi # noqa: E501

Returns:The name of this Assortment. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'measurement_unit_code': 'str', 'name': 'str', 'product_group_code': 'str'}
product_group_code

Gets the product_group_code of this Assortment. # noqa: E501

Sortimendi tootegrupp # noqa: E501

Returns:The product_group_code of this Assortment. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.authorization_type module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.authorization_type.AuthorizationType(local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

FORMEASURING = 'forMeasuring'
FORVIEWING = 'forViewing'
allowable_values = ['forViewing', 'forMeasuring']
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {}
openapi_types = {}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.cancel_waybill_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.cancel_waybill_request.CancelWaybillRequest(reason=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'reason': 'reason'}
openapi_types = {'reason': 'str'}
reason

Gets the reason of this CancelWaybillRequest. # noqa: E501

Selgitus # noqa: E501

Returns:The reason of this CancelWaybillRequest. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.certificate module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.certificate.Certificate(code=None, name=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'name': 'name'}
code

Gets the code of this Certificate. # noqa: E501

Sertifikaadi kood # noqa: E501

Returns:The code of this Certificate. # noqa: E501
Return type:str
name

Gets the name of this Certificate. # noqa: E501

Sertifikaadi nimetus # noqa: E501

Returns:The name of this Certificate. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'name': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.certificate_claim module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.certificate_claim.CertificateClaim(code=None, number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'number': 'number'}
code

Gets the code of this CertificateClaim. # noqa: E501

Tarneahela sertifikaadi väite kood # noqa: E501

Returns:The code of this CertificateClaim. # noqa: E501
Return type:str
number

Gets the number of this CertificateClaim. # noqa: E501

Sertifikaadi number # noqa: E501

Returns:The number of this CertificateClaim. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.consolidated_act module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.consolidated_act.ConsolidatedAct(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}
cadaster

Gets the cadaster of this ConsolidatedAct. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ConsolidatedAct. # noqa: E501
Return type:str
compartment

Gets the compartment of this ConsolidatedAct. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ConsolidatedAct. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this ConsolidatedAct. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this ConsolidatedAct. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this ConsolidatedAct. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this ConsolidatedAct. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ConsolidatedAct. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ConsolidatedAct. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.consolidated_act_all_of module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.consolidated_act_all_of.ConsolidatedActAllOf(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}
cadaster

Gets the cadaster of this ConsolidatedActAllOf. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ConsolidatedActAllOf. # noqa: E501
Return type:str
compartment

Gets the compartment of this ConsolidatedActAllOf. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ConsolidatedActAllOf. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this ConsolidatedActAllOf. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this ConsolidatedActAllOf. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this ConsolidatedActAllOf. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this ConsolidatedActAllOf. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ConsolidatedActAllOf. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ConsolidatedActAllOf. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.contact_person module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.contact_person.ContactPerson(name=None, phone=None, email=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'email': 'email', 'name': 'name', 'phone': 'phone'}
email

Gets the email of this ContactPerson. # noqa: E501

Email # noqa: E501

Returns:The email of this ContactPerson. # noqa: E501
Return type:str
name

Gets the name of this ContactPerson. # noqa: E501

Nimi # noqa: E501

Returns:The name of this ContactPerson. # noqa: E501
Return type:str
openapi_types = {'email': 'str', 'name': 'str', 'phone': 'str'}
phone

Gets the phone of this ContactPerson. # noqa: E501

Telefoninumber # noqa: E501

Returns:The phone of this ContactPerson. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.contract_for_transfer_of_cutting_rights module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.contract_for_transfer_of_cutting_rights.ContractForTransferOfCuttingRights(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}
cadaster

Gets the cadaster of this ContractForTransferOfCuttingRights. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:str
compartment

Gets the compartment of this ContractForTransferOfCuttingRights. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this ContractForTransferOfCuttingRights. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this ContractForTransferOfCuttingRights. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ContractForTransferOfCuttingRights. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}
previous_owner

Gets the previous_owner of this ContractForTransferOfCuttingRights. # noqa: E501

Returns:The previous_owner of this ContractForTransferOfCuttingRights. # noqa: E501
Return type:PreviousOwner
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.coordinates module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.coordinates.Coordinates(x=None, y=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'x': 'x', 'y': 'y'}
openapi_types = {'x': 'float', 'y': 'float'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

x

Gets the x of this Coordinates. # noqa: E501

X koordinaat # noqa: E501

Returns:The x of this Coordinates. # noqa: E501
Return type:float
y

Gets the y of this Coordinates. # noqa: E501

Y koordinaat # noqa: E501

Returns:The y of this Coordinates. # noqa: E501
Return type:float
pyevr.openapi_client.models.forest_act module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.forest_act.ForestAct(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}
cadaster

Gets the cadaster of this ForestAct. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ForestAct. # noqa: E501
Return type:str
compartment

Gets the compartment of this ForestAct. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ForestAct. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this ForestAct. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this ForestAct. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this ForestAct. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this ForestAct. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ForestAct. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ForestAct. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.forest_notice module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.forest_notice.ForestNotice(cadaster=None, compartment=None, forest_allocation_number=None, number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'forest_allocation_number': 'forestAllocationNumber', 'number': 'number'}
cadaster

Gets the cadaster of this ForestNotice. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ForestNotice. # noqa: E501
Return type:str
compartment

Gets the compartment of this ForestNotice. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ForestNotice. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ForestNotice. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ForestNotice. # noqa: E501
Return type:str
number

Gets the number of this ForestNotice. # noqa: E501

Metsateatise number # noqa: E501

Returns:The number of this ForestNotice. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'forest_allocation_number': 'str', 'number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.forest_notice_all_of module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.forest_notice_all_of.ForestNoticeAllOf(cadaster=None, compartment=None, forest_allocation_number=None, number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'forest_allocation_number': 'forestAllocationNumber', 'number': 'number'}
cadaster

Gets the cadaster of this ForestNoticeAllOf. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this ForestNoticeAllOf. # noqa: E501
Return type:str
compartment

Gets the compartment of this ForestNoticeAllOf. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this ForestNoticeAllOf. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this ForestNoticeAllOf. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this ForestNoticeAllOf. # noqa: E501
Return type:str
number

Gets the number of this ForestNoticeAllOf. # noqa: E501

Metsateatise number # noqa: E501

Returns:The number of this ForestNoticeAllOf. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'forest_allocation_number': 'str', 'number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.holding_base module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.holding_base.HoldingBase(type=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'type': 'type'}
discriminator_value_class_map = {'ConsolidatedAct': 'ConsolidatedAct', 'ContractForTransferOfCuttingRights': 'ContractForTransferOfCuttingRights', 'ForestAct': 'ForestAct', 'ForestNotice': 'ForestNotice', 'InventoryAct': 'InventoryAct', 'SalesContract': 'SalesContract'}
get_real_child_model(data)[source]

Returns the real base class specified by the discriminator

openapi_types = {'type': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

type

Gets the type of this HoldingBase. # noqa: E501

Returns:The type of this HoldingBase. # noqa: E501
Return type:str
pyevr.openapi_client.models.inventory_act module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.inventory_act.InventoryAct(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}
cadaster

Gets the cadaster of this InventoryAct. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this InventoryAct. # noqa: E501
Return type:str
compartment

Gets the compartment of this InventoryAct. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this InventoryAct. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this InventoryAct. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this InventoryAct. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this InventoryAct. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this InventoryAct. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this InventoryAct. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this InventoryAct. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.inventory_act_all_of module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.inventory_act_all_of.InventoryActAllOf(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}
cadaster

Gets the cadaster of this InventoryActAllOf. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this InventoryActAllOf. # noqa: E501
Return type:str
compartment

Gets the compartment of this InventoryActAllOf. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this InventoryActAllOf. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this InventoryActAllOf. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this InventoryActAllOf. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this InventoryActAllOf. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this InventoryActAllOf. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this InventoryActAllOf. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this InventoryActAllOf. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.measurement_act module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.measurement_act.MeasurementAct(act_number=None, measurements=None, custom_measurement_data=None, measurer_code=None, creation_time=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

act_number

Gets the act_number of this MeasurementAct. # noqa: E501

Mõõtmisakti number # noqa: E501

Returns:The act_number of this MeasurementAct. # noqa: E501
Return type:str
attribute_map = {'act_number': 'actNumber', 'creation_time': 'creationTime', 'custom_measurement_data': 'customMeasurementData', 'measurements': 'measurements', 'measurer_code': 'measurerCode'}
creation_time

Gets the creation_time of this MeasurementAct. # noqa: E501

Lisamise aeg # noqa: E501

Returns:The creation_time of this MeasurementAct. # noqa: E501
Return type:datetime
custom_measurement_data

Gets the custom_measurement_data of this MeasurementAct. # noqa: E501

Mõõtmistulemused vabas formaadis # noqa: E501

Returns:The custom_measurement_data of this MeasurementAct. # noqa: E501
Return type:object
measurements

Gets the measurements of this MeasurementAct. # noqa: E501

Mõõtmistulemused EVR poolt sätestatud formaadis # noqa: E501

Returns:The measurements of this MeasurementAct. # noqa: E501
Return type:list[ShipmentItem]
measurer_code

Gets the measurer_code of this MeasurementAct. # noqa: E501

Mõõtja registri kood # noqa: E501

Returns:The measurer_code of this MeasurementAct. # noqa: E501
Return type:str
openapi_types = {'act_number': 'str', 'creation_time': 'datetime', 'custom_measurement_data': 'object', 'measurements': 'list[ShipmentItem]', 'measurer_code': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.measurement_unit module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.measurement_unit.MeasurementUnit(code=None, name=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'name': 'name'}
code

Gets the code of this MeasurementUnit. # noqa: E501

Mõõtühiku kood # noqa: E501

Returns:The code of this MeasurementUnit. # noqa: E501
Return type:str
name

Gets the name of this MeasurementUnit. # noqa: E501

Mõõtühiku nimetus # noqa: E501

Returns:The name of this MeasurementUnit. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'name': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.organization module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.organization.Organization(name=None, register_code=None, address=None, email=None, phone=None, contact_persons=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this Organization. # noqa: E501

Returns:The address of this Organization. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'contact_persons': 'contactPersons', 'email': 'email', 'name': 'name', 'phone': 'phone', 'register_code': 'registerCode'}
contact_persons

Gets the contact_persons of this Organization. # noqa: E501

Kontaktisikud # noqa: E501

Returns:The contact_persons of this Organization. # noqa: E501
Return type:list[ContactPerson]
email

Gets the email of this Organization. # noqa: E501

Asutuse üldemail # noqa: E501

Returns:The email of this Organization. # noqa: E501
Return type:str
name

Gets the name of this Organization. # noqa: E501

Asutuse nimi # noqa: E501

Returns:The name of this Organization. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'contact_persons': 'list[ContactPerson]', 'email': 'str', 'name': 'str', 'phone': 'str', 'register_code': 'str'}
phone

Gets the phone of this Organization. # noqa: E501

Asutuse üldtelefon # noqa: E501

Returns:The phone of this Organization. # noqa: E501
Return type:str
register_code

Gets the register_code of this Organization. # noqa: E501

Registrikood # noqa: E501

Returns:The register_code of this Organization. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.owner module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.owner.Owner(name=None, code=None, email=None, address=None, contact_person=None, representer=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this Owner. # noqa: E501

Returns:The address of this Owner. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'email': 'email', 'name': 'name', 'representer': 'representer'}
code

Gets the code of this Owner. # noqa: E501

Isiku- või registrikood # noqa: E501

Returns:The code of this Owner. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this Owner. # noqa: E501

Returns:The contact_person of this Owner. # noqa: E501
Return type:ContactPerson
email

Gets the email of this Owner. # noqa: E501

Email # noqa: E501

Returns:The email of this Owner. # noqa: E501
Return type:str
name

Gets the name of this Owner. # noqa: E501

Nimi # noqa: E501

Returns:The name of this Owner. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'email': 'str', 'name': 'str', 'representer': 'Representer'}
representer

Gets the representer of this Owner. # noqa: E501

Returns:The representer of this Owner. # noqa: E501
Return type:Representer
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.pack module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.pack.Pack(pack_number=None, length=None, height=None, width=None, coefficient=None, location=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'coefficient': 'coefficient', 'height': 'height', 'length': 'length', 'location': 'location', 'pack_number': 'packNumber', 'width': 'width'}
coefficient

Gets the coefficient of this Pack. # noqa: E501

Koeffitsient # noqa: E501

Returns:The coefficient of this Pack. # noqa: E501
Return type:float
height

Gets the height of this Pack. # noqa: E501

Koosmapaki kõrgus # noqa: E501

Returns:The height of this Pack. # noqa: E501
Return type:float
length

Gets the length of this Pack. # noqa: E501

Koormapaki pikkus # noqa: E501

Returns:The length of this Pack. # noqa: E501
Return type:float
location

Gets the location of this Pack. # noqa: E501

Returns:The location of this Pack. # noqa: E501
Return type:PackLocation
openapi_types = {'coefficient': 'float', 'height': 'float', 'length': 'float', 'location': 'PackLocation', 'pack_number': 'int', 'width': 'float'}
pack_number

Gets the pack_number of this Pack. # noqa: E501

Paki number # noqa: E501

Returns:The pack_number of this Pack. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

width

Gets the width of this Pack. # noqa: E501

Koormapaki laius # noqa: E501

Returns:The width of this Pack. # noqa: E501
Return type:float
pyevr.openapi_client.models.pack_location module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.pack_location.PackLocation(local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

TRAILER = 'trailer'
VAN = 'van'
allowable_values = ['van', 'trailer']
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {}
openapi_types = {}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.paged_result_of_assortment module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_assortment.PagedResultOfAssortment(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[Assortment]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfAssortment. # noqa: E501

Returns:The page_number of this PagedResultOfAssortment. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfAssortment. # noqa: E501

Returns:The page_result of this PagedResultOfAssortment. # noqa: E501
Return type:list[Assortment]
page_size

Gets the page_size of this PagedResultOfAssortment. # noqa: E501

Returns:The page_size of this PagedResultOfAssortment. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfAssortment. # noqa: E501

Returns:The total_count of this PagedResultOfAssortment. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_certificate module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_certificate.PagedResultOfCertificate(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[Certificate]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfCertificate. # noqa: E501

Returns:The page_number of this PagedResultOfCertificate. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfCertificate. # noqa: E501

Returns:The page_result of this PagedResultOfCertificate. # noqa: E501
Return type:list[Certificate]
page_size

Gets the page_size of this PagedResultOfCertificate. # noqa: E501

Returns:The page_size of this PagedResultOfCertificate. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfCertificate. # noqa: E501

Returns:The total_count of this PagedResultOfCertificate. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_measurement_act module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_measurement_act.PagedResultOfMeasurementAct(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[MeasurementAct]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfMeasurementAct. # noqa: E501

Returns:The page_number of this PagedResultOfMeasurementAct. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfMeasurementAct. # noqa: E501

Returns:The page_result of this PagedResultOfMeasurementAct. # noqa: E501
Return type:list[MeasurementAct]
page_size

Gets the page_size of this PagedResultOfMeasurementAct. # noqa: E501

Returns:The page_size of this PagedResultOfMeasurementAct. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfMeasurementAct. # noqa: E501

Returns:The total_count of this PagedResultOfMeasurementAct. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_measurement_unit module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_measurement_unit.PagedResultOfMeasurementUnit(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[MeasurementUnit]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfMeasurementUnit. # noqa: E501

Returns:The page_number of this PagedResultOfMeasurementUnit. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfMeasurementUnit. # noqa: E501

Returns:The page_result of this PagedResultOfMeasurementUnit. # noqa: E501
Return type:list[MeasurementUnit]
page_size

Gets the page_size of this PagedResultOfMeasurementUnit. # noqa: E501

Returns:The page_size of this PagedResultOfMeasurementUnit. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfMeasurementUnit. # noqa: E501

Returns:The total_count of this PagedResultOfMeasurementUnit. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_organization module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_organization.PagedResultOfOrganization(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[Organization]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfOrganization. # noqa: E501

Returns:The page_number of this PagedResultOfOrganization. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfOrganization. # noqa: E501

Returns:The page_result of this PagedResultOfOrganization. # noqa: E501
Return type:list[Organization]
page_size

Gets the page_size of this PagedResultOfOrganization. # noqa: E501

Returns:The page_size of this PagedResultOfOrganization. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfOrganization. # noqa: E501

Returns:The total_count of this PagedResultOfOrganization. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_place_of_delivery module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_place_of_delivery.PagedResultOfPlaceOfDelivery(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[PlaceOfDelivery]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfPlaceOfDelivery. # noqa: E501

Returns:The page_number of this PagedResultOfPlaceOfDelivery. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfPlaceOfDelivery. # noqa: E501

Returns:The page_result of this PagedResultOfPlaceOfDelivery. # noqa: E501
Return type:list[PlaceOfDelivery]
page_size

Gets the page_size of this PagedResultOfPlaceOfDelivery. # noqa: E501

Returns:The page_size of this PagedResultOfPlaceOfDelivery. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfPlaceOfDelivery. # noqa: E501

Returns:The total_count of this PagedResultOfPlaceOfDelivery. # noqa: E501
Return type:int
pyevr.openapi_client.models.paged_result_of_waybill module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.paged_result_of_waybill.PagedResultOfWaybill(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}
openapi_types = {'page_number': 'int', 'page_result': 'list[Waybill]', 'page_size': 'int', 'total_count': 'int'}
page_number

Gets the page_number of this PagedResultOfWaybill. # noqa: E501

Returns:The page_number of this PagedResultOfWaybill. # noqa: E501
Return type:int
page_result

Gets the page_result of this PagedResultOfWaybill. # noqa: E501

Returns:The page_result of this PagedResultOfWaybill. # noqa: E501
Return type:list[Waybill]
page_size

Gets the page_size of this PagedResultOfWaybill. # noqa: E501

Returns:The page_size of this PagedResultOfWaybill. # noqa: E501
Return type:int
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_count

Gets the total_count of this PagedResultOfWaybill. # noqa: E501

Returns:The total_count of this PagedResultOfWaybill. # noqa: E501
Return type:int
pyevr.openapi_client.models.place_of_delivery module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.place_of_delivery.PlaceOfDelivery(name=None, code=None, register_code=None, address=None, near_address=None, coordinates=None, open_times=None, is_public=None, is_active=None, preferred_certificates=None, contact_person=None, waybill_authorizations=None, description=None, user_custom_data=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this PlaceOfDelivery. # noqa: E501

Returns:The address of this PlaceOfDelivery. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'description': 'description', 'is_active': 'isActive', 'is_public': 'isPublic', 'name': 'name', 'near_address': 'nearAddress', 'open_times': 'openTimes', 'preferred_certificates': 'preferredCertificates', 'register_code': 'registerCode', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}
code

Gets the code of this PlaceOfDelivery. # noqa: E501

Tarnekoha kood # noqa: E501

Returns:The code of this PlaceOfDelivery. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this PlaceOfDelivery. # noqa: E501

Returns:The contact_person of this PlaceOfDelivery. # noqa: E501
Return type:ContactPerson
coordinates

Gets the coordinates of this PlaceOfDelivery. # noqa: E501

Returns:The coordinates of this PlaceOfDelivery. # noqa: E501
Return type:Coordinates
description

Gets the description of this PlaceOfDelivery. # noqa: E501

Märkused # noqa: E501

Returns:The description of this PlaceOfDelivery. # noqa: E501
Return type:str
is_active

Gets the is_active of this PlaceOfDelivery. # noqa: E501

Kas on aktiivne # noqa: E501

Returns:The is_active of this PlaceOfDelivery. # noqa: E501
Return type:bool
is_public

Gets the is_public of this PlaceOfDelivery. # noqa: E501

Kas on avalik # noqa: E501

Returns:The is_public of this PlaceOfDelivery. # noqa: E501
Return type:bool
name

Gets the name of this PlaceOfDelivery. # noqa: E501

Tarnekoha nimi # noqa: E501

Returns:The name of this PlaceOfDelivery. # noqa: E501
Return type:str
near_address

Gets the near_address of this PlaceOfDelivery. # noqa: E501

Lähiaadress # noqa: E501

Returns:The near_address of this PlaceOfDelivery. # noqa: E501
Return type:str
open_times

Gets the open_times of this PlaceOfDelivery. # noqa: E501

Millal avatud # noqa: E501

Returns:The open_times of this PlaceOfDelivery. # noqa: E501
Return type:list[str]
openapi_types = {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'description': 'str', 'is_active': 'bool', 'is_public': 'bool', 'name': 'str', 'near_address': 'str', 'open_times': 'list[str]', 'preferred_certificates': 'list[str]', 'register_code': 'str', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}
preferred_certificates

Gets the preferred_certificates of this PlaceOfDelivery. # noqa: E501

Eelistatud sertifikaadid # noqa: E501

Returns:The preferred_certificates of this PlaceOfDelivery. # noqa: E501
Return type:list[str]
register_code

Gets the register_code of this PlaceOfDelivery. # noqa: E501

Registrikood # noqa: E501

Returns:The register_code of this PlaceOfDelivery. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

user_custom_data

Gets the user_custom_data of this PlaceOfDelivery. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this PlaceOfDelivery. # noqa: E501
Return type:object
waybill_authorizations

Gets the waybill_authorizations of this PlaceOfDelivery. # noqa: E501

Volitused # noqa: E501

Returns:The waybill_authorizations of this PlaceOfDelivery. # noqa: E501
Return type:list[WaybillAuthorization]
pyevr.openapi_client.models.previous_owner module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.previous_owner.PreviousOwner(name=None, code=None, address=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this PreviousOwner. # noqa: E501

Aadress # noqa: E501

Returns:The address of this PreviousOwner. # noqa: E501
Return type:str
attribute_map = {'address': 'address', 'code': 'code', 'name': 'name'}
code

Gets the code of this PreviousOwner. # noqa: E501

Isiku- või registrikood # noqa: E501

Returns:The code of this PreviousOwner. # noqa: E501
Return type:str
name

Gets the name of this PreviousOwner. # noqa: E501

Nimi # noqa: E501

Returns:The name of this PreviousOwner. # noqa: E501
Return type:str
openapi_types = {'address': 'str', 'code': 'str', 'name': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.problem_details module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.problem_details.ProblemDetails(type=None, title=None, status=None, detail=None, instance=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'detail': 'detail', 'instance': 'instance', 'status': 'status', 'title': 'title', 'type': 'type'}
detail

Gets the detail of this ProblemDetails. # noqa: E501

Returns:The detail of this ProblemDetails. # noqa: E501
Return type:str
instance

Gets the instance of this ProblemDetails. # noqa: E501

Returns:The instance of this ProblemDetails. # noqa: E501
Return type:str
openapi_types = {'detail': 'str', 'instance': 'str', 'status': 'int', 'title': 'str', 'type': 'str'}
status

Gets the status of this ProblemDetails. # noqa: E501

Returns:The status of this ProblemDetails. # noqa: E501
Return type:int
title

Gets the title of this ProblemDetails. # noqa: E501

Returns:The title of this ProblemDetails. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

type

Gets the type of this ProblemDetails. # noqa: E501

Returns:The type of this ProblemDetails. # noqa: E501
Return type:str
pyevr.openapi_client.models.put_place_of_delivery_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.put_place_of_delivery_request.PutPlaceOfDeliveryRequest(name=None, address=None, near_address=None, coordinates=None, description=None, is_active=None, is_public=None, preferred_certificates=None, open_times=None, contact_person=None, waybill_authorizations=None, user_custom_data=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this PutPlaceOfDeliveryRequest. # noqa: E501

Returns:The address of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'description': 'description', 'is_active': 'isActive', 'is_public': 'isPublic', 'name': 'name', 'near_address': 'nearAddress', 'open_times': 'openTimes', 'preferred_certificates': 'preferredCertificates', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}
contact_person

Gets the contact_person of this PutPlaceOfDeliveryRequest. # noqa: E501

Returns:The contact_person of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:ContactPerson
coordinates

Gets the coordinates of this PutPlaceOfDeliveryRequest. # noqa: E501

Returns:The coordinates of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:Coordinates
description

Gets the description of this PutPlaceOfDeliveryRequest. # noqa: E501

Märkused # noqa: E501

Returns:The description of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:str
is_active

Gets the is_active of this PutPlaceOfDeliveryRequest. # noqa: E501

Kas on aktiivne # noqa: E501

Returns:The is_active of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:bool
is_public

Gets the is_public of this PutPlaceOfDeliveryRequest. # noqa: E501

Kas on avalik (avalikke ladusid näevad ka teised asutused) # noqa: E501

Returns:The is_public of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:bool
name

Gets the name of this PutPlaceOfDeliveryRequest. # noqa: E501

Nimi # noqa: E501

Returns:The name of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:str
near_address

Gets the near_address of this PutPlaceOfDeliveryRequest. # noqa: E501

Lähiaadress # noqa: E501

Returns:The near_address of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:str
open_times

Gets the open_times of this PutPlaceOfDeliveryRequest. # noqa: E501

Millal avatud # noqa: E501

Returns:The open_times of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:list[str]
openapi_types = {'address': 'Address', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'description': 'str', 'is_active': 'bool', 'is_public': 'bool', 'name': 'str', 'near_address': 'str', 'open_times': 'list[str]', 'preferred_certificates': 'list[str]', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}
preferred_certificates

Gets the preferred_certificates of this PutPlaceOfDeliveryRequest. # noqa: E501

Eelistatud sertifikaadid # noqa: E501

Returns:The preferred_certificates of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:list[str]
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

user_custom_data

Gets the user_custom_data of this PutPlaceOfDeliveryRequest. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:object
waybill_authorizations

Gets the waybill_authorizations of this PutPlaceOfDeliveryRequest. # noqa: E501

Volitatud mõõtjad ja vaatlejad # noqa: E501

Returns:The waybill_authorizations of this PutPlaceOfDeliveryRequest. # noqa: E501
Return type:list[WaybillAuthorization]
pyevr.openapi_client.models.receiver module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.receiver.Receiver(name=None, code=None, address=None, contact_person=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this Receiver. # noqa: E501

Returns:The address of this Receiver. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'name': 'name'}
code

Gets the code of this Receiver. # noqa: E501

Isiku- või registrikood # noqa: E501

Returns:The code of this Receiver. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this Receiver. # noqa: E501

Returns:The contact_person of this Receiver. # noqa: E501
Return type:ContactPerson
name

Gets the name of this Receiver. # noqa: E501

Nimi # noqa: E501

Returns:The name of this Receiver. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'name': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.representer module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.representer.Representer(name=None, code=None, address=None, right_of_representation=None, email=None, phone=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this Representer. # noqa: E501

Returns:The address of this Representer. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'code': 'code', 'email': 'email', 'name': 'name', 'phone': 'phone', 'right_of_representation': 'rightOfRepresentation'}
code

Gets the code of this Representer. # noqa: E501

Isiku- või registrikood # noqa: E501

Returns:The code of this Representer. # noqa: E501
Return type:str
email

Gets the email of this Representer. # noqa: E501

Email # noqa: E501

Returns:The email of this Representer. # noqa: E501
Return type:str
name

Gets the name of this Representer. # noqa: E501

Nimi # noqa: E501

Returns:The name of this Representer. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'code': 'str', 'email': 'str', 'name': 'str', 'phone': 'str', 'right_of_representation': 'str'}
phone

Gets the phone of this Representer. # noqa: E501

Telefoninumber # noqa: E501

Returns:The phone of this Representer. # noqa: E501
Return type:str
right_of_representation

Gets the right_of_representation of this Representer. # noqa: E501

Esindusõiguse alus # noqa: E501

Returns:The right_of_representation of this Representer. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.sales_contract module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.sales_contract.SalesContract(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}
cadaster

Gets the cadaster of this SalesContract. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this SalesContract. # noqa: E501
Return type:str
compartment

Gets the compartment of this SalesContract. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this SalesContract. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this SalesContract. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this SalesContract. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this SalesContract. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this SalesContract. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this SalesContract. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this SalesContract. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}
previous_owner

Gets the previous_owner of this SalesContract. # noqa: E501

Returns:The previous_owner of this SalesContract. # noqa: E501
Return type:PreviousOwner
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.sales_contract_all_of module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.sales_contract_all_of.SalesContractAllOf(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}
cadaster

Gets the cadaster of this SalesContractAllOf. # noqa: E501

Katastritunnus # noqa: E501

Returns:The cadaster of this SalesContractAllOf. # noqa: E501
Return type:str
compartment

Gets the compartment of this SalesContractAllOf. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this SalesContractAllOf. # noqa: E501
Return type:str
contract_date

Gets the contract_date of this SalesContractAllOf. # noqa: E501

Dokumendi kuupäev # noqa: E501

Returns:The contract_date of this SalesContractAllOf. # noqa: E501
Return type:datetime
contract_number

Gets the contract_number of this SalesContractAllOf. # noqa: E501

Dokumendi number # noqa: E501

Returns:The contract_number of this SalesContractAllOf. # noqa: E501
Return type:str
forest_allocation_number

Gets the forest_allocation_number of this SalesContractAllOf. # noqa: E501

Metsaeraldis # noqa: E501

Returns:The forest_allocation_number of this SalesContractAllOf. # noqa: E501
Return type:str
openapi_types = {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}
previous_owner

Gets the previous_owner of this SalesContractAllOf. # noqa: E501

Returns:The previous_owner of this SalesContractAllOf. # noqa: E501
Return type:PreviousOwner
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.shipment module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.shipment.Shipment(holding_base=None, source=None, items=None, certificate_claims=None, user_custom_data=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'certificate_claims': 'certificateClaims', 'holding_base': 'holdingBase', 'items': 'items', 'source': 'source', 'user_custom_data': 'userCustomData'}
certificate_claims

Gets the certificate_claims of this Shipment. # noqa: E501

Tarneahela sertifikaadi väited # noqa: E501

Returns:The certificate_claims of this Shipment. # noqa: E501
Return type:list[CertificateClaim]
holding_base

Gets the holding_base of this Shipment. # noqa: E501

Returns:The holding_base of this Shipment. # noqa: E501
Return type:HoldingBase
items

Gets the items of this Shipment. # noqa: E501

Saadetis # noqa: E501

Returns:The items of this Shipment. # noqa: E501
Return type:list[ShipmentItem]
openapi_types = {'certificate_claims': 'list[CertificateClaim]', 'holding_base': 'HoldingBase', 'items': 'list[ShipmentItem]', 'source': 'Source', 'user_custom_data': 'object'}
source

Gets the source of this Shipment. # noqa: E501

Returns:The source of this Shipment. # noqa: E501
Return type:Source
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

user_custom_data

Gets the user_custom_data of this Shipment. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this Shipment. # noqa: E501
Return type:object
pyevr.openapi_client.models.shipment_assortment module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.shipment_assortment.ShipmentAssortment(code=None, name=None, product_group=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'name': 'name', 'product_group': 'productGroup'}
code

Gets the code of this ShipmentAssortment. # noqa: E501

Sortimendi kood # noqa: E501

Returns:The code of this ShipmentAssortment. # noqa: E501
Return type:str
name

Gets the name of this ShipmentAssortment. # noqa: E501

Sortimendi nimetus # noqa: E501

Returns:The name of this ShipmentAssortment. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'name': 'str', 'product_group': 'str'}
product_group

Gets the product_group of this ShipmentAssortment. # noqa: E501

Tootegrupi kood # noqa: E501

Returns:The product_group of this ShipmentAssortment. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.shipment_item module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.shipment_item.ShipmentItem(amount=None, pack=None, unit_code=None, assortment=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

amount

Gets the amount of this ShipmentItem. # noqa: E501

Kogus # noqa: E501

Returns:The amount of this ShipmentItem. # noqa: E501
Return type:float
assortment

Gets the assortment of this ShipmentItem. # noqa: E501

Returns:The assortment of this ShipmentItem. # noqa: E501
Return type:ShipmentAssortment
attribute_map = {'amount': 'amount', 'assortment': 'assortment', 'pack': 'pack', 'unit_code': 'unitCode'}
openapi_types = {'amount': 'float', 'assortment': 'ShipmentAssortment', 'pack': 'Pack', 'unit_code': 'str'}
pack

Gets the pack of this ShipmentItem. # noqa: E501

Returns:The pack of this ShipmentItem. # noqa: E501
Return type:Pack
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

unit_code

Gets the unit_code of this ShipmentItem. # noqa: E501

Mõõtühiku kood # noqa: E501

Returns:The unit_code of this ShipmentItem. # noqa: E501
Return type:str
pyevr.openapi_client.models.source module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.source.Source(name=None, code=None, compartment=None, appropriation=None, planning_area=None, address=None, coordinates=None, contact_person=None, near_address=None, source_document_url=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this Source. # noqa: E501

Returns:The address of this Source. # noqa: E501
Return type:Address
appropriation

Gets the appropriation of this Source. # noqa: E501

Eraldis # noqa: E501

Returns:The appropriation of this Source. # noqa: E501
Return type:str
attribute_map = {'address': 'address', 'appropriation': 'appropriation', 'code': 'code', 'compartment': 'compartment', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'name': 'name', 'near_address': 'nearAddress', 'planning_area': 'planningArea', 'source_document_url': 'sourceDocumentUrl'}
code

Gets the code of this Source. # noqa: E501

Laokood # noqa: E501

Returns:The code of this Source. # noqa: E501
Return type:str
compartment

Gets the compartment of this Source. # noqa: E501

Kvartal # noqa: E501

Returns:The compartment of this Source. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this Source. # noqa: E501

Returns:The contact_person of this Source. # noqa: E501
Return type:ContactPerson
coordinates

Gets the coordinates of this Source. # noqa: E501

Returns:The coordinates of this Source. # noqa: E501
Return type:Coordinates
name

Gets the name of this Source. # noqa: E501

Maaüksuse või laoplatsi nimi # noqa: E501

Returns:The name of this Source. # noqa: E501
Return type:str
near_address

Gets the near_address of this Source. # noqa: E501

Lähiaadress # noqa: E501

Returns:The near_address of this Source. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'appropriation': 'str', 'code': 'str', 'compartment': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'name': 'str', 'near_address': 'str', 'planning_area': 'str', 'source_document_url': 'str'}
planning_area

Gets the planning_area of this Source. # noqa: E501

Planeerimispiirkond # noqa: E501

Returns:The planning_area of this Source. # noqa: E501
Return type:str
source_document_url

Gets the source_document_url of this Source. # noqa: E501

Päritoludokumendi URL # noqa: E501

Returns:The source_document_url of this Source. # noqa: E501
Return type:str
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.start_waybill_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.start_waybill_request.StartWaybillRequest(owner=None, transport=None, receiver=None, place_of_delivery=None, comment=None, departure_time=None, submission_time=None, shipments=None, pre_journey_mileage=None, user_custom_data=None, mass=None, viewers=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'comment': 'comment', 'departure_time': 'departureTime', 'mass': 'mass', 'owner': 'owner', 'place_of_delivery': 'placeOfDelivery', 'pre_journey_mileage': 'preJourneyMileage', 'receiver': 'receiver', 'shipments': 'shipments', 'submission_time': 'submissionTime', 'transport': 'transport', 'user_custom_data': 'userCustomData', 'viewers': 'viewers'}
comment

Gets the comment of this StartWaybillRequest. # noqa: E501

Märkused/lisainfo # noqa: E501

Returns:The comment of this StartWaybillRequest. # noqa: E501
Return type:str
departure_time

Gets the departure_time of this StartWaybillRequest. # noqa: E501

Väljasõidu aeg # noqa: E501

Returns:The departure_time of this StartWaybillRequest. # noqa: E501
Return type:datetime
mass

Gets the mass of this StartWaybillRequest. # noqa: E501

Autorongi mass tonnides # noqa: E501

Returns:The mass of this StartWaybillRequest. # noqa: E501
Return type:float
openapi_types = {'comment': 'str', 'departure_time': 'datetime', 'mass': 'float', 'owner': 'Owner', 'place_of_delivery': 'WaybillPlaceOfDelivery', 'pre_journey_mileage': 'int', 'receiver': 'Receiver', 'shipments': 'list[Shipment]', 'submission_time': 'datetime', 'transport': 'Transport', 'user_custom_data': 'object', 'viewers': 'list[Viewer]'}
owner

Gets the owner of this StartWaybillRequest. # noqa: E501

Returns:The owner of this StartWaybillRequest. # noqa: E501
Return type:Owner
place_of_delivery

Gets the place_of_delivery of this StartWaybillRequest. # noqa: E501

Returns:The place_of_delivery of this StartWaybillRequest. # noqa: E501
Return type:WaybillPlaceOfDelivery
pre_journey_mileage

Gets the pre_journey_mileage of this StartWaybillRequest. # noqa: E501

Ettesõidu kilometraaž # noqa: E501

Returns:The pre_journey_mileage of this StartWaybillRequest. # noqa: E501
Return type:int
receiver

Gets the receiver of this StartWaybillRequest. # noqa: E501

Returns:The receiver of this StartWaybillRequest. # noqa: E501
Return type:Receiver
shipments

Gets the shipments of this StartWaybillRequest. # noqa: E501

Lähetatud veose andmed # noqa: E501

Returns:The shipments of this StartWaybillRequest. # noqa: E501
Return type:list[Shipment]
submission_time

Gets the submission_time of this StartWaybillRequest. # noqa: E501

Veoselehe EVR-i saatmise aeg # noqa: E501

Returns:The submission_time of this StartWaybillRequest. # noqa: E501
Return type:datetime
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

transport

Gets the transport of this StartWaybillRequest. # noqa: E501

Returns:The transport of this StartWaybillRequest. # noqa: E501
Return type:Transport
user_custom_data

Gets the user_custom_data of this StartWaybillRequest. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this StartWaybillRequest. # noqa: E501
Return type:object
viewers

Gets the viewers of this StartWaybillRequest. # noqa: E501

Veoselehe vaatlejad # noqa: E501

Returns:The viewers of this StartWaybillRequest. # noqa: E501
Return type:list[Viewer]
pyevr.openapi_client.models.transport module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.transport.Transport(transporter=None, driver_name=None, driver_id_code=None, driver_phone=None, van_registration_number=None, trailer_registration_number=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'driver_id_code': 'driverIdCode', 'driver_name': 'driverName', 'driver_phone': 'driverPhone', 'trailer_registration_number': 'trailerRegistrationNumber', 'transporter': 'transporter', 'van_registration_number': 'vanRegistrationNumber'}
driver_id_code

Gets the driver_id_code of this Transport. # noqa: E501

Autojuhi isikukood # noqa: E501

Returns:The driver_id_code of this Transport. # noqa: E501
Return type:str
driver_name

Gets the driver_name of this Transport. # noqa: E501

Autojuhi nimi # noqa: E501

Returns:The driver_name of this Transport. # noqa: E501
Return type:str
driver_phone

Gets the driver_phone of this Transport. # noqa: E501

Autojuhi telefoninumber # noqa: E501

Returns:The driver_phone of this Transport. # noqa: E501
Return type:str
openapi_types = {'driver_id_code': 'str', 'driver_name': 'str', 'driver_phone': 'str', 'trailer_registration_number': 'str', 'transporter': 'Transporter', 'van_registration_number': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

trailer_registration_number

Gets the trailer_registration_number of this Transport. # noqa: E501

Haagise kasutamise korral haagise riiklik registreerimisnumber # noqa: E501

Returns:The trailer_registration_number of this Transport. # noqa: E501
Return type:str
transporter

Gets the transporter of this Transport. # noqa: E501

Returns:The transporter of this Transport. # noqa: E501
Return type:Transporter
van_registration_number

Gets the van_registration_number of this Transport. # noqa: E501

Veoki riiklik registreerimisnumber # noqa: E501

Returns:The van_registration_number of this Transport. # noqa: E501
Return type:str
pyevr.openapi_client.models.transporter module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.transporter.Transporter(name=None, code=None, contact_person=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'contact_person': 'contactPerson', 'name': 'name'}
code

Gets the code of this Transporter. # noqa: E501

Isiku- või registrikood # noqa: E501

Returns:The code of this Transporter. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this Transporter. # noqa: E501

Returns:The contact_person of this Transporter. # noqa: E501
Return type:ContactPerson
name

Gets the name of this Transporter. # noqa: E501

Nimi # noqa: E501

Returns:The name of this Transporter. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'contact_person': 'ContactPerson', 'name': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.unload_waybill_request module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.unload_waybill_request.UnloadWaybillRequest(total_journey_mileage=None, comment=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'comment': 'comment', 'total_journey_mileage': 'totalJourneyMileage'}
comment

Gets the comment of this UnloadWaybillRequest. # noqa: E501

Kommentaar # noqa: E501

Returns:The comment of this UnloadWaybillRequest. # noqa: E501
Return type:str
openapi_types = {'comment': 'str', 'total_journey_mileage': 'int'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_journey_mileage

Gets the total_journey_mileage of this UnloadWaybillRequest. # noqa: E501

Kilometraaž koormaga # noqa: E501

Returns:The total_journey_mileage of this UnloadWaybillRequest. # noqa: E501
Return type:int
pyevr.openapi_client.models.validation_result module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.validation_result.ValidationResult(errors=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'errors': 'errors'}
errors

Gets the errors of this ValidationResult. # noqa: E501

Returns:The errors of this ValidationResult. # noqa: E501
Return type:dict(str, list[str])
openapi_types = {'errors': 'dict(str, list[str])'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.viewer module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.viewer.Viewer(code=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code'}
code

Gets the code of this Viewer. # noqa: E501

Registrikood # noqa: E501

Returns:The code of this Viewer. # noqa: E501
Return type:str
openapi_types = {'code': 'str'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.waybill module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.waybill.Waybill(owner=None, transport=None, receiver=None, place_of_delivery=None, comment=None, departure_time=None, submission_time=None, shipments=None, pre_journey_mileage=None, user_custom_data=None, mass=None, number=None, status=None, creation_time=None, cancellation_time=None, cancellation_reason=None, total_journey_mileage=None, unloading_comment=None, unloading_time=None, finishing_time=None, last_modification_time=None, waybill_authorizations=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'cancellation_reason': 'cancellationReason', 'cancellation_time': 'cancellationTime', 'comment': 'comment', 'creation_time': 'creationTime', 'departure_time': 'departureTime', 'finishing_time': 'finishingTime', 'last_modification_time': 'lastModificationTime', 'mass': 'mass', 'number': 'number', 'owner': 'owner', 'place_of_delivery': 'placeOfDelivery', 'pre_journey_mileage': 'preJourneyMileage', 'receiver': 'receiver', 'shipments': 'shipments', 'status': 'status', 'submission_time': 'submissionTime', 'total_journey_mileage': 'totalJourneyMileage', 'transport': 'transport', 'unloading_comment': 'unloadingComment', 'unloading_time': 'unloadingTime', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}
cancellation_reason

Gets the cancellation_reason of this Waybill. # noqa: E501

Tühistamise põhjus (kui veoseleht on tühistatud) # noqa: E501

Returns:The cancellation_reason of this Waybill. # noqa: E501
Return type:str
cancellation_time

Gets the cancellation_time of this Waybill. # noqa: E501

Tühistamise aeg (kui veoseleht on tühistatud) # noqa: E501

Returns:The cancellation_time of this Waybill. # noqa: E501
Return type:datetime
comment

Gets the comment of this Waybill. # noqa: E501

Märkused/lisainfo # noqa: E501

Returns:The comment of this Waybill. # noqa: E501
Return type:str
creation_time

Gets the creation_time of this Waybill. # noqa: E501

Loomise aeg # noqa: E501

Returns:The creation_time of this Waybill. # noqa: E501
Return type:datetime
departure_time

Gets the departure_time of this Waybill. # noqa: E501

Väljasõidu aeg # noqa: E501

Returns:The departure_time of this Waybill. # noqa: E501
Return type:datetime
finishing_time

Gets the finishing_time of this Waybill. # noqa: E501

Veoselehe lõpetamise aeg (kui veoseleht on lõpetatud) # noqa: E501

Returns:The finishing_time of this Waybill. # noqa: E501
Return type:datetime
last_modification_time

Gets the last_modification_time of this Waybill. # noqa: E501

Veoselehe viimase muutmise aeg # noqa: E501

Returns:The last_modification_time of this Waybill. # noqa: E501
Return type:datetime
mass

Gets the mass of this Waybill. # noqa: E501

Autorongi mass tonnides # noqa: E501

Returns:The mass of this Waybill. # noqa: E501
Return type:float
number

Gets the number of this Waybill. # noqa: E501

Veoselehe number # noqa: E501

Returns:The number of this Waybill. # noqa: E501
Return type:str
openapi_types = {'cancellation_reason': 'str', 'cancellation_time': 'datetime', 'comment': 'str', 'creation_time': 'datetime', 'departure_time': 'datetime', 'finishing_time': 'datetime', 'last_modification_time': 'datetime', 'mass': 'float', 'number': 'str', 'owner': 'Owner', 'place_of_delivery': 'WaybillPlaceOfDelivery', 'pre_journey_mileage': 'int', 'receiver': 'Receiver', 'shipments': 'list[Shipment]', 'status': 'WaybillStatus', 'submission_time': 'datetime', 'total_journey_mileage': 'int', 'transport': 'Transport', 'unloading_comment': 'str', 'unloading_time': 'datetime', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}
owner

Gets the owner of this Waybill. # noqa: E501

Returns:The owner of this Waybill. # noqa: E501
Return type:Owner
place_of_delivery

Gets the place_of_delivery of this Waybill. # noqa: E501

Returns:The place_of_delivery of this Waybill. # noqa: E501
Return type:WaybillPlaceOfDelivery
pre_journey_mileage

Gets the pre_journey_mileage of this Waybill. # noqa: E501

Ettesõidu kilometraaž # noqa: E501

Returns:The pre_journey_mileage of this Waybill. # noqa: E501
Return type:int
receiver

Gets the receiver of this Waybill. # noqa: E501

Returns:The receiver of this Waybill. # noqa: E501
Return type:Receiver
shipments

Gets the shipments of this Waybill. # noqa: E501

Lähetatud veose andmed # noqa: E501

Returns:The shipments of this Waybill. # noqa: E501
Return type:list[Shipment]
status

Gets the status of this Waybill. # noqa: E501

Returns:The status of this Waybill. # noqa: E501
Return type:WaybillStatus
submission_time

Gets the submission_time of this Waybill. # noqa: E501

Veoselehe EVR-i saatmise aeg # noqa: E501

Returns:The submission_time of this Waybill. # noqa: E501
Return type:datetime
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

total_journey_mileage

Gets the total_journey_mileage of this Waybill. # noqa: E501

Kilometraaž koormaga (kui veoselehel on vedu lõpetatud) # noqa: E501

Returns:The total_journey_mileage of this Waybill. # noqa: E501
Return type:int
transport

Gets the transport of this Waybill. # noqa: E501

Returns:The transport of this Waybill. # noqa: E501
Return type:Transport
unloading_comment

Gets the unloading_comment of this Waybill. # noqa: E501

Mahalaadimise kommentaar (kui veoselehel on vedu lõpetatud) # noqa: E501

Returns:The unloading_comment of this Waybill. # noqa: E501
Return type:str
unloading_time

Gets the unloading_time of this Waybill. # noqa: E501

Mahalaadimise aeg (kui veoselehel on vedu lõpetatud) # noqa: E501

Returns:The unloading_time of this Waybill. # noqa: E501
Return type:datetime
user_custom_data

Gets the user_custom_data of this Waybill. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this Waybill. # noqa: E501
Return type:object
waybill_authorizations

Gets the waybill_authorizations of this Waybill. # noqa: E501

Veoselehe volitused # noqa: E501

Returns:The waybill_authorizations of this Waybill. # noqa: E501
Return type:list[WaybillAuthorization]
pyevr.openapi_client.models.waybill_authorization module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.waybill_authorization.WaybillAuthorization(code=None, type=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'code': 'code', 'type': 'type'}
code

Gets the code of this WaybillAuthorization. # noqa: E501

Registrikood # noqa: E501

Returns:The code of this WaybillAuthorization. # noqa: E501
Return type:str
openapi_types = {'code': 'str', 'type': 'AuthorizationType'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

type

Gets the type of this WaybillAuthorization. # noqa: E501

Returns:The type of this WaybillAuthorization. # noqa: E501
Return type:AuthorizationType
pyevr.openapi_client.models.waybill_place_of_delivery module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.waybill_place_of_delivery.WaybillPlaceOfDelivery(code=None, name=None, coordinates=None, address=None, contact_person=None, near_address=None, user_custom_data=None, local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

address

Gets the address of this WaybillPlaceOfDelivery. # noqa: E501

Returns:The address of this WaybillPlaceOfDelivery. # noqa: E501
Return type:Address
attribute_map = {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'name': 'name', 'near_address': 'nearAddress', 'user_custom_data': 'userCustomData'}
code

Gets the code of this WaybillPlaceOfDelivery. # noqa: E501

EVR tarnekoha kood (kui on EVR-i lisatud tarnekoht) # noqa: E501

Returns:The code of this WaybillPlaceOfDelivery. # noqa: E501
Return type:str
contact_person

Gets the contact_person of this WaybillPlaceOfDelivery. # noqa: E501

Returns:The contact_person of this WaybillPlaceOfDelivery. # noqa: E501
Return type:ContactPerson
coordinates

Gets the coordinates of this WaybillPlaceOfDelivery. # noqa: E501

Returns:The coordinates of this WaybillPlaceOfDelivery. # noqa: E501
Return type:Coordinates
name

Gets the name of this WaybillPlaceOfDelivery. # noqa: E501

Tarnekoha nimi # noqa: E501

Returns:The name of this WaybillPlaceOfDelivery. # noqa: E501
Return type:str
near_address

Gets the near_address of this WaybillPlaceOfDelivery. # noqa: E501

Lähiaadress # noqa: E501

Returns:The near_address of this WaybillPlaceOfDelivery. # noqa: E501
Return type:str
openapi_types = {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'name': 'str', 'near_address': 'str', 'user_custom_data': 'object'}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

user_custom_data

Gets the user_custom_data of this WaybillPlaceOfDelivery. # noqa: E501

Api kasutaja poolt kohandatavad andmed # noqa: E501

Returns:The user_custom_data of this WaybillPlaceOfDelivery. # noqa: E501
Return type:object
pyevr.openapi_client.models.waybill_sort_field module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.waybill_sort_field.WaybillSortField(local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

CREATIONTIMEASC = 'creationTimeAsc'
CREATIONTIMEDESC = 'creationTimeDesc'
LASTMODIFICATIONTIMEASC = 'lastModificationTimeAsc'
LASTMODIFICATIONTIMEDESC = 'lastModificationTimeDesc'
allowable_values = ['creationTimeAsc', 'creationTimeDesc', 'lastModificationTimeAsc', 'lastModificationTimeDesc']
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {}
openapi_types = {}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

pyevr.openapi_client.models.waybill_status module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.models.waybill_status.WaybillStatus(local_vars_configuration=None)[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

CANCELLED = 'cancelled'
FINISHED = 'finished'
SHIPPING = 'shipping'
UNLOADED = 'unloaded'
allowable_values = ['shipping', 'cancelled', 'unloaded', 'finished']
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
attribute_map = {}
openapi_types = {}
to_dict()[source]

Returns the model properties as a dict

to_str()[source]

Returns the string representation of the model

Module contents

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

Submodules
pyevr.openapi_client.api_client module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.api_client.ApiClient(configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1)[source]

Bases: object

Generic API client for OpenAPI client library builds.

OpenAPI generic API client. This client handles the client- server communication, and is invariant across implementations. Specifics of the methods and models for each application are generated from the OpenAPI templates.

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.

Parameters:
  • configuration – .Configuration object for this client
  • header_name – a header to pass when making calls to the API.
  • header_value – a header value to pass when making calls to the API.
  • cookie – a cookie to include in the header when making calls to the API
  • pool_threads – The number of threads to use for async requests to the API. More threads means more concurrent API requests.
NATIVE_TYPES_MAPPING = {'bool': <class 'bool'>, 'date': <class 'datetime.date'>, 'datetime': <class 'datetime.datetime'>, 'float': <class 'float'>, 'int': <class 'int'>, 'long': <class 'int'>, 'object': <class 'object'>, 'str': <class 'str'>}
PRIMITIVE_TYPES = (<class 'float'>, <class 'bool'>, <class 'bytes'>, <class 'str'>, <class 'int'>)
call_api(resource_path, method, path_params=None, query_params=None, header_params=None, body=None, post_params=None, files=None, response_type=None, auth_settings=None, async_req=None, _return_http_data_only=None, collection_formats=None, _preload_content=True, _request_timeout=None, _host=None)[source]

Makes the HTTP request (synchronous) and returns deserialized data.

To make an async_req request, set the async_req parameter.

Parameters:
  • resource_path – Path to method endpoint.
  • method – Method to call.
  • path_params – Path parameters in the url.
  • query_params – Query parameters in the url.
  • header_params – Header parameters to be placed in the request header.
  • body – Request body.
  • dict (files) – Request post form parameters, for application/x-www-form-urlencoded, multipart/form-data.
  • list (auth_settings) – Auth Settings names for the request.
  • response – Response data type.
  • dict – key -> filename, value -> filepath, for multipart/form-data.
  • bool (async_req) – execute request asynchronously
  • _return_http_data_only – response data without head status code and headers
  • collection_formats – dict of collection formats for path, query, header, and post parameters.
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
Returns:

If async_req parameter is True, the request will be called asynchronously. The method will return the request thread. If parameter async_req is False or missing, then the method will return the response directly.

deserialize(response, response_type)[source]

Deserializes response into an object.

Parameters:
  • response – RESTResponse object to be deserialized.
  • response_type – class literal for deserialized object, or string of class name.
Returns:

deserialized object.

files_parameters(files=None)[source]

Builds form parameters.

Parameters:files – File parameters.
Returns:Form parameters with files.
parameters_to_tuples(params, collection_formats)[source]

Get parameters as list of tuples, formatting collections.

Parameters:
  • params – Parameters as dict or list of two-tuples
  • collection_formats (dict) – Parameter collection formats
Returns:

Parameters as list of tuples, collections formatted

pool

Create thread pool on first request avoids instantiating unused threadpool for blocking clients.

request(method, url, query_params=None, headers=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]

Makes the HTTP request using RESTClient.

sanitize_for_serialization(obj)[source]

Builds a JSON POST object.

If obj is None, return None. If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date

convert to string in iso8601 format.

If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict.

Parameters:obj – The data to serialize.
Returns:The serialized form of data.
select_header_accept(accepts)[source]

Returns Accept based on an array of accepts provided.

Parameters:accepts – List of headers.
Returns:Accept (e.g. application/json).
select_header_content_type(content_types)[source]

Returns Content-Type based on an array of content_types provided.

Parameters:content_types – List of content-types.
Returns:Content-Type (e.g. application/json).
set_default_header(header_name, header_value)[source]
update_params_for_auth(headers, querys, auth_settings)[source]

Updates header and query params based on authentication setting.

Parameters:
  • headers – Header parameters dict to be updated.
  • querys – Query parameters tuple list to be updated.
  • auth_settings – Authentication setting identifiers list.
user_agent

User agent for this API client

pyevr.openapi_client.configuration module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.configuration.Configuration(host='https://evr-test.azurewebsites.net', api_key={}, api_key_prefix={}, username='', password='')[source]

Bases: object

NOTE: This class is auto generated by OpenAPI Generator

Ref: https://openapi-generator.tech Do not edit the class manually.

Parameters:
  • host – Base url
  • api_key – Dict to store API key(s)
  • api_key_prefix – Dict to store API prefix (e.g. Bearer)
  • username – Username for HTTP basic authentication
  • password – Password for HTTP basic authentication
api_key = None

dict to store API key(s)

api_key_prefix = None

dict to store API prefix (e.g. Bearer)

assert_hostname = None

Set this to True/False to enable/disable SSL hostname verification.

auth_settings()[source]

Gets Auth Settings dict for api client.

Returns:The Auth Settings information dict.
cert_file = None

client certificate file

connection_pool_maxsize = None

urllib3 connection pool’s maximum number of connections saved per pool. urllib3 uses 1 connection as default value, but this is not the best value when you are making a lot of possibly parallel requests to the same host, which is often the case here. cpu_count * 5 is used as default value to increase performance.

debug

Debug switch

get_api_key_with_prefix(identifier)[source]

Gets API key (with prefix if set).

Parameters:identifier – The identifier of apiKey.
Returns:The token for api key authentication.
get_basic_auth_token()[source]

Gets HTTP basic authentication header (string).

Returns:The token for basic HTTP authentication.
get_host_from_settings(index, variables={})[source]

Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :return: URL based on host settings

get_host_settings()[source]

Gets an array of host settings

Returns:An array of host settings
host = None

Default Base url

key_file = None

client key file

logger = None

Logging Settings

logger_file

Debug file location

logger_file_handler = None

Log file handler

logger_format

Log format

logger_stream_handler = None

Log stream handler

password = None

Password for HTTP basic authentication

proxy = None

Proxy URL

proxy_headers = None

Proxy headers

refresh_api_key_hook = None

function hook to refresh API key if expired

retries = None

Adding retries to override urllib3 default value 3

safe_chars_for_path_param = None

Safe chars for path_param

ssl_ca_cert = None

Set this to customize the certificate file to verify the peer.

temp_folder_path = None

Temp file folder for downloading files

to_debug_report()[source]

Gets the essential information for debugging.

Returns:The report for debugging.
username = None

Username for HTTP basic authentication

verify_ssl = None

SSL/TLS verification Set this to false to skip verifying SSL certificate when calling API from https server.

class pyevr.openapi_client.configuration.TypeWithDefault(name, bases, dct)[source]

Bases: type

set_default(default)[source]
pyevr.openapi_client.exceptions module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

exception pyevr.openapi_client.exceptions.ApiException(status=None, reason=None, http_resp=None)[source]

Bases: pyevr.openapi_client.exceptions.OpenApiException

exception pyevr.openapi_client.exceptions.ApiKeyError(msg, path_to_item=None)[source]

Bases: pyevr.openapi_client.exceptions.OpenApiException, KeyError

exception pyevr.openapi_client.exceptions.ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)[source]

Bases: pyevr.openapi_client.exceptions.OpenApiException, TypeError

exception pyevr.openapi_client.exceptions.ApiValueError(msg, path_to_item=None)[source]

Bases: pyevr.openapi_client.exceptions.OpenApiException, ValueError

exception pyevr.openapi_client.exceptions.OpenApiException[source]

Bases: Exception

The base exception class for all OpenAPIExceptions

pyevr.openapi_client.exceptions.render_path(path_to_item)[source]

Returns a string representation of a path

pyevr.openapi_client.rest module

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

class pyevr.openapi_client.rest.RESTClientObject(configuration, pools_size=4, maxsize=None)[source]

Bases: object

DELETE(url, headers=None, query_params=None, body=None, _preload_content=True, _request_timeout=None)[source]
GET(url, headers=None, query_params=None, _preload_content=True, _request_timeout=None)[source]
HEAD(url, headers=None, query_params=None, _preload_content=True, _request_timeout=None)[source]
OPTIONS(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]
PATCH(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]
POST(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]
PUT(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]
request(method, url, query_params=None, headers=None, body=None, post_params=None, _preload_content=True, _request_timeout=None)[source]

Perform requests.

Parameters:
  • method – http request method
  • url – http request url
  • query_params – query parameters in the url
  • headers – http request headers
  • body – request json body, for application/json
  • post_params – request post parameters, application/x-www-form-urlencoded and multipart/form-data
  • _preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
  • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
class pyevr.openapi_client.rest.RESTResponse(resp)[source]

Bases: io.IOBase

getheader(name, default=None)[source]

Returns a given response header.

getheaders()[source]

Returns a dictionary of the response headers.

Module contents

EVR API

OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501

The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech

Submodules

pyevr.client module

Main module.

class pyevr.client.EVRClient(api_key: str, host: str = None)[source]

Bases: object

API client class for EVR.

Parameters:
  • api_key – Company API key in EVR
  • host – EVR host. Defaults to test host (optional)

pyevr.main module

Module contents

Top-level package for pyevr.

Contributing

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.

You can contribute in many ways:

Types of Contributions

Report Bugs

Report bugs at https://github.com/thorgate/pyevr/issues.

If you are reporting a bug, please include:

  • Your operating system name and version.
  • Any details about your local setup that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.

Fix Bugs

Look through the GitHub issues for bugs. Anything tagged with “bug” and “help wanted” is open to whoever wants to implement it.

Implement Features

Look through the GitHub issues for features. Anything tagged with “enhancement” and “help wanted” is open to whoever wants to implement it.

Write Documentation

pyevr could always use more documentation, whether as part of the official pyevr docs, in docstrings, or even on the web in blog posts, articles, and such.

Submit Feedback

The best way to send feedback is to file an issue at https://github.com/thorgate/pyevr/issues.

If you are proposing a feature:

  • Explain in detail how it would work.
  • Keep the scope as narrow as possible, to make it easier to implement.
  • Remember that this is a volunteer-driven project, and that contributions are welcome :)

Get Started!

Ready to contribute? Here’s how to set up pyevr for local development.

  1. Fork the pyevr repo on GitHub.

  2. Clone your fork locally:

    $ git clone git@github.com:your_name_here/pyevr.git
    
  3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:

    $ mkvirtualenv pyevr
    $ cd pyevr/
    $ python setup.py develop
    
  4. Create a branch for local development:

    $ git checkout -b name-of-your-bugfix-or-feature
    

    Now you can make your changes locally.

  5. When you’re done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox:

    $ make lint
    $ make test
    $ make test-all
    
    $ flake8 pyevr tests
    $ pytest or python setup.py test
    $ tox
    

    To get flake8 and tox, just pip install them into your virtualenv. All development dependencies are included in requirements_dev.txt.

  6. Commit your changes and push your branch to GitHub:

    $ git add .
    $ git commit -m "Your detailed description of your changes."
    $ git push origin name-of-your-bugfix-or-feature
    
  7. Submit a pull request through the GitHub website.

Pull Request Guidelines

Before you submit a pull request, check that it meets these guidelines:

  1. The pull request should include tests.
  2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst.
  3. The pull request should work for Python 3.5, 3.6, 3.7 and 3.8, and for PyPy. Check https://travis-ci.org/thorgate/pyevr/pull_requests and make sure that the tests pass for all supported Python versions.

Tips

To run a subset of tests:

$ pytest tests.test_pyevr

Deploying

A reminder for the maintainers on how to deploy. Make sure all your changes are committed (including an entry in HISTORY.rst). Then run:

$ bump2version patch # possible: major / minor / patch
$ git push
$ git push --tags

Create a release in Github and Travis will then deploy to PyPI if tests pass.

Credits

Development Lead

Contributors

History

0.1.0 (2019-11-09)

  • First release on PyPI.

Indices and tables