Ejemplo n.º 1
0
 class EntityType(types.Entity):
     name = types.Identifier(50)
     button_name = types.String()
     label = types.String()
     builder_names = types.List(of=types.Identifier(50))
     enabled = types.Boolean()
     all_fields = types.List(of=types.JsonObject())
Ejemplo n.º 2
0
 class EntityType(types.Entity):
     logid = types.Integer()
     name = types.String()
     slug = types.Identifier(50)
     stepid = types.Integer()
     complete = types.Boolean()
     num_lines = types.Integer()
     type = types.Identifier(1)
Ejemplo n.º 3
0
 class EntityType(types.Entity):
     stepid = types.Integer()
     number = types.Integer()
     name = types.Identifier(50)
     buildid = types.Integer()
     started_at = types.NoneOk(types.DateTime())
     complete = types.Boolean()
     complete_at = types.NoneOk(types.DateTime())
     results = types.NoneOk(types.Integer())
     state_string = types.String()
     urls = types.List(
         of=types.Dict(name=types.String(), url=types.String()))
Ejemplo n.º 4
0
 class EntityType(types.Entity):
     buildrequestid = types.Integer()
     buildsetid = types.Integer()
     builderid = types.Integer()
     buildername = types.Identifier(20)
     priority = types.Integer()
     claimed = types.Boolean()
     claimed_at = types.NoneOk(types.DateTime())
     claimed_by_masterid = types.NoneOk(types.Integer())
     complete = types.Boolean()
     results = types.NoneOk(types.Integer())
     submitted_at = types.DateTime()
     complete_at = types.NoneOk(types.DateTime())
     waited_for = types.Boolean()
Ejemplo n.º 5
0
 def makeInstance(self):
     return types.Identifier(len=5)
Ejemplo n.º 6
0
 class EntityType(types.Entity):
     builderid = types.Integer()
     name = types.Identifier(70)
     masterids = types.List(of=types.Integer())
     description = types.NoneOk(types.String())
     tags = types.List(of=types.String())
Ejemplo n.º 7
0
 class EntityType(types.Entity):
     builderid = types.Integer()
     name = types.Identifier(20)
Ejemplo n.º 8
0
 class EntityType(types.Entity):
     name = types.Identifier(20)
     label = types.String()
     builder_names = types.List(of=types.Identifier(20))
     all_fields = types.List(of=types.JsonObject())