21700: Install Bundler system-wide in Rails postinst
[arvados.git] / sdk / go / arvados / authorized_key.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 // AuthorizedKey is an arvados#authorizedKey resource.
10 type AuthorizedKey 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         ModifiedAt           time.Time `json:"modified_at"`
16         ModifiedByClientUUID string    `json:"modified_by_client_uuid"`
17         ModifiedByUserUUID   string    `json:"modified_by_user_uuid"`
18         Name                 string    `json:"name"`
19         AuthorizedUserUUID   string    `json:"authorized_user_uuid"`
20         PublicKey            string    `json:"public_key"`
21         KeyType              string    `json:"key_type"`
22         ExpiresAt            time.Time `json:"expires_at"`
23 }
24
25 // AuthorizedKeyList is an arvados#authorizedKeyList resource.
26 type AuthorizedKeyList struct {
27         Items          []AuthorizedKey `json:"items"`
28         ItemsAvailable int             `json:"items_available"`
29         Offset         int             `json:"offset"`
30         Limit          int             `json:"limit"`
31 }