Skip to content

SpectrumDevice

Properties

Name Type Description Notes
spectrum_device_id int [optional]
spectrum_device_serial str [optional]
spectrum_device_wavelengths_json SpectrumDeviceWavelengthsJSONWrapper [optional]

1:1 Relationships

All the listed relationships are available as properties on the model instance

Name Model Linked Via

Implicit Relationships

All the listed relationships are available as properties on the model instance

Name Model API Operation Parameter

Parameterized Relationships

All the listed relationships are available as methods on the model instance.

Parameters written in bold are taken automatically from the model instance, when calling the method you have to supply the non-bold parameters

Name Model API Operation Parameters
values_by_date List[SpectrumValues] SpectrumDeviceApi SpectrumValuesDateDevice SpectrumDeviceID->id, start->start, stop->stop
## Example
from plantscreen.models.spectrum_device import SpectrumDevice

# TODO update the JSON string below
json = "{}"
# create an instance of SpectrumDevice from a JSON string
spectrum_device_instance = SpectrumDevice.from_json(json)
# print the JSON string representation of the object
print(SpectrumDevice.to_json())

# convert the object into a dict
spectrum_device_dict = spectrum_device_instance.to_dict()
# create an instance of SpectrumDevice from a dict
spectrum_device_from_dict = SpectrumDevice.from_dict(spectrum_device_dict)

Back to API Endpoints Back to Models [Back to README]