azure-arm-datalake-store
Version:
Microsoft Azure Data Lake Store Management Client Library for node
96 lines (91 loc) • 2.35 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
;
/**
* Data Lake Store file or directory Access Control List information.
*
*/
class AclStatus {
/**
* Create a AclStatus.
* @property {array} [entries] the list of ACLSpec entries on a file or
* directory.
* @property {string} [group] the group owner, an AAD Object ID.
* @property {string} [owner] the user owner, an AAD Object ID.
* @property {string} [permission] The octal representation of the unnamed
* user, mask and other permissions.
* @property {boolean} [stickyBit] the indicator of whether the sticky bit is
* on or off.
*/
constructor() {
}
/**
* Defines the metadata of AclStatus
*
* @returns {object} metadata of AclStatus
*
*/
mapper() {
return {
required: false,
serializedName: 'AclStatus',
type: {
name: 'Composite',
className: 'AclStatus',
modelProperties: {
entries: {
required: false,
serializedName: 'entries',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
group: {
required: false,
serializedName: 'group',
type: {
name: 'String'
}
},
owner: {
required: false,
serializedName: 'owner',
type: {
name: 'String'
}
},
permission: {
required: false,
serializedName: 'permission',
type: {
name: 'String'
}
},
stickyBit: {
required: false,
readOnly: true,
serializedName: 'stickyBit',
type: {
name: 'Boolean'
}
}
}
}
};
}
}
module.exports = AclStatus;