microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
6a465861663d7c6f9433e89c6f6619df320dcef3

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

lib/app-center-node-client/src/account/models/apiTokensCreateResponse.js

87lines · modecode

1/*
2 * Code generated by Microsoft (R) AutoRest Code Generator.
3 * Changes may cause incorrect behavior and will be lost if the code is
4 * regenerated.
5 */
6
7'use strict';
8
9/**
10 * Class representing a ApiTokensCreateResponse.
11 */
12class ApiTokensCreateResponse {
13 /**
14 * Create a ApiTokensCreateResponse.
15 * @member {string} id The unique id (UUID) of the api token
16 * @member {string} apiToken The api token generated will not be accessible
17 * again
18 * @member {string} [description] The description of the token
19 * @member {array} [scope] The scope for this token.
20 * @member {string} createdAt The creation time
21 */
22 constructor() {
23 }
24
25 /**
26 * Defines the metadata of ApiTokensCreateResponse
27 *
28 * @returns {object} metadata of ApiTokensCreateResponse
29 *
30 */
31 mapper() {
32 return {
33 required: false,
34 serializedName: 'ApiTokensCreateResponse',
35 type: {
36 name: 'Composite',
37 className: 'ApiTokensCreateResponse',
38 modelProperties: {
39 id: {
40 required: true,
41 serializedName: 'id',
42 type: {
43 name: 'String'
44 }
45 },
46 apiToken: {
47 required: true,
48 serializedName: 'api_token',
49 type: {
50 name: 'String'
51 }
52 },
53 description: {
54 required: false,
55 serializedName: 'description',
56 type: {
57 name: 'String'
58 }
59 },
60 scope: {
61 required: false,
62 serializedName: 'scope',
63 type: {
64 name: 'Sequence',
65 element: {
66 required: false,
67 serializedName: 'StringElementType',
68 type: {
69 name: 'String'
70 }
71 }
72 }
73 },
74 createdAt: {
75 required: true,
76 serializedName: 'created_at',
77 type: {
78 name: 'String'
79 }
80 }
81 }
82 }
83 };
84 }
85}
86
87module.exports = ApiTokensCreateResponse;
88