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/appInvitationDetailResponse.js

144lines · 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 AppInvitationDetailResponse.
13 */
14class AppInvitationDetailResponse {
15 /**
16 * Create a AppInvitationDetailResponse.
17 * @member {string} id The unique ID (UUID) of the invitation
18 * @member {object} app
19 * @member {string} [app.appSecret] A unique and secret key used to identify
20 * the app in communication with the ingestion endpoint for crash reporting
21 * and analytics
22 * @member {object} [app.azureSubscription]
23 * @member {string} [app.azureSubscription.subscriptionId] The azure
24 * subscription id
25 * @member {string} [app.azureSubscription.tenantId] The tenant id of the
26 * azure subscription belongs to
27 * @member {string} [app.azureSubscription.subscriptionName] The name of the
28 * azure subscription
29 * @member {boolean} [app.azureSubscription.isBilling] If the subscription is
30 * used for billing
31 * @member {boolean} [app.azureSubscription.isBillable] If the subscription
32 * can be used for billing
33 * @member {string} [app.platform] The platform of the app. Possible values
34 * include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova', 'React-Native',
35 * 'Unity', 'Xamarin', 'Unknown'
36 * @member {string} [app.origin] The creation origin of this app. Possible
37 * values include: 'mobile-center', 'hockeyapp', 'codepush'
38 * @member {string} [app.createdAt] The created date of this app
39 * @member {string} [app.updatedAt] The last updated date of this app
40 * @member {array} [app.memberPermissions] The permissions of the calling
41 * user
42 * @member {string} email The email address of the invited user
43 * @member {string} inviteType The invitation type. Possible values include:
44 * 'developer', 'tester'
45 * @member {object} invitedBy
46 * @member {string} [invitedBy.id] The unique id (UUID) of the user
47 * @member {string} [invitedBy.avatarUrl] The avatar URL of the user
48 * @member {boolean} [invitedBy.canChangePassword] User is required to send
49 * an old password in order to change the password.
50 * @member {string} [invitedBy.displayName] The full name of the user. Might
51 * for example be first and last name
52 * @member {string} [invitedBy.email] The email address of the user
53 * @member {string} [invitedBy.name] The unique name that is used to identify
54 * the user.
55 * @member {array} [invitedBy.permissions] The permissions the user has for
56 * the app
57 * @member {string} [invitedBy.origin] The creation origin of this user.
58 * Possible values include: 'mobile-center', 'hockeyapp', 'codepush'
59 * @member {boolean} isExistingUser Indicates whether the invited user
60 * already exists
61 * @member {array} [permissions] The permissions the user has for the app
62 */
63 constructor() {
64 }
65
66 /**
67 * Defines the metadata of AppInvitationDetailResponse
68 *
69 * @returns {object} metadata of AppInvitationDetailResponse
70 *
71 */
72 mapper() {
73 return {
74 required: false,
75 serializedName: 'AppInvitationDetailResponse',
76 type: {
77 name: 'Composite',
78 className: 'AppInvitationDetailResponse',
79 modelProperties: {
80 id: {
81 required: true,
82 serializedName: 'id',
83 type: {
84 name: 'String'
85 }
86 },
87 app: {
88 required: true,
89 serializedName: 'app',
90 type: {
91 name: 'Composite',
92 className: 'AppResponse'
93 }
94 },
95 email: {
96 required: true,
97 serializedName: 'email',
98 type: {
99 name: 'String'
100 }
101 },
102 inviteType: {
103 required: true,
104 serializedName: 'invite_type',
105 type: {
106 name: 'String'
107 }
108 },
109 invitedBy: {
110 required: true,
111 serializedName: 'invited_by',
112 type: {
113 name: 'Composite',
114 className: 'UserProfileResponse'
115 }
116 },
117 isExistingUser: {
118 required: true,
119 serializedName: 'is_existing_user',
120 type: {
121 name: 'Boolean'
122 }
123 },
124 permissions: {
125 required: false,
126 serializedName: 'permissions',
127 type: {
128 name: 'Sequence',
129 element: {
130 required: false,
131 serializedName: 'StringElementType',
132 type: {
133 name: 'String'
134 }
135 }
136 }
137 }
138 }
139 }
140 };
141 }
142}
143
144module.exports = AppInvitationDetailResponse;
145