Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.72 KB

File metadata and controls

37 lines (28 loc) · 1.72 KB

ObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Properties

Name Type Description Notes
creation_timestamp datetime The time the object was created. [optional]
deletion_timestamp datetime The time the object will be deleted. [optional]
name str The name of the object. [optional]
labels Dict[str, str] Map of string keys and values that can be used to organize and categorize (scope and select) objects. [optional]
generation int A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. [optional]
owner str A resource that owns this resource, in "kind/name" format. [optional]
annotations Dict[str, str] Properties set by the service. [optional]
resource_version str An opaque string that identifies the server's internal version of an object. [optional]

Example

from flightctl.models.object_meta import ObjectMeta

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

# convert the object into a dict
object_meta_dict = object_meta_instance.to_dict()
# create an instance of ObjectMeta from a dict
object_meta_from_dict = ObjectMeta.from_dict(object_meta_dict)

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