...
1 package storagedatalake
2
3
4
5
6
7
8
9 import (
10 "github.com/Azure/go-autorest/autorest"
11 "io"
12 )
13
14
15 const fqdn = "github.com/Azure/azure-sdk-for-go/services/storage/datalake/2018-11-09/storagedatalake"
16
17
18 type DataLakeStorageError struct {
19
20 Error *DataLakeStorageErrorError `json:"error,omitempty"`
21 }
22
23
24 type DataLakeStorageErrorError struct {
25
26 Code *string `json:"code,omitempty"`
27
28 Message *string `json:"message,omitempty"`
29 }
30
31
32 type Filesystem struct {
33 Name *string `json:"name,omitempty"`
34 LastModified *string `json:"lastModified,omitempty"`
35 ETag *string `json:"eTag,omitempty"`
36 }
37
38
39 type FilesystemList struct {
40 autorest.Response `json:"-"`
41 Filesystems *[]Filesystem `json:"filesystems,omitempty"`
42 }
43
44
45 type Path struct {
46 Name *string `json:"name,omitempty"`
47 IsDirectory *bool `json:"isDirectory,omitempty"`
48 LastModified *string `json:"lastModified,omitempty"`
49 ETag *string `json:"eTag,omitempty"`
50 ContentLength *int64 `json:"contentLength,omitempty"`
51 Owner *string `json:"owner,omitempty"`
52 Group *string `json:"group,omitempty"`
53 Permissions *string `json:"permissions,omitempty"`
54 }
55
56
57 type PathList struct {
58 autorest.Response `json:"-"`
59 Paths *[]Path `json:"paths,omitempty"`
60 }
61
62
63 type ReadCloser struct {
64 autorest.Response `json:"-"`
65 Value *io.ReadCloser `json:"value,omitempty"`
66 }
67
View as plain text