Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.01 KB

File metadata and controls

32 lines (23 loc) · 1.01 KB

V0042Tres

Properties

Name Type Description Notes
type str TRES type (CPU, MEM, etc)
name str TRES name (if applicable) [optional]
id int ID used in the database [optional]
count int TRES count (0 if listed generically) [optional]

Example

from slurmrest_python.models.v0042_tres import V0042Tres

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

# convert the object into a dict
v0042_tres_dict = v0042_tres_instance.to_dict()
# create an instance of V0042Tres from a dict
v0042_tres_from_dict = V0042Tres.from_dict(v0042_tres_dict)

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