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 · modeblame

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