...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/storage/datalake/2018-06-17/storagedatalake/models.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/storage/datalake/2018-06-17/storagedatalake

     1  package storagedatalake
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  import (
    10  	"github.com/Azure/go-autorest/autorest"
    11  	"io"
    12  )
    13  
    14  // The package's fully qualified name.
    15  const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/storage/datalake/2018-06-17/storagedatalake"
    16  
    17  // DataLakeStorageError ...
    18  type DataLakeStorageError struct {
    19  	// Error - The service error response object.
    20  	Error *DataLakeStorageErrorError `json:"error,omitempty"`
    21  }
    22  
    23  // DataLakeStorageErrorError the service error response object.
    24  type DataLakeStorageErrorError struct {
    25  	// Code - The service error code.
    26  	Code *string `json:"code,omitempty"`
    27  	// Message - The service error message.
    28  	Message *string `json:"message,omitempty"`
    29  }
    30  
    31  // Filesystem ...
    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  // FilesystemList ...
    39  type FilesystemList struct {
    40  	autorest.Response `json:"-"`
    41  	Filesystems       *[]Filesystem `json:"filesystems,omitempty"`
    42  }
    43  
    44  // Path ...
    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  // PathList ...
    57  type PathList struct {
    58  	autorest.Response `json:"-"`
    59  	Paths             *[]Path `json:"paths,omitempty"`
    60  }
    61  
    62  // ReadCloser ...
    63  type ReadCloser struct {
    64  	autorest.Response `json:"-"`
    65  	Value             *io.ReadCloser `json:"value,omitempty"`
    66  }
    67  

View as plain text