blob: a8e4c3c20bb782bc5b20d021d572d5ef50a2e5de [file] [log] [blame]
Matteo Scandoloe2ba7342017-03-30 10:29:44 -07001message VTRService {
2 optional string description = 1 [help_text = "Description of Service", max_length = 254, null = True, db_index = False, blank = True];
3 required bool enabled = 2 [default = True, null = False, db_index = False, blank = True];
4 required string kind = 3 [default = "generic", max_length = 30, content_type = "stripped", blank = False, help_text = "Kind of service", null = False, db_index = False];
5 required string name = 4 [max_length = 30, content_type = "stripped", blank = False, help_text = "Service Name", null = False, db_index = False];
6 optional string versionNumber = 5 [max_length = 30, content_type = "stripped", blank = True, help_text = "Version of Service Definition", null = True, db_index = False];
7 required bool published = 6 [default = True, null = False, db_index = False, blank = True];
8 optional string view_url = 7 [db_index = False, max_length = 1024, null = True, content_type = "stripped", blank = True];
9 optional string icon_url = 8 [db_index = False, max_length = 1024, null = True, content_type = "stripped", blank = True];
10 optional string public_key = 9 [help_text = "Public key string", max_length = 1024, null = True, db_index = False, blank = True];
11 optional string private_key_fn = 10 [db_index = False, max_length = 1024, null = True, content_type = "stripped", blank = True];
12 optional string service_specific_id = 11 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True];
13 optional string service_specific_attribute = 12 [db_index = False, null = True, blank = True];
14 optional manytoone controller->ServiceController:services = 13 [help_text = "The Service Controller this Service uses", null = True, db_index = True, blank = True];
15}