@flexprice/sdk 1.0.16 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +281 -200
- package/package.json +29 -41
- package/LICENSE +0 -663
- package/dist/ApiClient.js +0 -653
- package/dist/api/AuthApi.js +0 -100
- package/dist/api/CustomersApi.js +0 -376
- package/dist/api/EntitlementsApi.js +0 -267
- package/dist/api/EnvironmentsApi.js +0 -184
- package/dist/api/EventsApi.js +0 -238
- package/dist/api/FeaturesApi.js +0 -263
- package/dist/api/IntegrationsApi.js +0 -169
- package/dist/api/InvoicesApi.js +0 -419
- package/dist/api/PaymentsApi.js +0 -272
- package/dist/api/PlansApi.js +0 -226
- package/dist/api/PricesApi.js +0 -228
- package/dist/api/SecretsApi.js +0 -137
- package/dist/api/SubscriptionsApi.js +0 -353
- package/dist/api/TasksApi.js +0 -232
- package/dist/api/TenantsApi.js +0 -162
- package/dist/api/UsersApi.js +0 -61
- package/dist/api/WalletsApi.js +0 -392
- package/dist/index.js +0 -1102
- package/dist/model/DtoAddress.js +0 -132
- package/dist/model/DtoAggregatedEntitlement.js +0 -106
- package/dist/model/DtoAggregatedFeature.js +0 -109
- package/dist/model/DtoAuthResponse.js +0 -96
- package/dist/model/DtoBillingPeriodInfo.js +0 -97
- package/dist/model/DtoBulkIngestEventRequest.js +0 -91
- package/dist/model/DtoCreateAPIKeyRequest.js +0 -117
- package/dist/model/DtoCreateAPIKeyResponse.js +0 -86
- package/dist/model/DtoCreateCustomerRequest.js +0 -188
- package/dist/model/DtoCreateEntitlementRequest.js +0 -150
- package/dist/model/DtoCreateEnvironmentRequest.js +0 -96
- package/dist/model/DtoCreateFeatureRequest.js +0 -177
- package/dist/model/DtoCreateIntegrationRequest.js +0 -105
- package/dist/model/DtoCreateInvoiceLineItemRequest.js +0 -206
- package/dist/model/DtoCreateInvoiceRequest.js +0 -289
- package/dist/model/DtoCreateMeterRequest.js +0 -144
- package/dist/model/DtoCreatePaymentRequest.js +0 -172
- package/dist/model/DtoCreatePlanEntitlementRequest.js +0 -150
- package/dist/model/DtoCreatePlanPriceRequest.js +0 -279
- package/dist/model/DtoCreatePlanRequest.js +0 -148
- package/dist/model/DtoCreatePriceRequest.js +0 -279
- package/dist/model/DtoCreatePriceTier.js +0 -102
- package/dist/model/DtoCreateSubscriptionRequest.js +0 -223
- package/dist/model/DtoCreateTaskRequest.js +0 -137
- package/dist/model/DtoCreateTenantRequest.js +0 -96
- package/dist/model/DtoCreateWalletRequest.js +0 -205
- package/dist/model/DtoCustomerEntitlementsResponse.js +0 -93
- package/dist/model/DtoCustomerInvoiceSummary.js +0 -148
- package/dist/model/DtoCustomerMultiCurrencyInvoiceSummary.js +0 -105
- package/dist/model/DtoCustomerResponse.js +0 -283
- package/dist/model/DtoCustomerUsageSummaryResponse.js +0 -121
- package/dist/model/DtoEntitlementResponse.js +0 -259
- package/dist/model/DtoEntitlementSource.js +0 -144
- package/dist/model/DtoEnvironmentResponse.js +0 -120
- package/dist/model/DtoEvent.js +0 -154
- package/dist/model/DtoFeatureResponse.js +0 -258
- package/dist/model/DtoFeatureUsageSummary.js +0 -135
- package/dist/model/DtoGetEventsRequest.js +0 -193
- package/dist/model/DtoGetEventsResponse.js +0 -129
- package/dist/model/DtoGetPreviewInvoiceRequest.js +0 -106
- package/dist/model/DtoGetUsageAnalyticsRequest.js +0 -156
- package/dist/model/DtoGetUsageAnalyticsResponse.js +0 -101
- package/dist/model/DtoGetUsageByMeterRequest.js +0 -149
- package/dist/model/DtoGetUsageBySubscriptionRequest.js +0 -114
- package/dist/model/DtoGetUsageBySubscriptionResponse.js +0 -137
- package/dist/model/DtoGetUsageRequest.js +0 -173
- package/dist/model/DtoGetUsageResponse.js +0 -110
- package/dist/model/DtoIngestEventRequest.js +0 -156
- package/dist/model/DtoInvoiceLineItemResponse.js +0 -326
- package/dist/model/DtoInvoiceResponse.js +0 -450
- package/dist/model/DtoLinkedIntegrationsResponse.js +0 -72
- package/dist/model/DtoListCustomersResponse.js +0 -95
- package/dist/model/DtoListEntitlementsResponse.js +0 -95
- package/dist/model/DtoListEnvironmentsResponse.js +0 -105
- package/dist/model/DtoListFeaturesResponse.js +0 -95
- package/dist/model/DtoListInvoicesResponse.js +0 -95
- package/dist/model/DtoListPaymentsResponse.js +0 -95
- package/dist/model/DtoListPlansResponse.js +0 -95
- package/dist/model/DtoListPricesResponse.js +0 -95
- package/dist/model/DtoListSecretsResponse.js +0 -95
- package/dist/model/DtoListSubscriptionPausesResponse.js +0 -89
- package/dist/model/DtoListSubscriptionsResponse.js +0 -95
- package/dist/model/DtoListTasksResponse.js +0 -95
- package/dist/model/DtoListWalletTransactionsResponse.js +0 -95
- package/dist/model/DtoLoginRequest.js +0 -108
- package/dist/model/DtoMeterResponse.js +0 -188
- package/dist/model/DtoPauseSubscriptionRequest.js +0 -141
- package/dist/model/DtoPaymentAttemptResponse.js +0 -174
- package/dist/model/DtoPaymentResponse.js +0 -314
- package/dist/model/DtoPlanResponse.js +0 -231
- package/dist/model/DtoPriceResponse.js +0 -373
- package/dist/model/DtoResumeSubscriptionRequest.js +0 -97
- package/dist/model/DtoSecretResponse.js +0 -183
- package/dist/model/DtoSignUpRequest.js +0 -118
- package/dist/model/DtoSubscriptionPauseResponse.js +0 -283
- package/dist/model/DtoSubscriptionResponse.js +0 -489
- package/dist/model/DtoSubscriptionUsageByMetersResponse.js +0 -148
- package/dist/model/DtoTaskResponse.js +0 -294
- package/dist/model/DtoTenantBillingDetails.js +0 -110
- package/dist/model/DtoTenantBillingUsage.js +0 -95
- package/dist/model/DtoTenantResponse.js +0 -134
- package/dist/model/DtoTopUpWalletRequest.js +0 -148
- package/dist/model/DtoUpdateCustomerRequest.js +0 -178
- package/dist/model/DtoUpdateEntitlementRequest.js +0 -105
- package/dist/model/DtoUpdateEnvironmentRequest.js +0 -84
- package/dist/model/DtoUpdateFeatureRequest.js +0 -139
- package/dist/model/DtoUpdatePaymentRequest.js +0 -82
- package/dist/model/DtoUpdatePaymentStatusRequest.js +0 -87
- package/dist/model/DtoUpdatePlanEntitlementRequest.js +0 -163
- package/dist/model/DtoUpdatePlanPriceRequest.js +0 -292
- package/dist/model/DtoUpdatePlanRequest.js +0 -138
- package/dist/model/DtoUpdatePriceRequest.js +0 -94
- package/dist/model/DtoUpdateTaskStatusRequest.js +0 -79
- package/dist/model/DtoUpdateTenantRequest.js +0 -86
- package/dist/model/DtoUpdateWalletRequest.js +0 -133
- package/dist/model/DtoUsageAnalyticItem.js +0 -190
- package/dist/model/DtoUsageAnalyticPoint.js +0 -88
- package/dist/model/DtoUsageResult.js +0 -80
- package/dist/model/DtoUserResponse.js +0 -98
- package/dist/model/DtoWalletBalanceResponse.js +0 -336
- package/dist/model/DtoWalletResponse.js +0 -235
- package/dist/model/DtoWalletTransactionResponse.js +0 -221
- package/dist/model/ErrorsErrorDetail.js +0 -94
- package/dist/model/ErrorsErrorResponse.js +0 -82
- package/dist/model/GithubComFlexpriceFlexpriceInternalTypesValue.js +0 -112
- package/dist/model/MeterAggregation.js +0 -82
- package/dist/model/MeterFilter.js +0 -86
- package/dist/model/PriceJSONBTransformQuantity.js +0 -82
- package/dist/model/PricePrice.js +0 -359
- package/dist/model/PricePriceTier.js +0 -87
- package/dist/model/PriceTransformQuantity.js +0 -82
- package/dist/model/SubscriptionSubscriptionLineItem.js +0 -338
- package/dist/model/SubscriptionSubscriptionPause.js +0 -283
- package/dist/model/TypesAggregationType.js +0 -53
- package/dist/model/TypesAutoTopupTrigger.js +0 -41
- package/dist/model/TypesBillingCadence.js +0 -41
- package/dist/model/TypesBillingCycle.js +0 -41
- package/dist/model/TypesBillingModel.js +0 -47
- package/dist/model/TypesBillingPeriod.js +0 -65
- package/dist/model/TypesBillingTier.js +0 -41
- package/dist/model/TypesCustomerFilter.js +0 -230
- package/dist/model/TypesDataType.js +0 -53
- package/dist/model/TypesEntityType.js +0 -47
- package/dist/model/TypesFeatureFilter.js +0 -243
- package/dist/model/TypesFeatureType.js +0 -47
- package/dist/model/TypesFileType.js +0 -41
- package/dist/model/TypesFilterCondition.js +0 -104
- package/dist/model/TypesFilterOperatorType.js +0 -77
- package/dist/model/TypesInvoiceBillingReason.js +0 -53
- package/dist/model/TypesInvoiceCadence.js +0 -41
- package/dist/model/TypesInvoiceStatus.js +0 -47
- package/dist/model/TypesInvoiceType.js +0 -47
- package/dist/model/TypesPaginationResponse.js +0 -84
- package/dist/model/TypesPauseMode.js +0 -47
- package/dist/model/TypesPauseStatus.js +0 -59
- package/dist/model/TypesPaymentDestinationType.js +0 -35
- package/dist/model/TypesPaymentMethodType.js +0 -53
- package/dist/model/TypesPaymentStatus.js +0 -65
- package/dist/model/TypesPriceType.js +0 -41
- package/dist/model/TypesResetUsage.js +0 -41
- package/dist/model/TypesResumeMode.js +0 -47
- package/dist/model/TypesSecretProvider.js +0 -47
- package/dist/model/TypesSecretType.js +0 -47
- package/dist/model/TypesSortCondition.js +0 -81
- package/dist/model/TypesSortDirection.js +0 -41
- package/dist/model/TypesStatus.js +0 -47
- package/dist/model/TypesSubscriptionStatus.js +0 -77
- package/dist/model/TypesTaskStatus.js +0 -53
- package/dist/model/TypesTaskType.js +0 -41
- package/dist/model/TypesTransactionReason.js +0 -77
- package/dist/model/TypesTransactionStatus.js +0 -47
- package/dist/model/TypesTransactionType.js +0 -41
- package/dist/model/TypesWalletConfig.js +0 -74
- package/dist/model/TypesWalletConfigPriceType.js +0 -47
- package/dist/model/TypesWalletStatus.js +0 -47
- package/dist/model/TypesWalletTxReferenceType.js +0 -47
- package/dist/model/TypesWalletType.js +0 -41
- package/dist/model/TypesWindowSize.js +0 -47
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import TypesSecretType from './TypesSecretType';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The DtoCreateAPIKeyRequest model module.
|
|
19
|
-
* @module model/DtoCreateAPIKeyRequest
|
|
20
|
-
* @version 1.0
|
|
21
|
-
*/
|
|
22
|
-
class DtoCreateAPIKeyRequest {
|
|
23
|
-
/**
|
|
24
|
-
* Constructs a new <code>DtoCreateAPIKeyRequest</code>.
|
|
25
|
-
* @alias module:model/DtoCreateAPIKeyRequest
|
|
26
|
-
* @param name {String}
|
|
27
|
-
* @param type {module:model/TypesSecretType}
|
|
28
|
-
*/
|
|
29
|
-
constructor(name, type) {
|
|
30
|
-
DtoCreateAPIKeyRequest.initialize(this, name, type);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Initializes the fields of this object.
|
|
35
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
36
|
-
* Only for internal use.
|
|
37
|
-
*/
|
|
38
|
-
static initialize(obj, name, type) {
|
|
39
|
-
obj['name'] = name;
|
|
40
|
-
obj['type'] = type;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Constructs a <code>DtoCreateAPIKeyRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
45
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
46
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
47
|
-
* @param {module:model/DtoCreateAPIKeyRequest} obj Optional instance to populate.
|
|
48
|
-
* @return {module:model/DtoCreateAPIKeyRequest} The populated <code>DtoCreateAPIKeyRequest</code> instance.
|
|
49
|
-
*/
|
|
50
|
-
static constructFromObject(data, obj) {
|
|
51
|
-
if (data) {
|
|
52
|
-
obj = obj || new DtoCreateAPIKeyRequest();
|
|
53
|
-
if (data.hasOwnProperty('expires_at')) {
|
|
54
|
-
obj['expires_at'] = ApiClient.convertToType(data['expires_at'], 'String');
|
|
55
|
-
}
|
|
56
|
-
if (data.hasOwnProperty('name')) {
|
|
57
|
-
obj['name'] = ApiClient.convertToType(data['name'], 'String');
|
|
58
|
-
}
|
|
59
|
-
if (data.hasOwnProperty('permissions')) {
|
|
60
|
-
obj['permissions'] = ApiClient.convertToType(data['permissions'], ['String']);
|
|
61
|
-
}
|
|
62
|
-
if (data.hasOwnProperty('type')) {
|
|
63
|
-
obj['type'] = TypesSecretType.constructFromObject(data['type']);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return obj;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Validates the JSON data with respect to <code>DtoCreateAPIKeyRequest</code>.
|
|
71
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoCreateAPIKeyRequest</code>.
|
|
73
|
-
*/
|
|
74
|
-
static validateJSON(data) {
|
|
75
|
-
// check to make sure all required properties are present in the JSON string
|
|
76
|
-
for (const property of DtoCreateAPIKeyRequest.RequiredProperties) {
|
|
77
|
-
if (!data.hasOwnProperty(property)) {
|
|
78
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
// ensure the json data is a string
|
|
82
|
-
if (data['expires_at'] && !(typeof data['expires_at'] === 'string' || data['expires_at'] instanceof String)) {
|
|
83
|
-
throw new Error("Expected the field `expires_at` to be a primitive type in the JSON string but got " + data['expires_at']);
|
|
84
|
-
}
|
|
85
|
-
// ensure the json data is a string
|
|
86
|
-
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
87
|
-
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
88
|
-
}
|
|
89
|
-
// ensure the json data is an array
|
|
90
|
-
if (!Array.isArray(data['permissions'])) {
|
|
91
|
-
throw new Error("Expected the field `permissions` to be an array in the JSON data but got " + data['permissions']);
|
|
92
|
-
}
|
|
93
|
-
return true;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
DtoCreateAPIKeyRequest.RequiredProperties = ["name", "type"];
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @member {String} expires_at
|
|
100
|
-
*/
|
|
101
|
-
DtoCreateAPIKeyRequest.prototype['expires_at'] = undefined;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @member {String} name
|
|
105
|
-
*/
|
|
106
|
-
DtoCreateAPIKeyRequest.prototype['name'] = undefined;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @member {Array.<String>} permissions
|
|
110
|
-
*/
|
|
111
|
-
DtoCreateAPIKeyRequest.prototype['permissions'] = undefined;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @member {module:model/TypesSecretType} type
|
|
115
|
-
*/
|
|
116
|
-
DtoCreateAPIKeyRequest.prototype['type'] = undefined;
|
|
117
|
-
export default DtoCreateAPIKeyRequest;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import DtoSecretResponse from './DtoSecretResponse';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The DtoCreateAPIKeyResponse model module.
|
|
19
|
-
* @module model/DtoCreateAPIKeyResponse
|
|
20
|
-
* @version 1.0
|
|
21
|
-
*/
|
|
22
|
-
class DtoCreateAPIKeyResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Constructs a new <code>DtoCreateAPIKeyResponse</code>.
|
|
25
|
-
* @alias module:model/DtoCreateAPIKeyResponse
|
|
26
|
-
*/
|
|
27
|
-
constructor() {
|
|
28
|
-
DtoCreateAPIKeyResponse.initialize(this);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Initializes the fields of this object.
|
|
33
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
34
|
-
* Only for internal use.
|
|
35
|
-
*/
|
|
36
|
-
static initialize(obj) {}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Constructs a <code>DtoCreateAPIKeyResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
40
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
41
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
42
|
-
* @param {module:model/DtoCreateAPIKeyResponse} obj Optional instance to populate.
|
|
43
|
-
* @return {module:model/DtoCreateAPIKeyResponse} The populated <code>DtoCreateAPIKeyResponse</code> instance.
|
|
44
|
-
*/
|
|
45
|
-
static constructFromObject(data, obj) {
|
|
46
|
-
if (data) {
|
|
47
|
-
obj = obj || new DtoCreateAPIKeyResponse();
|
|
48
|
-
if (data.hasOwnProperty('api_key')) {
|
|
49
|
-
obj['api_key'] = ApiClient.convertToType(data['api_key'], 'String');
|
|
50
|
-
}
|
|
51
|
-
if (data.hasOwnProperty('secret')) {
|
|
52
|
-
obj['secret'] = DtoSecretResponse.constructFromObject(data['secret']);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return obj;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Validates the JSON data with respect to <code>DtoCreateAPIKeyResponse</code>.
|
|
60
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
61
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoCreateAPIKeyResponse</code>.
|
|
62
|
-
*/
|
|
63
|
-
static validateJSON(data) {
|
|
64
|
-
// ensure the json data is a string
|
|
65
|
-
if (data['api_key'] && !(typeof data['api_key'] === 'string' || data['api_key'] instanceof String)) {
|
|
66
|
-
throw new Error("Expected the field `api_key` to be a primitive type in the JSON string but got " + data['api_key']);
|
|
67
|
-
}
|
|
68
|
-
// validate the optional field `secret`
|
|
69
|
-
if (data['secret']) {
|
|
70
|
-
// data not null
|
|
71
|
-
DtoSecretResponse.validateJSON(data['secret']);
|
|
72
|
-
}
|
|
73
|
-
return true;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @member {String} api_key
|
|
79
|
-
*/
|
|
80
|
-
DtoCreateAPIKeyResponse.prototype['api_key'] = undefined;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @member {module:model/DtoSecretResponse} secret
|
|
84
|
-
*/
|
|
85
|
-
DtoCreateAPIKeyResponse.prototype['secret'] = undefined;
|
|
86
|
-
export default DtoCreateAPIKeyResponse;
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The DtoCreateCustomerRequest model module.
|
|
18
|
-
* @module model/DtoCreateCustomerRequest
|
|
19
|
-
* @version 1.0
|
|
20
|
-
*/
|
|
21
|
-
class DtoCreateCustomerRequest {
|
|
22
|
-
/**
|
|
23
|
-
* Constructs a new <code>DtoCreateCustomerRequest</code>.
|
|
24
|
-
* @alias module:model/DtoCreateCustomerRequest
|
|
25
|
-
* @param externalId {String}
|
|
26
|
-
*/
|
|
27
|
-
constructor(externalId) {
|
|
28
|
-
DtoCreateCustomerRequest.initialize(this, externalId);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Initializes the fields of this object.
|
|
33
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
34
|
-
* Only for internal use.
|
|
35
|
-
*/
|
|
36
|
-
static initialize(obj, externalId) {
|
|
37
|
-
obj['external_id'] = externalId;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Constructs a <code>DtoCreateCustomerRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
42
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
43
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
44
|
-
* @param {module:model/DtoCreateCustomerRequest} obj Optional instance to populate.
|
|
45
|
-
* @return {module:model/DtoCreateCustomerRequest} The populated <code>DtoCreateCustomerRequest</code> instance.
|
|
46
|
-
*/
|
|
47
|
-
static constructFromObject(data, obj) {
|
|
48
|
-
if (data) {
|
|
49
|
-
obj = obj || new DtoCreateCustomerRequest();
|
|
50
|
-
if (data.hasOwnProperty('address_city')) {
|
|
51
|
-
obj['address_city'] = ApiClient.convertToType(data['address_city'], 'String');
|
|
52
|
-
}
|
|
53
|
-
if (data.hasOwnProperty('address_country')) {
|
|
54
|
-
obj['address_country'] = ApiClient.convertToType(data['address_country'], 'String');
|
|
55
|
-
}
|
|
56
|
-
if (data.hasOwnProperty('address_line1')) {
|
|
57
|
-
obj['address_line1'] = ApiClient.convertToType(data['address_line1'], 'String');
|
|
58
|
-
}
|
|
59
|
-
if (data.hasOwnProperty('address_line2')) {
|
|
60
|
-
obj['address_line2'] = ApiClient.convertToType(data['address_line2'], 'String');
|
|
61
|
-
}
|
|
62
|
-
if (data.hasOwnProperty('address_postal_code')) {
|
|
63
|
-
obj['address_postal_code'] = ApiClient.convertToType(data['address_postal_code'], 'String');
|
|
64
|
-
}
|
|
65
|
-
if (data.hasOwnProperty('address_state')) {
|
|
66
|
-
obj['address_state'] = ApiClient.convertToType(data['address_state'], 'String');
|
|
67
|
-
}
|
|
68
|
-
if (data.hasOwnProperty('email')) {
|
|
69
|
-
obj['email'] = ApiClient.convertToType(data['email'], 'String');
|
|
70
|
-
}
|
|
71
|
-
if (data.hasOwnProperty('external_id')) {
|
|
72
|
-
obj['external_id'] = ApiClient.convertToType(data['external_id'], 'String');
|
|
73
|
-
}
|
|
74
|
-
if (data.hasOwnProperty('metadata')) {
|
|
75
|
-
obj['metadata'] = ApiClient.convertToType(data['metadata'], {
|
|
76
|
-
'String': 'String'
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
if (data.hasOwnProperty('name')) {
|
|
80
|
-
obj['name'] = ApiClient.convertToType(data['name'], 'String');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
return obj;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Validates the JSON data with respect to <code>DtoCreateCustomerRequest</code>.
|
|
88
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
89
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoCreateCustomerRequest</code>.
|
|
90
|
-
*/
|
|
91
|
-
static validateJSON(data) {
|
|
92
|
-
// check to make sure all required properties are present in the JSON string
|
|
93
|
-
for (const property of DtoCreateCustomerRequest.RequiredProperties) {
|
|
94
|
-
if (!data.hasOwnProperty(property)) {
|
|
95
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
// ensure the json data is a string
|
|
99
|
-
if (data['address_city'] && !(typeof data['address_city'] === 'string' || data['address_city'] instanceof String)) {
|
|
100
|
-
throw new Error("Expected the field `address_city` to be a primitive type in the JSON string but got " + data['address_city']);
|
|
101
|
-
}
|
|
102
|
-
// ensure the json data is a string
|
|
103
|
-
if (data['address_country'] && !(typeof data['address_country'] === 'string' || data['address_country'] instanceof String)) {
|
|
104
|
-
throw new Error("Expected the field `address_country` to be a primitive type in the JSON string but got " + data['address_country']);
|
|
105
|
-
}
|
|
106
|
-
// ensure the json data is a string
|
|
107
|
-
if (data['address_line1'] && !(typeof data['address_line1'] === 'string' || data['address_line1'] instanceof String)) {
|
|
108
|
-
throw new Error("Expected the field `address_line1` to be a primitive type in the JSON string but got " + data['address_line1']);
|
|
109
|
-
}
|
|
110
|
-
// ensure the json data is a string
|
|
111
|
-
if (data['address_line2'] && !(typeof data['address_line2'] === 'string' || data['address_line2'] instanceof String)) {
|
|
112
|
-
throw new Error("Expected the field `address_line2` to be a primitive type in the JSON string but got " + data['address_line2']);
|
|
113
|
-
}
|
|
114
|
-
// ensure the json data is a string
|
|
115
|
-
if (data['address_postal_code'] && !(typeof data['address_postal_code'] === 'string' || data['address_postal_code'] instanceof String)) {
|
|
116
|
-
throw new Error("Expected the field `address_postal_code` to be a primitive type in the JSON string but got " + data['address_postal_code']);
|
|
117
|
-
}
|
|
118
|
-
// ensure the json data is a string
|
|
119
|
-
if (data['address_state'] && !(typeof data['address_state'] === 'string' || data['address_state'] instanceof String)) {
|
|
120
|
-
throw new Error("Expected the field `address_state` to be a primitive type in the JSON string but got " + data['address_state']);
|
|
121
|
-
}
|
|
122
|
-
// ensure the json data is a string
|
|
123
|
-
if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
|
|
124
|
-
throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
|
|
125
|
-
}
|
|
126
|
-
// ensure the json data is a string
|
|
127
|
-
if (data['external_id'] && !(typeof data['external_id'] === 'string' || data['external_id'] instanceof String)) {
|
|
128
|
-
throw new Error("Expected the field `external_id` to be a primitive type in the JSON string but got " + data['external_id']);
|
|
129
|
-
}
|
|
130
|
-
// ensure the json data is a string
|
|
131
|
-
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
132
|
-
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
133
|
-
}
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
DtoCreateCustomerRequest.RequiredProperties = ["external_id"];
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @member {String} address_city
|
|
141
|
-
*/
|
|
142
|
-
DtoCreateCustomerRequest.prototype['address_city'] = undefined;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @member {String} address_country
|
|
146
|
-
*/
|
|
147
|
-
DtoCreateCustomerRequest.prototype['address_country'] = undefined;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @member {String} address_line1
|
|
151
|
-
*/
|
|
152
|
-
DtoCreateCustomerRequest.prototype['address_line1'] = undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* @member {String} address_line2
|
|
156
|
-
*/
|
|
157
|
-
DtoCreateCustomerRequest.prototype['address_line2'] = undefined;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @member {String} address_postal_code
|
|
161
|
-
*/
|
|
162
|
-
DtoCreateCustomerRequest.prototype['address_postal_code'] = undefined;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* @member {String} address_state
|
|
166
|
-
*/
|
|
167
|
-
DtoCreateCustomerRequest.prototype['address_state'] = undefined;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @member {String} email
|
|
171
|
-
*/
|
|
172
|
-
DtoCreateCustomerRequest.prototype['email'] = undefined;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @member {String} external_id
|
|
176
|
-
*/
|
|
177
|
-
DtoCreateCustomerRequest.prototype['external_id'] = undefined;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @member {Object.<String, String>} metadata
|
|
181
|
-
*/
|
|
182
|
-
DtoCreateCustomerRequest.prototype['metadata'] = undefined;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @member {String} name
|
|
186
|
-
*/
|
|
187
|
-
DtoCreateCustomerRequest.prototype['name'] = undefined;
|
|
188
|
-
export default DtoCreateCustomerRequest;
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import TypesBillingPeriod from './TypesBillingPeriod';
|
|
16
|
-
import TypesFeatureType from './TypesFeatureType';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The DtoCreateEntitlementRequest model module.
|
|
20
|
-
* @module model/DtoCreateEntitlementRequest
|
|
21
|
-
* @version 1.0
|
|
22
|
-
*/
|
|
23
|
-
class DtoCreateEntitlementRequest {
|
|
24
|
-
/**
|
|
25
|
-
* Constructs a new <code>DtoCreateEntitlementRequest</code>.
|
|
26
|
-
* @alias module:model/DtoCreateEntitlementRequest
|
|
27
|
-
* @param featureId {String}
|
|
28
|
-
* @param featureType {module:model/TypesFeatureType}
|
|
29
|
-
*/
|
|
30
|
-
constructor(featureId, featureType) {
|
|
31
|
-
DtoCreateEntitlementRequest.initialize(this, featureId, featureType);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Initializes the fields of this object.
|
|
36
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
37
|
-
* Only for internal use.
|
|
38
|
-
*/
|
|
39
|
-
static initialize(obj, featureId, featureType) {
|
|
40
|
-
obj['feature_id'] = featureId;
|
|
41
|
-
obj['feature_type'] = featureType;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Constructs a <code>DtoCreateEntitlementRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
46
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
47
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
48
|
-
* @param {module:model/DtoCreateEntitlementRequest} obj Optional instance to populate.
|
|
49
|
-
* @return {module:model/DtoCreateEntitlementRequest} The populated <code>DtoCreateEntitlementRequest</code> instance.
|
|
50
|
-
*/
|
|
51
|
-
static constructFromObject(data, obj) {
|
|
52
|
-
if (data) {
|
|
53
|
-
obj = obj || new DtoCreateEntitlementRequest();
|
|
54
|
-
if (data.hasOwnProperty('feature_id')) {
|
|
55
|
-
obj['feature_id'] = ApiClient.convertToType(data['feature_id'], 'String');
|
|
56
|
-
}
|
|
57
|
-
if (data.hasOwnProperty('feature_type')) {
|
|
58
|
-
obj['feature_type'] = TypesFeatureType.constructFromObject(data['feature_type']);
|
|
59
|
-
}
|
|
60
|
-
if (data.hasOwnProperty('is_enabled')) {
|
|
61
|
-
obj['is_enabled'] = ApiClient.convertToType(data['is_enabled'], 'Boolean');
|
|
62
|
-
}
|
|
63
|
-
if (data.hasOwnProperty('is_soft_limit')) {
|
|
64
|
-
obj['is_soft_limit'] = ApiClient.convertToType(data['is_soft_limit'], 'Boolean');
|
|
65
|
-
}
|
|
66
|
-
if (data.hasOwnProperty('plan_id')) {
|
|
67
|
-
obj['plan_id'] = ApiClient.convertToType(data['plan_id'], 'String');
|
|
68
|
-
}
|
|
69
|
-
if (data.hasOwnProperty('static_value')) {
|
|
70
|
-
obj['static_value'] = ApiClient.convertToType(data['static_value'], 'String');
|
|
71
|
-
}
|
|
72
|
-
if (data.hasOwnProperty('usage_limit')) {
|
|
73
|
-
obj['usage_limit'] = ApiClient.convertToType(data['usage_limit'], 'Number');
|
|
74
|
-
}
|
|
75
|
-
if (data.hasOwnProperty('usage_reset_period')) {
|
|
76
|
-
obj['usage_reset_period'] = TypesBillingPeriod.constructFromObject(data['usage_reset_period']);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return obj;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Validates the JSON data with respect to <code>DtoCreateEntitlementRequest</code>.
|
|
84
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
85
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoCreateEntitlementRequest</code>.
|
|
86
|
-
*/
|
|
87
|
-
static validateJSON(data) {
|
|
88
|
-
// check to make sure all required properties are present in the JSON string
|
|
89
|
-
for (const property of DtoCreateEntitlementRequest.RequiredProperties) {
|
|
90
|
-
if (!data.hasOwnProperty(property)) {
|
|
91
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
// ensure the json data is a string
|
|
95
|
-
if (data['feature_id'] && !(typeof data['feature_id'] === 'string' || data['feature_id'] instanceof String)) {
|
|
96
|
-
throw new Error("Expected the field `feature_id` to be a primitive type in the JSON string but got " + data['feature_id']);
|
|
97
|
-
}
|
|
98
|
-
// ensure the json data is a string
|
|
99
|
-
if (data['plan_id'] && !(typeof data['plan_id'] === 'string' || data['plan_id'] instanceof String)) {
|
|
100
|
-
throw new Error("Expected the field `plan_id` to be a primitive type in the JSON string but got " + data['plan_id']);
|
|
101
|
-
}
|
|
102
|
-
// ensure the json data is a string
|
|
103
|
-
if (data['static_value'] && !(typeof data['static_value'] === 'string' || data['static_value'] instanceof String)) {
|
|
104
|
-
throw new Error("Expected the field `static_value` to be a primitive type in the JSON string but got " + data['static_value']);
|
|
105
|
-
}
|
|
106
|
-
return true;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
DtoCreateEntitlementRequest.RequiredProperties = ["feature_id", "feature_type"];
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @member {String} feature_id
|
|
113
|
-
*/
|
|
114
|
-
DtoCreateEntitlementRequest.prototype['feature_id'] = undefined;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @member {module:model/TypesFeatureType} feature_type
|
|
118
|
-
*/
|
|
119
|
-
DtoCreateEntitlementRequest.prototype['feature_type'] = undefined;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @member {Boolean} is_enabled
|
|
123
|
-
*/
|
|
124
|
-
DtoCreateEntitlementRequest.prototype['is_enabled'] = undefined;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @member {Boolean} is_soft_limit
|
|
128
|
-
*/
|
|
129
|
-
DtoCreateEntitlementRequest.prototype['is_soft_limit'] = undefined;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @member {String} plan_id
|
|
133
|
-
*/
|
|
134
|
-
DtoCreateEntitlementRequest.prototype['plan_id'] = undefined;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* @member {String} static_value
|
|
138
|
-
*/
|
|
139
|
-
DtoCreateEntitlementRequest.prototype['static_value'] = undefined;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @member {Number} usage_limit
|
|
143
|
-
*/
|
|
144
|
-
DtoCreateEntitlementRequest.prototype['usage_limit'] = undefined;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @member {module:model/TypesBillingPeriod} usage_reset_period
|
|
148
|
-
*/
|
|
149
|
-
DtoCreateEntitlementRequest.prototype['usage_reset_period'] = undefined;
|
|
150
|
-
export default DtoCreateEntitlementRequest;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The DtoCreateEnvironmentRequest model module.
|
|
18
|
-
* @module model/DtoCreateEnvironmentRequest
|
|
19
|
-
* @version 1.0
|
|
20
|
-
*/
|
|
21
|
-
class DtoCreateEnvironmentRequest {
|
|
22
|
-
/**
|
|
23
|
-
* Constructs a new <code>DtoCreateEnvironmentRequest</code>.
|
|
24
|
-
* @alias module:model/DtoCreateEnvironmentRequest
|
|
25
|
-
* @param name {String}
|
|
26
|
-
* @param type {String}
|
|
27
|
-
*/
|
|
28
|
-
constructor(name, type) {
|
|
29
|
-
DtoCreateEnvironmentRequest.initialize(this, name, type);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Initializes the fields of this object.
|
|
34
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
35
|
-
* Only for internal use.
|
|
36
|
-
*/
|
|
37
|
-
static initialize(obj, name, type) {
|
|
38
|
-
obj['name'] = name;
|
|
39
|
-
obj['type'] = type;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Constructs a <code>DtoCreateEnvironmentRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
44
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
45
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
46
|
-
* @param {module:model/DtoCreateEnvironmentRequest} obj Optional instance to populate.
|
|
47
|
-
* @return {module:model/DtoCreateEnvironmentRequest} The populated <code>DtoCreateEnvironmentRequest</code> instance.
|
|
48
|
-
*/
|
|
49
|
-
static constructFromObject(data, obj) {
|
|
50
|
-
if (data) {
|
|
51
|
-
obj = obj || new DtoCreateEnvironmentRequest();
|
|
52
|
-
if (data.hasOwnProperty('name')) {
|
|
53
|
-
obj['name'] = ApiClient.convertToType(data['name'], 'String');
|
|
54
|
-
}
|
|
55
|
-
if (data.hasOwnProperty('type')) {
|
|
56
|
-
obj['type'] = ApiClient.convertToType(data['type'], 'String');
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return obj;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Validates the JSON data with respect to <code>DtoCreateEnvironmentRequest</code>.
|
|
64
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoCreateEnvironmentRequest</code>.
|
|
66
|
-
*/
|
|
67
|
-
static validateJSON(data) {
|
|
68
|
-
// check to make sure all required properties are present in the JSON string
|
|
69
|
-
for (const property of DtoCreateEnvironmentRequest.RequiredProperties) {
|
|
70
|
-
if (!data.hasOwnProperty(property)) {
|
|
71
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
// ensure the json data is a string
|
|
75
|
-
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
76
|
-
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
77
|
-
}
|
|
78
|
-
// ensure the json data is a string
|
|
79
|
-
if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
|
|
80
|
-
throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
|
|
81
|
-
}
|
|
82
|
-
return true;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
DtoCreateEnvironmentRequest.RequiredProperties = ["name", "type"];
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @member {String} name
|
|
89
|
-
*/
|
|
90
|
-
DtoCreateEnvironmentRequest.prototype['name'] = undefined;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @member {String} type
|
|
94
|
-
*/
|
|
95
|
-
DtoCreateEnvironmentRequest.prototype['type'] = undefined;
|
|
96
|
-
export default DtoCreateEnvironmentRequest;
|