microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
86466695ed3443c9a6a1facdfd9bce89c668afbf

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

172lines · 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
9const models = require('./index');
10
11/**
12 * Class representing a AppResponse.
13 * @extends models['BasicAppResponse']
14 */
15class AppResponse extends models['BasicAppResponse'] {
16 /**
17 * Create a AppResponse.
18 * @member {string} [appSecret] A unique and secret key used to identify the
19 * app in communication with the ingestion endpoint for crash reporting and
20 * analytics
21 * @member {object} [azureSubscription]
22 * @member {string} [azureSubscription.subscriptionId] The azure subscription
23 * id
24 * @member {string} [azureSubscription.tenantId] The tenant id of the azure
25 * subscription belongs to
26 * @member {string} [azureSubscription.subscriptionName] The name of the
27 * azure subscription
28 * @member {boolean} [azureSubscription.isBilling] If the subscription is
29 * used for billing
30 * @member {boolean} [azureSubscription.isBillable] If the subscription can
31 * be used for billing
32 * @member {string} [platform] The platform of the app. Possible values
33 * include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova', 'React-Native',
34 * 'Unity', 'Xamarin', 'Unknown'
35 * @member {string} [origin] The creation origin of this app. Possible values
36 * include: 'mobile-center', 'hockeyapp', 'codepush'
37 * @member {string} [createdAt] The created date of this app
38 * @member {string} [updatedAt] The last updated date of this app
39 * @member {array} [memberPermissions] The permissions of the calling user
40 */
41 constructor() {
42 super();
43 }
44
45 /**
46 * Defines the metadata of AppResponse
47 *
48 * @returns {object} metadata of AppResponse
49 *
50 */
51 mapper() {
52 return {
53 required: false,
54 serializedName: 'AppResponse',
55 type: {
56 name: 'Composite',
57 className: 'AppResponse',
58 modelProperties: {
59 id: {
60 required: true,
61 serializedName: 'id',
62 type: {
63 name: 'String'
64 }
65 },
66 description: {
67 required: false,
68 serializedName: 'description',
69 type: {
70 name: 'String'
71 }
72 },
73 displayName: {
74 required: true,
75 serializedName: 'display_name',
76 type: {
77 name: 'String'
78 }
79 },
80 iconUrl: {
81 required: false,
82 serializedName: 'icon_url',
83 type: {
84 name: 'String'
85 }
86 },
87 name: {
88 required: true,
89 serializedName: 'name',
90 type: {
91 name: 'String'
92 }
93 },
94 os: {
95 required: true,
96 serializedName: 'os',
97 type: {
98 name: 'String'
99 }
100 },
101 owner: {
102 required: true,
103 serializedName: 'owner',
104 type: {
105 name: 'Composite',
106 className: 'Owner'
107 }
108 },
109 appSecret: {
110 required: false,
111 serializedName: 'app_secret',
112 type: {
113 name: 'String'
114 }
115 },
116 azureSubscription: {
117 required: false,
118 serializedName: 'azure_subscription',
119 type: {
120 name: 'Composite',
121 className: 'AzureSubscriptionResponse'
122 }
123 },
124 platform: {
125 required: false,
126 serializedName: 'platform',
127 type: {
128 name: 'String'
129 }
130 },
131 origin: {
132 required: false,
133 serializedName: 'origin',
134 type: {
135 name: 'String'
136 }
137 },
138 createdAt: {
139 required: false,
140 serializedName: 'created_at',
141 type: {
142 name: 'String'
143 }
144 },
145 updatedAt: {
146 required: false,
147 serializedName: 'updated_at',
148 type: {
149 name: 'String'
150 }
151 },
152 memberPermissions: {
153 required: false,
154 serializedName: 'member_permissions',
155 type: {
156 name: 'Sequence',
157 element: {
158 required: false,
159 serializedName: 'StringElementType',
160 type: {
161 name: 'String'
162 }
163 }
164 }
165 }
166 }
167 }
168 };
169 }
170}
171
172module.exports = AppResponse;
173