/* */ function UsersCommand(data) { Object.defineProperties(this, { /* The Perforce username. */ "user": { value: data ? data.user : undefined, enumerable: true, writable: true }, /* Type of user: standard, operator, or service. Once you set the type, you cannot change it. */ "type": { value: data ? data.type : undefined, enumerable: true, writable: true }, /* The user’s email address. By default, this is user@client. */ "email": { value: data ? data.email : undefined, enumerable: true, writable: true }, /* The date and time this specification was last updated. */ "update": { enumerable: true, get: function() { if (data && data.update) { var strVal = data.update; return Date.parse(strVal); } } }, /* The date and time this user last ran a Perforce command. */ "access": { enumerable: true, get: function() { if (data && data.access) { var strVal = data.access; return Date.parse(strVal); } } }, /* The user's full name. */ "fullName": { value: data ? data.fullName : undefined, enumerable: true, writable: true }, /* If 'enabled', the password has been set on the user. */ "hasPassword": { value: data ? data.hasPassword : undefined, enumerable: true, writable: true } }); } module.exports = UsersCommand;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19553 | swellard | Move and rename clients | ||
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/javascript/lib/models/users_command.js | |||||
#2 | 19169 | tjuricek | JavaScript Client SDK jobs CRUD test, with supprt for "additionalProperties" in the swagger definition. | ||
#1 | 19053 | tjuricek |
Rebuild JavaScript Client SDK. The JavaScript client now is a "typed" approach that tends to be similar in approach to the other clients, based on the swagger definition for the platform version. Importantly, client SDK tests are individual scripts (that run under node) that are actually controlled via TestNG. This approach now lets us use a consistent test reporting format so we can at least collect reports from each of the jobs. The documentation is still in progress, that I want to validate as the tests are generated. |