generated from Luis/nextjs-python-web-template
1.6 KiB
1.6 KiB
Service
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| uuid | str | [optional] [default to '8e285c0c-4e40-430a-a477-26b3b81e30df'] | |
| service_name | str | [optional] [default to 'Carlos Printing'] | |
| service_type | str | [optional] [default to '3D Printing'] | |
| endpoint_url | str | [optional] [default to 'http://127.0.0.1:8000'] | |
| status | str | [optional] [default to 'unknown'] | |
| other | object | [optional] | |
| entity_did | str | [optional] [default to 'did:sov:test:1234'] |
Example
from openapi_client.models.service import Service
# TODO update the JSON string below
json = "{}"
# create an instance of Service from a JSON string
service_instance = Service.from_json(json)
# print the JSON string representation of the object
print Service.to_json()
# convert the object into a dict
service_dict = service_instance.to_dict()
# create an instance of Service from a dict
service_form_dict = service.from_dict(service_dict)