microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
9588b66e62774c169bd461ef2aac4bc9535875bb

Branches

Tags

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

Clone

HTTPS

Download ZIP

lib/app-center-node-client/src/codepush/models/codePushReleaseModification.js

82lines · 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 CodePushReleaseModification.
13 * @extends models['CodePushReleaseInfo']
14 */
15class CodePushReleaseModification extends models['CodePushReleaseInfo'] {
16 /**
17 * Create a CodePushReleaseModification.
18 */
19 constructor() {
20 super();
21 }
22
23 /**
24 * Defines the metadata of CodePushReleaseModification
25 *
26 * @returns {object} metadata of CodePushReleaseModification
27 *
28 */
29 mapper() {
30 return {
31 required: false,
32 serializedName: 'CodePushReleaseModification',
33 type: {
34 name: 'Composite',
35 className: 'CodePushReleaseModification',
36 modelProperties: {
37 targetBinaryRange: {
38 required: false,
39 serializedName: 'target_binary_range',
40 type: {
41 name: 'String'
42 }
43 },
44 description: {
45 required: false,
46 serializedName: 'description',
47 type: {
48 name: 'String'
49 }
50 },
51 isDisabled: {
52 required: false,
53 serializedName: 'is_disabled',
54 type: {
55 name: 'Boolean'
56 }
57 },
58 isMandatory: {
59 required: false,
60 serializedName: 'is_mandatory',
61 type: {
62 name: 'Boolean'
63 }
64 },
65 rollout: {
66 required: false,
67 serializedName: 'rollout',
68 constraints: {
69 InclusiveMaximum: 100,
70 InclusiveMinimum: 1
71 },
72 type: {
73 name: 'Number'
74 }
75 }
76 }
77 }
78 };
79 }
80}
81
82module.exports = CodePushReleaseModification;