示例#1
0
class project(model.RootObjectModel):
    #@doc name of the project
    name = model.String(thrift_id=1)
    #@doc project path
    path = model.String(thrift_id=2)
    #@doc tags related to the project
    tags = model.String(thrift_id=3)
示例#2
0
class activity(model.RootObjectModel):

    #@doc name of activity
    name = model.String(thrift_id=1)

    #@doc description of activity
    description = model.String(thrift_id=2)

    #@doc location of activity
    location = model.String(thrift_id=3)

    #@doc type of activity
    type = model.Enumeration(activitytype, thrift_id=4)

    #@doc status of activity
    status = model.Enumeration(activitystatus, thrift_id=5)

    #@doc priority of activity
    priority = model.Enumeration(activitypriority, thrift_id=6)

    #@doc guid of lead in case of lead
    leadguid = model.GUID(thrift_id=7)

    #@doc guid of customer in case of customer
    customerguid = model.GUID(thrift_id=8)

    #@doc start time of activity
    starttime = model.DateTime(thrift_id=9)
    
    #@doc end time of activity
    endtime = model.DateTime(thrift_id=10)
示例#3
0
class repository(model.Model):
    #@doc the url of the repository
    url = model.String(thrift_id=1)
    #@doc the username of the repository
    username = model.String(thrift_id=2)
    #@doc the password of the repository
    password = model.String(thrift_id=3)
示例#4
0
class lead(model.RootObjectModel):

    #@doc name of the lead
    name = model.String(thrift_id=1)

    #@doc code of the lead
    code = model.String(thrift_id=2)

    #@doc guid of the customer in case the lead is related to an existing customer
    customerguid = model.GUID(thrift_id=3)

    #@doc source of the lead
    source = model.Enumeration(leadsource, thrift_id=4)

    #@doc type of the lead
    type = model.Enumeration(leadtype, thrift_id=5)

    #@doc status of the lead
    status = model.Enumeration(leadstatus, thrift_id=6)

    #@doc amount of the lead
    amount = model.Float(thrift_id=7)

    #@doc probability in % of the lead
    probability = model.Integer(thrift_id=8)
示例#5
0
class bookmark(model.RootObjectModel):
    #@doc name of the bookmark
    name = model.String(thrift_id=1)
    #@doc url the bookmark points to
    url = model.String(thrift_id=2)
    #@doc the order of the bookmark
    order = model.Integer(thrift_id=3)
示例#6
0
class job(model.RootObjectModel):

    #@doc name of the object
    name = model.String(thrift_id=1)

    #@doc description of the object
    description = model.String(thrift_id=2)

    #@doc actionname e.g. machine.start, can be "" if job not result of an action
    actionName = model.String(thrift_id=3)

    #@doc error message which is userfriendly for user to see
    userErrormsg = model.String(thrift_id=4)

    #@doc error message only for internal usage
    internalErrormsg = model.String(thrift_id=5)

    #@doc max duration in seconds
    maxduration = model.Integer(thrift_id=6)

    #@doc guid of the parent job
    parentjobguid = model.GUID(thrift_id=7)

    #@doc status of the job
    jobstatus = model.Enumeration(jobstatus,thrift_id=8)

    #@doc the date and time when the job is started
    starttime = model.DateTime(thrift_id=9)

    #@doc the date and time when the job has finished
    endtime = model.DateTime(thrift_id=10)

    #@doc guid of the cloud user who has initiated the job
    clouduserguid = model.GUID(thrift_id=11)

    #@doc Guid of the agent that executed this job
    agentguid = model.String(thrift_id=12)

    #@doc incremental nr for this job inside the parent job
    order = model.Integer(thrift_id=13)

    #@doc log text, is the complete log of a jobstep, logs are also on logserver opgeslaan, is in format $epoch|$loglevelIsInt|$source|$the logtext, can become quite big
    log = model.String(thrift_id=14)

    #@doc type of the rootobject that started the job
    rootobjecttype = model.String(thrift_id=15)

    #@doc Guid of the rootobject that started the job
    rootobjectguid = model.GUID(thrift_id=16)

    #@doc params sent to job
    params = model.String(thrift_id=17)
    
    #@doc system
    system = model.Boolean(thrift_id=18)

    #@doc series of tags format
    tags = model.String(thrift_id=19)
示例#7
0
class user(model.RootObjectModel):
    #@doc login of the user
    login = model.String(thrift_id=1)

    #@doc groups of which the user is a member of
    groups = model.List(model.GUID(), thrift_id=2)

    #@doc name of the user
    name = model.String(thrift_id=3)
示例#8
0
class authoriserule(model.RootObjectModel):
    #@doc the groups of the rule
    groupguids = model.List(model.GUID(), thrift_id=1)

    #@doc the function of the rule
    function = model.String(thrift_id=2)

    #@doc the context of the rule
    context = model.Dict(model.String(), thrift_id=3)
示例#9
0
class space(model.RootObjectModel):
    #@doc name of the space
    name = model.String(thrift_id=1)
    #@doc tags related to the space
    tags = model.String(thrift_id=2)
    #@doc repository related to the space
    repository = model.Object(repository, thrift_id=3)
    #@doc order of the space
    order = model.Integer(thrift_id=4)
示例#10
0
class pop3(model.RootObjectModel):

    #@doc POP3 server, can be both DNS or IP address
    server = model.String(thrift_id=1)

    #@doc login of the POP3 account
    login = model.String(thrift_id=2)

    #@doc password of the POP3 account
    password = model.String(thrift_id=3)
示例#11
0
class user(model.RootObjectModel):
 
        #@doc name of the lead
        name = model.String(thrift_id=1)

        #@doc code of the lead
        password = model.String(thrift_id=2)
        
        #@comma separated values of groups 
        groups = model.String(thrift_id=3)
示例#12
0
class config(model.RootObjectModel):
    #@doc space of the config
    space = model.GUID(thrift_id=1)
    #@doc page of the config
    page = model.GUID(thrift_id=2)
    #@doc macro of the config
    macro = model.String(thrift_id=3)
    #@doc id of the config
    configid = model.String(thrift_id=4)
    #@doc data of the config
    data = model.String(thrift_id=5)
    #@doc username of the config
    username = model.String(thrift_id=6)
示例#13
0
class eventqueue(model.RootObjectModel):

    #@doc name of the event queue
    name = model.String(thrift_id=1)

    #@doc number of events on the queue
    numberofevents = model.Integer(thrift_id=2)
示例#14
0
class page(model.RootObjectModel):
    #@doc name of the page
    name = model.String(thrift_id=1)
    #@doc space of the page
    space = model.GUID(thrift_id=2)
    #@doc category of the page
    category = model.String(thrift_id=3)
    #@doc GUID of the parent page
    parent = model.GUID(thrift_id=4)
    #@doc tags related to the page
    tags = model.String(thrift_id=5)
    #@doc actual page content
    content = model.String(thrift_id=6)
    #@doc order of the page
    order = model.Integer(thrift_id=7)
    #@doc title of the page
    title = model.String(thrift_id=8)
    #@doc file type (python, javascript, markup, etc...)
    pagetype = model.String(thrift_id=10)
    #@doc description for the page
    description = model.String(thrift_id=11)
示例#15
0
class customer(model.RootObjectModel):

    #@doc name of the customer
    name = model.String(thrift_id=1)

    #@doc login of the customer
    login = model.String(thrift_id=2)

    #@doc password of the customer
    password = model.String(thrift_id=3)

    #@doc email address of the customer
    email = model.String(thrift_id=4)

    #@doc address of the customer
    address = model.String(thrift_id=5)

    #@doc VAT number of the customer
    vat = model.String(thrift_id=6)

    #@doc status of the customer
    status = model.Enumeration(customerstatus, thrift_id=7)
示例#16
0
class group(model.RootObjectModel):
    #@doc name of the group
    name = model.String(thrift_id=1)
示例#17
0
class group(model.RootObjectModel):

    name = model.String(thrift_id=1)

    permissions = model.String(thrift_id=2)
class businessparams(model.RootObjectModel):
    #@doc Name of the datacenter
    name = model.String(thrift_id=1)

    #@doc Total surface of datacenter
    size = model.Integer(thrift_id=2)

    #@doc Total surface that one rack takes
    racksurface = model.Integer(thrift_id=3)

    #@doc Cost per used kWh
    kwhourcost = model.Float(thrift_id=4)

    #@doc power usage effectiveness, ratio effective power needed per theoretical required power
    pue = model.Float(thrift_id=5)

    #@doc rental per rack in kEur/month
    salescollocation = model.Float(thrift_id=6)

    #@doc sales of cpu rack in kEur/month
    salescpu = model.Float(thrift_id=7)

    #@doc sales of storage rack in kEur/month
    salesstorage = model.Float(thrift_id=8)

    #@doc sales of bandwidth in Eur per Mbps per month
    salesbandwidth = model.Float(thrift_id=9)

    #@doc Percentage of the datacenter building in leasing
    leasebuilding = model.Integer(thrift_id=10)

    #@doc Percentage of datacenter infrastructure in leasing (airco, power, ...)
    leaseinfrastructure = model.Integer(thrift_id=11)

    #@doc Percentage of hardware in leasing (servers, storage, ...)
    leasehw = model.Integer(thrift_id=12)

    #@doc Interest rate when leasing the datacenter building
    interestbuilding = model.Float(thrift_id=13)

    #@doc Interest rate when leasing the datacenter equipment (infrastructure, servers...)
    interestdatacenter = model.Float(thrift_id=14)

    #@doc Leasing period for the datacenter building
    leaseperiodbuilding = model.Integer(thrift_id=15)

    #@doc Leasing period for the datacenter equipment (infrastructure, servers...)
    leaseperioddatacenter = model.Integer(thrift_id=16)

    #@doc Percentage of technology installed before datacenter becomes active
    technology = model.Integer(thrift_id=17)

    #@doc Number of months before datacenter is operational
    installperiod = model.Integer(thrift_id=18)

    #@doc percentage of racks used for collocation
    collocation = model.Integer(thrift_id=19)

    #@doc percentage of racks used for storage nodes
    storage = model.Integer(thrift_id=20)

    #@doc percentage of racks used for cpu nodes
    cpu = model.Integer(thrift_id=21)
示例#19
0
class permission(model.RootObjectModel):

    name = model.String(thrift_id=1)

    uri = model.String(thrift_id=2)