Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.96 KB

File metadata and controls

34 lines (25 loc) · 1.96 KB

EnrollmentRequestApprovalStatus

EnrollmentRequestApprovalStatus represents information about the status of a device enrollment request approval.

Properties

Name Type Description Notes
labels Dict[str, str] Labels to set on the device. If replaceLabels is false (default), labels are merged with agent-provided labels from the enrollment request. If replaceLabels is true, labels are used as the complete final set ignoring agent-provided labels. [optional]
replace_labels bool Controls whether labels are merged or replaced during approval. If false (default), labels are merged with agent-provided labels from the enrollment request. If true, labels are used as the complete final set and agent-provided labels are ignored. [optional] [default to False]
approved bool Indicates whether the request has been approved.
approved_by str The name of the approver.
approved_at datetime The time at which the request was approved.

Example

from flightctl.models.enrollment_request_approval_status import EnrollmentRequestApprovalStatus

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

# convert the object into a dict
enrollment_request_approval_status_dict = enrollment_request_approval_status_instance.to_dict()
# create an instance of EnrollmentRequestApprovalStatus from a dict
enrollment_request_approval_status_from_dict = EnrollmentRequestApprovalStatus.from_dict(enrollment_request_approval_status_dict)

[Back to Model list] [Back to API list] [Back to README]