Merge branch '19166-gateway-tunnel'
[arvados.git] / sdk / go / arvados / pipeline_instance.go
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 package arvados
6
7 import "time"
8
9 // PipelineInstance is an arvados#pipelineInstance record
10 type PipelineInstance struct {
11         UUID                 string                 `json:"uuid"`
12         Etag                 string                 `json:"etag"`
13         OwnerUUID            string                 `json:"owner_uuid"`
14         CreatedAt            time.Time              `json:"created_at"`
15         ModifiedByClientUUID string                 `json:"modified_by_client_uuid"`
16         ModifiedByUserUUID   string                 `json:"modified_by_user_uuid"`
17         ModifiedAt           time.Time              `json:"modified_at"`
18         PipelineTemplateUUID string                 `json:"pipeline_template_uuid"`
19         Name                 string                 `json:"name"`
20         Components           map[string]interface{} `json:"components"`
21         UpdatedAt            time.Time              `json:"updated_at"`
22         Properties           map[string]interface{} `json:"properties"`
23         State                string                 `json:"state"`
24         ComponentsSummary    map[string]interface{} `json:"components_summary"`
25         StartedAt            time.Time              `json:"started_at"`
26         FinishedAt           time.Time              `json:"finished_at"`
27         Description          string                 `json:"description"`
28         WritableBy           []string               `json:"writable_by,omitempty"`
29 }
30
31 func (g PipelineInstance) resourceName() string {
32         return "pipelineInstance"
33 }