EnrollmentRequestSpec is a description of a EnrollmentRequest's target state.
Name | Type | Description | Notes |
---|---|---|---|
csr | str | csr is a PEM-encoded PKCS#10 certificate signing request. | |
device_status | DeviceStatus | [optional] | |
labels | Dict[str, str] | A set of labels that the service will apply to this device when its enrollment is approved | [optional] |
from flightctl.models.enrollment_request_spec import EnrollmentRequestSpec
# TODO update the JSON string below
json = "{}"
# create an instance of EnrollmentRequestSpec from a JSON string
enrollment_request_spec_instance = EnrollmentRequestSpec.from_json(json)
# print the JSON string representation of the object
print(EnrollmentRequestSpec.to_json())
# convert the object into a dict
enrollment_request_spec_dict = enrollment_request_spec_instance.to_dict()
# create an instance of EnrollmentRequestSpec from a dict
enrollment_request_spec_from_dict = EnrollmentRequestSpec.from_dict(enrollment_request_spec_dict)