class EntityType(types.Entity): workerid = types.Integer() name = types.String() connected_to = types.List(of=types.Dict(masterid=types.Integer())) configured_on = types.List( of=types.Dict(masterid=types.Integer(), builderid=types.Integer())) workerinfo = types.JsonObject() paused = types.Boolean() graceful = types.Boolean()
class EntityType(types.Entity): workerid = types.Integer() name = types.String() connected_to = types.List(of=MasterIdEntityType("master_id")) configured_on = types.List( of=MasterBuilderEntityType("master_builder")) workerinfo = types.JsonObject() paused = types.Boolean() graceful = types.Boolean()
class EntityType(types.Entity): name = types.Identifier(20) button_name = types.String() label = types.String() builder_names = types.List(of=types.Identifier(20)) all_fields = types.List(of=types.JsonObject())
class EntityType(types.Entity): path = types.String() type = types.String() plural = types.String() type_spec = types.JsonObject()