appcenter-cli
Version:
Command line tool for Visual Studio App Center
108 lines (103 loc) • 3.83 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.
*/
;
/**
* Class representing a GDPRInvitationDetailResponse.
*/
class GDPRInvitationDetailResponse {
/**
* Create a GDPRInvitationDetailResponse.
* @property {uuid} invitationId The id of the invitation
* @property {object} [organization]
* @property {uuid} [organization.id] The internal unique id (UUID) of the
* organization.
* @property {string} [organization.displayName] The display name of the
* organization
* @property {string} [organization.name] The slug name of the organization
* @property {string} [organization.avatarUrl] The URL to a user-uploaded
* Avatar image
* @property {string} [organization.origin] The creation origin of this
* organization. Possible values include: 'appcenter', 'hockeyapp'
* @property {string} [organization.createdAt] The creation date of this
* organization
* @property {string} [organization.updatedAt] The date the organization was
* last updated at
* @property {object} [app]
* @property {string} [app.appSecret] A unique and secret key used to
* identify the app in communication with the ingestion endpoint for crash
* reporting and analytics
* @property {object} [app.azureSubscription]
* @property {uuid} [app.azureSubscription.subscriptionId] The azure
* subscription id
* @property {uuid} [app.azureSubscription.tenantId] The tenant id of the
* azure subscription belongs to
* @property {string} [app.azureSubscription.subscriptionName] The name of
* the azure subscription
* @property {boolean} [app.azureSubscription.isBilling] If the subscription
* is used for billing
* @property {boolean} [app.azureSubscription.isBillable] If the subscription
* can be used for billing
* @property {boolean} [app.azureSubscription.isMicrosoftInternal] If the
* subscription is internal Microsoft subscription
* @property {string} [app.platform] The platform of the app. Possible values
* include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova', 'React-Native',
* 'Unity', 'Electron', 'Xamarin', 'Unknown'
* @property {string} [app.origin] The creation origin of this app. Possible
* values include: 'appcenter', 'hockeyapp', 'codepush'
* @property {string} [app.createdAt] The created date of this app
* @property {string} [app.updatedAt] The last updated date of this app
* @property {array} [app.memberPermissions] The permissions of the calling
* user
*/
constructor() {
}
/**
* Defines the metadata of GDPRInvitationDetailResponse
*
* @returns {object} metadata of GDPRInvitationDetailResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'GDPRInvitationDetailResponse',
type: {
name: 'Composite',
className: 'GDPRInvitationDetailResponse',
modelProperties: {
invitationId: {
required: true,
serializedName: 'invitation_id',
type: {
name: 'String'
}
},
organization: {
required: false,
serializedName: 'organization',
type: {
name: 'Composite',
className: 'OrganizationResponse'
}
},
app: {
required: false,
serializedName: 'app',
type: {
name: 'Composite',
className: 'AppResponse'
}
}
}
}
};
}
}
module.exports = GDPRInvitationDetailResponse;