From 50d1b88ed4fc978df38a7a5dce6ddd3871309adf Mon Sep 17 00:00:00 2001
From: github-actions
CacheSettingResponse
.
* @alias module:model/CacheSettingResponse
* @implements module:model/CacheSetting
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
* @implements module:model/Timestamps
*/
constructor() {
- CacheSetting.initialize(this);ServiceIdAndVersion.initialize(this);Timestamps.initialize(this);
+ CacheSetting.initialize(this);ServiceIdAndVersionString.initialize(this);Timestamps.initialize(this);
CacheSettingResponse.initialize(this);
}
@@ -52,7 +52,7 @@ class CacheSettingResponse {
if (data) {
obj = obj || new CacheSettingResponse();
CacheSetting.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
if (data.hasOwnProperty('action')) {
@@ -65,16 +65,16 @@ class CacheSettingResponse {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('stale_ttl')) {
- obj['stale_ttl'] = ApiClient.convertToType(data['stale_ttl'], 'Number');
+ obj['stale_ttl'] = ApiClient.convertToType(data['stale_ttl'], 'String');
}
if (data.hasOwnProperty('ttl')) {
- obj['ttl'] = ApiClient.convertToType(data['ttl'], 'Number');
+ obj['ttl'] = ApiClient.convertToType(data['ttl'], 'String');
}
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
@@ -112,13 +112,13 @@ CacheSettingResponse.prototype['name'] = undefined;
/**
* Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
- * @member {Number} stale_ttl
+ * @member {String} stale_ttl
*/
CacheSettingResponse.prototype['stale_ttl'] = undefined;
/**
* Maximum time to consider the object fresh in the cache (the cache 'time to live').
- * @member {Number} ttl
+ * @member {String} ttl
*/
CacheSettingResponse.prototype['ttl'] = undefined;
@@ -128,7 +128,7 @@ CacheSettingResponse.prototype['ttl'] = undefined;
CacheSettingResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
CacheSettingResponse.prototype['version'] = undefined;
@@ -169,23 +169,23 @@ CacheSetting.prototype['cache_condition'] = undefined;
CacheSetting.prototype['name'] = undefined;
/**
* Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
- * @member {Number} stale_ttl
+ * @member {String} stale_ttl
*/
CacheSetting.prototype['stale_ttl'] = undefined;
/**
* Maximum time to consider the object fresh in the cache (the cache 'time to live').
- * @member {Number} ttl
+ * @member {String} ttl
*/
CacheSetting.prototype['ttl'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
diff --git a/src/model/ClientKey.js b/src/model/ClientKey.js
index 678217f1e..fc154d0d0 100644
--- a/src/model/ClientKey.js
+++ b/src/model/ClientKey.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ClientKey model module.
* @module model/ClientKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class ClientKey {
/**
diff --git a/src/model/Condition.js b/src/model/Condition.js
index f12422ec9..608e6ddc0 100644
--- a/src/model/Condition.js
+++ b/src/model/Condition.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Condition model module.
* @module model/Condition
- * @version 5.0.2
+ * @version 6.0.0
*/
class Condition {
/**
diff --git a/src/model/ConditionResponse.js b/src/model/ConditionResponse.js
index 121933d6e..9be8a45f6 100644
--- a/src/model/ConditionResponse.js
+++ b/src/model/ConditionResponse.js
@@ -17,7 +17,7 @@ import Timestamps from './Timestamps';
/**
* The ConditionResponse model module.
* @module model/ConditionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConditionResponse {
/**
diff --git a/src/model/ConfigStore.js b/src/model/ConfigStore.js
index 83819165a..9a62651e4 100644
--- a/src/model/ConfigStore.js
+++ b/src/model/ConfigStore.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ConfigStore model module.
* @module model/ConfigStore
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStore {
/**
diff --git a/src/model/ConfigStoreInfoResponse.js b/src/model/ConfigStoreInfoResponse.js
index 26f31549b..52d917a9b 100644
--- a/src/model/ConfigStoreInfoResponse.js
+++ b/src/model/ConfigStoreInfoResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ConfigStoreInfoResponse model module.
* @module model/ConfigStoreInfoResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreInfoResponse {
/**
diff --git a/src/model/ConfigStoreItem.js b/src/model/ConfigStoreItem.js
index eb1ad71b4..3210ab709 100644
--- a/src/model/ConfigStoreItem.js
+++ b/src/model/ConfigStoreItem.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ConfigStoreItem model module.
* @module model/ConfigStoreItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreItem {
/**
diff --git a/src/model/ConfigStoreItemResponse.js b/src/model/ConfigStoreItemResponse.js
index 2da0aca64..026ece0c2 100644
--- a/src/model/ConfigStoreItemResponse.js
+++ b/src/model/ConfigStoreItemResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The ConfigStoreItemResponse model module.
* @module model/ConfigStoreItemResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreItemResponse {
/**
diff --git a/src/model/ConfigStoreItemResponseAllOf.js b/src/model/ConfigStoreItemResponseAllOf.js
index 169fb4ec7..7dac7945b 100644
--- a/src/model/ConfigStoreItemResponseAllOf.js
+++ b/src/model/ConfigStoreItemResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ConfigStoreItemResponseAllOf model module.
* @module model/ConfigStoreItemResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreItemResponseAllOf {
/**
diff --git a/src/model/ConfigStoreResponse.js b/src/model/ConfigStoreResponse.js
index 8a1cda729..bd1ee1d58 100644
--- a/src/model/ConfigStoreResponse.js
+++ b/src/model/ConfigStoreResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The ConfigStoreResponse model module.
* @module model/ConfigStoreResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreResponse {
/**
diff --git a/src/model/ConfigStoreResponseAllOf.js b/src/model/ConfigStoreResponseAllOf.js
index a56f123ac..d23d613f4 100644
--- a/src/model/ConfigStoreResponseAllOf.js
+++ b/src/model/ConfigStoreResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ConfigStoreResponseAllOf model module.
* @module model/ConfigStoreResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ConfigStoreResponseAllOf {
/**
diff --git a/src/model/Contact.js b/src/model/Contact.js
index b505d5d17..01df290d0 100644
--- a/src/model/Contact.js
+++ b/src/model/Contact.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Contact model module.
* @module model/Contact
- * @version 5.0.2
+ * @version 6.0.0
*/
class Contact {
/**
diff --git a/src/model/ContactResponse.js b/src/model/ContactResponse.js
index 67ab793b1..58a5315c0 100644
--- a/src/model/ContactResponse.js
+++ b/src/model/ContactResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The ContactResponse model module.
* @module model/ContactResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ContactResponse {
/**
diff --git a/src/model/ContactResponseAllOf.js b/src/model/ContactResponseAllOf.js
index 7dcebade5..8600a1c89 100644
--- a/src/model/ContactResponseAllOf.js
+++ b/src/model/ContactResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ContactResponseAllOf model module.
* @module model/ContactResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ContactResponseAllOf {
/**
diff --git a/src/model/Content.js b/src/model/Content.js
index fe6ed2f82..4af542c8b 100644
--- a/src/model/Content.js
+++ b/src/model/Content.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Content model module.
* @module model/Content
- * @version 5.0.2
+ * @version 6.0.0
*/
class Content {
/**
diff --git a/src/model/Customer.js b/src/model/Customer.js
index 95a29e21d..7ae39a42c 100644
--- a/src/model/Customer.js
+++ b/src/model/Customer.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Customer model module.
* @module model/Customer
- * @version 5.0.2
+ * @version 6.0.0
*/
class Customer {
/**
diff --git a/src/model/CustomerResponse.js b/src/model/CustomerResponse.js
index ecebb89c0..8adf606fd 100644
--- a/src/model/CustomerResponse.js
+++ b/src/model/CustomerResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The CustomerResponse model module.
* @module model/CustomerResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class CustomerResponse {
/**
diff --git a/src/model/CustomerResponseAllOf.js b/src/model/CustomerResponseAllOf.js
index daa3bce99..1493a1a17 100644
--- a/src/model/CustomerResponseAllOf.js
+++ b/src/model/CustomerResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The CustomerResponseAllOf model module.
* @module model/CustomerResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class CustomerResponseAllOf {
/**
diff --git a/src/model/Dictionary.js b/src/model/Dictionary.js
index 7ab9baaf9..ed86001f4 100644
--- a/src/model/Dictionary.js
+++ b/src/model/Dictionary.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Dictionary model module.
* @module model/Dictionary
- * @version 5.0.2
+ * @version 6.0.0
*/
class Dictionary {
/**
diff --git a/src/model/DictionaryInfoResponse.js b/src/model/DictionaryInfoResponse.js
index a40af3ce8..ad04d61f6 100644
--- a/src/model/DictionaryInfoResponse.js
+++ b/src/model/DictionaryInfoResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DictionaryInfoResponse model module.
* @module model/DictionaryInfoResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryInfoResponse {
/**
diff --git a/src/model/DictionaryItem.js b/src/model/DictionaryItem.js
index 477c9bfe6..583215f9e 100644
--- a/src/model/DictionaryItem.js
+++ b/src/model/DictionaryItem.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DictionaryItem model module.
* @module model/DictionaryItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryItem {
/**
diff --git a/src/model/DictionaryItemResponse.js b/src/model/DictionaryItemResponse.js
index 898e73cfa..010a1fa28 100644
--- a/src/model/DictionaryItemResponse.js
+++ b/src/model/DictionaryItemResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The DictionaryItemResponse model module.
* @module model/DictionaryItemResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryItemResponse {
/**
diff --git a/src/model/DictionaryItemResponseAllOf.js b/src/model/DictionaryItemResponseAllOf.js
index d8e516e5f..3d57bcb72 100644
--- a/src/model/DictionaryItemResponseAllOf.js
+++ b/src/model/DictionaryItemResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DictionaryItemResponseAllOf model module.
* @module model/DictionaryItemResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryItemResponseAllOf {
/**
diff --git a/src/model/DictionaryResponse.js b/src/model/DictionaryResponse.js
index cd90452ca..006703e17 100644
--- a/src/model/DictionaryResponse.js
+++ b/src/model/DictionaryResponse.js
@@ -19,7 +19,7 @@ import Timestamps from './Timestamps';
/**
* The DictionaryResponse model module.
* @module model/DictionaryResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryResponse {
/**
diff --git a/src/model/DictionaryResponseAllOf.js b/src/model/DictionaryResponseAllOf.js
index 41ace0fcd..69e6f5f10 100644
--- a/src/model/DictionaryResponseAllOf.js
+++ b/src/model/DictionaryResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DictionaryResponseAllOf model module.
* @module model/DictionaryResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class DictionaryResponseAllOf {
/**
diff --git a/src/model/DiffResponse.js b/src/model/DiffResponse.js
index 424209131..f664c7621 100644
--- a/src/model/DiffResponse.js
+++ b/src/model/DiffResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DiffResponse model module.
* @module model/DiffResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DiffResponse {
/**
diff --git a/src/model/Director.js b/src/model/Director.js
index 616dfdb5e..a4ec3d964 100644
--- a/src/model/Director.js
+++ b/src/model/Director.js
@@ -16,7 +16,7 @@ import Backend from './Backend';
/**
* The Director model module.
* @module model/Director
- * @version 5.0.2
+ * @version 6.0.0
*/
class Director {
/**
diff --git a/src/model/DirectorBackend.js b/src/model/DirectorBackend.js
index 3aa52d75f..0dd01f1c4 100644
--- a/src/model/DirectorBackend.js
+++ b/src/model/DirectorBackend.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The DirectorBackend model module.
* @module model/DirectorBackend
- * @version 5.0.2
+ * @version 6.0.0
*/
class DirectorBackend {
/**
diff --git a/src/model/DirectorBackendAllOf.js b/src/model/DirectorBackendAllOf.js
index 26a222095..de5ad41ce 100644
--- a/src/model/DirectorBackendAllOf.js
+++ b/src/model/DirectorBackendAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DirectorBackendAllOf model module.
* @module model/DirectorBackendAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class DirectorBackendAllOf {
/**
diff --git a/src/model/DirectorResponse.js b/src/model/DirectorResponse.js
index ded7764cd..96f3fba3c 100644
--- a/src/model/DirectorResponse.js
+++ b/src/model/DirectorResponse.js
@@ -19,7 +19,7 @@ import Timestamps from './Timestamps';
/**
* The DirectorResponse model module.
* @module model/DirectorResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DirectorResponse {
/**
diff --git a/src/model/Domain.js b/src/model/Domain.js
index 593877314..2fd09f64f 100644
--- a/src/model/Domain.js
+++ b/src/model/Domain.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Domain model module.
* @module model/Domain
- * @version 5.0.2
+ * @version 6.0.0
*/
class Domain {
/**
diff --git a/src/model/DomainCheckItem.js b/src/model/DomainCheckItem.js
deleted file mode 100644
index cee8e9b1c..000000000
--- a/src/model/DomainCheckItem.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import Domain from './Domain';
-
-/**
- * The DomainCheckItem model module.
- * @module model/DomainCheckItem
- * @version 5.0.2
- */
-class DomainCheckItem {
- /**
- * Constructs a new DomainCheckItem
.
- * @alias module:model/DomainCheckItem
- * @implements module:model/Domain
- */
- constructor() {
- Domain.initialize(this);
- DomainCheckItem.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a DomainCheckItem
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/DomainCheckItem} obj Optional instance to populate.
- * @return {module:model/DomainCheckItem} The populated DomainCheckItem
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new DomainCheckItem();
- Domain.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('comment')) {
- obj['comment'] = ApiClient.convertToType(data['comment'], 'String');
- }
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * A freeform descriptive note.
- * @member {String} comment
- */
-DomainCheckItem.prototype['comment'] = undefined;
-
-/**
- * The name of the domain or domains associated with this service.
- * @member {String} name
- */
-DomainCheckItem.prototype['name'] = undefined;
-
-
-// Implement Domain interface:
-/**
- * A freeform descriptive note.
- * @member {String} comment
- */
-Domain.prototype['comment'] = undefined;
-/**
- * The name of the domain or domains associated with this service.
- * @member {String} name
- */
-Domain.prototype['name'] = undefined;
-
-
-
-
-export default DomainCheckItem;
-
diff --git a/src/model/DomainInspector.js b/src/model/DomainInspector.js
index d67326363..4c7e468dc 100644
--- a/src/model/DomainInspector.js
+++ b/src/model/DomainInspector.js
@@ -17,7 +17,7 @@ import SubsequentRequestTimestamp from './SubsequentRequestTimestamp';
/**
* The DomainInspector model module.
* @module model/DomainInspector
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainInspector {
/**
diff --git a/src/model/DomainInspectorEntry.js b/src/model/DomainInspectorEntry.js
index 5c728c04f..44a79e068 100644
--- a/src/model/DomainInspectorEntry.js
+++ b/src/model/DomainInspectorEntry.js
@@ -17,7 +17,7 @@ import Values from './Values';
/**
* The DomainInspectorEntry model module.
* @module model/DomainInspectorEntry
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainInspectorEntry {
/**
diff --git a/src/model/DomainInspectorEntryDimensions.js b/src/model/DomainInspectorEntryDimensions.js
index 6abcb39bf..5a2ac5c48 100644
--- a/src/model/DomainInspectorEntryDimensions.js
+++ b/src/model/DomainInspectorEntryDimensions.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DomainInspectorEntryDimensions model module.
* @module model/DomainInspectorEntryDimensions
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainInspectorEntryDimensions {
/**
diff --git a/src/model/DomainInspectorMeasurements.js b/src/model/DomainInspectorMeasurements.js
index 86edd0717..5906e4f18 100644
--- a/src/model/DomainInspectorMeasurements.js
+++ b/src/model/DomainInspectorMeasurements.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The DomainInspectorMeasurements model module.
* @module model/DomainInspectorMeasurements
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainInspectorMeasurements {
/**
diff --git a/src/model/DomainInspectorRealtimeEntry.js b/src/model/DomainInspectorRealtimeEntry.js
index 3f65a50f4..5b18e365a 100644
--- a/src/model/DomainInspectorRealtimeEntry.js
+++ b/src/model/DomainInspectorRealtimeEntry.js
@@ -17,7 +17,7 @@ import RecordedTimestamp from './RecordedTimestamp';
/**
* The DomainInspectorRealtimeEntry model module.
* @module model/DomainInspectorRealtimeEntry
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainInspectorRealtimeEntry {
/**
diff --git a/src/model/DomainResponse.js b/src/model/DomainResponse.js
index c77ef060d..166d623bd 100644
--- a/src/model/DomainResponse.js
+++ b/src/model/DomainResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The DomainResponse model module.
* @module model/DomainResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class DomainResponse {
/**
diff --git a/src/model/EnabledProductResponse.js b/src/model/EnabledProductResponse.js
index 49a159909..9422e171e 100644
--- a/src/model/EnabledProductResponse.js
+++ b/src/model/EnabledProductResponse.js
@@ -18,7 +18,7 @@ import EnabledProductResponseService from './EnabledProductResponseService';
/**
* The EnabledProductResponse model module.
* @module model/EnabledProductResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class EnabledProductResponse {
/**
diff --git a/src/model/EnabledProductResponseLinks.js b/src/model/EnabledProductResponseLinks.js
index fa0b1619e..3e6a2011f 100644
--- a/src/model/EnabledProductResponseLinks.js
+++ b/src/model/EnabledProductResponseLinks.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The EnabledProductResponseLinks model module.
* @module model/EnabledProductResponseLinks
- * @version 5.0.2
+ * @version 6.0.0
*/
class EnabledProductResponseLinks {
/**
diff --git a/src/model/EnabledProductResponseProduct.js b/src/model/EnabledProductResponseProduct.js
index 6901fb5c3..6feb27c7c 100644
--- a/src/model/EnabledProductResponseProduct.js
+++ b/src/model/EnabledProductResponseProduct.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The EnabledProductResponseProduct model module.
* @module model/EnabledProductResponseProduct
- * @version 5.0.2
+ * @version 6.0.0
*/
class EnabledProductResponseProduct {
/**
diff --git a/src/model/EnabledProductResponseService.js b/src/model/EnabledProductResponseService.js
index 7151d3bd9..a83516a9a 100644
--- a/src/model/EnabledProductResponseService.js
+++ b/src/model/EnabledProductResponseService.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The EnabledProductResponseService model module.
* @module model/EnabledProductResponseService
- * @version 5.0.2
+ * @version 6.0.0
*/
class EnabledProductResponseService {
/**
diff --git a/src/model/ErrorResponse.js b/src/model/ErrorResponse.js
index 2762da921..59b57fb68 100644
--- a/src/model/ErrorResponse.js
+++ b/src/model/ErrorResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ErrorResponse model module.
* @module model/ErrorResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ErrorResponse {
/**
diff --git a/src/model/Event.js b/src/model/Event.js
index 4a33b5a96..54f9594a0 100644
--- a/src/model/Event.js
+++ b/src/model/Event.js
@@ -17,7 +17,7 @@ import TypeEvent from './TypeEvent';
/**
* The Event model module.
* @module model/Event
- * @version 5.0.2
+ * @version 6.0.0
*/
class Event {
/**
diff --git a/src/model/EventAttributes.js b/src/model/EventAttributes.js
index d29435e24..cb8668178 100644
--- a/src/model/EventAttributes.js
+++ b/src/model/EventAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The EventAttributes model module.
* @module model/EventAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class EventAttributes {
/**
diff --git a/src/model/EventData.js b/src/model/EventData.js
index 7aae893c4..1b5258857 100644
--- a/src/model/EventData.js
+++ b/src/model/EventData.js
@@ -16,7 +16,7 @@ import Event from './Event';
/**
* The EventData model module.
* @module model/EventData
- * @version 5.0.2
+ * @version 6.0.0
*/
class EventData {
/**
diff --git a/src/model/EventResponse.js b/src/model/EventResponse.js
index e95ec1afc..0d40df546 100644
--- a/src/model/EventResponse.js
+++ b/src/model/EventResponse.js
@@ -16,7 +16,7 @@ import Event from './Event';
/**
* The EventResponse model module.
* @module model/EventResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class EventResponse {
/**
diff --git a/src/model/EventsResponse.js b/src/model/EventsResponse.js
index 80f892e16..434ba7ce5 100644
--- a/src/model/EventsResponse.js
+++ b/src/model/EventsResponse.js
@@ -20,7 +20,7 @@ import PaginationMeta from './PaginationMeta';
/**
* The EventsResponse model module.
* @module model/EventsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class EventsResponse {
/**
diff --git a/src/model/GenericTokenError.js b/src/model/GenericTokenError.js
index 429f5acee..0f7b71547 100644
--- a/src/model/GenericTokenError.js
+++ b/src/model/GenericTokenError.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The GenericTokenError model module.
* @module model/GenericTokenError
- * @version 5.0.2
+ * @version 6.0.0
*/
class GenericTokenError {
/**
diff --git a/src/model/Gzip.js b/src/model/Gzip.js
index 0cee22f41..1a787f9ae 100644
--- a/src/model/Gzip.js
+++ b/src/model/Gzip.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Gzip model module.
* @module model/Gzip
- * @version 5.0.2
+ * @version 6.0.0
*/
class Gzip {
/**
diff --git a/src/model/GzipResponse.js b/src/model/GzipResponse.js
index 3f9ef9486..e26453e7d 100644
--- a/src/model/GzipResponse.js
+++ b/src/model/GzipResponse.js
@@ -12,24 +12,24 @@
import ApiClient from '../ApiClient';
import Gzip from './Gzip';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The GzipResponse model module.
* @module model/GzipResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class GzipResponse {
/**
* Constructs a new GzipResponse
.
* @alias module:model/GzipResponse
* @implements module:model/Gzip
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
* @implements module:model/Timestamps
*/
constructor() {
- Gzip.initialize(this);ServiceIdAndVersion.initialize(this);Timestamps.initialize(this);
+ Gzip.initialize(this);ServiceIdAndVersionString.initialize(this);Timestamps.initialize(this);
GzipResponse.initialize(this);
}
@@ -52,7 +52,7 @@ class GzipResponse {
if (data) {
obj = obj || new GzipResponse();
Gzip.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
if (data.hasOwnProperty('cache_condition')) {
@@ -71,7 +71,7 @@ class GzipResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
@@ -119,7 +119,7 @@ GzipResponse.prototype['name'] = undefined;
GzipResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
GzipResponse.prototype['version'] = undefined;
@@ -163,15 +163,15 @@ Gzip.prototype['extensions'] = undefined;
* @member {String} name
*/
Gzip.prototype['name'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
diff --git a/src/model/Header.js b/src/model/Header.js
index 827695f2a..8796f2c05 100644
--- a/src/model/Header.js
+++ b/src/model/Header.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Header model module.
* @module model/Header
- * @version 5.0.2
+ * @version 6.0.0
*/
class Header {
/**
@@ -55,15 +55,9 @@ class Header {
if (data.hasOwnProperty('dst')) {
obj['dst'] = ApiClient.convertToType(data['dst'], 'String');
}
- if (data.hasOwnProperty('ignore_if_set')) {
- obj['ignore_if_set'] = ApiClient.convertToType(data['ignore_if_set'], 'Number');
- }
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
- if (data.hasOwnProperty('priority')) {
- obj['priority'] = ApiClient.convertToType(data['priority'], 'Number');
- }
if (data.hasOwnProperty('regex')) {
obj['regex'] = ApiClient.convertToType(data['regex'], 'String');
}
@@ -107,25 +101,12 @@ Header.prototype['cache_condition'] = undefined;
*/
Header.prototype['dst'] = undefined;
-/**
- * Don't add the header if it is added already. Only applies to 'set' action.
- * @member {Number} ignore_if_set
- */
-Header.prototype['ignore_if_set'] = undefined;
-
/**
* A handle to refer to this Header object.
* @member {String} name
*/
Header.prototype['name'] = undefined;
-/**
- * Priority determines execution order. Lower numbers execute first.
- * @member {Number} priority
- * @default 100
- */
-Header.prototype['priority'] = 100;
-
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
diff --git a/src/model/HeaderResponse.js b/src/model/HeaderResponse.js
index 2d42b7c36..c4b26df59 100644
--- a/src/model/HeaderResponse.js
+++ b/src/model/HeaderResponse.js
@@ -12,24 +12,26 @@
import ApiClient from '../ApiClient';
import Header from './Header';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import HeaderResponseAdditional from './HeaderResponseAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The HeaderResponse model module.
* @module model/HeaderResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HeaderResponse {
/**
* Constructs a new HeaderResponse
.
* @alias module:model/HeaderResponse
* @implements module:model/Header
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/HeaderResponseAdditional
+ * @implements module:model/ServiceIdAndVersionString
* @implements module:model/Timestamps
*/
constructor() {
- Header.initialize(this);ServiceIdAndVersion.initialize(this);Timestamps.initialize(this);
+ Header.initialize(this);HeaderResponseAdditional.initialize(this);ServiceIdAndVersionString.initialize(this);Timestamps.initialize(this);
HeaderResponse.initialize(this);
}
@@ -52,7 +54,8 @@ class HeaderResponse {
if (data) {
obj = obj || new HeaderResponse();
Header.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ HeaderResponseAdditional.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
if (data.hasOwnProperty('action')) {
@@ -64,15 +67,9 @@ class HeaderResponse {
if (data.hasOwnProperty('dst')) {
obj['dst'] = ApiClient.convertToType(data['dst'], 'String');
}
- if (data.hasOwnProperty('ignore_if_set')) {
- obj['ignore_if_set'] = ApiClient.convertToType(data['ignore_if_set'], 'Number');
- }
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
- if (data.hasOwnProperty('priority')) {
- obj['priority'] = ApiClient.convertToType(data['priority'], 'Number');
- }
if (data.hasOwnProperty('regex')) {
obj['regex'] = ApiClient.convertToType(data['regex'], 'String');
}
@@ -91,11 +88,17 @@ class HeaderResponse {
if (data.hasOwnProperty('type')) {
obj['type'] = ApiClient.convertToType(data['type'], 'String');
}
+ if (data.hasOwnProperty('ignore_if_set')) {
+ obj['ignore_if_set'] = ApiClient.convertToType(data['ignore_if_set'], 'String');
+ }
+ if (data.hasOwnProperty('priority')) {
+ obj['priority'] = ApiClient.convertToType(data['priority'], 'String');
+ }
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
@@ -131,25 +134,12 @@ HeaderResponse.prototype['cache_condition'] = undefined;
*/
HeaderResponse.prototype['dst'] = undefined;
-/**
- * Don't add the header if it is added already. Only applies to 'set' action.
- * @member {Number} ignore_if_set
- */
-HeaderResponse.prototype['ignore_if_set'] = undefined;
-
/**
* A handle to refer to this Header object.
* @member {String} name
*/
HeaderResponse.prototype['name'] = undefined;
-/**
- * Priority determines execution order. Lower numbers execute first.
- * @member {Number} priority
- * @default 100
- */
-HeaderResponse.prototype['priority'] = 100;
-
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
@@ -186,13 +176,26 @@ HeaderResponse.prototype['substitution'] = undefined;
*/
HeaderResponse.prototype['type'] = undefined;
+/**
+ * Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true)
+ * @member {String} ignore_if_set
+ */
+HeaderResponse.prototype['ignore_if_set'] = undefined;
+
+/**
+ * Priority determines execution order. Lower numbers execute first.
+ * @member {String} priority
+ * @default '100'
+ */
+HeaderResponse.prototype['priority'] = '100';
+
/**
* @member {String} service_id
*/
HeaderResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
HeaderResponse.prototype['version'] = undefined;
@@ -231,22 +234,11 @@ Header.prototype['cache_condition'] = undefined;
* @member {String} dst
*/
Header.prototype['dst'] = undefined;
-/**
- * Don't add the header if it is added already. Only applies to 'set' action.
- * @member {Number} ignore_if_set
- */
-Header.prototype['ignore_if_set'] = undefined;
/**
* A handle to refer to this Header object.
* @member {String} name
*/
Header.prototype['name'] = undefined;
-/**
- * Priority determines execution order. Lower numbers execute first.
- * @member {Number} priority
- * @default 100
- */
-Header.prototype['priority'] = 100;
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
@@ -277,15 +269,27 @@ Header.prototype['substitution'] = undefined;
* @member {module:model/Header.TypeEnum} type
*/
Header.prototype['type'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement HeaderResponseAdditional interface:
+/**
+ * Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true)
+ * @member {String} ignore_if_set
+ */
+HeaderResponseAdditional.prototype['ignore_if_set'] = undefined;
+/**
+ * Priority determines execution order. Lower numbers execute first.
+ * @member {String} priority
+ * @default '100'
+ */
+HeaderResponseAdditional.prototype['priority'] = '100';
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
diff --git a/src/model/TlsSubscriptionResponseDataAllOf.js b/src/model/HeaderResponseAdditional.js
similarity index 50%
rename from src/model/TlsSubscriptionResponseDataAllOf.js
rename to src/model/HeaderResponseAdditional.js
index c53952a1e..2961b9ecb 100644
--- a/src/model/TlsSubscriptionResponseDataAllOf.js
+++ b/src/model/HeaderResponseAdditional.js
@@ -11,21 +11,20 @@
*/
import ApiClient from '../ApiClient';
-import TlsSubscriptionResponseAttributes from './TlsSubscriptionResponseAttributes';
/**
- * The TlsSubscriptionResponseDataAllOf model module.
- * @module model/TlsSubscriptionResponseDataAllOf
- * @version 5.0.2
+ * The HeaderResponseAdditional model module.
+ * @module model/HeaderResponseAdditional
+ * @version 6.0.0
*/
-class TlsSubscriptionResponseDataAllOf {
+class HeaderResponseAdditional {
/**
- * Constructs a new TlsSubscriptionResponseDataAllOf
.
- * @alias module:model/TlsSubscriptionResponseDataAllOf
+ * Constructs a new HeaderResponseAdditional
.
+ * @alias module:model/HeaderResponseAdditional
*/
constructor() {
- TlsSubscriptionResponseDataAllOf.initialize(this);
+ HeaderResponseAdditional.initialize(this);
}
/**
@@ -37,21 +36,21 @@ class TlsSubscriptionResponseDataAllOf {
}
/**
- * Constructs a TlsSubscriptionResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a HeaderResponseAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsSubscriptionResponseDataAllOf} obj Optional instance to populate.
- * @return {module:model/TlsSubscriptionResponseDataAllOf} The populated TlsSubscriptionResponseDataAllOf
instance.
+ * @param {module:model/HeaderResponseAdditional} obj Optional instance to populate.
+ * @return {module:model/HeaderResponseAdditional} The populated HeaderResponseAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsSubscriptionResponseDataAllOf();
+ obj = obj || new HeaderResponseAdditional();
- if (data.hasOwnProperty('id')) {
- obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ if (data.hasOwnProperty('ignore_if_set')) {
+ obj['ignore_if_set'] = ApiClient.convertToType(data['ignore_if_set'], 'String');
}
- if (data.hasOwnProperty('attributes')) {
- obj['attributes'] = TlsSubscriptionResponseAttributes.constructFromObject(data['attributes']);
+ if (data.hasOwnProperty('priority')) {
+ obj['priority'] = ApiClient.convertToType(data['priority'], 'String');
}
}
return obj;
@@ -61,19 +60,22 @@ class TlsSubscriptionResponseDataAllOf {
}
/**
- * @member {String} id
+ * Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true)
+ * @member {String} ignore_if_set
*/
-TlsSubscriptionResponseDataAllOf.prototype['id'] = undefined;
+HeaderResponseAdditional.prototype['ignore_if_set'] = undefined;
/**
- * @member {module:model/TlsSubscriptionResponseAttributes} attributes
+ * Priority determines execution order. Lower numbers execute first.
+ * @member {String} priority
+ * @default '100'
*/
-TlsSubscriptionResponseDataAllOf.prototype['attributes'] = undefined;
+HeaderResponseAdditional.prototype['priority'] = '100';
-export default TlsSubscriptionResponseDataAllOf;
+export default HeaderResponseAdditional;
diff --git a/src/model/Healthcheck.js b/src/model/Healthcheck.js
index f00eff0be..35bcba509 100644
--- a/src/model/Healthcheck.js
+++ b/src/model/Healthcheck.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Healthcheck model module.
* @module model/Healthcheck
- * @version 5.0.2
+ * @version 6.0.0
*/
class Healthcheck {
/**
diff --git a/src/model/HealthcheckResponse.js b/src/model/HealthcheckResponse.js
index 6715449ee..f8f06331c 100644
--- a/src/model/HealthcheckResponse.js
+++ b/src/model/HealthcheckResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The HealthcheckResponse model module.
* @module model/HealthcheckResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HealthcheckResponse {
/**
diff --git a/src/model/Historical.js b/src/model/Historical.js
index 5f97cf918..2eb22c167 100644
--- a/src/model/Historical.js
+++ b/src/model/Historical.js
@@ -16,7 +16,7 @@ import HistoricalMeta from './HistoricalMeta';
/**
* The Historical model module.
* @module model/Historical
- * @version 5.0.2
+ * @version 6.0.0
*/
class Historical {
/**
diff --git a/src/model/HistoricalAggregateResponse.js b/src/model/HistoricalAggregateResponse.js
index 871bc14ae..8a4ebfcf4 100644
--- a/src/model/HistoricalAggregateResponse.js
+++ b/src/model/HistoricalAggregateResponse.js
@@ -19,7 +19,7 @@ import Results from './Results';
/**
* The HistoricalAggregateResponse model module.
* @module model/HistoricalAggregateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalAggregateResponse {
/**
diff --git a/src/model/HistoricalAggregateResponseAllOf.js b/src/model/HistoricalAggregateResponseAllOf.js
index 559cfa376..ec772487e 100644
--- a/src/model/HistoricalAggregateResponseAllOf.js
+++ b/src/model/HistoricalAggregateResponseAllOf.js
@@ -16,7 +16,7 @@ import Results from './Results';
/**
* The HistoricalAggregateResponseAllOf model module.
* @module model/HistoricalAggregateResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalAggregateResponseAllOf {
/**
diff --git a/src/model/HistoricalDomains.js b/src/model/HistoricalDomains.js
index 5664b9e04..2fb31ef2c 100644
--- a/src/model/HistoricalDomains.js
+++ b/src/model/HistoricalDomains.js
@@ -17,7 +17,7 @@ import HistoricalDomainsMeta from './HistoricalDomainsMeta';
/**
* The HistoricalDomains model module.
* @module model/HistoricalDomains
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomains {
/**
diff --git a/src/model/HistoricalDomainsData.js b/src/model/HistoricalDomainsData.js
index a81b19180..473872fc6 100644
--- a/src/model/HistoricalDomainsData.js
+++ b/src/model/HistoricalDomainsData.js
@@ -17,7 +17,7 @@ import Values from './Values';
/**
* The HistoricalDomainsData model module.
* @module model/HistoricalDomainsData
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomainsData {
/**
diff --git a/src/model/HistoricalDomainsMeta.js b/src/model/HistoricalDomainsMeta.js
index e268844ff..59c186104 100644
--- a/src/model/HistoricalDomainsMeta.js
+++ b/src/model/HistoricalDomainsMeta.js
@@ -16,7 +16,7 @@ import HistoricalDomainsMetaFilters from './HistoricalDomainsMetaFilters';
/**
* The HistoricalDomainsMeta model module.
* @module model/HistoricalDomainsMeta
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomainsMeta {
/**
diff --git a/src/model/HistoricalDomainsMetaFilters.js b/src/model/HistoricalDomainsMetaFilters.js
index 812e324e3..568bef35e 100644
--- a/src/model/HistoricalDomainsMetaFilters.js
+++ b/src/model/HistoricalDomainsMetaFilters.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HistoricalDomainsMetaFilters model module.
* @module model/HistoricalDomainsMetaFilters
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomainsMetaFilters {
/**
diff --git a/src/model/HistoricalDomainsResponse.js b/src/model/HistoricalDomainsResponse.js
index 4c33b2c5b..62bafc711 100644
--- a/src/model/HistoricalDomainsResponse.js
+++ b/src/model/HistoricalDomainsResponse.js
@@ -19,7 +19,7 @@ import HistoricalDomainsResponseAllOf from './HistoricalDomainsResponseAllOf';
/**
* The HistoricalDomainsResponse model module.
* @module model/HistoricalDomainsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomainsResponse {
/**
diff --git a/src/model/HistoricalDomainsResponseAllOf.js b/src/model/HistoricalDomainsResponseAllOf.js
index 4fbeb836f..79f6a5fba 100644
--- a/src/model/HistoricalDomainsResponseAllOf.js
+++ b/src/model/HistoricalDomainsResponseAllOf.js
@@ -16,7 +16,7 @@ import DomainInspectorEntry from './DomainInspectorEntry';
/**
* The HistoricalDomainsResponseAllOf model module.
* @module model/HistoricalDomainsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalDomainsResponseAllOf {
/**
diff --git a/src/model/HistoricalFieldAggregateResponse.js b/src/model/HistoricalFieldAggregateResponse.js
index 43e6ad436..95bbb84e3 100644
--- a/src/model/HistoricalFieldAggregateResponse.js
+++ b/src/model/HistoricalFieldAggregateResponse.js
@@ -19,7 +19,7 @@ import HistoricalMeta from './HistoricalMeta';
/**
* The HistoricalFieldAggregateResponse model module.
* @module model/HistoricalFieldAggregateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldAggregateResponse {
/**
diff --git a/src/model/HistoricalFieldAggregateResponseAllOf.js b/src/model/HistoricalFieldAggregateResponseAllOf.js
index 814491497..54778edd9 100644
--- a/src/model/HistoricalFieldAggregateResponseAllOf.js
+++ b/src/model/HistoricalFieldAggregateResponseAllOf.js
@@ -16,7 +16,7 @@ import HistoricalFieldResultsAttributes from './HistoricalFieldResultsAttributes
/**
* The HistoricalFieldAggregateResponseAllOf model module.
* @module model/HistoricalFieldAggregateResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldAggregateResponseAllOf {
/**
diff --git a/src/model/HistoricalFieldResponse.js b/src/model/HistoricalFieldResponse.js
index 467859737..f6385a70d 100644
--- a/src/model/HistoricalFieldResponse.js
+++ b/src/model/HistoricalFieldResponse.js
@@ -19,7 +19,7 @@ import HistoricalMeta from './HistoricalMeta';
/**
* The HistoricalFieldResponse model module.
* @module model/HistoricalFieldResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldResponse {
/**
diff --git a/src/model/HistoricalFieldResponseDataField.js b/src/model/HistoricalFieldResponseDataField.js
index ea6e496b4..e8e736be3 100644
--- a/src/model/HistoricalFieldResponseDataField.js
+++ b/src/model/HistoricalFieldResponseDataField.js
@@ -16,7 +16,7 @@ import HistoricalFieldResultsAttributes from './HistoricalFieldResultsAttributes
/**
* The HistoricalFieldResponseDataField model module.
* @module model/HistoricalFieldResponseDataField
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldResponseDataField {
/**
diff --git a/src/model/HistoricalFieldResultsAttributes.js b/src/model/HistoricalFieldResultsAttributes.js
index ce463308a..d19ddf138 100644
--- a/src/model/HistoricalFieldResultsAttributes.js
+++ b/src/model/HistoricalFieldResultsAttributes.js
@@ -18,7 +18,7 @@ import Results from './Results';
/**
* The HistoricalFieldResultsAttributes model module.
* @module model/HistoricalFieldResultsAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldResultsAttributes {
/**
diff --git a/src/model/HistoricalFieldResultsAttributesAdditional.js b/src/model/HistoricalFieldResultsAttributesAdditional.js
index 427be5666..ec84a8015 100644
--- a/src/model/HistoricalFieldResultsAttributesAdditional.js
+++ b/src/model/HistoricalFieldResultsAttributesAdditional.js
@@ -16,7 +16,7 @@ import ReadOnlyIdService from './ReadOnlyIdService';
/**
* The HistoricalFieldResultsAttributesAdditional model module.
* @module model/HistoricalFieldResultsAttributesAdditional
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalFieldResultsAttributesAdditional {
/**
diff --git a/src/model/HistoricalMeta.js b/src/model/HistoricalMeta.js
index 0f173867a..0b2a79eec 100644
--- a/src/model/HistoricalMeta.js
+++ b/src/model/HistoricalMeta.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HistoricalMeta model module.
* @module model/HistoricalMeta
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalMeta {
/**
diff --git a/src/model/HistoricalOriginsResponse.js b/src/model/HistoricalOriginsResponse.js
index 6dbf06cea..92050a891 100644
--- a/src/model/HistoricalOriginsResponse.js
+++ b/src/model/HistoricalOriginsResponse.js
@@ -19,7 +19,7 @@ import OriginInspectorHistoricalMeta from './OriginInspectorHistoricalMeta';
/**
* The HistoricalOriginsResponse model module.
* @module model/HistoricalOriginsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalOriginsResponse {
/**
diff --git a/src/model/HistoricalOriginsResponseAllOf.js b/src/model/HistoricalOriginsResponseAllOf.js
index 18d0373dd..ec78cc2d1 100644
--- a/src/model/HistoricalOriginsResponseAllOf.js
+++ b/src/model/HistoricalOriginsResponseAllOf.js
@@ -16,7 +16,7 @@ import OriginInspectorEntry from './OriginInspectorEntry';
/**
* The HistoricalOriginsResponseAllOf model module.
* @module model/HistoricalOriginsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalOriginsResponseAllOf {
/**
diff --git a/src/model/HistoricalRegionsResponse.js b/src/model/HistoricalRegionsResponse.js
index 0634b3c59..bf92e7f2e 100644
--- a/src/model/HistoricalRegionsResponse.js
+++ b/src/model/HistoricalRegionsResponse.js
@@ -18,7 +18,7 @@ import HistoricalRegionsResponseAllOf from './HistoricalRegionsResponseAllOf';
/**
* The HistoricalRegionsResponse model module.
* @module model/HistoricalRegionsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalRegionsResponse {
/**
diff --git a/src/model/HistoricalRegionsResponseAllOf.js b/src/model/HistoricalRegionsResponseAllOf.js
index 4937c86e0..b25f52f91 100644
--- a/src/model/HistoricalRegionsResponseAllOf.js
+++ b/src/model/HistoricalRegionsResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HistoricalRegionsResponseAllOf model module.
* @module model/HistoricalRegionsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalRegionsResponseAllOf {
/**
diff --git a/src/model/HistoricalResponse.js b/src/model/HistoricalResponse.js
index 4803b47d8..7673b211f 100644
--- a/src/model/HistoricalResponse.js
+++ b/src/model/HistoricalResponse.js
@@ -19,7 +19,7 @@ import Results from './Results';
/**
* The HistoricalResponse model module.
* @module model/HistoricalResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalResponse {
/**
diff --git a/src/model/HistoricalResponseDataField.js b/src/model/HistoricalResponseDataField.js
index a48fda68f..bcb083e06 100644
--- a/src/model/HistoricalResponseDataField.js
+++ b/src/model/HistoricalResponseDataField.js
@@ -16,7 +16,7 @@ import Results from './Results';
/**
* The HistoricalResponseDataField model module.
* @module model/HistoricalResponseDataField
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalResponseDataField {
/**
diff --git a/src/model/HistoricalService.js b/src/model/HistoricalService.js
index 9a0552071..2279c0028 100644
--- a/src/model/HistoricalService.js
+++ b/src/model/HistoricalService.js
@@ -16,7 +16,7 @@ import HistoricalUsageResults from './HistoricalUsageResults';
/**
* The HistoricalService model module.
* @module model/HistoricalService
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalService {
/**
diff --git a/src/model/HistoricalUsageAggregateResponse.js b/src/model/HistoricalUsageAggregateResponse.js
index 1d06ad868..d5b6a8341 100644
--- a/src/model/HistoricalUsageAggregateResponse.js
+++ b/src/model/HistoricalUsageAggregateResponse.js
@@ -19,7 +19,7 @@ import HistoricalUsageServiceResponseAllOf from './HistoricalUsageServiceRespons
/**
* The HistoricalUsageAggregateResponse model module.
* @module model/HistoricalUsageAggregateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageAggregateResponse {
/**
diff --git a/src/model/HistoricalUsageMonthResponse.js b/src/model/HistoricalUsageMonthResponse.js
index 8d7bd3a3d..c3870ab35 100644
--- a/src/model/HistoricalUsageMonthResponse.js
+++ b/src/model/HistoricalUsageMonthResponse.js
@@ -19,7 +19,7 @@ import HistoricalUsageMonthResponseData from './HistoricalUsageMonthResponseData
/**
* The HistoricalUsageMonthResponse model module.
* @module model/HistoricalUsageMonthResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageMonthResponse {
/**
diff --git a/src/model/HistoricalUsageMonthResponseAllOf.js b/src/model/HistoricalUsageMonthResponseAllOf.js
index f0b30e9d1..14b00d225 100644
--- a/src/model/HistoricalUsageMonthResponseAllOf.js
+++ b/src/model/HistoricalUsageMonthResponseAllOf.js
@@ -16,7 +16,7 @@ import HistoricalUsageMonthResponseData from './HistoricalUsageMonthResponseData
/**
* The HistoricalUsageMonthResponseAllOf model module.
* @module model/HistoricalUsageMonthResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageMonthResponseAllOf {
/**
diff --git a/src/model/HistoricalUsageMonthResponseData.js b/src/model/HistoricalUsageMonthResponseData.js
index c15d5af87..44078127a 100644
--- a/src/model/HistoricalUsageMonthResponseData.js
+++ b/src/model/HistoricalUsageMonthResponseData.js
@@ -17,7 +17,7 @@ import HistoricalUsageResults from './HistoricalUsageResults';
/**
* The HistoricalUsageMonthResponseData model module.
* @module model/HistoricalUsageMonthResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageMonthResponseData {
/**
diff --git a/src/model/HistoricalUsageResults.js b/src/model/HistoricalUsageResults.js
index 4f38abd2c..63a00c245 100644
--- a/src/model/HistoricalUsageResults.js
+++ b/src/model/HistoricalUsageResults.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HistoricalUsageResults model module.
* @module model/HistoricalUsageResults
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageResults {
/**
diff --git a/src/model/HistoricalUsageServiceResponse.js b/src/model/HistoricalUsageServiceResponse.js
index 59c91e06f..69125af88 100644
--- a/src/model/HistoricalUsageServiceResponse.js
+++ b/src/model/HistoricalUsageServiceResponse.js
@@ -19,7 +19,7 @@ import HistoricalUsageServiceResponseAllOf from './HistoricalUsageServiceRespons
/**
* The HistoricalUsageServiceResponse model module.
* @module model/HistoricalUsageServiceResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageServiceResponse {
/**
diff --git a/src/model/HistoricalUsageServiceResponseAllOf.js b/src/model/HistoricalUsageServiceResponseAllOf.js
index 1bf142312..636731317 100644
--- a/src/model/HistoricalUsageServiceResponseAllOf.js
+++ b/src/model/HistoricalUsageServiceResponseAllOf.js
@@ -16,7 +16,7 @@ import HistoricalUsageResults from './HistoricalUsageResults';
/**
* The HistoricalUsageServiceResponseAllOf model module.
* @module model/HistoricalUsageServiceResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class HistoricalUsageServiceResponseAllOf {
/**
diff --git a/src/model/Http3.js b/src/model/Http3.js
index 870c9f7a3..7672e4466 100644
--- a/src/model/Http3.js
+++ b/src/model/Http3.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The Http3 model module.
* @module model/Http3
- * @version 5.0.2
+ * @version 6.0.0
*/
class Http3 {
/**
diff --git a/src/model/Http3AllOf.js b/src/model/Http3AllOf.js
index ed2136678..d1ad73059 100644
--- a/src/model/Http3AllOf.js
+++ b/src/model/Http3AllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Http3AllOf model module.
* @module model/Http3AllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class Http3AllOf {
/**
diff --git a/src/model/HttpResponseFormat.js b/src/model/HttpResponseFormat.js
index df1f9995b..5ab036f6f 100644
--- a/src/model/HttpResponseFormat.js
+++ b/src/model/HttpResponseFormat.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HttpResponseFormat model module.
* @module model/HttpResponseFormat
- * @version 5.0.2
+ * @version 6.0.0
*/
class HttpResponseFormat {
/**
diff --git a/src/model/HttpStreamFormat.js b/src/model/HttpStreamFormat.js
index b75126812..4b26b25e1 100644
--- a/src/model/HttpStreamFormat.js
+++ b/src/model/HttpStreamFormat.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The HttpStreamFormat model module.
* @module model/HttpStreamFormat
- * @version 5.0.2
+ * @version 6.0.0
*/
class HttpStreamFormat {
/**
diff --git a/src/model/IamPermission.js b/src/model/IamPermission.js
index e0b01e0f9..73a2b4273 100644
--- a/src/model/IamPermission.js
+++ b/src/model/IamPermission.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The IamPermission model module.
* @module model/IamPermission
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamPermission {
/**
diff --git a/src/model/IamRole.js b/src/model/IamRole.js
index 63deade8a..6282dad7e 100644
--- a/src/model/IamRole.js
+++ b/src/model/IamRole.js
@@ -17,7 +17,7 @@ import TimestampsNoDelete from './TimestampsNoDelete';
/**
* The IamRole model module.
* @module model/IamRole
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamRole {
/**
diff --git a/src/model/IamRoleAllOf.js b/src/model/IamRoleAllOf.js
index 40fc35ffc..0e968727c 100644
--- a/src/model/IamRoleAllOf.js
+++ b/src/model/IamRoleAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The IamRoleAllOf model module.
* @module model/IamRoleAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamRoleAllOf {
/**
diff --git a/src/model/IamServiceGroup.js b/src/model/IamServiceGroup.js
index 750e04a1d..37acb5459 100644
--- a/src/model/IamServiceGroup.js
+++ b/src/model/IamServiceGroup.js
@@ -17,7 +17,7 @@ import TimestampsNoDelete from './TimestampsNoDelete';
/**
* The IamServiceGroup model module.
* @module model/IamServiceGroup
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamServiceGroup {
/**
diff --git a/src/model/IamServiceGroupAllOf.js b/src/model/IamServiceGroupAllOf.js
index e2e3135a1..f598b4f6e 100644
--- a/src/model/IamServiceGroupAllOf.js
+++ b/src/model/IamServiceGroupAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The IamServiceGroupAllOf model module.
* @module model/IamServiceGroupAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamServiceGroupAllOf {
/**
diff --git a/src/model/IamUserGroup.js b/src/model/IamUserGroup.js
index 3de432eeb..0e382a725 100644
--- a/src/model/IamUserGroup.js
+++ b/src/model/IamUserGroup.js
@@ -17,7 +17,7 @@ import TimestampsNoDelete from './TimestampsNoDelete';
/**
* The IamUserGroup model module.
* @module model/IamUserGroup
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamUserGroup {
/**
diff --git a/src/model/IamUserGroupAllOf.js b/src/model/IamUserGroupAllOf.js
index 5bfed3ceb..c60bca2d9 100644
--- a/src/model/IamUserGroupAllOf.js
+++ b/src/model/IamUserGroupAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The IamUserGroupAllOf model module.
* @module model/IamUserGroupAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class IamUserGroupAllOf {
/**
diff --git a/src/model/IncludedWithWafActiveRuleItem.js b/src/model/IncludedWithWafActiveRuleItem.js
index 4ef34de23..f73234424 100644
--- a/src/model/IncludedWithWafActiveRuleItem.js
+++ b/src/model/IncludedWithWafActiveRuleItem.js
@@ -20,7 +20,7 @@ import WafRuleRevisionAttributes from './WafRuleRevisionAttributes';
/**
* The IncludedWithWafActiveRuleItem model module.
* @module model/IncludedWithWafActiveRuleItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class IncludedWithWafActiveRuleItem {
/**
diff --git a/src/model/IncludedWithWafExclusionItem.js b/src/model/IncludedWithWafExclusionItem.js
index 0bdc0e1b9..a6cabea22 100644
--- a/src/model/IncludedWithWafExclusionItem.js
+++ b/src/model/IncludedWithWafExclusionItem.js
@@ -19,7 +19,7 @@ import WafRuleRevisionAttributes from './WafRuleRevisionAttributes';
/**
* The IncludedWithWafExclusionItem model module.
* @module model/IncludedWithWafExclusionItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class IncludedWithWafExclusionItem {
/**
diff --git a/src/model/IncludedWithWafFirewallVersionItem.js b/src/model/IncludedWithWafFirewallVersionItem.js
index 1ef7b1beb..a0bee8900 100644
--- a/src/model/IncludedWithWafFirewallVersionItem.js
+++ b/src/model/IncludedWithWafFirewallVersionItem.js
@@ -18,7 +18,7 @@ import WafActiveRuleData from './WafActiveRuleData';
/**
* The IncludedWithWafFirewallVersionItem model module.
* @module model/IncludedWithWafFirewallVersionItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class IncludedWithWafFirewallVersionItem {
/**
diff --git a/src/model/IncludedWithWafRuleItem.js b/src/model/IncludedWithWafRuleItem.js
index da5915155..1cad031bd 100644
--- a/src/model/IncludedWithWafRuleItem.js
+++ b/src/model/IncludedWithWafRuleItem.js
@@ -19,7 +19,7 @@ import WafTag from './WafTag';
/**
* The IncludedWithWafRuleItem model module.
* @module model/IncludedWithWafRuleItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class IncludedWithWafRuleItem {
/**
diff --git a/src/model/InlineObject.js b/src/model/InlineObject.js
index 3b5787512..235f8a65d 100644
--- a/src/model/InlineObject.js
+++ b/src/model/InlineObject.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineObject model module.
* @module model/InlineObject
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineObject {
/**
diff --git a/src/model/InlineObject1.js b/src/model/InlineObject1.js
index 6cd23293c..1f34b29cc 100644
--- a/src/model/InlineObject1.js
+++ b/src/model/InlineObject1.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineObject1 model module.
* @module model/InlineObject1
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineObject1 {
/**
diff --git a/src/model/InlineResponse200.js b/src/model/InlineResponse200.js
index 9e1912582..64619157d 100644
--- a/src/model/InlineResponse200.js
+++ b/src/model/InlineResponse200.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse200 model module.
* @module model/InlineResponse200
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse200 {
/**
diff --git a/src/model/InlineResponse2001.js b/src/model/InlineResponse2001.js
index d918bdb62..320fb2618 100644
--- a/src/model/InlineResponse2001.js
+++ b/src/model/InlineResponse2001.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse2001 model module.
* @module model/InlineResponse2001
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2001 {
/**
diff --git a/src/model/InlineResponse2002.js b/src/model/InlineResponse2002.js
index 3f3012792..b65f37621 100644
--- a/src/model/InlineResponse2002.js
+++ b/src/model/InlineResponse2002.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse2002 model module.
* @module model/InlineResponse2002
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2002 {
/**
diff --git a/src/model/InlineResponse2003.js b/src/model/InlineResponse2003.js
index 71c6ac725..d47153fe8 100644
--- a/src/model/InlineResponse2003.js
+++ b/src/model/InlineResponse2003.js
@@ -17,7 +17,7 @@ import StoreResponse from './StoreResponse';
/**
* The InlineResponse2003 model module.
* @module model/InlineResponse2003
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2003 {
/**
diff --git a/src/model/InlineResponse2003Meta.js b/src/model/InlineResponse2003Meta.js
index 5b546f582..c04275620 100644
--- a/src/model/InlineResponse2003Meta.js
+++ b/src/model/InlineResponse2003Meta.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse2003Meta model module.
* @module model/InlineResponse2003Meta
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2003Meta {
/**
diff --git a/src/model/InlineResponse2004.js b/src/model/InlineResponse2004.js
index d44c28044..b052e4752 100644
--- a/src/model/InlineResponse2004.js
+++ b/src/model/InlineResponse2004.js
@@ -16,7 +16,7 @@ import InlineResponse2004Meta from './InlineResponse2004Meta';
/**
* The InlineResponse2004 model module.
* @module model/InlineResponse2004
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2004 {
/**
diff --git a/src/model/InlineResponse2004Meta.js b/src/model/InlineResponse2004Meta.js
index 43de66b74..71f59d2fd 100644
--- a/src/model/InlineResponse2004Meta.js
+++ b/src/model/InlineResponse2004Meta.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse2004Meta model module.
* @module model/InlineResponse2004Meta
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2004Meta {
/**
diff --git a/src/model/InlineResponse2005.js b/src/model/InlineResponse2005.js
index e5a6627ff..58e51f290 100644
--- a/src/model/InlineResponse2005.js
+++ b/src/model/InlineResponse2005.js
@@ -17,7 +17,7 @@ import SecretStoreResponse from './SecretStoreResponse';
/**
* The InlineResponse2005 model module.
* @module model/InlineResponse2005
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2005 {
/**
diff --git a/src/model/InlineResponse2006.js b/src/model/InlineResponse2006.js
index 72e0c2956..ff674bf9c 100644
--- a/src/model/InlineResponse2006.js
+++ b/src/model/InlineResponse2006.js
@@ -17,7 +17,7 @@ import SecretResponse from './SecretResponse';
/**
* The InlineResponse2006 model module.
* @module model/InlineResponse2006
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2006 {
/**
diff --git a/src/model/InlineResponse2007.js b/src/model/InlineResponse2007.js
index 85ecccd5f..197043706 100644
--- a/src/model/InlineResponse2007.js
+++ b/src/model/InlineResponse2007.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationResponseData from './ServiceAuthorizationResponseData
/**
* The InlineResponse2007 model module.
* @module model/InlineResponse2007
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse2007 {
/**
diff --git a/src/model/InlineResponse400.js b/src/model/InlineResponse400.js
index fa4f27b75..b444a128b 100644
--- a/src/model/InlineResponse400.js
+++ b/src/model/InlineResponse400.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The InlineResponse400 model module.
* @module model/InlineResponse400
- * @version 5.0.2
+ * @version 6.0.0
*/
class InlineResponse400 {
/**
diff --git a/src/model/Invitation.js b/src/model/Invitation.js
index 7f91fdee2..ad5dde05b 100644
--- a/src/model/Invitation.js
+++ b/src/model/Invitation.js
@@ -16,7 +16,7 @@ import InvitationData from './InvitationData';
/**
* The Invitation model module.
* @module model/Invitation
- * @version 5.0.2
+ * @version 6.0.0
*/
class Invitation {
/**
diff --git a/src/model/InvitationData.js b/src/model/InvitationData.js
index b406b72c5..7439ba2dd 100644
--- a/src/model/InvitationData.js
+++ b/src/model/InvitationData.js
@@ -18,7 +18,7 @@ import TypeInvitation from './TypeInvitation';
/**
* The InvitationData model module.
* @module model/InvitationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationData {
/**
diff --git a/src/model/InvitationDataAttributes.js b/src/model/InvitationDataAttributes.js
index ba1736435..ebf3030d6 100644
--- a/src/model/InvitationDataAttributes.js
+++ b/src/model/InvitationDataAttributes.js
@@ -16,7 +16,7 @@ import RoleUser from './RoleUser';
/**
* The InvitationDataAttributes model module.
* @module model/InvitationDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationDataAttributes {
/**
diff --git a/src/model/InvitationResponse.js b/src/model/InvitationResponse.js
index b66c45779..543337ef3 100644
--- a/src/model/InvitationResponse.js
+++ b/src/model/InvitationResponse.js
@@ -18,7 +18,7 @@ import InvitationResponseData from './InvitationResponseData';
/**
* The InvitationResponse model module.
* @module model/InvitationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationResponse {
/**
diff --git a/src/model/InvitationResponseAllOf.js b/src/model/InvitationResponseAllOf.js
index de3c7fa5f..79d24ceec 100644
--- a/src/model/InvitationResponseAllOf.js
+++ b/src/model/InvitationResponseAllOf.js
@@ -16,7 +16,7 @@ import InvitationResponseData from './InvitationResponseData';
/**
* The InvitationResponseAllOf model module.
* @module model/InvitationResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationResponseAllOf {
/**
diff --git a/src/model/InvitationResponseData.js b/src/model/InvitationResponseData.js
index fb5a76328..a8ec97754 100644
--- a/src/model/InvitationResponseData.js
+++ b/src/model/InvitationResponseData.js
@@ -20,7 +20,7 @@ import TypeInvitation from './TypeInvitation';
/**
* The InvitationResponseData model module.
* @module model/InvitationResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationResponseData {
/**
diff --git a/src/model/InvitationResponseDataAllOf.js b/src/model/InvitationResponseDataAllOf.js
index 150c9e522..6d3d6f864 100644
--- a/src/model/InvitationResponseDataAllOf.js
+++ b/src/model/InvitationResponseDataAllOf.js
@@ -17,7 +17,7 @@ import Timestamps from './Timestamps';
/**
* The InvitationResponseDataAllOf model module.
* @module model/InvitationResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationResponseDataAllOf {
/**
diff --git a/src/model/InvitationsResponse.js b/src/model/InvitationsResponse.js
index 07bbaf1b3..604642c91 100644
--- a/src/model/InvitationsResponse.js
+++ b/src/model/InvitationsResponse.js
@@ -20,7 +20,7 @@ import PaginationMeta from './PaginationMeta';
/**
* The InvitationsResponse model module.
* @module model/InvitationsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationsResponse {
/**
diff --git a/src/model/InvitationsResponseAllOf.js b/src/model/InvitationsResponseAllOf.js
index e7229eb19..c39ecfd3e 100644
--- a/src/model/InvitationsResponseAllOf.js
+++ b/src/model/InvitationsResponseAllOf.js
@@ -16,7 +16,7 @@ import InvitationResponseData from './InvitationResponseData';
/**
* The InvitationsResponseAllOf model module.
* @module model/InvitationsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class InvitationsResponseAllOf {
/**
diff --git a/src/model/LegacyWafConfigurationSet.js b/src/model/LegacyWafConfigurationSet.js
index 7a1b39895..f36e8b0db 100644
--- a/src/model/LegacyWafConfigurationSet.js
+++ b/src/model/LegacyWafConfigurationSet.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafConfigurationSet model module.
* @module model/LegacyWafConfigurationSet
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafConfigurationSet {
/**
diff --git a/src/model/LegacyWafFirewall.js b/src/model/LegacyWafFirewall.js
index d51a0f98c..7912c6148 100644
--- a/src/model/LegacyWafFirewall.js
+++ b/src/model/LegacyWafFirewall.js
@@ -17,7 +17,7 @@ import ReadOnlyVersion from './ReadOnlyVersion';
/**
* The LegacyWafFirewall model module.
* @module model/LegacyWafFirewall
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafFirewall {
/**
diff --git a/src/model/LegacyWafOwasp.js b/src/model/LegacyWafOwasp.js
index 08a76ac95..faffeae05 100644
--- a/src/model/LegacyWafOwasp.js
+++ b/src/model/LegacyWafOwasp.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafOwasp model module.
* @module model/LegacyWafOwasp
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafOwasp {
/**
diff --git a/src/model/LegacyWafRule.js b/src/model/LegacyWafRule.js
index fa7d2af6b..0f1a85118 100644
--- a/src/model/LegacyWafRule.js
+++ b/src/model/LegacyWafRule.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafRule model module.
* @module model/LegacyWafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafRule {
/**
diff --git a/src/model/LegacyWafRuleStatus.js b/src/model/LegacyWafRuleStatus.js
index 605d47d74..27e2d85f9 100644
--- a/src/model/LegacyWafRuleStatus.js
+++ b/src/model/LegacyWafRuleStatus.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafRuleStatus model module.
* @module model/LegacyWafRuleStatus
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafRuleStatus {
/**
diff --git a/src/model/LegacyWafRuleset.js b/src/model/LegacyWafRuleset.js
index a22230b89..75b611492 100644
--- a/src/model/LegacyWafRuleset.js
+++ b/src/model/LegacyWafRuleset.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafRuleset model module.
* @module model/LegacyWafRuleset
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafRuleset {
/**
diff --git a/src/model/LegacyWafTag.js b/src/model/LegacyWafTag.js
index b7a8bb65d..366d361ad 100644
--- a/src/model/LegacyWafTag.js
+++ b/src/model/LegacyWafTag.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafTag model module.
* @module model/LegacyWafTag
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafTag {
/**
diff --git a/src/model/LegacyWafUpdateStatus.js b/src/model/LegacyWafUpdateStatus.js
index f3f897669..8bf7b3dd7 100644
--- a/src/model/LegacyWafUpdateStatus.js
+++ b/src/model/LegacyWafUpdateStatus.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LegacyWafUpdateStatus model module.
* @module model/LegacyWafUpdateStatus
- * @version 5.0.2
+ * @version 6.0.0
*/
class LegacyWafUpdateStatus {
/**
diff --git a/src/model/LineItemData.js b/src/model/LineItemData.js
index fb3e44e94..48eff1aca 100644
--- a/src/model/LineItemData.js
+++ b/src/model/LineItemData.js
@@ -16,7 +16,7 @@ import LineItemDataReadOnlyInvoiceId from './LineItemDataReadOnlyInvoiceId';
/**
* The LineItemData model module.
* @module model/LineItemData
- * @version 5.0.2
+ * @version 6.0.0
*/
class LineItemData {
/**
diff --git a/src/model/LineItemDataReadOnlyInvoiceId.js b/src/model/LineItemDataReadOnlyInvoiceId.js
index 60ddfc173..196208aef 100644
--- a/src/model/LineItemDataReadOnlyInvoiceId.js
+++ b/src/model/LineItemDataReadOnlyInvoiceId.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LineItemDataReadOnlyInvoiceId model module.
* @module model/LineItemDataReadOnlyInvoiceId
- * @version 5.0.2
+ * @version 6.0.0
*/
class LineItemDataReadOnlyInvoiceId {
/**
diff --git a/src/model/LoggingAddressAndPort.js b/src/model/LoggingAddressAndPort.js
index 2bbeee3f0..b3391c9bb 100644
--- a/src/model/LoggingAddressAndPort.js
+++ b/src/model/LoggingAddressAndPort.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingAddressAndPort model module.
* @module model/LoggingAddressAndPort
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingAddressAndPort {
/**
diff --git a/src/model/LoggingAzureblob.js b/src/model/LoggingAzureblob.js
deleted file mode 100644
index 234f355d5..000000000
--- a/src/model/LoggingAzureblob.js
+++ /dev/null
@@ -1,420 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingAzureblobAllOf from './LoggingAzureblobAllOf';
-import LoggingCommon from './LoggingCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-
-/**
- * The LoggingAzureblob model module.
- * @module model/LoggingAzureblob
- * @version 5.0.2
- */
-class LoggingAzureblob {
- /**
- * Constructs a new LoggingAzureblob
.
- * @alias module:model/LoggingAzureblob
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingAzureblobAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingAzureblobAllOf.initialize(this);
- LoggingAzureblob.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingAzureblob
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingAzureblob} obj Optional instance to populate.
- * @return {module:model/LoggingAzureblob} The populated LoggingAzureblob
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingAzureblob();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingAzureblobAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('account_name')) {
- obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String');
- }
- if (data.hasOwnProperty('container')) {
- obj['container'] = ApiClient.convertToType(data['container'], 'String');
- }
- if (data.hasOwnProperty('sas_token')) {
- obj['sas_token'] = ApiClient.convertToType(data['sas_token'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('file_max_bytes')) {
- obj['file_max_bytes'] = ApiClient.convertToType(data['file_max_bytes'], 'Number');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingAzureblob.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingAzureblob.PlacementEnum} placement
- */
-LoggingAzureblob.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingAzureblob.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingAzureblob.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingAzureblob.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingAzureblob.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingAzureblob.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingAzureblob.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingAzureblob.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingAzureblob.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingAzureblob.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingAzureblob.CompressionCodecEnum} compression_codec
- */
-LoggingAzureblob.prototype['compression_codec'] = undefined;
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingAzureblob.prototype['path'] = 'null';
-
-/**
- * The unique Azure Blob Storage namespace in which your data objects are stored. Required.
- * @member {String} account_name
- */
-LoggingAzureblob.prototype['account_name'] = undefined;
-
-/**
- * The name of the Azure Blob Storage container in which to store logs. Required.
- * @member {String} container
- */
-LoggingAzureblob.prototype['container'] = undefined;
-
-/**
- * The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
- * @member {String} sas_token
- */
-LoggingAzureblob.prototype['sas_token'] = undefined;
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingAzureblob.prototype['public_key'] = 'null';
-
-/**
- * The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
- * @member {Number} file_max_bytes
- */
-LoggingAzureblob.prototype['file_max_bytes'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingAzureblobAllOf interface:
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingAzureblobAllOf.prototype['path'] = 'null';
-/**
- * The unique Azure Blob Storage namespace in which your data objects are stored. Required.
- * @member {String} account_name
- */
-LoggingAzureblobAllOf.prototype['account_name'] = undefined;
-/**
- * The name of the Azure Blob Storage container in which to store logs. Required.
- * @member {String} container
- */
-LoggingAzureblobAllOf.prototype['container'] = undefined;
-/**
- * The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
- * @member {String} sas_token
- */
-LoggingAzureblobAllOf.prototype['sas_token'] = undefined;
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingAzureblobAllOf.prototype['public_key'] = 'null';
-/**
- * The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
- * @member {Number} file_max_bytes
- */
-LoggingAzureblobAllOf.prototype['file_max_bytes'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingAzureblob['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingAzureblob['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingAzureblob['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingAzureblob['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingAzureblob;
-
diff --git a/src/model/LoggingAzureblobAllOf.js b/src/model/LoggingAzureblobAdditional.js
similarity index 74%
rename from src/model/LoggingAzureblobAllOf.js
rename to src/model/LoggingAzureblobAdditional.js
index 24b29343d..08f5006c9 100644
--- a/src/model/LoggingAzureblobAllOf.js
+++ b/src/model/LoggingAzureblobAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingAzureblobAllOf model module.
- * @module model/LoggingAzureblobAllOf
- * @version 5.0.2
+ * The LoggingAzureblobAdditional model module.
+ * @module model/LoggingAzureblobAdditional
+ * @version 6.0.0
*/
-class LoggingAzureblobAllOf {
+class LoggingAzureblobAdditional {
/**
- * Constructs a new LoggingAzureblobAllOf
.
- * @alias module:model/LoggingAzureblobAllOf
+ * Constructs a new LoggingAzureblobAdditional
.
+ * @alias module:model/LoggingAzureblobAdditional
*/
constructor() {
- LoggingAzureblobAllOf.initialize(this);
+ LoggingAzureblobAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingAzureblobAllOf {
}
/**
- * Constructs a LoggingAzureblobAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingAzureblobAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingAzureblobAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingAzureblobAllOf} The populated LoggingAzureblobAllOf
instance.
+ * @param {module:model/LoggingAzureblobAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingAzureblobAdditional} The populated LoggingAzureblobAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingAzureblobAllOf();
+ obj = obj || new LoggingAzureblobAdditional();
if (data.hasOwnProperty('path')) {
obj['path'] = ApiClient.convertToType(data['path'], 'String');
@@ -76,43 +76,43 @@ class LoggingAzureblobAllOf {
* @member {String} path
* @default 'null'
*/
-LoggingAzureblobAllOf.prototype['path'] = 'null';
+LoggingAzureblobAdditional.prototype['path'] = 'null';
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-LoggingAzureblobAllOf.prototype['account_name'] = undefined;
+LoggingAzureblobAdditional.prototype['account_name'] = undefined;
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-LoggingAzureblobAllOf.prototype['container'] = undefined;
+LoggingAzureblobAdditional.prototype['container'] = undefined;
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-LoggingAzureblobAllOf.prototype['sas_token'] = undefined;
+LoggingAzureblobAdditional.prototype['sas_token'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingAzureblobAllOf.prototype['public_key'] = 'null';
+LoggingAzureblobAdditional.prototype['public_key'] = 'null';
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-LoggingAzureblobAllOf.prototype['file_max_bytes'] = undefined;
+LoggingAzureblobAdditional.prototype['file_max_bytes'] = undefined;
-export default LoggingAzureblobAllOf;
+export default LoggingAzureblobAdditional;
diff --git a/src/model/LoggingAzureblobResponse.js b/src/model/LoggingAzureblobResponse.js
index ded1a6cd2..505b07c9b 100644
--- a/src/model/LoggingAzureblobResponse.js
+++ b/src/model/LoggingAzureblobResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingAzureblob from './LoggingAzureblob';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingAzureblobAdditional from './LoggingAzureblobAdditional';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingAzureblobResponse model module.
* @module model/LoggingAzureblobResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingAzureblobResponse {
/**
* Constructs a new LoggingAzureblobResponse
.
* @alias module:model/LoggingAzureblobResponse
- * @implements module:model/LoggingAzureblob
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingAzureblobAdditional
*/
constructor() {
- LoggingAzureblob.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingAzureblobAdditional.initialize(this);
LoggingAzureblobResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingAzureblobResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingAzureblobResponse();
- LoggingAzureblob.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingAzureblobAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +67,44 @@ class LoggingAzureblobResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('path')) {
obj['path'] = ApiClient.convertToType(data['path'], 'String');
@@ -103,21 +124,6 @@ class LoggingAzureblobResponse {
if (data.hasOwnProperty('file_max_bytes')) {
obj['file_max_bytes'] = ApiClient.convertToType(data['file_max_bytes'], 'Number');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -137,13 +143,6 @@ LoggingAzureblobResponse.prototype['name'] = undefined;
*/
LoggingAzureblobResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingAzureblobResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingAzureblobResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -157,6 +156,13 @@ LoggingAzureblobResponse.prototype['response_condition'] = undefined;
*/
LoggingAzureblobResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingAzureblobResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingAzureblobResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingAzureblobResponse.MessageTypeEnum} message_type
@@ -170,25 +176,53 @@ LoggingAzureblobResponse.prototype['message_type'] = undefined;
*/
LoggingAzureblobResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingAzureblobResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingAzureblobResponse.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingAzureblobResponse.prototype['period'] = 3600;
+LoggingAzureblobResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingAzureblobResponse.prototype['gzip_level'] = 0;
+LoggingAzureblobResponse.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingAzureblobResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingAzureblobResponse.prototype['compression_codec'] = undefined;
+LoggingAzureblobResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingAzureblobResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingAzureblobResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingAzureblobResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingAzureblobResponse.prototype['version'] = undefined;
/**
* The path to upload logs to.
@@ -228,148 +262,122 @@ LoggingAzureblobResponse.prototype['public_key'] = 'null';
*/
LoggingAzureblobResponse.prototype['file_max_bytes'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingAzureblobResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingAzureblobResponse.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingAzureblobResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingAzureblobResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingAzureblobResponse.prototype['version'] = undefined;
-
-// Implement LoggingAzureblob interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingAzureblob.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingAzureblob.PlacementEnum} placement
- */
-LoggingAzureblob.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingAzureblob.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingAzureblob.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingAzureblob.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingAzureblob.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingAzureblob.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingAzureblob.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingAzureblob.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingAzureblob.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingAzureblob.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingAzureblob.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-LoggingAzureblob.prototype['compression_codec'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingAzureblobAdditional interface:
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingAzureblob.prototype['path'] = 'null';
+LoggingAzureblobAdditional.prototype['path'] = 'null';
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-LoggingAzureblob.prototype['account_name'] = undefined;
+LoggingAzureblobAdditional.prototype['account_name'] = undefined;
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-LoggingAzureblob.prototype['container'] = undefined;
+LoggingAzureblobAdditional.prototype['container'] = undefined;
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-LoggingAzureblob.prototype['sas_token'] = undefined;
+LoggingAzureblobAdditional.prototype['sas_token'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingAzureblob.prototype['public_key'] = 'null';
+LoggingAzureblobAdditional.prototype['public_key'] = 'null';
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-LoggingAzureblob.prototype['file_max_bytes'] = undefined;
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingAzureblobAdditional.prototype['file_max_bytes'] = undefined;
@@ -402,22 +410,22 @@ LoggingAzureblobResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingAzureblobResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingBigquery.js b/src/model/LoggingBigquery.js
deleted file mode 100644
index 5b6c19e44..000000000
--- a/src/model/LoggingBigquery.js
+++ /dev/null
@@ -1,303 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingBigqueryAllOf from './LoggingBigqueryAllOf';
-import LoggingCommon from './LoggingCommon';
-import LoggingGcsCommon from './LoggingGcsCommon';
-
-/**
- * The LoggingBigquery model module.
- * @module model/LoggingBigquery
- * @version 5.0.2
- */
-class LoggingBigquery {
- /**
- * Constructs a new LoggingBigquery
.
- * @alias module:model/LoggingBigquery
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGcsCommon
- * @implements module:model/LoggingBigqueryAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGcsCommon.initialize(this);LoggingBigqueryAllOf.initialize(this);
- LoggingBigquery.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingBigquery
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingBigquery} obj Optional instance to populate.
- * @return {module:model/LoggingBigquery} The populated LoggingBigquery
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingBigquery();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGcsCommon.constructFromObject(data, obj);
- LoggingBigqueryAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('account_name')) {
- obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String');
- }
- if (data.hasOwnProperty('dataset')) {
- obj['dataset'] = ApiClient.convertToType(data['dataset'], 'String');
- }
- if (data.hasOwnProperty('table')) {
- obj['table'] = ApiClient.convertToType(data['table'], 'String');
- }
- if (data.hasOwnProperty('template_suffix')) {
- obj['template_suffix'] = ApiClient.convertToType(data['template_suffix'], 'String');
- }
- if (data.hasOwnProperty('project_id')) {
- obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name of the BigQuery logging object. Used as a primary key for API access.
- * @member {String} name
- */
-LoggingBigquery.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingBigquery.PlacementEnum} placement
- */
-LoggingBigquery.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingBigquery.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingBigquery.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingBigquery.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
- * @member {String} format
- */
-LoggingBigquery.prototype['format'] = undefined;
-
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingBigquery.prototype['user'] = undefined;
-
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingBigquery.prototype['secret_key'] = undefined;
-
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingBigquery.prototype['account_name'] = undefined;
-
-/**
- * Your BigQuery dataset.
- * @member {String} dataset
- */
-LoggingBigquery.prototype['dataset'] = undefined;
-
-/**
- * Your BigQuery table.
- * @member {String} table
- */
-LoggingBigquery.prototype['table'] = undefined;
-
-/**
- * BigQuery table name suffix template. Optional.
- * @member {String} template_suffix
- */
-LoggingBigquery.prototype['template_suffix'] = undefined;
-
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingBigquery.prototype['project_id'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGcsCommon interface:
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingGcsCommon.prototype['user'] = undefined;
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingGcsCommon.prototype['secret_key'] = undefined;
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingGcsCommon.prototype['account_name'] = undefined;
-// Implement LoggingBigqueryAllOf interface:
-/**
- * The name of the BigQuery logging object. Used as a primary key for API access.
- * @member {String} name
- */
-LoggingBigqueryAllOf.prototype['name'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
- * @member {String} format
- */
-LoggingBigqueryAllOf.prototype['format'] = undefined;
-/**
- * Your BigQuery dataset.
- * @member {String} dataset
- */
-LoggingBigqueryAllOf.prototype['dataset'] = undefined;
-/**
- * Your BigQuery table.
- * @member {String} table
- */
-LoggingBigqueryAllOf.prototype['table'] = undefined;
-/**
- * BigQuery table name suffix template. Optional.
- * @member {String} template_suffix
- */
-LoggingBigqueryAllOf.prototype['template_suffix'] = undefined;
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingBigqueryAllOf.prototype['project_id'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingBigquery['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingBigquery['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingBigquery;
-
diff --git a/src/model/LoggingBigqueryAllOf.js b/src/model/LoggingBigqueryAdditional.js
similarity index 72%
rename from src/model/LoggingBigqueryAllOf.js
rename to src/model/LoggingBigqueryAdditional.js
index c05bfa2d1..230d90a79 100644
--- a/src/model/LoggingBigqueryAllOf.js
+++ b/src/model/LoggingBigqueryAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingBigqueryAllOf model module.
- * @module model/LoggingBigqueryAllOf
- * @version 5.0.2
+ * The LoggingBigqueryAdditional model module.
+ * @module model/LoggingBigqueryAdditional
+ * @version 6.0.0
*/
-class LoggingBigqueryAllOf {
+class LoggingBigqueryAdditional {
/**
- * Constructs a new LoggingBigqueryAllOf
.
- * @alias module:model/LoggingBigqueryAllOf
+ * Constructs a new LoggingBigqueryAdditional
.
+ * @alias module:model/LoggingBigqueryAdditional
*/
constructor() {
- LoggingBigqueryAllOf.initialize(this);
+ LoggingBigqueryAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingBigqueryAllOf {
}
/**
- * Constructs a LoggingBigqueryAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingBigqueryAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingBigqueryAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingBigqueryAllOf} The populated LoggingBigqueryAllOf
instance.
+ * @param {module:model/LoggingBigqueryAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingBigqueryAdditional} The populated LoggingBigqueryAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingBigqueryAllOf();
+ obj = obj || new LoggingBigqueryAdditional();
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -75,42 +75,42 @@ class LoggingBigqueryAllOf {
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-LoggingBigqueryAllOf.prototype['name'] = undefined;
+LoggingBigqueryAdditional.prototype['name'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-LoggingBigqueryAllOf.prototype['format'] = undefined;
+LoggingBigqueryAdditional.prototype['format'] = undefined;
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-LoggingBigqueryAllOf.prototype['dataset'] = undefined;
+LoggingBigqueryAdditional.prototype['dataset'] = undefined;
/**
* Your BigQuery table.
* @member {String} table
*/
-LoggingBigqueryAllOf.prototype['table'] = undefined;
+LoggingBigqueryAdditional.prototype['table'] = undefined;
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-LoggingBigqueryAllOf.prototype['template_suffix'] = undefined;
+LoggingBigqueryAdditional.prototype['template_suffix'] = undefined;
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-LoggingBigqueryAllOf.prototype['project_id'] = undefined;
+LoggingBigqueryAdditional.prototype['project_id'] = undefined;
-export default LoggingBigqueryAllOf;
+export default LoggingBigqueryAdditional;
diff --git a/src/model/LoggingBigqueryResponse.js b/src/model/LoggingBigqueryResponse.js
index 3fdffdaa1..ef999e950 100644
--- a/src/model/LoggingBigqueryResponse.js
+++ b/src/model/LoggingBigqueryResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingBigquery from './LoggingBigquery';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingBigqueryAdditional from './LoggingBigqueryAdditional';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGcsCommon from './LoggingGcsCommon';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingBigqueryResponse model module.
* @module model/LoggingBigqueryResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingBigqueryResponse {
/**
* Constructs a new LoggingBigqueryResponse
.
* @alias module:model/LoggingBigqueryResponse
- * @implements module:model/LoggingBigquery
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGcsCommon
+ * @implements module:model/LoggingBigqueryAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingBigquery.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGcsCommon.initialize(this);LoggingBigqueryAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingBigqueryResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingBigqueryResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingBigqueryResponse();
- LoggingBigquery.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGcsCommon.constructFromObject(data, obj);
+ LoggingBigqueryAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +67,15 @@ class LoggingBigqueryResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
@@ -104,7 +110,7 @@ class LoggingBigqueryResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -125,13 +131,6 @@ LoggingBigqueryResponse.prototype['name'] = undefined;
*/
LoggingBigqueryResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingBigqueryResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingBigqueryResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -144,6 +143,13 @@ LoggingBigqueryResponse.prototype['response_condition'] = undefined;
*/
LoggingBigqueryResponse.prototype['format'] = undefined;
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingBigqueryResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingBigqueryResponse.prototype['format_version'] = undefined;
+
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
@@ -210,73 +216,86 @@ LoggingBigqueryResponse.prototype['updated_at'] = undefined;
LoggingBigqueryResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingBigqueryResponse.prototype['version'] = undefined;
-// Implement LoggingBigquery interface:
+// Implement LoggingCommonResponse interface:
/**
- * The name of the BigQuery logging object. Used as a primary key for API access.
+ * The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingBigquery.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingBigquery.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingBigquery.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingBigquery.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingBigquery.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingBigquery.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingBigquery.prototype['format'] = undefined;
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGcsCommon interface:
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-LoggingBigquery.prototype['user'] = undefined;
+LoggingGcsCommon.prototype['user'] = undefined;
/**
* Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-LoggingBigquery.prototype['secret_key'] = undefined;
+LoggingGcsCommon.prototype['secret_key'] = undefined;
/**
* The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
* @member {String} account_name
*/
-LoggingBigquery.prototype['account_name'] = undefined;
+LoggingGcsCommon.prototype['account_name'] = undefined;
+// Implement LoggingBigqueryAdditional interface:
+/**
+ * The name of the BigQuery logging object. Used as a primary key for API access.
+ * @member {String} name
+ */
+LoggingBigqueryAdditional.prototype['name'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
+ * @member {String} format
+ */
+LoggingBigqueryAdditional.prototype['format'] = undefined;
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-LoggingBigquery.prototype['dataset'] = undefined;
+LoggingBigqueryAdditional.prototype['dataset'] = undefined;
/**
* Your BigQuery table.
* @member {String} table
*/
-LoggingBigquery.prototype['table'] = undefined;
+LoggingBigqueryAdditional.prototype['table'] = undefined;
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-LoggingBigquery.prototype['template_suffix'] = undefined;
+LoggingBigqueryAdditional.prototype['template_suffix'] = undefined;
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-LoggingBigquery.prototype['project_id'] = undefined;
+LoggingBigqueryAdditional.prototype['project_id'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -293,15 +312,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -334,22 +353,22 @@ LoggingBigqueryResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingBigqueryResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingCloudfiles.js b/src/model/LoggingCloudfiles.js
deleted file mode 100644
index cd6e55e8c..000000000
--- a/src/model/LoggingCloudfiles.js
+++ /dev/null
@@ -1,471 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCloudfilesAllOf from './LoggingCloudfilesAllOf';
-import LoggingCommon from './LoggingCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-
-/**
- * The LoggingCloudfiles model module.
- * @module model/LoggingCloudfiles
- * @version 5.0.2
- */
-class LoggingCloudfiles {
- /**
- * Constructs a new LoggingCloudfiles
.
- * @alias module:model/LoggingCloudfiles
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingCloudfilesAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingCloudfilesAllOf.initialize(this);
- LoggingCloudfiles.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingCloudfiles
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingCloudfiles} obj Optional instance to populate.
- * @return {module:model/LoggingCloudfiles} The populated LoggingCloudfiles
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingCloudfiles();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingCloudfilesAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('access_key')) {
- obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
- }
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('region')) {
- obj['region'] = ApiClient.convertToType(data['region'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCloudfiles.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCloudfiles.PlacementEnum} placement
- */
-LoggingCloudfiles.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCloudfiles.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCloudfiles.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCloudfiles.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCloudfiles.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingCloudfiles.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingCloudfiles.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingCloudfiles.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingCloudfiles.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingCloudfiles.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingCloudfiles.CompressionCodecEnum} compression_codec
- */
-LoggingCloudfiles.prototype['compression_codec'] = undefined;
-
-/**
- * Your Cloud Files account access key.
- * @member {String} access_key
- */
-LoggingCloudfiles.prototype['access_key'] = undefined;
-
-/**
- * The name of your Cloud Files container.
- * @member {String} bucket_name
- */
-LoggingCloudfiles.prototype['bucket_name'] = undefined;
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingCloudfiles.prototype['path'] = 'null';
-
-/**
- * The region to stream logs to.
- * @member {module:model/LoggingCloudfiles.RegionEnum} region
- */
-LoggingCloudfiles.prototype['region'] = undefined;
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingCloudfiles.prototype['public_key'] = 'null';
-
-/**
- * The username for your Cloud Files account.
- * @member {String} user
- */
-LoggingCloudfiles.prototype['user'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingCloudfilesAllOf interface:
-/**
- * Your Cloud Files account access key.
- * @member {String} access_key
- */
-LoggingCloudfilesAllOf.prototype['access_key'] = undefined;
-/**
- * The name of your Cloud Files container.
- * @member {String} bucket_name
- */
-LoggingCloudfilesAllOf.prototype['bucket_name'] = undefined;
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingCloudfilesAllOf.prototype['path'] = 'null';
-/**
- * The region to stream logs to.
- * @member {module:model/LoggingCloudfilesAllOf.RegionEnum} region
- */
-LoggingCloudfilesAllOf.prototype['region'] = undefined;
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingCloudfilesAllOf.prototype['public_key'] = 'null';
-/**
- * The username for your Cloud Files account.
- * @member {String} user
- */
-LoggingCloudfilesAllOf.prototype['user'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingCloudfiles['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingCloudfiles['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingCloudfiles['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingCloudfiles['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-LoggingCloudfiles['RegionEnum'] = {
-
- /**
- * value: "DFW"
- * @const
- */
- "DFW": "DFW",
-
- /**
- * value: "ORD"
- * @const
- */
- "ORD": "ORD",
-
- /**
- * value: "IAD"
- * @const
- */
- "IAD": "IAD",
-
- /**
- * value: "LON"
- * @const
- */
- "LON": "LON",
-
- /**
- * value: "SYD"
- * @const
- */
- "SYD": "SYD",
-
- /**
- * value: "HKG"
- * @const
- */
- "HKG": "HKG",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-
-export default LoggingCloudfiles;
-
diff --git a/src/model/LoggingCloudfilesAllOf.js b/src/model/LoggingCloudfilesAdditional.js
similarity index 73%
rename from src/model/LoggingCloudfilesAllOf.js
rename to src/model/LoggingCloudfilesAdditional.js
index 961fa19a5..281edc60f 100644
--- a/src/model/LoggingCloudfilesAllOf.js
+++ b/src/model/LoggingCloudfilesAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingCloudfilesAllOf model module.
- * @module model/LoggingCloudfilesAllOf
- * @version 5.0.2
+ * The LoggingCloudfilesAdditional model module.
+ * @module model/LoggingCloudfilesAdditional
+ * @version 6.0.0
*/
-class LoggingCloudfilesAllOf {
+class LoggingCloudfilesAdditional {
/**
- * Constructs a new LoggingCloudfilesAllOf
.
- * @alias module:model/LoggingCloudfilesAllOf
+ * Constructs a new LoggingCloudfilesAdditional
.
+ * @alias module:model/LoggingCloudfilesAdditional
*/
constructor() {
- LoggingCloudfilesAllOf.initialize(this);
+ LoggingCloudfilesAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingCloudfilesAllOf {
}
/**
- * Constructs a LoggingCloudfilesAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingCloudfilesAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingCloudfilesAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingCloudfilesAllOf} The populated LoggingCloudfilesAllOf
instance.
+ * @param {module:model/LoggingCloudfilesAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingCloudfilesAdditional} The populated LoggingCloudfilesAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingCloudfilesAllOf();
+ obj = obj || new LoggingCloudfilesAdditional();
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -75,39 +75,39 @@ class LoggingCloudfilesAllOf {
* Your Cloud Files account access key.
* @member {String} access_key
*/
-LoggingCloudfilesAllOf.prototype['access_key'] = undefined;
+LoggingCloudfilesAdditional.prototype['access_key'] = undefined;
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-LoggingCloudfilesAllOf.prototype['bucket_name'] = undefined;
+LoggingCloudfilesAdditional.prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingCloudfilesAllOf.prototype['path'] = 'null';
+LoggingCloudfilesAdditional.prototype['path'] = 'null';
/**
* The region to stream logs to.
- * @member {module:model/LoggingCloudfilesAllOf.RegionEnum} region
+ * @member {module:model/LoggingCloudfilesAdditional.RegionEnum} region
*/
-LoggingCloudfilesAllOf.prototype['region'] = undefined;
+LoggingCloudfilesAdditional.prototype['region'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingCloudfilesAllOf.prototype['public_key'] = 'null';
+LoggingCloudfilesAdditional.prototype['public_key'] = 'null';
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-LoggingCloudfilesAllOf.prototype['user'] = undefined;
+LoggingCloudfilesAdditional.prototype['user'] = undefined;
@@ -118,7 +118,7 @@ LoggingCloudfilesAllOf.prototype['user'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingCloudfilesAllOf['RegionEnum'] = {
+LoggingCloudfilesAdditional['RegionEnum'] = {
/**
* value: "DFW"
@@ -165,5 +165,5 @@ LoggingCloudfilesAllOf['RegionEnum'] = {
-export default LoggingCloudfilesAllOf;
+export default LoggingCloudfilesAdditional;
diff --git a/src/model/LoggingCloudfilesResponse.js b/src/model/LoggingCloudfilesResponse.js
index b007000f2..d437d1f56 100644
--- a/src/model/LoggingCloudfilesResponse.js
+++ b/src/model/LoggingCloudfilesResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingCloudfiles from './LoggingCloudfiles';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCloudfilesAdditional from './LoggingCloudfilesAdditional';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingCloudfilesResponse model module.
* @module model/LoggingCloudfilesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingCloudfilesResponse {
/**
* Constructs a new LoggingCloudfilesResponse
.
* @alias module:model/LoggingCloudfilesResponse
- * @implements module:model/LoggingCloudfiles
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingCloudfilesAdditional
*/
constructor() {
- LoggingCloudfiles.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingCloudfilesAdditional.initialize(this);
LoggingCloudfilesResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingCloudfilesResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingCloudfilesResponse();
- LoggingCloudfiles.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingCloudfilesAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +67,44 @@ class LoggingCloudfilesResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -103,21 +124,6 @@ class LoggingCloudfilesResponse {
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -137,13 +143,6 @@ LoggingCloudfilesResponse.prototype['name'] = undefined;
*/
LoggingCloudfilesResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCloudfilesResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCloudfilesResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -157,6 +156,13 @@ LoggingCloudfilesResponse.prototype['response_condition'] = undefined;
*/
LoggingCloudfilesResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCloudfilesResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCloudfilesResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingCloudfilesResponse.MessageTypeEnum} message_type
@@ -170,25 +176,53 @@ LoggingCloudfilesResponse.prototype['message_type'] = undefined;
*/
LoggingCloudfilesResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingCloudfilesResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingCloudfilesResponse.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingCloudfilesResponse.prototype['period'] = 3600;
+LoggingCloudfilesResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingCloudfilesResponse.prototype['gzip_level'] = 0;
+LoggingCloudfilesResponse.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingCloudfilesResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingCloudfilesResponse.prototype['compression_codec'] = undefined;
+LoggingCloudfilesResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingCloudfilesResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingCloudfilesResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingCloudfilesResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingCloudfilesResponse.prototype['version'] = undefined;
/**
* Your Cloud Files account access key.
@@ -228,148 +262,122 @@ LoggingCloudfilesResponse.prototype['public_key'] = 'null';
*/
LoggingCloudfilesResponse.prototype['user'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingCloudfilesResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingCloudfilesResponse.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingCloudfilesResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingCloudfilesResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingCloudfilesResponse.prototype['version'] = undefined;
-
-// Implement LoggingCloudfiles interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingCloudfiles.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCloudfiles.PlacementEnum} placement
- */
-LoggingCloudfiles.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCloudfiles.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingCloudfiles.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingCloudfiles.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingCloudfiles.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingCloudfiles.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingCloudfiles.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingCloudfiles.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingCloudfiles.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingCloudfiles.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingCloudfiles.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-LoggingCloudfiles.prototype['compression_codec'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingCloudfilesAdditional interface:
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-LoggingCloudfiles.prototype['access_key'] = undefined;
+LoggingCloudfilesAdditional.prototype['access_key'] = undefined;
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-LoggingCloudfiles.prototype['bucket_name'] = undefined;
+LoggingCloudfilesAdditional.prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingCloudfiles.prototype['path'] = 'null';
+LoggingCloudfilesAdditional.prototype['path'] = 'null';
/**
* The region to stream logs to.
- * @member {module:model/LoggingCloudfiles.RegionEnum} region
+ * @member {module:model/LoggingCloudfilesAdditional.RegionEnum} region
*/
-LoggingCloudfiles.prototype['region'] = undefined;
+LoggingCloudfilesAdditional.prototype['region'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingCloudfiles.prototype['public_key'] = 'null';
+LoggingCloudfilesAdditional.prototype['public_key'] = 'null';
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-LoggingCloudfiles.prototype['user'] = undefined;
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingCloudfilesAdditional.prototype['user'] = undefined;
@@ -402,22 +410,22 @@ LoggingCloudfilesResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingCloudfilesResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingCommon.js b/src/model/LoggingCommon.js
index 9d25d05ec..2fe1994f2 100644
--- a/src/model/LoggingCommon.js
+++ b/src/model/LoggingCommon.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingCommon model module.
* @module model/LoggingCommon
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingCommon {
/**
@@ -52,9 +52,6 @@ class LoggingCommon {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
@@ -80,13 +77,6 @@ LoggingCommon.prototype['name'] = undefined;
*/
LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -131,27 +121,6 @@ LoggingCommon['PlacementEnum'] = {
};
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingCommon['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
export default LoggingCommon;
diff --git a/src/model/LoggingLoggly.js b/src/model/LoggingCommonResponse.js
similarity index 60%
rename from src/model/LoggingLoggly.js
rename to src/model/LoggingCommonResponse.js
index 74fa82cad..19cb96c93 100644
--- a/src/model/LoggingLoggly.js
+++ b/src/model/LoggingCommonResponse.js
@@ -11,24 +11,24 @@
*/
import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingLogglyAllOf from './LoggingLogglyAllOf';
+import LoggingCommonResponseAllOf from './LoggingCommonResponseAllOf';
+import LoggingCommonResponseAllOf1 from './LoggingCommonResponseAllOf1';
/**
- * The LoggingLoggly model module.
- * @module model/LoggingLoggly
- * @version 5.0.2
+ * The LoggingCommonResponse model module.
+ * @module model/LoggingCommonResponse
+ * @version 6.0.0
*/
-class LoggingLoggly {
+class LoggingCommonResponse {
/**
- * Constructs a new LoggingLoggly
.
- * @alias module:model/LoggingLoggly
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingLogglyAllOf
+ * Constructs a new LoggingCommonResponse
.
+ * @alias module:model/LoggingCommonResponse
+ * @implements module:model/LoggingCommonResponseAllOf
+ * @implements module:model/LoggingCommonResponseAllOf1
*/
constructor() {
- LoggingCommon.initialize(this);LoggingLogglyAllOf.initialize(this);
- LoggingLoggly.initialize(this);
+ LoggingCommonResponseAllOf.initialize(this);LoggingCommonResponseAllOf1.initialize(this);
+ LoggingCommonResponse.initialize(this);
}
/**
@@ -40,17 +40,17 @@ class LoggingLoggly {
}
/**
- * Constructs a LoggingLoggly
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingCommonResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLoggly} obj Optional instance to populate.
- * @return {module:model/LoggingLoggly} The populated LoggingLoggly
instance.
+ * @param {module:model/LoggingCommonResponse} obj Optional instance to populate.
+ * @return {module:model/LoggingCommonResponse} The populated LoggingCommonResponse
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingLoggly();
- LoggingCommon.constructFromObject(data, obj);
- LoggingLogglyAllOf.constructFromObject(data, obj);
+ obj = obj || new LoggingCommonResponse();
+ LoggingCommonResponseAllOf.constructFromObject(data, obj);
+ LoggingCommonResponseAllOf1.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -58,17 +58,14 @@ class LoggingLoggly {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
}
}
return obj;
@@ -81,75 +78,64 @@ class LoggingLoggly {
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingLoggly.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLoggly.PlacementEnum} placement
- */
-LoggingLoggly.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLoggly.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingLoggly.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingLoggly.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingLoggly.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
- * The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
- * @member {String} token
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
*/
-LoggingLoggly.prototype['token'] = undefined;
+LoggingCommonResponse.prototype['format_version'] = undefined;
-// Implement LoggingCommon interface:
+// Implement LoggingCommonResponseAllOf interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingCommon.prototype['name'] = undefined;
+LoggingCommonResponseAllOf.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponseAllOf.PlacementEnum} placement
*/
-LoggingCommon.prototype['format_version'] = undefined;
+LoggingCommonResponseAllOf.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingCommon.prototype['response_condition'] = undefined;
+LoggingCommonResponseAllOf.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingLogglyAllOf interface:
+LoggingCommonResponseAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingCommonResponseAllOf1 interface:
/**
- * The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
- * @member {String} token
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponseAllOf1.FormatVersionEnum} format_version
+ * @default '2'
*/
-LoggingLogglyAllOf.prototype['token'] = undefined;
+LoggingCommonResponseAllOf1.prototype['format_version'] = undefined;
@@ -158,7 +144,7 @@ LoggingLogglyAllOf.prototype['token'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingLoggly['PlacementEnum'] = {
+LoggingCommonResponse['PlacementEnum'] = {
/**
* value: "none"
@@ -182,25 +168,25 @@ LoggingLoggly['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
-LoggingLoggly['FormatVersionEnum'] = {
+LoggingCommonResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
-export default LoggingLoggly;
+export default LoggingCommonResponse;
diff --git a/src/model/LoggingCommonResponseAllOf.js b/src/model/LoggingCommonResponseAllOf.js
new file mode 100644
index 000000000..9e1d44ec6
--- /dev/null
+++ b/src/model/LoggingCommonResponseAllOf.js
@@ -0,0 +1,126 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingCommonResponseAllOf model module.
+ * @module model/LoggingCommonResponseAllOf
+ * @version 6.0.0
+ */
+class LoggingCommonResponseAllOf {
+ /**
+ * Constructs a new LoggingCommonResponseAllOf
.
+ * @alias module:model/LoggingCommonResponseAllOf
+ */
+ constructor() {
+
+ LoggingCommonResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingCommonResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingCommonResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/LoggingCommonResponseAllOf} The populated LoggingCommonResponseAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingCommonResponseAllOf();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('placement')) {
+ obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
+ }
+ if (data.hasOwnProperty('response_condition')) {
+ obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
+ }
+ if (data.hasOwnProperty('format')) {
+ obj['format'] = ApiClient.convertToType(data['format'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The name for the real-time logging configuration.
+ * @member {String} name
+ */
+LoggingCommonResponseAllOf.prototype['name'] = undefined;
+
+/**
+ * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
+ * @member {module:model/LoggingCommonResponseAllOf.PlacementEnum} placement
+ */
+LoggingCommonResponseAllOf.prototype['placement'] = undefined;
+
+/**
+ * The name of an existing condition in the configured endpoint, or leave blank to always execute.
+ * @member {String} response_condition
+ */
+LoggingCommonResponseAllOf.prototype['response_condition'] = undefined;
+
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingCommonResponseAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
+
+
+
+
+/**
+ * Allowed values for the placement
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingCommonResponseAllOf['PlacementEnum'] = {
+
+ /**
+ * value: "none"
+ * @const
+ */
+ "none": "none",
+
+ /**
+ * value: "waf_debug"
+ * @const
+ */
+ "waf_debug": "waf_debug",
+
+ /**
+ * value: "null"
+ * @const
+ */
+ "null": "null"
+};
+
+
+
+export default LoggingCommonResponseAllOf;
+
diff --git a/src/model/LoggingCommonResponseAllOf1.js b/src/model/LoggingCommonResponseAllOf1.js
new file mode 100644
index 000000000..42c299cad
--- /dev/null
+++ b/src/model/LoggingCommonResponseAllOf1.js
@@ -0,0 +1,93 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingCommonResponseAllOf1 model module.
+ * @module model/LoggingCommonResponseAllOf1
+ * @version 6.0.0
+ */
+class LoggingCommonResponseAllOf1 {
+ /**
+ * Constructs a new LoggingCommonResponseAllOf1
.
+ * @alias module:model/LoggingCommonResponseAllOf1
+ */
+ constructor() {
+
+ LoggingCommonResponseAllOf1.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingCommonResponseAllOf1
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingCommonResponseAllOf1} obj Optional instance to populate.
+ * @return {module:model/LoggingCommonResponseAllOf1} The populated LoggingCommonResponseAllOf1
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingCommonResponseAllOf1();
+
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponseAllOf1.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponseAllOf1.prototype['format_version'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the format_version
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingCommonResponseAllOf1['FormatVersionEnum'] = {
+
+ /**
+ * value: "1"
+ * @const
+ */
+ "v1": "1",
+
+ /**
+ * value: "2"
+ * @const
+ */
+ "v2": "2"
+};
+
+
+
+export default LoggingCommonResponseAllOf1;
+
diff --git a/src/model/LoggingDatadog.js b/src/model/LoggingDatadog.js
deleted file mode 100644
index 9db5bf968..000000000
--- a/src/model/LoggingDatadog.js
+++ /dev/null
@@ -1,249 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingDatadogAllOf from './LoggingDatadogAllOf';
-
-/**
- * The LoggingDatadog model module.
- * @module model/LoggingDatadog
- * @version 5.0.2
- */
-class LoggingDatadog {
- /**
- * Constructs a new LoggingDatadog
.
- * @alias module:model/LoggingDatadog
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingDatadogAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingDatadogAllOf.initialize(this);
- LoggingDatadog.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingDatadog
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingDatadog} obj Optional instance to populate.
- * @return {module:model/LoggingDatadog} The populated LoggingDatadog
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingDatadog();
- LoggingCommon.constructFromObject(data, obj);
- LoggingDatadogAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('region')) {
- obj['region'] = ApiClient.convertToType(data['region'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingDatadog.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingDatadog.PlacementEnum} placement
- */
-LoggingDatadog.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDatadog.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingDatadog.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingDatadog.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
- * @member {String} format
- * @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
- */
-LoggingDatadog.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
-
-/**
- * The region that log data will be sent to.
- * @member {module:model/LoggingDatadog.RegionEnum} region
- * @default 'US'
- */
-LoggingDatadog.prototype['region'] = undefined;
-
-/**
- * The API key from your Datadog account. Required.
- * @member {String} token
- */
-LoggingDatadog.prototype['token'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingDatadogAllOf interface:
-/**
- * The region that log data will be sent to.
- * @member {module:model/LoggingDatadogAllOf.RegionEnum} region
- * @default 'US'
- */
-LoggingDatadogAllOf.prototype['region'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
- * @member {String} format
- * @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
- */
-LoggingDatadogAllOf.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
-/**
- * The API key from your Datadog account. Required.
- * @member {String} token
- */
-LoggingDatadogAllOf.prototype['token'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingDatadog['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingDatadog['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-LoggingDatadog['RegionEnum'] = {
-
- /**
- * value: "US"
- * @const
- */
- "US": "US",
-
- /**
- * value: "EU"
- * @const
- */
- "EU": "EU"
-};
-
-
-
-export default LoggingDatadog;
-
diff --git a/src/model/LoggingDatadogAllOf.js b/src/model/LoggingDatadogAdditional.js
similarity index 57%
rename from src/model/LoggingDatadogAllOf.js
rename to src/model/LoggingDatadogAdditional.js
index a59a8d8ff..f92c58db3 100644
--- a/src/model/LoggingDatadogAllOf.js
+++ b/src/model/LoggingDatadogAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingDatadogAllOf model module.
- * @module model/LoggingDatadogAllOf
- * @version 5.0.2
+ * The LoggingDatadogAdditional model module.
+ * @module model/LoggingDatadogAdditional
+ * @version 6.0.0
*/
-class LoggingDatadogAllOf {
+class LoggingDatadogAdditional {
/**
- * Constructs a new LoggingDatadogAllOf
.
- * @alias module:model/LoggingDatadogAllOf
+ * Constructs a new LoggingDatadogAdditional
.
+ * @alias module:model/LoggingDatadogAdditional
*/
constructor() {
- LoggingDatadogAllOf.initialize(this);
+ LoggingDatadogAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingDatadogAllOf {
}
/**
- * Constructs a LoggingDatadogAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingDatadogAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingDatadogAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingDatadogAllOf} The populated LoggingDatadogAllOf
instance.
+ * @param {module:model/LoggingDatadogAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingDatadogAdditional} The populated LoggingDatadogAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingDatadogAllOf();
+ obj = obj || new LoggingDatadogAdditional();
if (data.hasOwnProperty('region')) {
obj['region'] = ApiClient.convertToType(data['region'], 'String');
@@ -64,23 +64,23 @@ class LoggingDatadogAllOf {
/**
* The region that log data will be sent to.
- * @member {module:model/LoggingDatadogAllOf.RegionEnum} region
+ * @member {module:model/LoggingDatadogAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingDatadogAllOf.prototype['region'] = undefined;
+LoggingDatadogAdditional.prototype['region'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-LoggingDatadogAllOf.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+LoggingDatadogAdditional.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-LoggingDatadogAllOf.prototype['token'] = undefined;
+LoggingDatadogAdditional.prototype['token'] = undefined;
@@ -91,7 +91,7 @@ LoggingDatadogAllOf.prototype['token'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingDatadogAllOf['RegionEnum'] = {
+LoggingDatadogAdditional['RegionEnum'] = {
/**
* value: "US"
@@ -108,5 +108,5 @@ LoggingDatadogAllOf['RegionEnum'] = {
-export default LoggingDatadogAllOf;
+export default LoggingDatadogAdditional;
diff --git a/src/model/LoggingDatadogResponse.js b/src/model/LoggingDatadogResponse.js
index 4a4aef09f..ffe0f8d1f 100644
--- a/src/model/LoggingDatadogResponse.js
+++ b/src/model/LoggingDatadogResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingDatadog from './LoggingDatadog';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingDatadogAdditional from './LoggingDatadogAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingDatadogResponse model module.
* @module model/LoggingDatadogResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingDatadogResponse {
/**
* Constructs a new LoggingDatadogResponse
.
* @alias module:model/LoggingDatadogResponse
- * @implements module:model/LoggingDatadog
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingDatadogAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingDatadog.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingDatadogAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingDatadogResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingDatadogResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDatadogResponse();
- LoggingDatadog.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingDatadogAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingDatadogResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('region')) {
obj['region'] = ApiClient.convertToType(data['region'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingDatadogResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingDatadogResponse.prototype['name'] = undefined;
*/
LoggingDatadogResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDatadogResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingDatadogResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -130,6 +126,13 @@ LoggingDatadogResponse.prototype['response_condition'] = undefined;
*/
LoggingDatadogResponse.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingDatadogResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingDatadogResponse.prototype['format_version'] = undefined;
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingDatadogResponse.RegionEnum} region
@@ -167,50 +170,57 @@ LoggingDatadogResponse.prototype['updated_at'] = undefined;
LoggingDatadogResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingDatadogResponse.prototype['version'] = undefined;
-// Implement LoggingDatadog interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingDatadog.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingDatadog.PlacementEnum} placement
- */
-LoggingDatadog.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDatadog.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingDatadog.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingDatadog.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
- * @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
+ * @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingDatadog.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingDatadogAdditional interface:
/**
* The region that log data will be sent to.
- * @member {module:model/LoggingDatadog.RegionEnum} region
+ * @member {module:model/LoggingDatadogAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingDatadog.prototype['region'] = undefined;
+LoggingDatadogAdditional.prototype['region'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
+ * @member {String} format
+ * @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
+ */
+LoggingDatadogAdditional.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-LoggingDatadog.prototype['token'] = undefined;
+LoggingDatadogAdditional.prototype['token'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -227,15 +237,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -268,22 +278,22 @@ LoggingDatadogResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingDatadogResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingDigitalocean.js b/src/model/LoggingDigitalocean.js
deleted file mode 100644
index 89f7c144e..000000000
--- a/src/model/LoggingDigitalocean.js
+++ /dev/null
@@ -1,422 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingDigitaloceanAllOf from './LoggingDigitaloceanAllOf';
-import LoggingGenericCommon from './LoggingGenericCommon';
-
-/**
- * The LoggingDigitalocean model module.
- * @module model/LoggingDigitalocean
- * @version 5.0.2
- */
-class LoggingDigitalocean {
- /**
- * Constructs a new LoggingDigitalocean
.
- * @alias module:model/LoggingDigitalocean
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingDigitaloceanAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingDigitaloceanAllOf.initialize(this);
- LoggingDigitalocean.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingDigitalocean
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingDigitalocean} obj Optional instance to populate.
- * @return {module:model/LoggingDigitalocean} The populated LoggingDigitalocean
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingDigitalocean();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingDigitaloceanAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('access_key')) {
- obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('domain')) {
- obj['domain'] = ApiClient.convertToType(data['domain'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingDigitalocean.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingDigitalocean.PlacementEnum} placement
- */
-LoggingDigitalocean.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDigitalocean.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingDigitalocean.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingDigitalocean.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingDigitalocean.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingDigitalocean.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingDigitalocean.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingDigitalocean.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingDigitalocean.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingDigitalocean.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingDigitalocean.CompressionCodecEnum} compression_codec
- */
-LoggingDigitalocean.prototype['compression_codec'] = undefined;
-
-/**
- * The name of the DigitalOcean Space.
- * @member {String} bucket_name
- */
-LoggingDigitalocean.prototype['bucket_name'] = undefined;
-
-/**
- * Your DigitalOcean Spaces account access key.
- * @member {String} access_key
- */
-LoggingDigitalocean.prototype['access_key'] = undefined;
-
-/**
- * Your DigitalOcean Spaces account secret key.
- * @member {String} secret_key
- */
-LoggingDigitalocean.prototype['secret_key'] = undefined;
-
-/**
- * The domain of the DigitalOcean Spaces endpoint.
- * @member {String} domain
- * @default 'nyc3.digitaloceanspaces.com'
- */
-LoggingDigitalocean.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingDigitalocean.prototype['path'] = 'null';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingDigitalocean.prototype['public_key'] = 'null';
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingDigitaloceanAllOf interface:
-/**
- * The name of the DigitalOcean Space.
- * @member {String} bucket_name
- */
-LoggingDigitaloceanAllOf.prototype['bucket_name'] = undefined;
-/**
- * Your DigitalOcean Spaces account access key.
- * @member {String} access_key
- */
-LoggingDigitaloceanAllOf.prototype['access_key'] = undefined;
-/**
- * Your DigitalOcean Spaces account secret key.
- * @member {String} secret_key
- */
-LoggingDigitaloceanAllOf.prototype['secret_key'] = undefined;
-/**
- * The domain of the DigitalOcean Spaces endpoint.
- * @member {String} domain
- * @default 'nyc3.digitaloceanspaces.com'
- */
-LoggingDigitaloceanAllOf.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingDigitaloceanAllOf.prototype['path'] = 'null';
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingDigitaloceanAllOf.prototype['public_key'] = 'null';
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingDigitalocean['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingDigitalocean['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingDigitalocean['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingDigitalocean['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingDigitalocean;
-
diff --git a/src/model/LoggingDigitaloceanAllOf.js b/src/model/LoggingDigitaloceanAdditional.js
similarity index 71%
rename from src/model/LoggingDigitaloceanAllOf.js
rename to src/model/LoggingDigitaloceanAdditional.js
index b498e1643..e72f26577 100644
--- a/src/model/LoggingDigitaloceanAllOf.js
+++ b/src/model/LoggingDigitaloceanAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingDigitaloceanAllOf model module.
- * @module model/LoggingDigitaloceanAllOf
- * @version 5.0.2
+ * The LoggingDigitaloceanAdditional model module.
+ * @module model/LoggingDigitaloceanAdditional
+ * @version 6.0.0
*/
-class LoggingDigitaloceanAllOf {
+class LoggingDigitaloceanAdditional {
/**
- * Constructs a new LoggingDigitaloceanAllOf
.
- * @alias module:model/LoggingDigitaloceanAllOf
+ * Constructs a new LoggingDigitaloceanAdditional
.
+ * @alias module:model/LoggingDigitaloceanAdditional
*/
constructor() {
- LoggingDigitaloceanAllOf.initialize(this);
+ LoggingDigitaloceanAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingDigitaloceanAllOf {
}
/**
- * Constructs a LoggingDigitaloceanAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingDigitaloceanAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingDigitaloceanAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingDigitaloceanAllOf} The populated LoggingDigitaloceanAllOf
instance.
+ * @param {module:model/LoggingDigitaloceanAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingDigitaloceanAdditional} The populated LoggingDigitaloceanAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingDigitaloceanAllOf();
+ obj = obj || new LoggingDigitaloceanAdditional();
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
@@ -75,45 +75,45 @@ class LoggingDigitaloceanAllOf {
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-LoggingDigitaloceanAllOf.prototype['bucket_name'] = undefined;
+LoggingDigitaloceanAdditional.prototype['bucket_name'] = undefined;
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-LoggingDigitaloceanAllOf.prototype['access_key'] = undefined;
+LoggingDigitaloceanAdditional.prototype['access_key'] = undefined;
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-LoggingDigitaloceanAllOf.prototype['secret_key'] = undefined;
+LoggingDigitaloceanAdditional.prototype['secret_key'] = undefined;
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-LoggingDigitaloceanAllOf.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
+LoggingDigitaloceanAdditional.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingDigitaloceanAllOf.prototype['path'] = 'null';
+LoggingDigitaloceanAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingDigitaloceanAllOf.prototype['public_key'] = 'null';
+LoggingDigitaloceanAdditional.prototype['public_key'] = 'null';
-export default LoggingDigitaloceanAllOf;
+export default LoggingDigitaloceanAdditional;
diff --git a/src/model/LoggingDigitaloceanResponse.js b/src/model/LoggingDigitaloceanResponse.js
index 339eb597c..8cefe8429 100644
--- a/src/model/LoggingDigitaloceanResponse.js
+++ b/src/model/LoggingDigitaloceanResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingDigitalocean from './LoggingDigitalocean';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingDigitaloceanAdditional from './LoggingDigitaloceanAdditional';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingDigitaloceanResponse model module.
* @module model/LoggingDigitaloceanResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingDigitaloceanResponse {
/**
* Constructs a new LoggingDigitaloceanResponse
.
* @alias module:model/LoggingDigitaloceanResponse
- * @implements module:model/LoggingDigitalocean
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingDigitaloceanAdditional
*/
constructor() {
- LoggingDigitalocean.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingDigitaloceanAdditional.initialize(this);
LoggingDigitaloceanResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingDigitaloceanResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDigitaloceanResponse();
- LoggingDigitalocean.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingDigitaloceanAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +67,44 @@ class LoggingDigitaloceanResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
@@ -103,21 +124,6 @@ class LoggingDigitaloceanResponse {
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -137,13 +143,6 @@ LoggingDigitaloceanResponse.prototype['name'] = undefined;
*/
LoggingDigitaloceanResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDigitaloceanResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingDigitaloceanResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -157,6 +156,13 @@ LoggingDigitaloceanResponse.prototype['response_condition'] = undefined;
*/
LoggingDigitaloceanResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingDigitaloceanResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingDigitaloceanResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingDigitaloceanResponse.MessageTypeEnum} message_type
@@ -170,25 +176,53 @@ LoggingDigitaloceanResponse.prototype['message_type'] = undefined;
*/
LoggingDigitaloceanResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingDigitaloceanResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingDigitaloceanResponse.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingDigitaloceanResponse.prototype['period'] = 3600;
+LoggingDigitaloceanResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingDigitaloceanResponse.prototype['gzip_level'] = 0;
+LoggingDigitaloceanResponse.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingDigitaloceanResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingDigitaloceanResponse.prototype['compression_codec'] = undefined;
+LoggingDigitaloceanResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingDigitaloceanResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingDigitaloceanResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingDigitaloceanResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingDigitaloceanResponse.prototype['version'] = undefined;
/**
* The name of the DigitalOcean Space.
@@ -229,149 +263,123 @@ LoggingDigitaloceanResponse.prototype['path'] = 'null';
*/
LoggingDigitaloceanResponse.prototype['public_key'] = 'null';
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingDigitaloceanResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingDigitaloceanResponse.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingDigitaloceanResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingDigitaloceanResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingDigitaloceanResponse.prototype['version'] = undefined;
-
-// Implement LoggingDigitalocean interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingDigitalocean.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingDigitalocean.PlacementEnum} placement
- */
-LoggingDigitalocean.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingDigitalocean.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingDigitalocean.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingDigitalocean.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingDigitalocean.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingDigitalocean.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingDigitalocean.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingDigitalocean.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingDigitalocean.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingDigitalocean.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingDigitalocean.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-LoggingDigitalocean.prototype['compression_codec'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingDigitaloceanAdditional interface:
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-LoggingDigitalocean.prototype['bucket_name'] = undefined;
+LoggingDigitaloceanAdditional.prototype['bucket_name'] = undefined;
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-LoggingDigitalocean.prototype['access_key'] = undefined;
+LoggingDigitaloceanAdditional.prototype['access_key'] = undefined;
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-LoggingDigitalocean.prototype['secret_key'] = undefined;
+LoggingDigitaloceanAdditional.prototype['secret_key'] = undefined;
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-LoggingDigitalocean.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
+LoggingDigitaloceanAdditional.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingDigitalocean.prototype['path'] = 'null';
+LoggingDigitaloceanAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingDigitalocean.prototype['public_key'] = 'null';
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingDigitaloceanAdditional.prototype['public_key'] = 'null';
@@ -404,22 +412,22 @@ LoggingDigitaloceanResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingDigitaloceanResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingElasticsearch.js b/src/model/LoggingElasticsearch.js
deleted file mode 100644
index 6eab26fe8..000000000
--- a/src/model/LoggingElasticsearch.js
+++ /dev/null
@@ -1,370 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingElasticsearchAllOf from './LoggingElasticsearchAllOf';
-import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
-import LoggingTlsCommon from './LoggingTlsCommon';
-
-/**
- * The LoggingElasticsearch model module.
- * @module model/LoggingElasticsearch
- * @version 5.0.2
- */
-class LoggingElasticsearch {
- /**
- * Constructs a new LoggingElasticsearch
.
- * @alias module:model/LoggingElasticsearch
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingRequestCapsCommon
- * @implements module:model/LoggingElasticsearchAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingElasticsearchAllOf.initialize(this);
- LoggingElasticsearch.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingElasticsearch
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingElasticsearch} obj Optional instance to populate.
- * @return {module:model/LoggingElasticsearch} The populated LoggingElasticsearch
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingElasticsearch();
- LoggingCommon.constructFromObject(data, obj);
- LoggingTlsCommon.constructFromObject(data, obj);
- LoggingRequestCapsCommon.constructFromObject(data, obj);
- LoggingElasticsearchAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = ApiClient.convertToType(data['tls_client_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = ApiClient.convertToType(data['tls_client_key'], 'String');
- }
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
- }
- if (data.hasOwnProperty('request_max_entries')) {
- obj['request_max_entries'] = ApiClient.convertToType(data['request_max_entries'], 'Number');
- }
- if (data.hasOwnProperty('request_max_bytes')) {
- obj['request_max_bytes'] = ApiClient.convertToType(data['request_max_bytes'], 'Number');
- }
- if (data.hasOwnProperty('index')) {
- obj['index'] = ApiClient.convertToType(data['index'], 'String');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- if (data.hasOwnProperty('pipeline')) {
- obj['pipeline'] = ApiClient.convertToType(data['pipeline'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- if (data.hasOwnProperty('password')) {
- obj['password'] = ApiClient.convertToType(data['password'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingElasticsearch.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingElasticsearch.PlacementEnum} placement
- */
-LoggingElasticsearch.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingElasticsearch.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingElasticsearch.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingElasticsearch.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
- * @member {String} format
- */
-LoggingElasticsearch.prototype['format'] = undefined;
-
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingElasticsearch.prototype['tls_ca_cert'] = 'null';
-
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingElasticsearch.prototype['tls_client_cert'] = 'null';
-
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingElasticsearch.prototype['tls_client_key'] = 'null';
-
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingElasticsearch.prototype['tls_hostname'] = 'null';
-
-/**
- * The maximum number of logs sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingElasticsearch.prototype['request_max_entries'] = 0;
-
-/**
- * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingElasticsearch.prototype['request_max_bytes'] = 0;
-
-/**
- * The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
- * @member {String} index
- */
-LoggingElasticsearch.prototype['index'] = undefined;
-
-/**
- * The URL to stream logs to. Must use HTTPS.
- * @member {String} url
- */
-LoggingElasticsearch.prototype['url'] = undefined;
-
-/**
- * The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
- * @member {String} pipeline
- */
-LoggingElasticsearch.prototype['pipeline'] = undefined;
-
-/**
- * Basic Auth username.
- * @member {String} user
- */
-LoggingElasticsearch.prototype['user'] = undefined;
-
-/**
- * Basic Auth password.
- * @member {String} password
- */
-LoggingElasticsearch.prototype['password'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingTlsCommon interface:
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_key'] = 'null';
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_hostname'] = 'null';
-// Implement LoggingRequestCapsCommon interface:
-/**
- * The maximum number of logs sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
-/**
- * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
-// Implement LoggingElasticsearchAllOf interface:
-/**
- * The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
- * @member {String} index
- */
-LoggingElasticsearchAllOf.prototype['index'] = undefined;
-/**
- * The URL to stream logs to. Must use HTTPS.
- * @member {String} url
- */
-LoggingElasticsearchAllOf.prototype['url'] = undefined;
-/**
- * The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
- * @member {String} pipeline
- */
-LoggingElasticsearchAllOf.prototype['pipeline'] = undefined;
-/**
- * Basic Auth username.
- * @member {String} user
- */
-LoggingElasticsearchAllOf.prototype['user'] = undefined;
-/**
- * Basic Auth password.
- * @member {String} password
- */
-LoggingElasticsearchAllOf.prototype['password'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
- * @member {String} format
- */
-LoggingElasticsearchAllOf.prototype['format'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingElasticsearch['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingElasticsearch['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingElasticsearch;
-
diff --git a/src/model/LoggingElasticsearchAllOf.js b/src/model/LoggingElasticsearchAdditional.js
similarity index 74%
rename from src/model/LoggingElasticsearchAllOf.js
rename to src/model/LoggingElasticsearchAdditional.js
index 07ef6a7c1..f351dbbc6 100644
--- a/src/model/LoggingElasticsearchAllOf.js
+++ b/src/model/LoggingElasticsearchAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingElasticsearchAllOf model module.
- * @module model/LoggingElasticsearchAllOf
- * @version 5.0.2
+ * The LoggingElasticsearchAdditional model module.
+ * @module model/LoggingElasticsearchAdditional
+ * @version 6.0.0
*/
-class LoggingElasticsearchAllOf {
+class LoggingElasticsearchAdditional {
/**
- * Constructs a new LoggingElasticsearchAllOf
.
- * @alias module:model/LoggingElasticsearchAllOf
+ * Constructs a new LoggingElasticsearchAdditional
.
+ * @alias module:model/LoggingElasticsearchAdditional
*/
constructor() {
- LoggingElasticsearchAllOf.initialize(this);
+ LoggingElasticsearchAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingElasticsearchAllOf {
}
/**
- * Constructs a LoggingElasticsearchAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingElasticsearchAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingElasticsearchAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingElasticsearchAllOf} The populated LoggingElasticsearchAllOf
instance.
+ * @param {module:model/LoggingElasticsearchAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingElasticsearchAdditional} The populated LoggingElasticsearchAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingElasticsearchAllOf();
+ obj = obj || new LoggingElasticsearchAdditional();
if (data.hasOwnProperty('index')) {
obj['index'] = ApiClient.convertToType(data['index'], 'String');
@@ -75,42 +75,42 @@ class LoggingElasticsearchAllOf {
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-LoggingElasticsearchAllOf.prototype['index'] = undefined;
+LoggingElasticsearchAdditional.prototype['index'] = undefined;
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-LoggingElasticsearchAllOf.prototype['url'] = undefined;
+LoggingElasticsearchAdditional.prototype['url'] = undefined;
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-LoggingElasticsearchAllOf.prototype['pipeline'] = undefined;
+LoggingElasticsearchAdditional.prototype['pipeline'] = undefined;
/**
* Basic Auth username.
* @member {String} user
*/
-LoggingElasticsearchAllOf.prototype['user'] = undefined;
+LoggingElasticsearchAdditional.prototype['user'] = undefined;
/**
* Basic Auth password.
* @member {String} password
*/
-LoggingElasticsearchAllOf.prototype['password'] = undefined;
+LoggingElasticsearchAdditional.prototype['password'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-LoggingElasticsearchAllOf.prototype['format'] = undefined;
+LoggingElasticsearchAdditional.prototype['format'] = undefined;
-export default LoggingElasticsearchAllOf;
+export default LoggingElasticsearchAdditional;
diff --git a/src/model/LoggingElasticsearchResponse.js b/src/model/LoggingElasticsearchResponse.js
index 58835aae8..ca9e5e277 100644
--- a/src/model/LoggingElasticsearchResponse.js
+++ b/src/model/LoggingElasticsearchResponse.js
@@ -11,25 +11,31 @@
*/
import ApiClient from '../ApiClient';
-import LoggingElasticsearch from './LoggingElasticsearch';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingElasticsearchAdditional from './LoggingElasticsearchAdditional';
+import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
+import LoggingTlsCommon from './LoggingTlsCommon';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingElasticsearchResponse model module.
* @module model/LoggingElasticsearchResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingElasticsearchResponse {
/**
* Constructs a new LoggingElasticsearchResponse
.
* @alias module:model/LoggingElasticsearchResponse
- * @implements module:model/LoggingElasticsearch
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingTlsCommon
+ * @implements module:model/LoggingRequestCapsCommon
+ * @implements module:model/LoggingElasticsearchAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingElasticsearch.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingElasticsearchAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingElasticsearchResponse.initialize(this);
}
@@ -51,9 +57,12 @@ class LoggingElasticsearchResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingElasticsearchResponse();
- LoggingElasticsearch.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingTlsCommon.constructFromObject(data, obj);
+ LoggingRequestCapsCommon.constructFromObject(data, obj);
+ LoggingElasticsearchAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +70,15 @@ class LoggingElasticsearchResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -116,7 +125,7 @@ class LoggingElasticsearchResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -137,13 +146,6 @@ LoggingElasticsearchResponse.prototype['name'] = undefined;
*/
LoggingElasticsearchResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingElasticsearchResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingElasticsearchResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -156,6 +158,13 @@ LoggingElasticsearchResponse.prototype['response_condition'] = undefined;
*/
LoggingElasticsearchResponse.prototype['format'] = undefined;
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingElasticsearchResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingElasticsearchResponse.prototype['format_version'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
@@ -252,99 +261,108 @@ LoggingElasticsearchResponse.prototype['updated_at'] = undefined;
LoggingElasticsearchResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingElasticsearchResponse.prototype['version'] = undefined;
-// Implement LoggingElasticsearch interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingElasticsearch.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingElasticsearch.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingElasticsearch.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingElasticsearch.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingElasticsearch.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingElasticsearch.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
*/
-LoggingElasticsearch.prototype['format'] = undefined;
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingElasticsearch.prototype['tls_ca_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingElasticsearch.prototype['tls_client_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingElasticsearch.prototype['tls_client_key'] = 'null';
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingElasticsearch.prototype['tls_hostname'] = 'null';
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-LoggingElasticsearch.prototype['request_max_entries'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingElasticsearch.prototype['request_max_bytes'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
+// Implement LoggingElasticsearchAdditional interface:
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-LoggingElasticsearch.prototype['index'] = undefined;
+LoggingElasticsearchAdditional.prototype['index'] = undefined;
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-LoggingElasticsearch.prototype['url'] = undefined;
+LoggingElasticsearchAdditional.prototype['url'] = undefined;
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-LoggingElasticsearch.prototype['pipeline'] = undefined;
+LoggingElasticsearchAdditional.prototype['pipeline'] = undefined;
/**
* Basic Auth username.
* @member {String} user
*/
-LoggingElasticsearch.prototype['user'] = undefined;
+LoggingElasticsearchAdditional.prototype['user'] = undefined;
/**
* Basic Auth password.
* @member {String} password
*/
-LoggingElasticsearch.prototype['password'] = undefined;
+LoggingElasticsearchAdditional.prototype['password'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
+ * @member {String} format
+ */
+LoggingElasticsearchAdditional.prototype['format'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -361,15 +379,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -402,22 +420,22 @@ LoggingElasticsearchResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingElasticsearchResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingFormatVersion.js b/src/model/LoggingFormatVersion.js
deleted file mode 100644
index a388a5dbc..000000000
--- a/src/model/LoggingFormatVersion.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-/**
-* Enum class LoggingFormatVersion.
-* @enum {}
-* @readonly
-*/
-export default class LoggingFormatVersion {
-
- /**
- * value: 1
- * @const
- */
- "v1" = 1;
-
-
- /**
- * value: 2
- * @const
- */
- "v2" = 2;
-
-
-
- /**
- * Returns a LoggingFormatVersion
enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/LoggingFormatVersion} The enum LoggingFormatVersion
value.
- */
- static constructFromObject(object) {
- return object;
- }
-}
-
diff --git a/src/model/LoggingFormatVersionInteger.js b/src/model/LoggingFormatVersionInteger.js
new file mode 100644
index 000000000..52b79e60f
--- /dev/null
+++ b/src/model/LoggingFormatVersionInteger.js
@@ -0,0 +1,93 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingFormatVersionInteger model module.
+ * @module model/LoggingFormatVersionInteger
+ * @version 6.0.0
+ */
+class LoggingFormatVersionInteger {
+ /**
+ * Constructs a new LoggingFormatVersionInteger
.
+ * @alias module:model/LoggingFormatVersionInteger
+ */
+ constructor() {
+
+ LoggingFormatVersionInteger.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingFormatVersionInteger
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingFormatVersionInteger} obj Optional instance to populate.
+ * @return {module:model/LoggingFormatVersionInteger} The populated LoggingFormatVersionInteger
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingFormatVersionInteger();
+
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingFormatVersionInteger.FormatVersionEnum} format_version
+ * @default FormatVersionEnum.v2
+ */
+LoggingFormatVersionInteger.prototype['format_version'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the format_version
property.
+ * @enum {Number}
+ * @readonly
+ */
+LoggingFormatVersionInteger['FormatVersionEnum'] = {
+
+ /**
+ * value: 1
+ * @const
+ */
+ "v1": 1,
+
+ /**
+ * value: 2
+ * @const
+ */
+ "v2": 2
+};
+
+
+
+export default LoggingFormatVersionInteger;
+
diff --git a/src/model/LoggingFormatVersionString.js b/src/model/LoggingFormatVersionString.js
new file mode 100644
index 000000000..eae5a4dd1
--- /dev/null
+++ b/src/model/LoggingFormatVersionString.js
@@ -0,0 +1,93 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingFormatVersionString model module.
+ * @module model/LoggingFormatVersionString
+ * @version 6.0.0
+ */
+class LoggingFormatVersionString {
+ /**
+ * Constructs a new LoggingFormatVersionString
.
+ * @alias module:model/LoggingFormatVersionString
+ */
+ constructor() {
+
+ LoggingFormatVersionString.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingFormatVersionString
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingFormatVersionString} obj Optional instance to populate.
+ * @return {module:model/LoggingFormatVersionString} The populated LoggingFormatVersionString
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingFormatVersionString();
+
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingFormatVersionString.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingFormatVersionString.prototype['format_version'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the format_version
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingFormatVersionString['FormatVersionEnum'] = {
+
+ /**
+ * value: "1"
+ * @const
+ */
+ "v1": "1",
+
+ /**
+ * value: "2"
+ * @const
+ */
+ "v2": "2"
+};
+
+
+
+export default LoggingFormatVersionString;
+
diff --git a/src/model/LoggingFtp.js b/src/model/LoggingFtp.js
deleted file mode 100644
index 8276df3c3..000000000
--- a/src/model/LoggingFtp.js
+++ /dev/null
@@ -1,448 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingFtpAllOf from './LoggingFtpAllOf';
-import LoggingGenericCommon from './LoggingGenericCommon';
-
-/**
- * The LoggingFtp model module.
- * @module model/LoggingFtp
- * @version 5.0.2
- */
-class LoggingFtp {
- /**
- * Constructs a new LoggingFtp
.
- * @alias module:model/LoggingFtp
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingFtpAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingFtpAllOf.initialize(this);
- LoggingFtp.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingFtp
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingFtp} obj Optional instance to populate.
- * @return {module:model/LoggingFtp} The populated LoggingFtp
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingFtp();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingFtpAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
- }
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
- }
- if (data.hasOwnProperty('ipv4')) {
- obj['ipv4'] = ApiClient.convertToType(data['ipv4'], 'String');
- }
- if (data.hasOwnProperty('password')) {
- obj['password'] = ApiClient.convertToType(data['password'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingFtp.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingFtp.PlacementEnum} placement
- */
-LoggingFtp.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingFtp.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingFtp.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingFtp.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingFtp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingFtp.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingFtp.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingFtp.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingFtp.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingFtp.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingFtp.CompressionCodecEnum} compression_codec
- */
-LoggingFtp.prototype['compression_codec'] = undefined;
-
-/**
- * An hostname or IPv4 address.
- * @member {String} address
- */
-LoggingFtp.prototype['address'] = undefined;
-
-/**
- * Hostname used.
- * @member {String} hostname
- */
-LoggingFtp.prototype['hostname'] = undefined;
-
-/**
- * IPv4 address of the host.
- * @member {String} ipv4
- */
-LoggingFtp.prototype['ipv4'] = undefined;
-
-/**
- * The password for the server. For anonymous use an email address.
- * @member {String} password
- */
-LoggingFtp.prototype['password'] = undefined;
-
-/**
- * The path to upload log files to. If the path ends in `/` then it is treated as a directory.
- * @member {String} path
- */
-LoggingFtp.prototype['path'] = undefined;
-
-/**
- * The port number.
- * @member {Number} port
- * @default 21
- */
-LoggingFtp.prototype['port'] = 21;
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingFtp.prototype['public_key'] = 'null';
-
-/**
- * The username for the server. Can be anonymous.
- * @member {String} user
- */
-LoggingFtp.prototype['user'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingFtpAllOf interface:
-/**
- * An hostname or IPv4 address.
- * @member {String} address
- */
-LoggingFtpAllOf.prototype['address'] = undefined;
-/**
- * Hostname used.
- * @member {String} hostname
- */
-LoggingFtpAllOf.prototype['hostname'] = undefined;
-/**
- * IPv4 address of the host.
- * @member {String} ipv4
- */
-LoggingFtpAllOf.prototype['ipv4'] = undefined;
-/**
- * The password for the server. For anonymous use an email address.
- * @member {String} password
- */
-LoggingFtpAllOf.prototype['password'] = undefined;
-/**
- * The path to upload log files to. If the path ends in `/` then it is treated as a directory.
- * @member {String} path
- */
-LoggingFtpAllOf.prototype['path'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 21
- */
-LoggingFtpAllOf.prototype['port'] = 21;
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingFtpAllOf.prototype['public_key'] = 'null';
-/**
- * The username for the server. Can be anonymous.
- * @member {String} user
- */
-LoggingFtpAllOf.prototype['user'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingFtp['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingFtp['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingFtp['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingFtp['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingFtp;
-
diff --git a/src/model/LoggingFtpAllOf.js b/src/model/LoggingFtpAdditional.js
similarity index 71%
rename from src/model/LoggingFtpAllOf.js
rename to src/model/LoggingFtpAdditional.js
index 9f0e43fff..f4edd695b 100644
--- a/src/model/LoggingFtpAllOf.js
+++ b/src/model/LoggingFtpAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingFtpAllOf model module.
- * @module model/LoggingFtpAllOf
- * @version 5.0.2
+ * The LoggingFtpAdditional model module.
+ * @module model/LoggingFtpAdditional
+ * @version 6.0.0
*/
-class LoggingFtpAllOf {
+class LoggingFtpAdditional {
/**
- * Constructs a new LoggingFtpAllOf
.
- * @alias module:model/LoggingFtpAllOf
+ * Constructs a new LoggingFtpAdditional
.
+ * @alias module:model/LoggingFtpAdditional
*/
constructor() {
- LoggingFtpAllOf.initialize(this);
+ LoggingFtpAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingFtpAllOf {
}
/**
- * Constructs a LoggingFtpAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingFtpAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingFtpAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingFtpAllOf} The populated LoggingFtpAllOf
instance.
+ * @param {module:model/LoggingFtpAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingFtpAdditional} The populated LoggingFtpAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingFtpAllOf();
+ obj = obj || new LoggingFtpAdditional();
if (data.hasOwnProperty('address')) {
obj['address'] = ApiClient.convertToType(data['address'], 'String');
@@ -61,9 +61,6 @@ class LoggingFtpAllOf {
if (data.hasOwnProperty('path')) {
obj['path'] = ApiClient.convertToType(data['path'], 'String');
}
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
}
@@ -81,56 +78,49 @@ class LoggingFtpAllOf {
* An hostname or IPv4 address.
* @member {String} address
*/
-LoggingFtpAllOf.prototype['address'] = undefined;
+LoggingFtpAdditional.prototype['address'] = undefined;
/**
* Hostname used.
* @member {String} hostname
*/
-LoggingFtpAllOf.prototype['hostname'] = undefined;
+LoggingFtpAdditional.prototype['hostname'] = undefined;
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-LoggingFtpAllOf.prototype['ipv4'] = undefined;
+LoggingFtpAdditional.prototype['ipv4'] = undefined;
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-LoggingFtpAllOf.prototype['password'] = undefined;
+LoggingFtpAdditional.prototype['password'] = undefined;
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-LoggingFtpAllOf.prototype['path'] = undefined;
-
-/**
- * The port number.
- * @member {Number} port
- * @default 21
- */
-LoggingFtpAllOf.prototype['port'] = 21;
+LoggingFtpAdditional.prototype['path'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingFtpAllOf.prototype['public_key'] = 'null';
+LoggingFtpAdditional.prototype['public_key'] = 'null';
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-LoggingFtpAllOf.prototype['user'] = undefined;
+LoggingFtpAdditional.prototype['user'] = undefined;
-export default LoggingFtpAllOf;
+export default LoggingFtpAdditional;
diff --git a/src/model/LoggingFtpResponse.js b/src/model/LoggingFtpResponse.js
index d8f96298b..bea7c8241 100644
--- a/src/model/LoggingFtpResponse.js
+++ b/src/model/LoggingFtpResponse.js
@@ -11,25 +11,31 @@
*/
import ApiClient from '../ApiClient';
-import LoggingFtp from './LoggingFtp';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingFtpAdditional from './LoggingFtpAdditional';
+import LoggingFtpResponseAllOf from './LoggingFtpResponseAllOf';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingFtpResponse model module.
* @module model/LoggingFtpResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingFtpResponse {
/**
* Constructs a new LoggingFtpResponse
.
* @alias module:model/LoggingFtpResponse
- * @implements module:model/LoggingFtp
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingFtpAdditional
+ * @implements module:model/LoggingFtpResponseAllOf
*/
constructor() {
- LoggingFtp.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingFtpAdditional.initialize(this);LoggingFtpResponseAllOf.initialize(this);
LoggingFtpResponse.initialize(this);
}
@@ -51,9 +57,12 @@ class LoggingFtpResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingFtpResponse();
- LoggingFtp.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingFtpAdditional.constructFromObject(data, obj);
+ LoggingFtpResponseAllOf.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +70,44 @@ class LoggingFtpResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('address')) {
obj['address'] = ApiClient.convertToType(data['address'], 'String');
@@ -100,29 +124,14 @@ class LoggingFtpResponse {
if (data.hasOwnProperty('path')) {
obj['path'] = ApiClient.convertToType(data['path'], 'String');
}
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
}
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'String');
}
}
return obj;
@@ -143,13 +152,6 @@ LoggingFtpResponse.prototype['name'] = undefined;
*/
LoggingFtpResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingFtpResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingFtpResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -163,6 +165,13 @@ LoggingFtpResponse.prototype['response_condition'] = undefined;
*/
LoggingFtpResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingFtpResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingFtpResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingFtpResponse.MessageTypeEnum} message_type
@@ -176,25 +185,53 @@ LoggingFtpResponse.prototype['message_type'] = undefined;
*/
LoggingFtpResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingFtpResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingFtpResponse.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingFtpResponse.prototype['period'] = 3600;
+LoggingFtpResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingFtpResponse.prototype['gzip_level'] = 0;
+LoggingFtpResponse.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingFtpResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingFtpResponse.prototype['compression_codec'] = undefined;
+LoggingFtpResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingFtpResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingFtpResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingFtpResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingFtpResponse.prototype['version'] = undefined;
/**
* An hostname or IPv4 address.
@@ -226,13 +263,6 @@ LoggingFtpResponse.prototype['password'] = undefined;
*/
LoggingFtpResponse.prototype['path'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 21
- */
-LoggingFtpResponse.prototype['port'] = 21;
-
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
@@ -247,157 +277,139 @@ LoggingFtpResponse.prototype['public_key'] = 'null';
LoggingFtpResponse.prototype['user'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingFtpResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingFtpResponse.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingFtpResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingFtpResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
+ * The port number.
+ * @member {String} port
+ * @default '21'
*/
-LoggingFtpResponse.prototype['version'] = undefined;
+LoggingFtpResponse.prototype['port'] = '21';
-// Implement LoggingFtp interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingFtp.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingFtp.PlacementEnum} placement
- */
-LoggingFtp.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingFtp.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingFtp.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingFtp.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingFtp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingFtp.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingFtp.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingFtp.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingFtp.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingFtp.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingFtp.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingFtp.prototype['compression_codec'] = undefined;
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
+ */
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingFtpAdditional interface:
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-LoggingFtp.prototype['address'] = undefined;
+LoggingFtpAdditional.prototype['address'] = undefined;
/**
* Hostname used.
* @member {String} hostname
*/
-LoggingFtp.prototype['hostname'] = undefined;
+LoggingFtpAdditional.prototype['hostname'] = undefined;
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-LoggingFtp.prototype['ipv4'] = undefined;
+LoggingFtpAdditional.prototype['ipv4'] = undefined;
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-LoggingFtp.prototype['password'] = undefined;
+LoggingFtpAdditional.prototype['password'] = undefined;
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-LoggingFtp.prototype['path'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 21
- */
-LoggingFtp.prototype['port'] = 21;
+LoggingFtpAdditional.prototype['path'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingFtp.prototype['public_key'] = 'null';
+LoggingFtpAdditional.prototype['public_key'] = 'null';
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-LoggingFtp.prototype['user'] = undefined;
-// Implement Timestamps interface:
+LoggingFtpAdditional.prototype['user'] = undefined;
+// Implement LoggingFtpResponseAllOf interface:
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
+ * The port number.
+ * @member {String} port
+ * @default '21'
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingFtpResponseAllOf.prototype['port'] = '21';
@@ -430,22 +442,22 @@ LoggingFtpResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingFtpResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingFtpResponseAllOf.js b/src/model/LoggingFtpResponseAllOf.js
new file mode 100644
index 000000000..865401051
--- /dev/null
+++ b/src/model/LoggingFtpResponseAllOf.js
@@ -0,0 +1,72 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingFtpResponseAllOf model module.
+ * @module model/LoggingFtpResponseAllOf
+ * @version 6.0.0
+ */
+class LoggingFtpResponseAllOf {
+ /**
+ * Constructs a new LoggingFtpResponseAllOf
.
+ * @alias module:model/LoggingFtpResponseAllOf
+ */
+ constructor() {
+
+ LoggingFtpResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingFtpResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingFtpResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/LoggingFtpResponseAllOf} The populated LoggingFtpResponseAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingFtpResponseAllOf();
+
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The port number.
+ * @member {String} port
+ * @default '21'
+ */
+LoggingFtpResponseAllOf.prototype['port'] = '21';
+
+
+
+
+
+
+export default LoggingFtpResponseAllOf;
+
diff --git a/src/model/LoggingGcs.js b/src/model/LoggingGcs.js
deleted file mode 100644
index 8a80479ff..000000000
--- a/src/model/LoggingGcs.js
+++ /dev/null
@@ -1,436 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingGcsAllOf from './LoggingGcsAllOf';
-import LoggingGcsCommon from './LoggingGcsCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-
-/**
- * The LoggingGcs model module.
- * @module model/LoggingGcs
- * @version 5.0.2
- */
-class LoggingGcs {
- /**
- * Constructs a new LoggingGcs
.
- * @alias module:model/LoggingGcs
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingGcsCommon
- * @implements module:model/LoggingGcsAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingGcsCommon.initialize(this);LoggingGcsAllOf.initialize(this);
- LoggingGcs.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingGcs
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingGcs} obj Optional instance to populate.
- * @return {module:model/LoggingGcs} The populated LoggingGcs
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingGcs();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingGcsCommon.constructFromObject(data, obj);
- LoggingGcsAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('account_name')) {
- obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String');
- }
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('project_id')) {
- obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingGcs.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingGcs.PlacementEnum} placement
- */
-LoggingGcs.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGcs.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGcs.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingGcs.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingGcs.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGcs.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGcs.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGcs.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGcs.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGcs.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGcs.CompressionCodecEnum} compression_codec
- */
-LoggingGcs.prototype['compression_codec'] = undefined;
-
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingGcs.prototype['user'] = undefined;
-
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingGcs.prototype['secret_key'] = undefined;
-
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingGcs.prototype['account_name'] = undefined;
-
-/**
- * The name of the GCS bucket.
- * @member {String} bucket_name
- */
-LoggingGcs.prototype['bucket_name'] = undefined;
-
-/**
- * @member {String} path
- * @default '/'
- */
-LoggingGcs.prototype['path'] = '/';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingGcs.prototype['public_key'] = 'null';
-
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGcs.prototype['project_id'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingGcsCommon interface:
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingGcsCommon.prototype['user'] = undefined;
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingGcsCommon.prototype['secret_key'] = undefined;
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingGcsCommon.prototype['account_name'] = undefined;
-// Implement LoggingGcsAllOf interface:
-/**
- * The name of the GCS bucket.
- * @member {String} bucket_name
- */
-LoggingGcsAllOf.prototype['bucket_name'] = undefined;
-/**
- * @member {String} path
- * @default '/'
- */
-LoggingGcsAllOf.prototype['path'] = '/';
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingGcsAllOf.prototype['public_key'] = 'null';
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGcsAllOf.prototype['project_id'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingGcs['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingGcs['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingGcs['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingGcs['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingGcs;
-
diff --git a/src/model/LoggingGcsAllOf.js b/src/model/LoggingGcsAdditional.js
similarity index 72%
rename from src/model/LoggingGcsAllOf.js
rename to src/model/LoggingGcsAdditional.js
index 305719a1f..06341c6d2 100644
--- a/src/model/LoggingGcsAllOf.js
+++ b/src/model/LoggingGcsAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingGcsAllOf model module.
- * @module model/LoggingGcsAllOf
- * @version 5.0.2
+ * The LoggingGcsAdditional model module.
+ * @module model/LoggingGcsAdditional
+ * @version 6.0.0
*/
-class LoggingGcsAllOf {
+class LoggingGcsAdditional {
/**
- * Constructs a new LoggingGcsAllOf
.
- * @alias module:model/LoggingGcsAllOf
+ * Constructs a new LoggingGcsAdditional
.
+ * @alias module:model/LoggingGcsAdditional
*/
constructor() {
- LoggingGcsAllOf.initialize(this);
+ LoggingGcsAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingGcsAllOf {
}
/**
- * Constructs a LoggingGcsAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingGcsAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingGcsAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingGcsAllOf} The populated LoggingGcsAllOf
instance.
+ * @param {module:model/LoggingGcsAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingGcsAdditional} The populated LoggingGcsAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingGcsAllOf();
+ obj = obj || new LoggingGcsAdditional();
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
@@ -69,31 +69,31 @@ class LoggingGcsAllOf {
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-LoggingGcsAllOf.prototype['bucket_name'] = undefined;
+LoggingGcsAdditional.prototype['bucket_name'] = undefined;
/**
* @member {String} path
* @default '/'
*/
-LoggingGcsAllOf.prototype['path'] = '/';
+LoggingGcsAdditional.prototype['path'] = '/';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingGcsAllOf.prototype['public_key'] = 'null';
+LoggingGcsAdditional.prototype['public_key'] = 'null';
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-LoggingGcsAllOf.prototype['project_id'] = undefined;
+LoggingGcsAdditional.prototype['project_id'] = undefined;
-export default LoggingGcsAllOf;
+export default LoggingGcsAdditional;
diff --git a/src/model/LoggingGcsCommon.js b/src/model/LoggingGcsCommon.js
index abf25441d..6057fce99 100644
--- a/src/model/LoggingGcsCommon.js
+++ b/src/model/LoggingGcsCommon.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingGcsCommon model module.
* @module model/LoggingGcsCommon
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingGcsCommon {
/**
diff --git a/src/model/LoggingGcsResponse.js b/src/model/LoggingGcsResponse.js
index aca52e6c4..ac972ab59 100644
--- a/src/model/LoggingGcsResponse.js
+++ b/src/model/LoggingGcsResponse.js
@@ -11,25 +11,31 @@
*/
import ApiClient from '../ApiClient';
-import LoggingGcs from './LoggingGcs';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGcsAdditional from './LoggingGcsAdditional';
+import LoggingGcsCommon from './LoggingGcsCommon';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingGcsResponse model module.
* @module model/LoggingGcsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingGcsResponse {
/**
* Constructs a new LoggingGcsResponse
.
* @alias module:model/LoggingGcsResponse
- * @implements module:model/LoggingGcs
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
+ * @implements module:model/LoggingGcsCommon
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingGcsAdditional
*/
constructor() {
- LoggingGcs.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);LoggingGcsCommon.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingGcsAdditional.initialize(this);
LoggingGcsResponse.initialize(this);
}
@@ -51,9 +57,12 @@ class LoggingGcsResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGcsResponse();
- LoggingGcs.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
+ LoggingGcsCommon.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingGcsAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +70,29 @@ class LoggingGcsResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
@@ -94,18 +103,6 @@ class LoggingGcsResponse {
if (data.hasOwnProperty('account_name')) {
obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String');
}
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('project_id')) {
- obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
- }
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
}
@@ -119,7 +116,19 @@ class LoggingGcsResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
+ }
+ if (data.hasOwnProperty('bucket_name')) {
+ obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
+ }
+ if (data.hasOwnProperty('path')) {
+ obj['path'] = ApiClient.convertToType(data['path'], 'String');
+ }
+ if (data.hasOwnProperty('public_key')) {
+ obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
+ }
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
}
}
return obj;
@@ -140,13 +149,6 @@ LoggingGcsResponse.prototype['name'] = undefined;
*/
LoggingGcsResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGcsResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGcsResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -160,6 +162,13 @@ LoggingGcsResponse.prototype['response_condition'] = undefined;
*/
LoggingGcsResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingGcsResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingGcsResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingGcsResponse.MessageTypeEnum} message_type
@@ -174,24 +183,24 @@ LoggingGcsResponse.prototype['message_type'] = undefined;
LoggingGcsResponse.prototype['timestamp_format'] = undefined;
/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGcsResponse.CompressionCodecEnum} compression_codec
*/
-LoggingGcsResponse.prototype['period'] = 3600;
+LoggingGcsResponse.prototype['compression_codec'] = undefined;
/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
*/
-LoggingGcsResponse.prototype['gzip_level'] = 0;
+LoggingGcsResponse.prototype['period'] = '3600';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGcsResponse.CompressionCodecEnum} compression_codec
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingGcsResponse.prototype['compression_codec'] = undefined;
+LoggingGcsResponse.prototype['gzip_level'] = '0';
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
@@ -211,31 +220,6 @@ LoggingGcsResponse.prototype['secret_key'] = undefined;
*/
LoggingGcsResponse.prototype['account_name'] = undefined;
-/**
- * The name of the GCS bucket.
- * @member {String} bucket_name
- */
-LoggingGcsResponse.prototype['bucket_name'] = undefined;
-
-/**
- * @member {String} path
- * @default '/'
- */
-LoggingGcsResponse.prototype['path'] = '/';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingGcsResponse.prototype['public_key'] = 'null';
-
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGcsResponse.prototype['project_id'] = undefined;
-
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
@@ -260,103 +244,109 @@ LoggingGcsResponse.prototype['updated_at'] = undefined;
LoggingGcsResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingGcsResponse.prototype['version'] = undefined;
+/**
+ * The name of the GCS bucket.
+ * @member {String} bucket_name
+ */
+LoggingGcsResponse.prototype['bucket_name'] = undefined;
+
+/**
+ * @member {String} path
+ * @default '/'
+ */
+LoggingGcsResponse.prototype['path'] = '/';
+
+/**
+ * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
+ * @member {String} public_key
+ * @default 'null'
+ */
+LoggingGcsResponse.prototype['public_key'] = 'null';
+
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+LoggingGcsResponse.prototype['project_id'] = undefined;
+
-// Implement LoggingGcs interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingGcs.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingGcs.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingGcs.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGcs.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGcs.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingGcs.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingGcs.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingGcs.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingGcs.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingGcs.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
*/
-LoggingGcs.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
*/
-LoggingGcs.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGcs.CompressionCodecEnum} compression_codec
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingGcs.prototype['compression_codec'] = undefined;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement LoggingGcsCommon interface:
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-LoggingGcs.prototype['user'] = undefined;
+LoggingGcsCommon.prototype['user'] = undefined;
/**
* Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-LoggingGcs.prototype['secret_key'] = undefined;
+LoggingGcsCommon.prototype['secret_key'] = undefined;
/**
* The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
* @member {String} account_name
*/
-LoggingGcs.prototype['account_name'] = undefined;
-/**
- * The name of the GCS bucket.
- * @member {String} bucket_name
- */
-LoggingGcs.prototype['bucket_name'] = undefined;
-/**
- * @member {String} path
- * @default '/'
- */
-LoggingGcs.prototype['path'] = '/';
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingGcs.prototype['public_key'] = 'null';
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGcs.prototype['project_id'] = undefined;
+LoggingGcsCommon.prototype['account_name'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -373,15 +363,37 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingGcsAdditional interface:
+/**
+ * The name of the GCS bucket.
+ * @member {String} bucket_name
+ */
+LoggingGcsAdditional.prototype['bucket_name'] = undefined;
/**
- * @member {Number} version
+ * @member {String} path
+ * @default '/'
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingGcsAdditional.prototype['path'] = '/';
+/**
+ * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
+ * @member {String} public_key
+ * @default 'null'
+ */
+LoggingGcsAdditional.prototype['public_key'] = 'null';
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+LoggingGcsAdditional.prototype['project_id'] = undefined;
@@ -414,22 +426,22 @@ LoggingGcsResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingGcsResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingGenericCommon.js b/src/model/LoggingGenericCommon.js
index 37747b646..cb1db7afc 100644
--- a/src/model/LoggingGenericCommon.js
+++ b/src/model/LoggingGenericCommon.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingGenericCommon model module.
* @module model/LoggingGenericCommon
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingGenericCommon {
/**
@@ -52,12 +52,6 @@ class LoggingGenericCommon {
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
}
@@ -81,20 +75,6 @@ LoggingGenericCommon.prototype['message_type'] = undefined;
*/
LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-
/**
* The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
diff --git a/src/model/LoggingGenericCommonResponse.js b/src/model/LoggingGenericCommonResponse.js
new file mode 100644
index 000000000..98d387c35
--- /dev/null
+++ b/src/model/LoggingGenericCommonResponse.js
@@ -0,0 +1,206 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import LoggingGenericCommonResponseAllOf from './LoggingGenericCommonResponseAllOf';
+import LoggingGenericCommonResponseAllOf1 from './LoggingGenericCommonResponseAllOf1';
+
+/**
+ * The LoggingGenericCommonResponse model module.
+ * @module model/LoggingGenericCommonResponse
+ * @version 6.0.0
+ */
+class LoggingGenericCommonResponse {
+ /**
+ * Constructs a new LoggingGenericCommonResponse
.
+ * @alias module:model/LoggingGenericCommonResponse
+ * @implements module:model/LoggingGenericCommonResponseAllOf
+ * @implements module:model/LoggingGenericCommonResponseAllOf1
+ */
+ constructor() {
+ LoggingGenericCommonResponseAllOf.initialize(this);LoggingGenericCommonResponseAllOf1.initialize(this);
+ LoggingGenericCommonResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingGenericCommonResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingGenericCommonResponse} obj Optional instance to populate.
+ * @return {module:model/LoggingGenericCommonResponse} The populated LoggingGenericCommonResponse
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingGenericCommonResponse();
+ LoggingGenericCommonResponseAllOf.constructFromObject(data, obj);
+ LoggingGenericCommonResponseAllOf1.constructFromObject(data, obj);
+
+ if (data.hasOwnProperty('message_type')) {
+ obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
+ }
+ if (data.hasOwnProperty('timestamp_format')) {
+ obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
+ }
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
+ if (data.hasOwnProperty('period')) {
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
+ }
+ if (data.hasOwnProperty('gzip_level')) {
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * How the message should be formatted.
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
+ * @default 'classic'
+ */
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
+
+/**
+ * A timestamp format
+ * @member {String} timestamp_format
+ */
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
+
+/**
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
+ */
+LoggingGenericCommonResponse.prototype['period'] = '3600';
+
+/**
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {String} gzip_level
+ * @default '0'
+ */
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+
+
+// Implement LoggingGenericCommonResponseAllOf interface:
+/**
+ * How the message should be formatted.
+ * @member {module:model/LoggingGenericCommonResponseAllOf.MessageTypeEnum} message_type
+ * @default 'classic'
+ */
+LoggingGenericCommonResponseAllOf.prototype['message_type'] = undefined;
+/**
+ * A timestamp format
+ * @member {String} timestamp_format
+ */
+LoggingGenericCommonResponseAllOf.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponseAllOf.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponseAllOf.prototype['compression_codec'] = undefined;
+// Implement LoggingGenericCommonResponseAllOf1 interface:
+/**
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
+ */
+LoggingGenericCommonResponseAllOf1.prototype['period'] = '3600';
+/**
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {String} gzip_level
+ * @default '0'
+ */
+LoggingGenericCommonResponseAllOf1.prototype['gzip_level'] = '0';
+
+
+
+/**
+ * Allowed values for the message_type
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingGenericCommonResponse['MessageTypeEnum'] = {
+
+ /**
+ * value: "classic"
+ * @const
+ */
+ "classic": "classic",
+
+ /**
+ * value: "loggly"
+ * @const
+ */
+ "loggly": "loggly",
+
+ /**
+ * value: "logplex"
+ * @const
+ */
+ "logplex": "logplex",
+
+ /**
+ * value: "blank"
+ * @const
+ */
+ "blank": "blank"
+};
+
+
+/**
+ * Allowed values for the compression_codec
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingGenericCommonResponse['CompressionCodecEnum'] = {
+
+ /**
+ * value: "zstd"
+ * @const
+ */
+ "zstd": "zstd",
+
+ /**
+ * value: "snappy"
+ * @const
+ */
+ "snappy": "snappy",
+
+ /**
+ * value: "gzip"
+ * @const
+ */
+ "gzip": "gzip"
+};
+
+
+
+export default LoggingGenericCommonResponse;
+
diff --git a/src/model/LoggingGenericCommonResponseAllOf.js b/src/model/LoggingGenericCommonResponseAllOf.js
new file mode 100644
index 000000000..fd7afa18a
--- /dev/null
+++ b/src/model/LoggingGenericCommonResponseAllOf.js
@@ -0,0 +1,150 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingGenericCommonResponseAllOf model module.
+ * @module model/LoggingGenericCommonResponseAllOf
+ * @version 6.0.0
+ */
+class LoggingGenericCommonResponseAllOf {
+ /**
+ * Constructs a new LoggingGenericCommonResponseAllOf
.
+ * @alias module:model/LoggingGenericCommonResponseAllOf
+ */
+ constructor() {
+
+ LoggingGenericCommonResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingGenericCommonResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingGenericCommonResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/LoggingGenericCommonResponseAllOf} The populated LoggingGenericCommonResponseAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingGenericCommonResponseAllOf();
+
+ if (data.hasOwnProperty('message_type')) {
+ obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
+ }
+ if (data.hasOwnProperty('timestamp_format')) {
+ obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
+ }
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * How the message should be formatted.
+ * @member {module:model/LoggingGenericCommonResponseAllOf.MessageTypeEnum} message_type
+ * @default 'classic'
+ */
+LoggingGenericCommonResponseAllOf.prototype['message_type'] = undefined;
+
+/**
+ * A timestamp format
+ * @member {String} timestamp_format
+ */
+LoggingGenericCommonResponseAllOf.prototype['timestamp_format'] = undefined;
+
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponseAllOf.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponseAllOf.prototype['compression_codec'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the message_type
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingGenericCommonResponseAllOf['MessageTypeEnum'] = {
+
+ /**
+ * value: "classic"
+ * @const
+ */
+ "classic": "classic",
+
+ /**
+ * value: "loggly"
+ * @const
+ */
+ "loggly": "loggly",
+
+ /**
+ * value: "logplex"
+ * @const
+ */
+ "logplex": "logplex",
+
+ /**
+ * value: "blank"
+ * @const
+ */
+ "blank": "blank"
+};
+
+
+/**
+ * Allowed values for the compression_codec
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingGenericCommonResponseAllOf['CompressionCodecEnum'] = {
+
+ /**
+ * value: "zstd"
+ * @const
+ */
+ "zstd": "zstd",
+
+ /**
+ * value: "snappy"
+ * @const
+ */
+ "snappy": "snappy",
+
+ /**
+ * value: "gzip"
+ * @const
+ */
+ "gzip": "gzip"
+};
+
+
+
+export default LoggingGenericCommonResponseAllOf;
+
diff --git a/src/model/LoggingGenericCommonResponseAllOf1.js b/src/model/LoggingGenericCommonResponseAllOf1.js
new file mode 100644
index 000000000..e1e2ea5df
--- /dev/null
+++ b/src/model/LoggingGenericCommonResponseAllOf1.js
@@ -0,0 +1,82 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingGenericCommonResponseAllOf1 model module.
+ * @module model/LoggingGenericCommonResponseAllOf1
+ * @version 6.0.0
+ */
+class LoggingGenericCommonResponseAllOf1 {
+ /**
+ * Constructs a new LoggingGenericCommonResponseAllOf1
.
+ * @alias module:model/LoggingGenericCommonResponseAllOf1
+ */
+ constructor() {
+
+ LoggingGenericCommonResponseAllOf1.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingGenericCommonResponseAllOf1
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingGenericCommonResponseAllOf1} obj Optional instance to populate.
+ * @return {module:model/LoggingGenericCommonResponseAllOf1} The populated LoggingGenericCommonResponseAllOf1
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingGenericCommonResponseAllOf1();
+
+ if (data.hasOwnProperty('period')) {
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
+ }
+ if (data.hasOwnProperty('gzip_level')) {
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
+ */
+LoggingGenericCommonResponseAllOf1.prototype['period'] = '3600';
+
+/**
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {String} gzip_level
+ * @default '0'
+ */
+LoggingGenericCommonResponseAllOf1.prototype['gzip_level'] = '0';
+
+
+
+
+
+
+export default LoggingGenericCommonResponseAllOf1;
+
diff --git a/src/model/LoggingGooglePubsub.js b/src/model/LoggingGooglePubsub.js
deleted file mode 100644
index 21a9d4e8d..000000000
--- a/src/model/LoggingGooglePubsub.js
+++ /dev/null
@@ -1,272 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingGcsCommon from './LoggingGcsCommon';
-import LoggingGooglePubsubAllOf from './LoggingGooglePubsubAllOf';
-
-/**
- * The LoggingGooglePubsub model module.
- * @module model/LoggingGooglePubsub
- * @version 5.0.2
- */
-class LoggingGooglePubsub {
- /**
- * Constructs a new LoggingGooglePubsub
.
- * @alias module:model/LoggingGooglePubsub
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGcsCommon
- * @implements module:model/LoggingGooglePubsubAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGcsCommon.initialize(this);LoggingGooglePubsubAllOf.initialize(this);
- LoggingGooglePubsub.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingGooglePubsub
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingGooglePubsub} obj Optional instance to populate.
- * @return {module:model/LoggingGooglePubsub} The populated LoggingGooglePubsub
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingGooglePubsub();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGcsCommon.constructFromObject(data, obj);
- LoggingGooglePubsubAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('account_name')) {
- obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String');
- }
- if (data.hasOwnProperty('topic')) {
- obj['topic'] = ApiClient.convertToType(data['topic'], 'String');
- }
- if (data.hasOwnProperty('project_id')) {
- obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingGooglePubsub.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingGooglePubsub.PlacementEnum} placement
- */
-LoggingGooglePubsub.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGooglePubsub.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGooglePubsub.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingGooglePubsub.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingGooglePubsub.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingGooglePubsub.prototype['user'] = undefined;
-
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingGooglePubsub.prototype['secret_key'] = undefined;
-
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingGooglePubsub.prototype['account_name'] = undefined;
-
-/**
- * The Google Cloud Pub/Sub topic to which logs will be published. Required.
- * @member {String} topic
- */
-LoggingGooglePubsub.prototype['topic'] = undefined;
-
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGooglePubsub.prototype['project_id'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGcsCommon interface:
-/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} user
- */
-LoggingGcsCommon.prototype['user'] = undefined;
-/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
- * @member {String} secret_key
- */
-LoggingGcsCommon.prototype['secret_key'] = undefined;
-/**
- * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
- * @member {String} account_name
- */
-LoggingGcsCommon.prototype['account_name'] = undefined;
-// Implement LoggingGooglePubsubAllOf interface:
-/**
- * The Google Cloud Pub/Sub topic to which logs will be published. Required.
- * @member {String} topic
- */
-LoggingGooglePubsubAllOf.prototype['topic'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingGooglePubsubAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-/**
- * Your Google Cloud Platform project ID. Required
- * @member {String} project_id
- */
-LoggingGooglePubsubAllOf.prototype['project_id'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingGooglePubsub['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingGooglePubsub['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingGooglePubsub;
-
diff --git a/src/model/LoggingGooglePubsubAllOf.js b/src/model/LoggingGooglePubsubAdditional.js
similarity index 68%
rename from src/model/LoggingGooglePubsubAllOf.js
rename to src/model/LoggingGooglePubsubAdditional.js
index a9128bd46..15ecafe32 100644
--- a/src/model/LoggingGooglePubsubAllOf.js
+++ b/src/model/LoggingGooglePubsubAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingGooglePubsubAllOf model module.
- * @module model/LoggingGooglePubsubAllOf
- * @version 5.0.2
+ * The LoggingGooglePubsubAdditional model module.
+ * @module model/LoggingGooglePubsubAdditional
+ * @version 6.0.0
*/
-class LoggingGooglePubsubAllOf {
+class LoggingGooglePubsubAdditional {
/**
- * Constructs a new LoggingGooglePubsubAllOf
.
- * @alias module:model/LoggingGooglePubsubAllOf
+ * Constructs a new LoggingGooglePubsubAdditional
.
+ * @alias module:model/LoggingGooglePubsubAdditional
*/
constructor() {
- LoggingGooglePubsubAllOf.initialize(this);
+ LoggingGooglePubsubAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingGooglePubsubAllOf {
}
/**
- * Constructs a LoggingGooglePubsubAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingGooglePubsubAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingGooglePubsubAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingGooglePubsubAllOf} The populated LoggingGooglePubsubAllOf
instance.
+ * @param {module:model/LoggingGooglePubsubAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingGooglePubsubAdditional} The populated LoggingGooglePubsubAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingGooglePubsubAllOf();
+ obj = obj || new LoggingGooglePubsubAdditional();
if (data.hasOwnProperty('topic')) {
obj['topic'] = ApiClient.convertToType(data['topic'], 'String');
@@ -66,25 +66,25 @@ class LoggingGooglePubsubAllOf {
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-LoggingGooglePubsubAllOf.prototype['topic'] = undefined;
+LoggingGooglePubsubAdditional.prototype['topic'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingGooglePubsubAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingGooglePubsubAdditional.prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-LoggingGooglePubsubAllOf.prototype['project_id'] = undefined;
+LoggingGooglePubsubAdditional.prototype['project_id'] = undefined;
-export default LoggingGooglePubsubAllOf;
+export default LoggingGooglePubsubAdditional;
diff --git a/src/model/LoggingGooglePubsubResponse.js b/src/model/LoggingGooglePubsubResponse.js
index ac4dc3cba..d10158943 100644
--- a/src/model/LoggingGooglePubsubResponse.js
+++ b/src/model/LoggingGooglePubsubResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingGooglePubsub from './LoggingGooglePubsub';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGcsCommon from './LoggingGcsCommon';
+import LoggingGooglePubsubAdditional from './LoggingGooglePubsubAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingGooglePubsubResponse model module.
* @module model/LoggingGooglePubsubResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingGooglePubsubResponse {
/**
* Constructs a new LoggingGooglePubsubResponse
.
* @alias module:model/LoggingGooglePubsubResponse
- * @implements module:model/LoggingGooglePubsub
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGcsCommon
+ * @implements module:model/LoggingGooglePubsubAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingGooglePubsub.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGcsCommon.initialize(this);LoggingGooglePubsubAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingGooglePubsubResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingGooglePubsubResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGooglePubsubResponse();
- LoggingGooglePubsub.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGcsCommon.constructFromObject(data, obj);
+ LoggingGooglePubsubAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +67,15 @@ class LoggingGooglePubsubResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
@@ -98,7 +104,7 @@ class LoggingGooglePubsubResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -119,13 +125,6 @@ LoggingGooglePubsubResponse.prototype['name'] = undefined;
*/
LoggingGooglePubsubResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGooglePubsubResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGooglePubsubResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -139,6 +138,13 @@ LoggingGooglePubsubResponse.prototype['response_condition'] = undefined;
*/
LoggingGooglePubsubResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingGooglePubsubResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingGooglePubsubResponse.prototype['format_version'] = undefined;
+
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
@@ -193,64 +199,72 @@ LoggingGooglePubsubResponse.prototype['updated_at'] = undefined;
LoggingGooglePubsubResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingGooglePubsubResponse.prototype['version'] = undefined;
-// Implement LoggingGooglePubsub interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingGooglePubsub.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingGooglePubsub.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingGooglePubsub.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingGooglePubsub.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingGooglePubsub.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingGooglePubsub.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingGooglePubsub.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGcsCommon interface:
/**
* Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-LoggingGooglePubsub.prototype['user'] = undefined;
+LoggingGcsCommon.prototype['user'] = undefined;
/**
* Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-LoggingGooglePubsub.prototype['secret_key'] = undefined;
+LoggingGcsCommon.prototype['secret_key'] = undefined;
/**
* The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
* @member {String} account_name
*/
-LoggingGooglePubsub.prototype['account_name'] = undefined;
+LoggingGcsCommon.prototype['account_name'] = undefined;
+// Implement LoggingGooglePubsubAdditional interface:
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-LoggingGooglePubsub.prototype['topic'] = undefined;
+LoggingGooglePubsubAdditional.prototype['topic'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingGooglePubsubAdditional.prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-LoggingGooglePubsub.prototype['project_id'] = undefined;
+LoggingGooglePubsubAdditional.prototype['project_id'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -267,15 +281,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -308,22 +322,22 @@ LoggingGooglePubsubResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingGooglePubsubResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingHeroku.js b/src/model/LoggingHeroku.js
deleted file mode 100644
index 31a26cb69..000000000
--- a/src/model/LoggingHeroku.js
+++ /dev/null
@@ -1,220 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingHerokuAllOf from './LoggingHerokuAllOf';
-
-/**
- * The LoggingHeroku model module.
- * @module model/LoggingHeroku
- * @version 5.0.2
- */
-class LoggingHeroku {
- /**
- * Constructs a new LoggingHeroku
.
- * @alias module:model/LoggingHeroku
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingHerokuAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingHerokuAllOf.initialize(this);
- LoggingHeroku.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingHeroku
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHeroku} obj Optional instance to populate.
- * @return {module:model/LoggingHeroku} The populated LoggingHeroku
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingHeroku();
- LoggingCommon.constructFromObject(data, obj);
- LoggingHerokuAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingHeroku.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHeroku.PlacementEnum} placement
- */
-LoggingHeroku.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHeroku.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHeroku.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingHeroku.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingHeroku.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
- * @member {String} token
- */
-LoggingHeroku.prototype['token'] = undefined;
-
-/**
- * The URL to stream logs to.
- * @member {String} url
- */
-LoggingHeroku.prototype['url'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingHerokuAllOf interface:
-/**
- * The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
- * @member {String} token
- */
-LoggingHerokuAllOf.prototype['token'] = undefined;
-/**
- * The URL to stream logs to.
- * @member {String} url
- */
-LoggingHerokuAllOf.prototype['url'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingHeroku['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingHeroku['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingHeroku;
-
diff --git a/src/model/LoggingHerokuAllOf.js b/src/model/LoggingHerokuAdditional.js
similarity index 70%
rename from src/model/LoggingHerokuAllOf.js
rename to src/model/LoggingHerokuAdditional.js
index 93d8cb109..c30a131e4 100644
--- a/src/model/LoggingHerokuAllOf.js
+++ b/src/model/LoggingHerokuAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingHerokuAllOf model module.
- * @module model/LoggingHerokuAllOf
- * @version 5.0.2
+ * The LoggingHerokuAdditional model module.
+ * @module model/LoggingHerokuAdditional
+ * @version 6.0.0
*/
-class LoggingHerokuAllOf {
+class LoggingHerokuAdditional {
/**
- * Constructs a new LoggingHerokuAllOf
.
- * @alias module:model/LoggingHerokuAllOf
+ * Constructs a new LoggingHerokuAdditional
.
+ * @alias module:model/LoggingHerokuAdditional
*/
constructor() {
- LoggingHerokuAllOf.initialize(this);
+ LoggingHerokuAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingHerokuAllOf {
}
/**
- * Constructs a LoggingHerokuAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingHerokuAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHerokuAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingHerokuAllOf} The populated LoggingHerokuAllOf
instance.
+ * @param {module:model/LoggingHerokuAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingHerokuAdditional} The populated LoggingHerokuAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingHerokuAllOf();
+ obj = obj || new LoggingHerokuAdditional();
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
@@ -63,18 +63,18 @@ class LoggingHerokuAllOf {
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-LoggingHerokuAllOf.prototype['token'] = undefined;
+LoggingHerokuAdditional.prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-LoggingHerokuAllOf.prototype['url'] = undefined;
+LoggingHerokuAdditional.prototype['url'] = undefined;
-export default LoggingHerokuAllOf;
+export default LoggingHerokuAdditional;
diff --git a/src/model/LoggingHerokuResponse.js b/src/model/LoggingHerokuResponse.js
index 612a21787..118becd40 100644
--- a/src/model/LoggingHerokuResponse.js
+++ b/src/model/LoggingHerokuResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingHeroku from './LoggingHeroku';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingHerokuAdditional from './LoggingHerokuAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingHerokuResponse model module.
* @module model/LoggingHerokuResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingHerokuResponse {
/**
* Constructs a new LoggingHerokuResponse
.
* @alias module:model/LoggingHerokuResponse
- * @implements module:model/LoggingHeroku
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingHerokuAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingHeroku.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingHerokuAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingHerokuResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingHerokuResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHerokuResponse();
- LoggingHeroku.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingHerokuAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingHerokuResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingHerokuResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingHerokuResponse.prototype['name'] = undefined;
*/
LoggingHerokuResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHerokuResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHerokuResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -130,6 +126,13 @@ LoggingHerokuResponse.prototype['response_condition'] = undefined;
*/
LoggingHerokuResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingHerokuResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingHerokuResponse.prototype['format_version'] = undefined;
+
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
@@ -166,49 +169,50 @@ LoggingHerokuResponse.prototype['updated_at'] = undefined;
LoggingHerokuResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingHerokuResponse.prototype['version'] = undefined;
-// Implement LoggingHeroku interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingHeroku.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHeroku.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingHeroku.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHeroku.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHeroku.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingHeroku.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingHeroku.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingHerokuAdditional interface:
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-LoggingHeroku.prototype['token'] = undefined;
+LoggingHerokuAdditional.prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-LoggingHeroku.prototype['url'] = undefined;
+LoggingHerokuAdditional.prototype['url'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -225,15 +229,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -266,22 +270,22 @@ LoggingHerokuResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingHerokuResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingHoneycomb.js b/src/model/LoggingHoneycomb.js
deleted file mode 100644
index 0d4f2e786..000000000
--- a/src/model/LoggingHoneycomb.js
+++ /dev/null
@@ -1,224 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingHoneycombAllOf from './LoggingHoneycombAllOf';
-
-/**
- * The LoggingHoneycomb model module.
- * @module model/LoggingHoneycomb
- * @version 5.0.2
- */
-class LoggingHoneycomb {
- /**
- * Constructs a new LoggingHoneycomb
.
- * @alias module:model/LoggingHoneycomb
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingHoneycombAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingHoneycombAllOf.initialize(this);
- LoggingHoneycomb.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingHoneycomb
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHoneycomb} obj Optional instance to populate.
- * @return {module:model/LoggingHoneycomb} The populated LoggingHoneycomb
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingHoneycomb();
- LoggingCommon.constructFromObject(data, obj);
- LoggingHoneycombAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('dataset')) {
- obj['dataset'] = ApiClient.convertToType(data['dataset'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingHoneycomb.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHoneycomb.PlacementEnum} placement
- */
-LoggingHoneycomb.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHoneycomb.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHoneycomb.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingHoneycomb.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
- * @member {String} format
- */
-LoggingHoneycomb.prototype['format'] = undefined;
-
-/**
- * The Honeycomb Dataset you want to log to.
- * @member {String} dataset
- */
-LoggingHoneycomb.prototype['dataset'] = undefined;
-
-/**
- * The Write Key from the Account page of your Honeycomb account.
- * @member {String} token
- */
-LoggingHoneycomb.prototype['token'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingHoneycombAllOf interface:
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
- * @member {String} format
- */
-LoggingHoneycombAllOf.prototype['format'] = undefined;
-/**
- * The Honeycomb Dataset you want to log to.
- * @member {String} dataset
- */
-LoggingHoneycombAllOf.prototype['dataset'] = undefined;
-/**
- * The Write Key from the Account page of your Honeycomb account.
- * @member {String} token
- */
-LoggingHoneycombAllOf.prototype['token'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingHoneycomb['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingHoneycomb['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingHoneycomb;
-
diff --git a/src/model/LoggingHoneycombAllOf.js b/src/model/LoggingHoneycombAdditional.js
similarity index 70%
rename from src/model/LoggingHoneycombAllOf.js
rename to src/model/LoggingHoneycombAdditional.js
index 170f1242d..6c3719288 100644
--- a/src/model/LoggingHoneycombAllOf.js
+++ b/src/model/LoggingHoneycombAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingHoneycombAllOf model module.
- * @module model/LoggingHoneycombAllOf
- * @version 5.0.2
+ * The LoggingHoneycombAdditional model module.
+ * @module model/LoggingHoneycombAdditional
+ * @version 6.0.0
*/
-class LoggingHoneycombAllOf {
+class LoggingHoneycombAdditional {
/**
- * Constructs a new LoggingHoneycombAllOf
.
- * @alias module:model/LoggingHoneycombAllOf
+ * Constructs a new LoggingHoneycombAdditional
.
+ * @alias module:model/LoggingHoneycombAdditional
*/
constructor() {
- LoggingHoneycombAllOf.initialize(this);
+ LoggingHoneycombAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingHoneycombAllOf {
}
/**
- * Constructs a LoggingHoneycombAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingHoneycombAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHoneycombAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingHoneycombAllOf} The populated LoggingHoneycombAllOf
instance.
+ * @param {module:model/LoggingHoneycombAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingHoneycombAdditional} The populated LoggingHoneycombAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingHoneycombAllOf();
+ obj = obj || new LoggingHoneycombAdditional();
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
@@ -66,24 +66,24 @@ class LoggingHoneycombAllOf {
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-LoggingHoneycombAllOf.prototype['format'] = undefined;
+LoggingHoneycombAdditional.prototype['format'] = undefined;
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-LoggingHoneycombAllOf.prototype['dataset'] = undefined;
+LoggingHoneycombAdditional.prototype['dataset'] = undefined;
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-LoggingHoneycombAllOf.prototype['token'] = undefined;
+LoggingHoneycombAdditional.prototype['token'] = undefined;
-export default LoggingHoneycombAllOf;
+export default LoggingHoneycombAdditional;
diff --git a/src/model/LoggingHoneycombResponse.js b/src/model/LoggingHoneycombResponse.js
index a97e7e7b4..a371dc3b9 100644
--- a/src/model/LoggingHoneycombResponse.js
+++ b/src/model/LoggingHoneycombResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingHoneycomb from './LoggingHoneycomb';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingHoneycombAdditional from './LoggingHoneycombAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingHoneycombResponse model module.
* @module model/LoggingHoneycombResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingHoneycombResponse {
/**
* Constructs a new LoggingHoneycombResponse
.
* @alias module:model/LoggingHoneycombResponse
- * @implements module:model/LoggingHoneycomb
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingHoneycombAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingHoneycomb.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingHoneycombAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingHoneycombResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingHoneycombResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHoneycombResponse();
- LoggingHoneycomb.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingHoneycombAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingHoneycombResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = ApiClient.convertToType(data['dataset'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingHoneycombResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingHoneycombResponse.prototype['name'] = undefined;
*/
LoggingHoneycombResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHoneycombResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHoneycombResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -129,6 +125,13 @@ LoggingHoneycombResponse.prototype['response_condition'] = undefined;
*/
LoggingHoneycombResponse.prototype['format'] = undefined;
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingHoneycombResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingHoneycombResponse.prototype['format_version'] = undefined;
+
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
@@ -165,48 +168,55 @@ LoggingHoneycombResponse.prototype['updated_at'] = undefined;
LoggingHoneycombResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingHoneycombResponse.prototype['version'] = undefined;
-// Implement LoggingHoneycomb interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingHoneycomb.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHoneycomb.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingHoneycomb.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHoneycomb.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHoneycomb.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingHoneycomb.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingHoneycombAdditional interface:
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-LoggingHoneycomb.prototype['format'] = undefined;
+LoggingHoneycombAdditional.prototype['format'] = undefined;
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-LoggingHoneycomb.prototype['dataset'] = undefined;
+LoggingHoneycombAdditional.prototype['dataset'] = undefined;
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-LoggingHoneycomb.prototype['token'] = undefined;
+LoggingHoneycombAdditional.prototype['token'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -223,15 +233,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -264,22 +274,22 @@ LoggingHoneycombResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingHoneycombResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingHttps.js b/src/model/LoggingHttps.js
deleted file mode 100644
index 2c01e1a1b..000000000
--- a/src/model/LoggingHttps.js
+++ /dev/null
@@ -1,467 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingHttpsAllOf from './LoggingHttpsAllOf';
-import LoggingMessageType from './LoggingMessageType';
-import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
-import LoggingTlsCommon from './LoggingTlsCommon';
-
-/**
- * The LoggingHttps model module.
- * @module model/LoggingHttps
- * @version 5.0.2
- */
-class LoggingHttps {
- /**
- * Constructs a new LoggingHttps
.
- * @alias module:model/LoggingHttps
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingRequestCapsCommon
- * @implements module:model/LoggingHttpsAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingHttpsAllOf.initialize(this);
- LoggingHttps.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingHttps
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHttps} obj Optional instance to populate.
- * @return {module:model/LoggingHttps} The populated LoggingHttps
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingHttps();
- LoggingCommon.constructFromObject(data, obj);
- LoggingTlsCommon.constructFromObject(data, obj);
- LoggingRequestCapsCommon.constructFromObject(data, obj);
- LoggingHttpsAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = ApiClient.convertToType(data['tls_client_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = ApiClient.convertToType(data['tls_client_key'], 'String');
- }
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
- }
- if (data.hasOwnProperty('request_max_entries')) {
- obj['request_max_entries'] = ApiClient.convertToType(data['request_max_entries'], 'Number');
- }
- if (data.hasOwnProperty('request_max_bytes')) {
- obj['request_max_bytes'] = ApiClient.convertToType(data['request_max_bytes'], 'Number');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- if (data.hasOwnProperty('content_type')) {
- obj['content_type'] = ApiClient.convertToType(data['content_type'], 'String');
- }
- if (data.hasOwnProperty('header_name')) {
- obj['header_name'] = ApiClient.convertToType(data['header_name'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
- }
- if (data.hasOwnProperty('header_value')) {
- obj['header_value'] = ApiClient.convertToType(data['header_value'], 'String');
- }
- if (data.hasOwnProperty('method')) {
- obj['method'] = ApiClient.convertToType(data['method'], 'String');
- }
- if (data.hasOwnProperty('json_format')) {
- obj['json_format'] = ApiClient.convertToType(data['json_format'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingHttps.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHttps.PlacementEnum} placement
- */
-LoggingHttps.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHttps.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHttps.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingHttps.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingHttps.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingHttps.prototype['tls_ca_cert'] = 'null';
-
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingHttps.prototype['tls_client_cert'] = 'null';
-
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingHttps.prototype['tls_client_key'] = 'null';
-
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingHttps.prototype['tls_hostname'] = 'null';
-
-/**
- * The maximum number of logs sent in one request. Defaults `0` (10k).
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingHttps.prototype['request_max_entries'] = 0;
-
-/**
- * The maximum number of bytes sent in one request. Defaults `0` (100MB).
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingHttps.prototype['request_max_bytes'] = 0;
-
-/**
- * The URL to send logs to. Must use HTTPS. Required.
- * @member {String} url
- */
-LoggingHttps.prototype['url'] = undefined;
-
-/**
- * Content type of the header sent with the request.
- * @member {String} content_type
- * @default 'null'
- */
-LoggingHttps.prototype['content_type'] = 'null';
-
-/**
- * Name of the custom header sent with the request.
- * @member {String} header_name
- * @default 'null'
- */
-LoggingHttps.prototype['header_name'] = 'null';
-
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingHttps.prototype['message_type'] = undefined;
-
-/**
- * Value of the custom header sent with the request.
- * @member {String} header_value
- * @default 'null'
- */
-LoggingHttps.prototype['header_value'] = 'null';
-
-/**
- * HTTP method used for request.
- * @member {module:model/LoggingHttps.MethodEnum} method
- * @default 'POST'
- */
-LoggingHttps.prototype['method'] = undefined;
-
-/**
- * Enforces valid JSON formatting for log entries.
- * @member {module:model/LoggingHttps.JsonFormatEnum} json_format
- */
-LoggingHttps.prototype['json_format'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingTlsCommon interface:
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_key'] = 'null';
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_hostname'] = 'null';
-// Implement LoggingRequestCapsCommon interface:
-/**
- * The maximum number of logs sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
-/**
- * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
-// Implement LoggingHttpsAllOf interface:
-/**
- * The URL to send logs to. Must use HTTPS. Required.
- * @member {String} url
- */
-LoggingHttpsAllOf.prototype['url'] = undefined;
-/**
- * The maximum number of logs sent in one request. Defaults `0` (10k).
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingHttpsAllOf.prototype['request_max_entries'] = 0;
-/**
- * The maximum number of bytes sent in one request. Defaults `0` (100MB).
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingHttpsAllOf.prototype['request_max_bytes'] = 0;
-/**
- * Content type of the header sent with the request.
- * @member {String} content_type
- * @default 'null'
- */
-LoggingHttpsAllOf.prototype['content_type'] = 'null';
-/**
- * Name of the custom header sent with the request.
- * @member {String} header_name
- * @default 'null'
- */
-LoggingHttpsAllOf.prototype['header_name'] = 'null';
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingHttpsAllOf.prototype['message_type'] = undefined;
-/**
- * Value of the custom header sent with the request.
- * @member {String} header_value
- * @default 'null'
- */
-LoggingHttpsAllOf.prototype['header_value'] = 'null';
-/**
- * HTTP method used for request.
- * @member {module:model/LoggingHttpsAllOf.MethodEnum} method
- * @default 'POST'
- */
-LoggingHttpsAllOf.prototype['method'] = undefined;
-/**
- * Enforces valid JSON formatting for log entries.
- * @member {module:model/LoggingHttpsAllOf.JsonFormatEnum} json_format
- */
-LoggingHttpsAllOf.prototype['json_format'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingHttpsAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingHttps['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingHttps['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the method
property.
- * @enum {String}
- * @readonly
- */
-LoggingHttps['MethodEnum'] = {
-
- /**
- * value: "POST"
- * @const
- */
- "POST": "POST",
-
- /**
- * value: "PUT"
- * @const
- */
- "PUT": "PUT"
-};
-
-
-/**
- * Allowed values for the json_format
property.
- * @enum {String}
- * @readonly
- */
-LoggingHttps['JsonFormatEnum'] = {
-
- /**
- * value: "0"
- * @const
- */
- "disabled": "0",
-
- /**
- * value: "1"
- * @const
- */
- "json_array": "1",
-
- /**
- * value: "2"
- * @const
- */
- "newline_delimited_json": "2"
-};
-
-
-
-export default LoggingHttps;
-
diff --git a/src/model/LoggingHttpsAllOf.js b/src/model/LoggingHttpsAdditional.js
similarity index 75%
rename from src/model/LoggingHttpsAllOf.js
rename to src/model/LoggingHttpsAdditional.js
index 7a699fe40..65093e2bc 100644
--- a/src/model/LoggingHttpsAllOf.js
+++ b/src/model/LoggingHttpsAdditional.js
@@ -14,18 +14,18 @@ import ApiClient from '../ApiClient';
import LoggingMessageType from './LoggingMessageType';
/**
- * The LoggingHttpsAllOf model module.
- * @module model/LoggingHttpsAllOf
- * @version 5.0.2
+ * The LoggingHttpsAdditional model module.
+ * @module model/LoggingHttpsAdditional
+ * @version 6.0.0
*/
-class LoggingHttpsAllOf {
+class LoggingHttpsAdditional {
/**
- * Constructs a new LoggingHttpsAllOf
.
- * @alias module:model/LoggingHttpsAllOf
+ * Constructs a new LoggingHttpsAdditional
.
+ * @alias module:model/LoggingHttpsAdditional
*/
constructor() {
- LoggingHttpsAllOf.initialize(this);
+ LoggingHttpsAdditional.initialize(this);
}
/**
@@ -37,15 +37,15 @@ class LoggingHttpsAllOf {
}
/**
- * Constructs a LoggingHttpsAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingHttpsAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingHttpsAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingHttpsAllOf} The populated LoggingHttpsAllOf
instance.
+ * @param {module:model/LoggingHttpsAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingHttpsAdditional} The populated LoggingHttpsAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingHttpsAllOf();
+ obj = obj || new LoggingHttpsAdditional();
if (data.hasOwnProperty('url')) {
obj['url'] = ApiClient.convertToType(data['url'], 'String');
@@ -88,67 +88,67 @@ class LoggingHttpsAllOf {
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-LoggingHttpsAllOf.prototype['url'] = undefined;
+LoggingHttpsAdditional.prototype['url'] = undefined;
/**
* The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-LoggingHttpsAllOf.prototype['request_max_entries'] = 0;
+LoggingHttpsAdditional.prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingHttpsAllOf.prototype['request_max_bytes'] = 0;
+LoggingHttpsAdditional.prototype['request_max_bytes'] = 0;
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-LoggingHttpsAllOf.prototype['content_type'] = 'null';
+LoggingHttpsAdditional.prototype['content_type'] = 'null';
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-LoggingHttpsAllOf.prototype['header_name'] = 'null';
+LoggingHttpsAdditional.prototype['header_name'] = 'null';
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingHttpsAllOf.prototype['message_type'] = undefined;
+LoggingHttpsAdditional.prototype['message_type'] = undefined;
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-LoggingHttpsAllOf.prototype['header_value'] = 'null';
+LoggingHttpsAdditional.prototype['header_value'] = 'null';
/**
* HTTP method used for request.
- * @member {module:model/LoggingHttpsAllOf.MethodEnum} method
+ * @member {module:model/LoggingHttpsAdditional.MethodEnum} method
* @default 'POST'
*/
-LoggingHttpsAllOf.prototype['method'] = undefined;
+LoggingHttpsAdditional.prototype['method'] = undefined;
/**
* Enforces valid JSON formatting for log entries.
- * @member {module:model/LoggingHttpsAllOf.JsonFormatEnum} json_format
+ * @member {module:model/LoggingHttpsAdditional.JsonFormatEnum} json_format
*/
-LoggingHttpsAllOf.prototype['json_format'] = undefined;
+LoggingHttpsAdditional.prototype['json_format'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingHttpsAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingHttpsAdditional.prototype['format'] = '%h %l %u %t "%r" %>s %b';
@@ -159,7 +159,7 @@ LoggingHttpsAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
* @enum {String}
* @readonly
*/
-LoggingHttpsAllOf['MethodEnum'] = {
+LoggingHttpsAdditional['MethodEnum'] = {
/**
* value: "POST"
@@ -180,7 +180,7 @@ LoggingHttpsAllOf['MethodEnum'] = {
* @enum {String}
* @readonly
*/
-LoggingHttpsAllOf['JsonFormatEnum'] = {
+LoggingHttpsAdditional['JsonFormatEnum'] = {
/**
* value: "0"
@@ -203,5 +203,5 @@ LoggingHttpsAllOf['JsonFormatEnum'] = {
-export default LoggingHttpsAllOf;
+export default LoggingHttpsAdditional;
diff --git a/src/model/LoggingHttpsResponse.js b/src/model/LoggingHttpsResponse.js
index 19c9c3778..61c3ecedb 100644
--- a/src/model/LoggingHttpsResponse.js
+++ b/src/model/LoggingHttpsResponse.js
@@ -11,26 +11,32 @@
*/
import ApiClient from '../ApiClient';
-import LoggingHttps from './LoggingHttps';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingHttpsAdditional from './LoggingHttpsAdditional';
import LoggingMessageType from './LoggingMessageType';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
+import LoggingTlsCommon from './LoggingTlsCommon';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingHttpsResponse model module.
* @module model/LoggingHttpsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingHttpsResponse {
/**
* Constructs a new LoggingHttpsResponse
.
* @alias module:model/LoggingHttpsResponse
- * @implements module:model/LoggingHttps
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingTlsCommon
+ * @implements module:model/LoggingRequestCapsCommon
+ * @implements module:model/LoggingHttpsAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingHttps.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingHttpsAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingHttpsResponse.initialize(this);
}
@@ -52,9 +58,12 @@ class LoggingHttpsResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHttpsResponse();
- LoggingHttps.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingTlsCommon.constructFromObject(data, obj);
+ LoggingRequestCapsCommon.constructFromObject(data, obj);
+ LoggingHttpsAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +71,15 @@ class LoggingHttpsResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -123,7 +132,7 @@ class LoggingHttpsResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -144,13 +153,6 @@ LoggingHttpsResponse.prototype['name'] = undefined;
*/
LoggingHttpsResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHttpsResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHttpsResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -164,6 +166,13 @@ LoggingHttpsResponse.prototype['response_condition'] = undefined;
*/
LoggingHttpsResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingHttpsResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingHttpsResponse.prototype['format_version'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
@@ -275,113 +284,134 @@ LoggingHttpsResponse.prototype['updated_at'] = undefined;
LoggingHttpsResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingHttpsResponse.prototype['version'] = undefined;
-// Implement LoggingHttps interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingHttps.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingHttps.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingHttps.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingHttps.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingHttps.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingHttps.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingHttps.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingHttps.prototype['tls_ca_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingHttps.prototype['tls_client_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingHttps.prototype['tls_client_key'] = 'null';
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingHttps.prototype['tls_hostname'] = 'null';
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
- * The maximum number of logs sent in one request. Defaults `0` (10k).
+ * The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-LoggingHttps.prototype['request_max_entries'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
/**
- * The maximum number of bytes sent in one request. Defaults `0` (100MB).
+ * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingHttps.prototype['request_max_bytes'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
+// Implement LoggingHttpsAdditional interface:
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-LoggingHttps.prototype['url'] = undefined;
+LoggingHttpsAdditional.prototype['url'] = undefined;
+/**
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
+ * @member {Number} request_max_entries
+ * @default 0
+ */
+LoggingHttpsAdditional.prototype['request_max_entries'] = 0;
+/**
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
+ * @member {Number} request_max_bytes
+ * @default 0
+ */
+LoggingHttpsAdditional.prototype['request_max_bytes'] = 0;
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-LoggingHttps.prototype['content_type'] = 'null';
+LoggingHttpsAdditional.prototype['content_type'] = 'null';
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-LoggingHttps.prototype['header_name'] = 'null';
+LoggingHttpsAdditional.prototype['header_name'] = 'null';
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingHttps.prototype['message_type'] = undefined;
+LoggingHttpsAdditional.prototype['message_type'] = undefined;
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-LoggingHttps.prototype['header_value'] = 'null';
+LoggingHttpsAdditional.prototype['header_value'] = 'null';
/**
* HTTP method used for request.
- * @member {module:model/LoggingHttps.MethodEnum} method
+ * @member {module:model/LoggingHttpsAdditional.MethodEnum} method
* @default 'POST'
*/
-LoggingHttps.prototype['method'] = undefined;
+LoggingHttpsAdditional.prototype['method'] = undefined;
/**
* Enforces valid JSON formatting for log entries.
- * @member {module:model/LoggingHttps.JsonFormatEnum} json_format
+ * @member {module:model/LoggingHttpsAdditional.JsonFormatEnum} json_format
+ */
+LoggingHttpsAdditional.prototype['json_format'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingHttps.prototype['json_format'] = undefined;
+LoggingHttpsAdditional.prototype['format'] = '%h %l %u %t "%r" %>s %b';
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -398,15 +428,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -439,22 +469,22 @@ LoggingHttpsResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingHttpsResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingKafkaAllOf.js b/src/model/LoggingKafkaAdditional.js
similarity index 75%
rename from src/model/LoggingKafkaAllOf.js
rename to src/model/LoggingKafkaAdditional.js
index 6fc2fefb4..0ae4d0cee 100644
--- a/src/model/LoggingKafkaAllOf.js
+++ b/src/model/LoggingKafkaAdditional.js
@@ -14,18 +14,18 @@ import ApiClient from '../ApiClient';
import LoggingUseTls from './LoggingUseTls';
/**
- * The LoggingKafkaAllOf model module.
- * @module model/LoggingKafkaAllOf
- * @version 5.0.2
+ * The LoggingKafkaAdditional model module.
+ * @module model/LoggingKafkaAdditional
+ * @version 6.0.0
*/
-class LoggingKafkaAllOf {
+class LoggingKafkaAdditional {
/**
- * Constructs a new LoggingKafkaAllOf
.
- * @alias module:model/LoggingKafkaAllOf
+ * Constructs a new LoggingKafkaAdditional
.
+ * @alias module:model/LoggingKafkaAdditional
*/
constructor() {
- LoggingKafkaAllOf.initialize(this);
+ LoggingKafkaAdditional.initialize(this);
}
/**
@@ -37,15 +37,15 @@ class LoggingKafkaAllOf {
}
/**
- * Constructs a LoggingKafkaAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingKafkaAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingKafkaAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingKafkaAllOf} The populated LoggingKafkaAllOf
instance.
+ * @param {module:model/LoggingKafkaAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingKafkaAdditional} The populated LoggingKafkaAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingKafkaAllOf();
+ obj = obj || new LoggingKafkaAdditional();
if (data.hasOwnProperty('topic')) {
obj['topic'] = ApiClient.convertToType(data['topic'], 'String');
@@ -88,62 +88,62 @@ class LoggingKafkaAllOf {
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-LoggingKafkaAllOf.prototype['topic'] = undefined;
+LoggingKafkaAdditional.prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-LoggingKafkaAllOf.prototype['brokers'] = undefined;
+LoggingKafkaAdditional.prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
- * @member {module:model/LoggingKafkaAllOf.CompressionCodecEnum} compression_codec
+ * @member {module:model/LoggingKafkaAdditional.CompressionCodecEnum} compression_codec
*/
-LoggingKafkaAllOf.prototype['compression_codec'] = undefined;
+LoggingKafkaAdditional.prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
- * @member {module:model/LoggingKafkaAllOf.RequiredAcksEnum} required_acks
+ * @member {module:model/LoggingKafkaAdditional.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-LoggingKafkaAllOf.prototype['required_acks'] = undefined;
+LoggingKafkaAdditional.prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingKafkaAllOf.prototype['request_max_bytes'] = 0;
+LoggingKafkaAdditional.prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-LoggingKafkaAllOf.prototype['parse_log_keyvals'] = undefined;
+LoggingKafkaAdditional.prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
- * @member {module:model/LoggingKafkaAllOf.AuthMethodEnum} auth_method
+ * @member {module:model/LoggingKafkaAdditional.AuthMethodEnum} auth_method
*/
-LoggingKafkaAllOf.prototype['auth_method'] = undefined;
+LoggingKafkaAdditional.prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-LoggingKafkaAllOf.prototype['user'] = undefined;
+LoggingKafkaAdditional.prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-LoggingKafkaAllOf.prototype['password'] = undefined;
+LoggingKafkaAdditional.prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingKafkaAllOf.prototype['use_tls'] = undefined;
+LoggingKafkaAdditional.prototype['use_tls'] = undefined;
@@ -154,7 +154,7 @@ LoggingKafkaAllOf.prototype['use_tls'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingKafkaAllOf['CompressionCodecEnum'] = {
+LoggingKafkaAdditional['CompressionCodecEnum'] = {
/**
* value: "gzip"
@@ -187,7 +187,7 @@ LoggingKafkaAllOf['CompressionCodecEnum'] = {
* @enum {Number}
* @readonly
*/
-LoggingKafkaAllOf['RequiredAcksEnum'] = {
+LoggingKafkaAdditional['RequiredAcksEnum'] = {
/**
* value: 1
@@ -214,7 +214,7 @@ LoggingKafkaAllOf['RequiredAcksEnum'] = {
* @enum {String}
* @readonly
*/
-LoggingKafkaAllOf['AuthMethodEnum'] = {
+LoggingKafkaAdditional['AuthMethodEnum'] = {
/**
* value: "plain"
@@ -237,5 +237,5 @@ LoggingKafkaAllOf['AuthMethodEnum'] = {
-export default LoggingKafkaAllOf;
+export default LoggingKafkaAdditional;
diff --git a/src/model/LoggingKafkaResponse.js b/src/model/LoggingKafkaResponse.js
index d4066180e..aef02b0de 100644
--- a/src/model/LoggingKafkaResponse.js
+++ b/src/model/LoggingKafkaResponse.js
@@ -11,26 +11,30 @@
*/
import ApiClient from '../ApiClient';
-import LoggingKafka from './LoggingKafka';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingKafkaAdditional from './LoggingKafkaAdditional';
+import LoggingTlsCommon from './LoggingTlsCommon';
import LoggingUseTls from './LoggingUseTls';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingKafkaResponse model module.
* @module model/LoggingKafkaResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingKafkaResponse {
/**
* Constructs a new LoggingKafkaResponse
.
* @alias module:model/LoggingKafkaResponse
- * @implements module:model/LoggingKafka
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingTlsCommon
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingKafkaAdditional
*/
constructor() {
- LoggingKafka.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingTlsCommon.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingKafkaAdditional.initialize(this);
LoggingKafkaResponse.initialize(this);
}
@@ -52,9 +56,11 @@ class LoggingKafkaResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKafkaResponse();
- LoggingKafka.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingTlsCommon.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingKafkaAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +68,15 @@ class LoggingKafkaResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -83,6 +89,21 @@ class LoggingKafkaResponse {
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
}
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
+ }
if (data.hasOwnProperty('topic')) {
obj['topic'] = ApiClient.convertToType(data['topic'], 'String');
}
@@ -113,21 +134,6 @@ class LoggingKafkaResponse {
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = LoggingUseTls.constructFromObject(data['use_tls']);
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -147,13 +153,6 @@ LoggingKafkaResponse.prototype['name'] = undefined;
*/
LoggingKafkaResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingKafkaResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingKafkaResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -167,6 +166,13 @@ LoggingKafkaResponse.prototype['response_condition'] = undefined;
*/
LoggingKafkaResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingKafkaResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingKafkaResponse.prototype['format_version'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
@@ -195,6 +201,34 @@ LoggingKafkaResponse.prototype['tls_client_key'] = 'null';
*/
LoggingKafkaResponse.prototype['tls_hostname'] = 'null';
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+LoggingKafkaResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingKafkaResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingKafkaResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingKafkaResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingKafkaResponse.prototype['version'] = undefined;
+
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
@@ -256,163 +290,137 @@ LoggingKafkaResponse.prototype['password'] = undefined;
*/
LoggingKafkaResponse.prototype['use_tls'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingKafkaResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingKafkaResponse.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingKafkaResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingKafkaResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingKafkaResponse.prototype['version'] = undefined;
-
-
-// Implement LoggingKafka interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingKafka.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingKafka.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingKafka.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingKafka.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingKafka.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingKafka.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingKafka.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingKafka.prototype['tls_ca_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingKafka.prototype['tls_client_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingKafka.prototype['tls_client_key'] = 'null';
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingKafka.prototype['tls_hostname'] = 'null';
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
+ */
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingKafkaAdditional interface:
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-LoggingKafka.prototype['topic'] = undefined;
+LoggingKafkaAdditional.prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-LoggingKafka.prototype['brokers'] = undefined;
+LoggingKafkaAdditional.prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
- * @member {module:model/LoggingKafka.CompressionCodecEnum} compression_codec
+ * @member {module:model/LoggingKafkaAdditional.CompressionCodecEnum} compression_codec
*/
-LoggingKafka.prototype['compression_codec'] = undefined;
+LoggingKafkaAdditional.prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
- * @member {module:model/LoggingKafka.RequiredAcksEnum} required_acks
+ * @member {module:model/LoggingKafkaAdditional.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-LoggingKafka.prototype['required_acks'] = undefined;
+LoggingKafkaAdditional.prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingKafka.prototype['request_max_bytes'] = 0;
+LoggingKafkaAdditional.prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-LoggingKafka.prototype['parse_log_keyvals'] = undefined;
+LoggingKafkaAdditional.prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
- * @member {module:model/LoggingKafka.AuthMethodEnum} auth_method
+ * @member {module:model/LoggingKafkaAdditional.AuthMethodEnum} auth_method
*/
-LoggingKafka.prototype['auth_method'] = undefined;
+LoggingKafkaAdditional.prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-LoggingKafka.prototype['user'] = undefined;
+LoggingKafkaAdditional.prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-LoggingKafka.prototype['password'] = undefined;
+LoggingKafkaAdditional.prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingKafka.prototype['use_tls'] = undefined;
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingKafkaAdditional.prototype['use_tls'] = undefined;
@@ -445,22 +453,22 @@ LoggingKafkaResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingKafkaResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingKafka.js b/src/model/LoggingKafkaResponsePost.js
similarity index 64%
rename from src/model/LoggingKafka.js
rename to src/model/LoggingKafkaResponsePost.js
index 4eb494342..ab393bbac 100644
--- a/src/model/LoggingKafka.js
+++ b/src/model/LoggingKafkaResponsePost.js
@@ -12,26 +12,32 @@
import ApiClient from '../ApiClient';
import LoggingCommon from './LoggingCommon';
-import LoggingKafkaAllOf from './LoggingKafkaAllOf';
+import LoggingFormatVersionInteger from './LoggingFormatVersionInteger';
+import LoggingKafkaAdditional from './LoggingKafkaAdditional';
import LoggingTlsCommon from './LoggingTlsCommon';
import LoggingUseTls from './LoggingUseTls';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
+import Timestamps from './Timestamps';
/**
- * The LoggingKafka model module.
- * @module model/LoggingKafka
- * @version 5.0.2
+ * The LoggingKafkaResponsePost model module.
+ * @module model/LoggingKafkaResponsePost
+ * @version 6.0.0
*/
-class LoggingKafka {
+class LoggingKafkaResponsePost {
/**
- * Constructs a new LoggingKafka
.
- * @alias module:model/LoggingKafka
+ * Constructs a new LoggingKafkaResponsePost
.
+ * @alias module:model/LoggingKafkaResponsePost
* @implements module:model/LoggingCommon
+ * @implements module:model/LoggingFormatVersionInteger
* @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingKafkaAllOf
+ * @implements module:model/Timestamps
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingKafkaAdditional
*/
constructor() {
- LoggingCommon.initialize(this);LoggingTlsCommon.initialize(this);LoggingKafkaAllOf.initialize(this);
- LoggingKafka.initialize(this);
+ LoggingCommon.initialize(this);LoggingFormatVersionInteger.initialize(this);LoggingTlsCommon.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingKafkaAdditional.initialize(this);
+ LoggingKafkaResponsePost.initialize(this);
}
/**
@@ -43,18 +49,21 @@ class LoggingKafka {
}
/**
- * Constructs a LoggingKafka
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingKafkaResponsePost
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingKafka} obj Optional instance to populate.
- * @return {module:model/LoggingKafka} The populated LoggingKafka
instance.
+ * @param {module:model/LoggingKafkaResponsePost} obj Optional instance to populate.
+ * @return {module:model/LoggingKafkaResponsePost} The populated LoggingKafkaResponsePost
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingKafka();
+ obj = obj || new LoggingKafkaResponsePost();
LoggingCommon.constructFromObject(data, obj);
+ LoggingFormatVersionInteger.constructFromObject(data, obj);
LoggingTlsCommon.constructFromObject(data, obj);
- LoggingKafkaAllOf.constructFromObject(data, obj);
+ Timestamps.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingKafkaAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +71,15 @@ class LoggingKafka {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -83,6 +92,21 @@ class LoggingKafka {
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
}
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
+ }
if (data.hasOwnProperty('topic')) {
obj['topic'] = ApiClient.convertToType(data['topic'], 'String');
}
@@ -124,122 +148,150 @@ class LoggingKafka {
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingKafka.prototype['name'] = undefined;
+LoggingKafkaResponsePost.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingKafka.PlacementEnum} placement
+ * @member {module:model/LoggingKafkaResponsePost.PlacementEnum} placement
*/
-LoggingKafka.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingKafka.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingKafka.prototype['format_version'] = undefined;
+LoggingKafkaResponsePost.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingKafka.prototype['response_condition'] = undefined;
+LoggingKafkaResponsePost.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingKafka.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingKafkaResponsePost.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingKafkaResponsePost.FormatVersionEnum} format_version
+ * @default FormatVersionEnum.v2
+ */
+LoggingKafkaResponsePost.prototype['format_version'] = undefined;
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingKafka.prototype['tls_ca_cert'] = 'null';
+LoggingKafkaResponsePost.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingKafka.prototype['tls_client_cert'] = 'null';
+LoggingKafkaResponsePost.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingKafka.prototype['tls_client_key'] = 'null';
+LoggingKafkaResponsePost.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingKafka.prototype['tls_hostname'] = 'null';
+LoggingKafkaResponsePost.prototype['tls_hostname'] = 'null';
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+LoggingKafkaResponsePost.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingKafkaResponsePost.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingKafkaResponsePost.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingKafkaResponsePost.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingKafkaResponsePost.prototype['version'] = undefined;
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-LoggingKafka.prototype['topic'] = undefined;
+LoggingKafkaResponsePost.prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-LoggingKafka.prototype['brokers'] = undefined;
+LoggingKafkaResponsePost.prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
- * @member {module:model/LoggingKafka.CompressionCodecEnum} compression_codec
+ * @member {module:model/LoggingKafkaResponsePost.CompressionCodecEnum} compression_codec
*/
-LoggingKafka.prototype['compression_codec'] = undefined;
+LoggingKafkaResponsePost.prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
- * @member {module:model/LoggingKafka.RequiredAcksEnum} required_acks
+ * @member {module:model/LoggingKafkaResponsePost.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-LoggingKafka.prototype['required_acks'] = undefined;
+LoggingKafkaResponsePost.prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingKafka.prototype['request_max_bytes'] = 0;
+LoggingKafkaResponsePost.prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-LoggingKafka.prototype['parse_log_keyvals'] = undefined;
+LoggingKafkaResponsePost.prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
- * @member {module:model/LoggingKafka.AuthMethodEnum} auth_method
+ * @member {module:model/LoggingKafkaResponsePost.AuthMethodEnum} auth_method
*/
-LoggingKafka.prototype['auth_method'] = undefined;
+LoggingKafkaResponsePost.prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-LoggingKafka.prototype['user'] = undefined;
+LoggingKafkaResponsePost.prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-LoggingKafka.prototype['password'] = undefined;
+LoggingKafkaResponsePost.prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingKafka.prototype['use_tls'] = undefined;
+LoggingKafkaResponsePost.prototype['use_tls'] = undefined;
// Implement LoggingCommon interface:
@@ -253,12 +305,6 @@ LoggingCommon.prototype['name'] = undefined;
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -270,6 +316,13 @@ LoggingCommon.prototype['response_condition'] = undefined;
* @default '%h %l %u %t "%r" %>s %b'
*/
LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingFormatVersionInteger interface:
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingFormatVersionInteger.FormatVersionEnum} format_version
+ * @default FormatVersionEnum.v2
+ */
+LoggingFormatVersionInteger.prototype['format_version'] = undefined;
// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
@@ -295,58 +348,83 @@ LoggingTlsCommon.prototype['tls_client_key'] = 'null';
* @default 'null'
*/
LoggingTlsCommon.prototype['tls_hostname'] = 'null';
-// Implement LoggingKafkaAllOf interface:
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
+ */
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingKafkaAdditional interface:
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-LoggingKafkaAllOf.prototype['topic'] = undefined;
+LoggingKafkaAdditional.prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-LoggingKafkaAllOf.prototype['brokers'] = undefined;
+LoggingKafkaAdditional.prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
- * @member {module:model/LoggingKafkaAllOf.CompressionCodecEnum} compression_codec
+ * @member {module:model/LoggingKafkaAdditional.CompressionCodecEnum} compression_codec
*/
-LoggingKafkaAllOf.prototype['compression_codec'] = undefined;
+LoggingKafkaAdditional.prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
- * @member {module:model/LoggingKafkaAllOf.RequiredAcksEnum} required_acks
+ * @member {module:model/LoggingKafkaAdditional.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-LoggingKafkaAllOf.prototype['required_acks'] = undefined;
+LoggingKafkaAdditional.prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingKafkaAllOf.prototype['request_max_bytes'] = 0;
+LoggingKafkaAdditional.prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-LoggingKafkaAllOf.prototype['parse_log_keyvals'] = undefined;
+LoggingKafkaAdditional.prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
- * @member {module:model/LoggingKafkaAllOf.AuthMethodEnum} auth_method
+ * @member {module:model/LoggingKafkaAdditional.AuthMethodEnum} auth_method
*/
-LoggingKafkaAllOf.prototype['auth_method'] = undefined;
+LoggingKafkaAdditional.prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-LoggingKafkaAllOf.prototype['user'] = undefined;
+LoggingKafkaAdditional.prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-LoggingKafkaAllOf.prototype['password'] = undefined;
+LoggingKafkaAdditional.prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingKafkaAllOf.prototype['use_tls'] = undefined;
+LoggingKafkaAdditional.prototype['use_tls'] = undefined;
@@ -355,7 +433,7 @@ LoggingKafkaAllOf.prototype['use_tls'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingKafka['PlacementEnum'] = {
+LoggingKafkaResponsePost['PlacementEnum'] = {
/**
* value: "none"
@@ -382,7 +460,7 @@ LoggingKafka['PlacementEnum'] = {
* @enum {Number}
* @readonly
*/
-LoggingKafka['FormatVersionEnum'] = {
+LoggingKafkaResponsePost['FormatVersionEnum'] = {
/**
* value: 1
@@ -403,7 +481,7 @@ LoggingKafka['FormatVersionEnum'] = {
* @enum {String}
* @readonly
*/
-LoggingKafka['CompressionCodecEnum'] = {
+LoggingKafkaResponsePost['CompressionCodecEnum'] = {
/**
* value: "gzip"
@@ -436,7 +514,7 @@ LoggingKafka['CompressionCodecEnum'] = {
* @enum {Number}
* @readonly
*/
-LoggingKafka['RequiredAcksEnum'] = {
+LoggingKafkaResponsePost['RequiredAcksEnum'] = {
/**
* value: 1
@@ -463,7 +541,7 @@ LoggingKafka['RequiredAcksEnum'] = {
* @enum {String}
* @readonly
*/
-LoggingKafka['AuthMethodEnum'] = {
+LoggingKafkaResponsePost['AuthMethodEnum'] = {
/**
* value: "plain"
@@ -486,5 +564,5 @@ LoggingKafka['AuthMethodEnum'] = {
-export default LoggingKafka;
+export default LoggingKafkaResponsePost;
diff --git a/src/model/LoggingKinesis.js b/src/model/LoggingKinesisAdditional.js
similarity index 67%
rename from src/model/LoggingKinesis.js
rename to src/model/LoggingKinesisAdditional.js
index 9b838aa37..8d36e9975 100644
--- a/src/model/LoggingKinesis.js
+++ b/src/model/LoggingKinesisAdditional.js
@@ -12,22 +12,21 @@
import ApiClient from '../ApiClient';
import AwsRegion from './AwsRegion';
-import LoggingFormatVersion from './LoggingFormatVersion';
import LoggingPlacement from './LoggingPlacement';
/**
- * The LoggingKinesis model module.
- * @module model/LoggingKinesis
- * @version 5.0.2
+ * The LoggingKinesisAdditional model module.
+ * @module model/LoggingKinesisAdditional
+ * @version 6.0.0
*/
-class LoggingKinesis {
+class LoggingKinesisAdditional {
/**
- * Constructs a new LoggingKinesis
.
- * @alias module:model/LoggingKinesis
+ * Constructs a new LoggingKinesisAdditional
.
+ * @alias module:model/LoggingKinesisAdditional
*/
constructor() {
- LoggingKinesis.initialize(this);
+ LoggingKinesisAdditional.initialize(this);
}
/**
@@ -39,15 +38,15 @@ class LoggingKinesis {
}
/**
- * Constructs a LoggingKinesis
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingKinesisAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingKinesis} obj Optional instance to populate.
- * @return {module:model/LoggingKinesis} The populated LoggingKinesis
instance.
+ * @param {module:model/LoggingKinesisAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingKinesisAdditional} The populated LoggingKinesisAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingKinesis();
+ obj = obj || new LoggingKinesisAdditional();
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -55,9 +54,6 @@ class LoggingKinesis {
if (data.hasOwnProperty('placement')) {
obj['placement'] = LoggingPlacement.constructFromObject(data['placement']);
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = LoggingFormatVersion.constructFromObject(data['format_version']);
- }
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
@@ -87,58 +83,53 @@ class LoggingKinesis {
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingKinesis.prototype['name'] = undefined;
+LoggingKinesisAdditional.prototype['name'] = undefined;
/**
* @member {module:model/LoggingPlacement} placement
*/
-LoggingKinesis.prototype['placement'] = undefined;
-
-/**
- * @member {module:model/LoggingFormatVersion} format_version
- */
-LoggingKinesis.prototype['format_version'] = undefined;
+LoggingKinesisAdditional.prototype['placement'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-LoggingKinesis.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+LoggingKinesisAdditional.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Amazon Kinesis stream to send logs to. Required.
* @member {String} topic
*/
-LoggingKinesis.prototype['topic'] = undefined;
+LoggingKinesisAdditional.prototype['topic'] = undefined;
/**
* @member {module:model/AwsRegion} region
*/
-LoggingKinesis.prototype['region'] = undefined;
+LoggingKinesisAdditional.prototype['region'] = undefined;
/**
* The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} secret_key
*/
-LoggingKinesis.prototype['secret_key'] = undefined;
+LoggingKinesisAdditional.prototype['secret_key'] = undefined;
/**
* The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} access_key
*/
-LoggingKinesis.prototype['access_key'] = undefined;
+LoggingKinesisAdditional.prototype['access_key'] = undefined;
/**
* The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-LoggingKinesis.prototype['iam_role'] = undefined;
+LoggingKinesisAdditional.prototype['iam_role'] = undefined;
-export default LoggingKinesis;
+export default LoggingKinesisAdditional;
diff --git a/src/model/LoggingKinesisResponse.js b/src/model/LoggingKinesisResponse.js
index e180c93a6..500afe049 100644
--- a/src/model/LoggingKinesisResponse.js
+++ b/src/model/LoggingKinesisResponse.js
@@ -12,27 +12,28 @@
import ApiClient from '../ApiClient';
import AwsRegion from './AwsRegion';
-import LoggingFormatVersion from './LoggingFormatVersion';
-import LoggingKinesis from './LoggingKinesis';
+import LoggingFormatVersionString from './LoggingFormatVersionString';
+import LoggingKinesisAdditional from './LoggingKinesisAdditional';
import LoggingPlacement from './LoggingPlacement';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingKinesisResponse model module.
* @module model/LoggingKinesisResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingKinesisResponse {
/**
* Constructs a new LoggingKinesisResponse
.
* @alias module:model/LoggingKinesisResponse
- * @implements module:model/LoggingKinesis
+ * @implements module:model/LoggingKinesisAdditional
+ * @implements module:model/LoggingFormatVersionString
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingKinesis.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingKinesisAdditional.initialize(this);LoggingFormatVersionString.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingKinesisResponse.initialize(this);
}
@@ -54,9 +55,10 @@ class LoggingKinesisResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKinesisResponse();
- LoggingKinesis.constructFromObject(data, obj);
+ LoggingKinesisAdditional.constructFromObject(data, obj);
+ LoggingFormatVersionString.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -64,9 +66,6 @@ class LoggingKinesisResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = LoggingPlacement.constructFromObject(data['placement']);
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = LoggingFormatVersion.constructFromObject(data['format_version']);
- }
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
@@ -85,6 +84,9 @@ class LoggingKinesisResponse {
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = ApiClient.convertToType(data['iam_role'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
}
@@ -98,7 +100,7 @@ class LoggingKinesisResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -118,11 +120,6 @@ LoggingKinesisResponse.prototype['name'] = undefined;
*/
LoggingKinesisResponse.prototype['placement'] = undefined;
-/**
- * @member {module:model/LoggingFormatVersion} format_version
- */
-LoggingKinesisResponse.prototype['format_version'] = undefined;
-
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
@@ -159,6 +156,13 @@ LoggingKinesisResponse.prototype['access_key'] = undefined;
*/
LoggingKinesisResponse.prototype['iam_role'] = undefined;
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingKinesisResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingKinesisResponse.prototype['format_version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
@@ -183,55 +187,58 @@ LoggingKinesisResponse.prototype['updated_at'] = undefined;
LoggingKinesisResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingKinesisResponse.prototype['version'] = undefined;
-// Implement LoggingKinesis interface:
+// Implement LoggingKinesisAdditional interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingKinesis.prototype['name'] = undefined;
+LoggingKinesisAdditional.prototype['name'] = undefined;
/**
* @member {module:model/LoggingPlacement} placement
*/
-LoggingKinesis.prototype['placement'] = undefined;
-/**
- * @member {module:model/LoggingFormatVersion} format_version
- */
-LoggingKinesis.prototype['format_version'] = undefined;
+LoggingKinesisAdditional.prototype['placement'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-LoggingKinesis.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+LoggingKinesisAdditional.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Amazon Kinesis stream to send logs to. Required.
* @member {String} topic
*/
-LoggingKinesis.prototype['topic'] = undefined;
+LoggingKinesisAdditional.prototype['topic'] = undefined;
/**
* @member {module:model/AwsRegion} region
*/
-LoggingKinesis.prototype['region'] = undefined;
+LoggingKinesisAdditional.prototype['region'] = undefined;
/**
* The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} secret_key
*/
-LoggingKinesis.prototype['secret_key'] = undefined;
+LoggingKinesisAdditional.prototype['secret_key'] = undefined;
/**
* The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} access_key
*/
-LoggingKinesis.prototype['access_key'] = undefined;
+LoggingKinesisAdditional.prototype['access_key'] = undefined;
/**
* The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-LoggingKinesis.prototype['iam_role'] = undefined;
+LoggingKinesisAdditional.prototype['iam_role'] = undefined;
+// Implement LoggingFormatVersionString interface:
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingFormatVersionString.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingFormatVersionString.prototype['format_version'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -248,17 +255,38 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
+
+/**
+ * Allowed values for the format_version
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingKinesisResponse['FormatVersionEnum'] = {
+
+ /**
+ * value: "1"
+ * @const
+ */
+ "v1": "1",
+
+ /**
+ * value: "2"
+ * @const
+ */
+ "v2": "2"
+};
+
export default LoggingKinesisResponse;
diff --git a/src/model/LoggingLogentries.js b/src/model/LoggingLogentries.js
deleted file mode 100644
index f63f87ac8..000000000
--- a/src/model/LoggingLogentries.js
+++ /dev/null
@@ -1,300 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingLogentriesAllOf from './LoggingLogentriesAllOf';
-import LoggingUseTls from './LoggingUseTls';
-
-/**
- * The LoggingLogentries model module.
- * @module model/LoggingLogentries
- * @version 5.0.2
- */
-class LoggingLogentries {
- /**
- * Constructs a new LoggingLogentries
.
- * @alias module:model/LoggingLogentries
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingLogentriesAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingLogentriesAllOf.initialize(this);
- LoggingLogentries.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingLogentries
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLogentries} obj Optional instance to populate.
- * @return {module:model/LoggingLogentries} The populated LoggingLogentries
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingLogentries();
- LoggingCommon.constructFromObject(data, obj);
- LoggingLogentriesAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = LoggingUseTls.constructFromObject(data['use_tls']);
- }
- if (data.hasOwnProperty('region')) {
- obj['region'] = ApiClient.convertToType(data['region'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingLogentries.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLogentries.PlacementEnum} placement
- */
-LoggingLogentries.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogentries.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogentries.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingLogentries.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingLogentries.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * The port number.
- * @member {Number} port
- * @default 20000
- */
-LoggingLogentries.prototype['port'] = 20000;
-
-/**
- * Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
- * @member {String} token
- */
-LoggingLogentries.prototype['token'] = undefined;
-
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingLogentries.prototype['use_tls'] = undefined;
-
-/**
- * The region to which to stream logs.
- * @member {module:model/LoggingLogentries.RegionEnum} region
- */
-LoggingLogentries.prototype['region'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingLogentriesAllOf interface:
-/**
- * The port number.
- * @member {Number} port
- * @default 20000
- */
-LoggingLogentriesAllOf.prototype['port'] = 20000;
-/**
- * Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
- * @member {String} token
- */
-LoggingLogentriesAllOf.prototype['token'] = undefined;
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingLogentriesAllOf.prototype['use_tls'] = undefined;
-/**
- * The region to which to stream logs.
- * @member {module:model/LoggingLogentriesAllOf.RegionEnum} region
- */
-LoggingLogentriesAllOf.prototype['region'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingLogentries['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingLogentries['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-LoggingLogentries['RegionEnum'] = {
-
- /**
- * value: "US"
- * @const
- */
- "US": "US",
-
- /**
- * value: "US-2"
- * @const
- */
- "US-2": "US-2",
-
- /**
- * value: "US-3"
- * @const
- */
- "US-3": "US-3",
-
- /**
- * value: "EU"
- * @const
- */
- "EU": "EU",
-
- /**
- * value: "CA"
- * @const
- */
- "CA": "CA",
-
- /**
- * value: "AU"
- * @const
- */
- "AU": "AU",
-
- /**
- * value: "AP"
- * @const
- */
- "AP": "AP"
-};
-
-
-
-export default LoggingLogentries;
-
diff --git a/src/model/LoggingLogentriesAllOf.js b/src/model/LoggingLogentriesAdditional.js
similarity index 72%
rename from src/model/LoggingLogentriesAllOf.js
rename to src/model/LoggingLogentriesAdditional.js
index 212d6272f..a56e74819 100644
--- a/src/model/LoggingLogentriesAllOf.js
+++ b/src/model/LoggingLogentriesAdditional.js
@@ -14,18 +14,18 @@ import ApiClient from '../ApiClient';
import LoggingUseTls from './LoggingUseTls';
/**
- * The LoggingLogentriesAllOf model module.
- * @module model/LoggingLogentriesAllOf
- * @version 5.0.2
+ * The LoggingLogentriesAdditional model module.
+ * @module model/LoggingLogentriesAdditional
+ * @version 6.0.0
*/
-class LoggingLogentriesAllOf {
+class LoggingLogentriesAdditional {
/**
- * Constructs a new LoggingLogentriesAllOf
.
- * @alias module:model/LoggingLogentriesAllOf
+ * Constructs a new LoggingLogentriesAdditional
.
+ * @alias module:model/LoggingLogentriesAdditional
*/
constructor() {
- LoggingLogentriesAllOf.initialize(this);
+ LoggingLogentriesAdditional.initialize(this);
}
/**
@@ -37,15 +37,15 @@ class LoggingLogentriesAllOf {
}
/**
- * Constructs a LoggingLogentriesAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingLogentriesAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLogentriesAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingLogentriesAllOf} The populated LoggingLogentriesAllOf
instance.
+ * @param {module:model/LoggingLogentriesAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingLogentriesAdditional} The populated LoggingLogentriesAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingLogentriesAllOf();
+ obj = obj || new LoggingLogentriesAdditional();
if (data.hasOwnProperty('port')) {
obj['port'] = ApiClient.convertToType(data['port'], 'Number');
@@ -71,24 +71,24 @@ class LoggingLogentriesAllOf {
* @member {Number} port
* @default 20000
*/
-LoggingLogentriesAllOf.prototype['port'] = 20000;
+LoggingLogentriesAdditional.prototype['port'] = 20000;
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-LoggingLogentriesAllOf.prototype['token'] = undefined;
+LoggingLogentriesAdditional.prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingLogentriesAllOf.prototype['use_tls'] = undefined;
+LoggingLogentriesAdditional.prototype['use_tls'] = undefined;
/**
* The region to which to stream logs.
- * @member {module:model/LoggingLogentriesAllOf.RegionEnum} region
+ * @member {module:model/LoggingLogentriesAdditional.RegionEnum} region
*/
-LoggingLogentriesAllOf.prototype['region'] = undefined;
+LoggingLogentriesAdditional.prototype['region'] = undefined;
@@ -99,7 +99,7 @@ LoggingLogentriesAllOf.prototype['region'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingLogentriesAllOf['RegionEnum'] = {
+LoggingLogentriesAdditional['RegionEnum'] = {
/**
* value: "US"
@@ -146,5 +146,5 @@ LoggingLogentriesAllOf['RegionEnum'] = {
-export default LoggingLogentriesAllOf;
+export default LoggingLogentriesAdditional;
diff --git a/src/model/LoggingLogentriesResponse.js b/src/model/LoggingLogentriesResponse.js
index 2b5fb97ff..3dcbbe2aa 100644
--- a/src/model/LoggingLogentriesResponse.js
+++ b/src/model/LoggingLogentriesResponse.js
@@ -11,26 +11,28 @@
*/
import ApiClient from '../ApiClient';
-import LoggingLogentries from './LoggingLogentries';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingLogentriesAdditional from './LoggingLogentriesAdditional';
import LoggingUseTls from './LoggingUseTls';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingLogentriesResponse model module.
* @module model/LoggingLogentriesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingLogentriesResponse {
/**
* Constructs a new LoggingLogentriesResponse
.
* @alias module:model/LoggingLogentriesResponse
- * @implements module:model/LoggingLogentries
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingLogentriesAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingLogentries.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingLogentriesAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingLogentriesResponse.initialize(this);
}
@@ -52,9 +54,10 @@ class LoggingLogentriesResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogentriesResponse();
- LoggingLogentries.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingLogentriesAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +65,15 @@ class LoggingLogentriesResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('port')) {
obj['port'] = ApiClient.convertToType(data['port'], 'Number');
}
@@ -96,7 +99,7 @@ class LoggingLogentriesResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -117,13 +120,6 @@ LoggingLogentriesResponse.prototype['name'] = undefined;
*/
LoggingLogentriesResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogentriesResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogentriesResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -137,6 +133,13 @@ LoggingLogentriesResponse.prototype['response_condition'] = undefined;
*/
LoggingLogentriesResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingLogentriesResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingLogentriesResponse.prototype['format_version'] = undefined;
+
/**
* The port number.
* @member {Number} port
@@ -185,59 +188,60 @@ LoggingLogentriesResponse.prototype['updated_at'] = undefined;
LoggingLogentriesResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingLogentriesResponse.prototype['version'] = undefined;
-// Implement LoggingLogentries interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingLogentries.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLogentries.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingLogentries.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogentries.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogentries.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingLogentries.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingLogentries.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingLogentriesAdditional interface:
/**
* The port number.
* @member {Number} port
* @default 20000
*/
-LoggingLogentries.prototype['port'] = 20000;
+LoggingLogentriesAdditional.prototype['port'] = 20000;
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-LoggingLogentries.prototype['token'] = undefined;
+LoggingLogentriesAdditional.prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingLogentries.prototype['use_tls'] = undefined;
+LoggingLogentriesAdditional.prototype['use_tls'] = undefined;
/**
* The region to which to stream logs.
- * @member {module:model/LoggingLogentries.RegionEnum} region
+ * @member {module:model/LoggingLogentriesAdditional.RegionEnum} region
*/
-LoggingLogentries.prototype['region'] = undefined;
+LoggingLogentriesAdditional.prototype['region'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -254,15 +258,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -295,22 +299,22 @@ LoggingLogentriesResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingLogentriesResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingLogglyAllOf.js b/src/model/LoggingLogglyAdditional.js
similarity index 69%
rename from src/model/LoggingLogglyAllOf.js
rename to src/model/LoggingLogglyAdditional.js
index 7bad7e68f..9ad606c85 100644
--- a/src/model/LoggingLogglyAllOf.js
+++ b/src/model/LoggingLogglyAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingLogglyAllOf model module.
- * @module model/LoggingLogglyAllOf
- * @version 5.0.2
+ * The LoggingLogglyAdditional model module.
+ * @module model/LoggingLogglyAdditional
+ * @version 6.0.0
*/
-class LoggingLogglyAllOf {
+class LoggingLogglyAdditional {
/**
- * Constructs a new LoggingLogglyAllOf
.
- * @alias module:model/LoggingLogglyAllOf
+ * Constructs a new LoggingLogglyAdditional
.
+ * @alias module:model/LoggingLogglyAdditional
*/
constructor() {
- LoggingLogglyAllOf.initialize(this);
+ LoggingLogglyAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingLogglyAllOf {
}
/**
- * Constructs a LoggingLogglyAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingLogglyAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLogglyAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingLogglyAllOf} The populated LoggingLogglyAllOf
instance.
+ * @param {module:model/LoggingLogglyAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingLogglyAdditional} The populated LoggingLogglyAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingLogglyAllOf();
+ obj = obj || new LoggingLogglyAdditional();
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
@@ -60,12 +60,12 @@ class LoggingLogglyAllOf {
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-LoggingLogglyAllOf.prototype['token'] = undefined;
+LoggingLogglyAdditional.prototype['token'] = undefined;
-export default LoggingLogglyAllOf;
+export default LoggingLogglyAdditional;
diff --git a/src/model/LoggingLogglyResponse.js b/src/model/LoggingLogglyResponse.js
index bd737b65a..ac5dea986 100644
--- a/src/model/LoggingLogglyResponse.js
+++ b/src/model/LoggingLogglyResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingLoggly from './LoggingLoggly';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingLogglyAdditional from './LoggingLogglyAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingLogglyResponse model module.
* @module model/LoggingLogglyResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingLogglyResponse {
/**
* Constructs a new LoggingLogglyResponse
.
* @alias module:model/LoggingLogglyResponse
- * @implements module:model/LoggingLoggly
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingLogglyAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingLoggly.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingLogglyAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingLogglyResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingLogglyResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogglyResponse();
- LoggingLoggly.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingLogglyAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingLogglyResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
}
@@ -86,7 +89,7 @@ class LoggingLogglyResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -107,13 +110,6 @@ LoggingLogglyResponse.prototype['name'] = undefined;
*/
LoggingLogglyResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogglyResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogglyResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -127,6 +123,13 @@ LoggingLogglyResponse.prototype['response_condition'] = undefined;
*/
LoggingLogglyResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingLogglyResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingLogglyResponse.prototype['format_version'] = undefined;
+
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
@@ -157,44 +160,45 @@ LoggingLogglyResponse.prototype['updated_at'] = undefined;
LoggingLogglyResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingLogglyResponse.prototype['version'] = undefined;
-// Implement LoggingLoggly interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingLoggly.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLoggly.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingLoggly.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLoggly.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLoggly.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingLoggly.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingLoggly.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingLogglyAdditional interface:
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-LoggingLoggly.prototype['token'] = undefined;
+LoggingLogglyAdditional.prototype['token'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -211,15 +215,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -252,22 +256,22 @@ LoggingLogglyResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingLogglyResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingLogshuttle.js b/src/model/LoggingLogshuttle.js
deleted file mode 100644
index ec1f578d7..000000000
--- a/src/model/LoggingLogshuttle.js
+++ /dev/null
@@ -1,220 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingLogshuttleAllOf from './LoggingLogshuttleAllOf';
-
-/**
- * The LoggingLogshuttle model module.
- * @module model/LoggingLogshuttle
- * @version 5.0.2
- */
-class LoggingLogshuttle {
- /**
- * Constructs a new LoggingLogshuttle
.
- * @alias module:model/LoggingLogshuttle
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingLogshuttleAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingLogshuttleAllOf.initialize(this);
- LoggingLogshuttle.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingLogshuttle
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLogshuttle} obj Optional instance to populate.
- * @return {module:model/LoggingLogshuttle} The populated LoggingLogshuttle
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingLogshuttle();
- LoggingCommon.constructFromObject(data, obj);
- LoggingLogshuttleAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingLogshuttle.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLogshuttle.PlacementEnum} placement
- */
-LoggingLogshuttle.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogshuttle.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogshuttle.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingLogshuttle.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingLogshuttle.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * The data authentication token associated with this endpoint.
- * @member {String} token
- */
-LoggingLogshuttle.prototype['token'] = undefined;
-
-/**
- * The URL to stream logs to.
- * @member {String} url
- */
-LoggingLogshuttle.prototype['url'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingLogshuttleAllOf interface:
-/**
- * The data authentication token associated with this endpoint.
- * @member {String} token
- */
-LoggingLogshuttleAllOf.prototype['token'] = undefined;
-/**
- * The URL to stream logs to.
- * @member {String} url
- */
-LoggingLogshuttleAllOf.prototype['url'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingLogshuttle['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingLogshuttle['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingLogshuttle;
-
diff --git a/src/model/LoggingLogshuttleAllOf.js b/src/model/LoggingLogshuttleAdditional.js
similarity index 67%
rename from src/model/LoggingLogshuttleAllOf.js
rename to src/model/LoggingLogshuttleAdditional.js
index 8658eb789..7a26f05e9 100644
--- a/src/model/LoggingLogshuttleAllOf.js
+++ b/src/model/LoggingLogshuttleAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingLogshuttleAllOf model module.
- * @module model/LoggingLogshuttleAllOf
- * @version 5.0.2
+ * The LoggingLogshuttleAdditional model module.
+ * @module model/LoggingLogshuttleAdditional
+ * @version 6.0.0
*/
-class LoggingLogshuttleAllOf {
+class LoggingLogshuttleAdditional {
/**
- * Constructs a new LoggingLogshuttleAllOf
.
- * @alias module:model/LoggingLogshuttleAllOf
+ * Constructs a new LoggingLogshuttleAdditional
.
+ * @alias module:model/LoggingLogshuttleAdditional
*/
constructor() {
- LoggingLogshuttleAllOf.initialize(this);
+ LoggingLogshuttleAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingLogshuttleAllOf {
}
/**
- * Constructs a LoggingLogshuttleAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingLogshuttleAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingLogshuttleAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingLogshuttleAllOf} The populated LoggingLogshuttleAllOf
instance.
+ * @param {module:model/LoggingLogshuttleAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingLogshuttleAdditional} The populated LoggingLogshuttleAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingLogshuttleAllOf();
+ obj = obj || new LoggingLogshuttleAdditional();
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
@@ -63,18 +63,18 @@ class LoggingLogshuttleAllOf {
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-LoggingLogshuttleAllOf.prototype['token'] = undefined;
+LoggingLogshuttleAdditional.prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-LoggingLogshuttleAllOf.prototype['url'] = undefined;
+LoggingLogshuttleAdditional.prototype['url'] = undefined;
-export default LoggingLogshuttleAllOf;
+export default LoggingLogshuttleAdditional;
diff --git a/src/model/LoggingLogshuttleResponse.js b/src/model/LoggingLogshuttleResponse.js
index 687761582..8b9e48099 100644
--- a/src/model/LoggingLogshuttleResponse.js
+++ b/src/model/LoggingLogshuttleResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingLogshuttle from './LoggingLogshuttle';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingLogshuttleAdditional from './LoggingLogshuttleAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingLogshuttleResponse model module.
* @module model/LoggingLogshuttleResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingLogshuttleResponse {
/**
* Constructs a new LoggingLogshuttleResponse
.
* @alias module:model/LoggingLogshuttleResponse
- * @implements module:model/LoggingLogshuttle
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingLogshuttleAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingLogshuttle.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingLogshuttleAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingLogshuttleResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingLogshuttleResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogshuttleResponse();
- LoggingLogshuttle.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingLogshuttleAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingLogshuttleResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingLogshuttleResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingLogshuttleResponse.prototype['name'] = undefined;
*/
LoggingLogshuttleResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogshuttleResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogshuttleResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -130,6 +126,13 @@ LoggingLogshuttleResponse.prototype['response_condition'] = undefined;
*/
LoggingLogshuttleResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingLogshuttleResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingLogshuttleResponse.prototype['format_version'] = undefined;
+
/**
* The data authentication token associated with this endpoint.
* @member {String} token
@@ -166,49 +169,50 @@ LoggingLogshuttleResponse.prototype['updated_at'] = undefined;
LoggingLogshuttleResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingLogshuttleResponse.prototype['version'] = undefined;
-// Implement LoggingLogshuttle interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingLogshuttle.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingLogshuttle.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingLogshuttle.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingLogshuttle.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingLogshuttle.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingLogshuttle.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingLogshuttle.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingLogshuttleAdditional interface:
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-LoggingLogshuttle.prototype['token'] = undefined;
+LoggingLogshuttleAdditional.prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-LoggingLogshuttle.prototype['url'] = undefined;
+LoggingLogshuttleAdditional.prototype['url'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -225,15 +229,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -266,22 +270,22 @@ LoggingLogshuttleResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingLogshuttleResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingNewrelic.js b/src/model/LoggingNewrelic.js
deleted file mode 100644
index 4b9e0ce94..000000000
--- a/src/model/LoggingNewrelic.js
+++ /dev/null
@@ -1,249 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingNewrelicAllOf from './LoggingNewrelicAllOf';
-
-/**
- * The LoggingNewrelic model module.
- * @module model/LoggingNewrelic
- * @version 5.0.2
- */
-class LoggingNewrelic {
- /**
- * Constructs a new LoggingNewrelic
.
- * @alias module:model/LoggingNewrelic
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingNewrelicAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingNewrelicAllOf.initialize(this);
- LoggingNewrelic.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingNewrelic
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingNewrelic} obj Optional instance to populate.
- * @return {module:model/LoggingNewrelic} The populated LoggingNewrelic
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingNewrelic();
- LoggingCommon.constructFromObject(data, obj);
- LoggingNewrelicAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('region')) {
- obj['region'] = ApiClient.convertToType(data['region'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingNewrelic.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingNewrelic.PlacementEnum} placement
- */
-LoggingNewrelic.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingNewrelic.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingNewrelic.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingNewrelic.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {String} format
- * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
- */
-LoggingNewrelic.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
-
-/**
- * The Insert API key from the Account page of your New Relic account. Required.
- * @member {String} token
- */
-LoggingNewrelic.prototype['token'] = undefined;
-
-/**
- * The region to which to stream logs.
- * @member {module:model/LoggingNewrelic.RegionEnum} region
- * @default 'US'
- */
-LoggingNewrelic.prototype['region'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingNewrelicAllOf interface:
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {String} format
- * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
- */
-LoggingNewrelicAllOf.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
-/**
- * The Insert API key from the Account page of your New Relic account. Required.
- * @member {String} token
- */
-LoggingNewrelicAllOf.prototype['token'] = undefined;
-/**
- * The region to which to stream logs.
- * @member {module:model/LoggingNewrelicAllOf.RegionEnum} region
- * @default 'US'
- */
-LoggingNewrelicAllOf.prototype['region'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingNewrelic['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingNewrelic['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-LoggingNewrelic['RegionEnum'] = {
-
- /**
- * value: "US"
- * @const
- */
- "US": "US",
-
- /**
- * value: "EU"
- * @const
- */
- "EU": "EU"
-};
-
-
-
-export default LoggingNewrelic;
-
diff --git a/src/model/LoggingNewrelicAllOf.js b/src/model/LoggingNewrelicAdditional.js
similarity index 64%
rename from src/model/LoggingNewrelicAllOf.js
rename to src/model/LoggingNewrelicAdditional.js
index 982cc2312..499507fac 100644
--- a/src/model/LoggingNewrelicAllOf.js
+++ b/src/model/LoggingNewrelicAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingNewrelicAllOf model module.
- * @module model/LoggingNewrelicAllOf
- * @version 5.0.2
+ * The LoggingNewrelicAdditional model module.
+ * @module model/LoggingNewrelicAdditional
+ * @version 6.0.0
*/
-class LoggingNewrelicAllOf {
+class LoggingNewrelicAdditional {
/**
- * Constructs a new LoggingNewrelicAllOf
.
- * @alias module:model/LoggingNewrelicAllOf
+ * Constructs a new LoggingNewrelicAdditional
.
+ * @alias module:model/LoggingNewrelicAdditional
*/
constructor() {
- LoggingNewrelicAllOf.initialize(this);
+ LoggingNewrelicAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingNewrelicAllOf {
}
/**
- * Constructs a LoggingNewrelicAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingNewrelicAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingNewrelicAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingNewrelicAllOf} The populated LoggingNewrelicAllOf
instance.
+ * @param {module:model/LoggingNewrelicAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingNewrelicAdditional} The populated LoggingNewrelicAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingNewrelicAllOf();
+ obj = obj || new LoggingNewrelicAdditional();
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
@@ -67,20 +67,20 @@ class LoggingNewrelicAllOf {
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-LoggingNewrelicAllOf.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+LoggingNewrelicAdditional.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-LoggingNewrelicAllOf.prototype['token'] = undefined;
+LoggingNewrelicAdditional.prototype['token'] = undefined;
/**
* The region to which to stream logs.
- * @member {module:model/LoggingNewrelicAllOf.RegionEnum} region
+ * @member {module:model/LoggingNewrelicAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingNewrelicAllOf.prototype['region'] = undefined;
+LoggingNewrelicAdditional.prototype['region'] = undefined;
@@ -91,7 +91,7 @@ LoggingNewrelicAllOf.prototype['region'] = undefined;
* @enum {String}
* @readonly
*/
-LoggingNewrelicAllOf['RegionEnum'] = {
+LoggingNewrelicAdditional['RegionEnum'] = {
/**
* value: "US"
@@ -108,5 +108,5 @@ LoggingNewrelicAllOf['RegionEnum'] = {
-export default LoggingNewrelicAllOf;
+export default LoggingNewrelicAdditional;
diff --git a/src/model/LoggingNewrelicResponse.js b/src/model/LoggingNewrelicResponse.js
index 74ebddeeb..996c9c57d 100644
--- a/src/model/LoggingNewrelicResponse.js
+++ b/src/model/LoggingNewrelicResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingNewrelic from './LoggingNewrelic';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingNewrelicAdditional from './LoggingNewrelicAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingNewrelicResponse model module.
* @module model/LoggingNewrelicResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingNewrelicResponse {
/**
* Constructs a new LoggingNewrelicResponse
.
* @alias module:model/LoggingNewrelicResponse
- * @implements module:model/LoggingNewrelic
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingNewrelicAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingNewrelic.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingNewrelicAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingNewrelicResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingNewrelicResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingNewrelicResponse();
- LoggingNewrelic.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingNewrelicAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingNewrelicResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingNewrelicResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingNewrelicResponse.prototype['name'] = undefined;
*/
LoggingNewrelicResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingNewrelicResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingNewrelicResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -130,6 +126,13 @@ LoggingNewrelicResponse.prototype['response_condition'] = undefined;
*/
LoggingNewrelicResponse.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingNewrelicResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingNewrelicResponse.prototype['format_version'] = undefined;
+
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
@@ -167,50 +170,57 @@ LoggingNewrelicResponse.prototype['updated_at'] = undefined;
LoggingNewrelicResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingNewrelicResponse.prototype['version'] = undefined;
-// Implement LoggingNewrelic interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingNewrelic.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingNewrelic.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingNewrelic.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingNewrelic.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingNewrelic.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingNewrelic.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingNewrelicAdditional interface:
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-LoggingNewrelic.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+LoggingNewrelicAdditional.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-LoggingNewrelic.prototype['token'] = undefined;
+LoggingNewrelicAdditional.prototype['token'] = undefined;
/**
* The region to which to stream logs.
- * @member {module:model/LoggingNewrelic.RegionEnum} region
+ * @member {module:model/LoggingNewrelicAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingNewrelic.prototype['region'] = undefined;
+LoggingNewrelicAdditional.prototype['region'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -227,15 +237,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -268,22 +278,22 @@ LoggingNewrelicResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingNewrelicResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingOpenstack.js b/src/model/LoggingOpenstack.js
deleted file mode 100644
index a51857e0f..000000000
--- a/src/model/LoggingOpenstack.js
+++ /dev/null
@@ -1,420 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-import LoggingOpenstackAllOf from './LoggingOpenstackAllOf';
-
-/**
- * The LoggingOpenstack model module.
- * @module model/LoggingOpenstack
- * @version 5.0.2
- */
-class LoggingOpenstack {
- /**
- * Constructs a new LoggingOpenstack
.
- * @alias module:model/LoggingOpenstack
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingOpenstackAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingOpenstackAllOf.initialize(this);
- LoggingOpenstack.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingOpenstack
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingOpenstack} obj Optional instance to populate.
- * @return {module:model/LoggingOpenstack} The populated LoggingOpenstack
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingOpenstack();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingOpenstackAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('access_key')) {
- obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
- }
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingOpenstack.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingOpenstack.PlacementEnum} placement
- */
-LoggingOpenstack.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingOpenstack.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingOpenstack.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingOpenstack.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingOpenstack.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingOpenstack.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingOpenstack.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingOpenstack.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingOpenstack.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingOpenstack.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingOpenstack.CompressionCodecEnum} compression_codec
- */
-LoggingOpenstack.prototype['compression_codec'] = undefined;
-
-/**
- * Your OpenStack account access key.
- * @member {String} access_key
- */
-LoggingOpenstack.prototype['access_key'] = undefined;
-
-/**
- * The name of your OpenStack container.
- * @member {String} bucket_name
- */
-LoggingOpenstack.prototype['bucket_name'] = undefined;
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingOpenstack.prototype['path'] = 'null';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingOpenstack.prototype['public_key'] = 'null';
-
-/**
- * Your OpenStack auth url.
- * @member {String} url
- */
-LoggingOpenstack.prototype['url'] = undefined;
-
-/**
- * The username for your OpenStack account.
- * @member {String} user
- */
-LoggingOpenstack.prototype['user'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingOpenstackAllOf interface:
-/**
- * Your OpenStack account access key.
- * @member {String} access_key
- */
-LoggingOpenstackAllOf.prototype['access_key'] = undefined;
-/**
- * The name of your OpenStack container.
- * @member {String} bucket_name
- */
-LoggingOpenstackAllOf.prototype['bucket_name'] = undefined;
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingOpenstackAllOf.prototype['path'] = 'null';
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingOpenstackAllOf.prototype['public_key'] = 'null';
-/**
- * Your OpenStack auth url.
- * @member {String} url
- */
-LoggingOpenstackAllOf.prototype['url'] = undefined;
-/**
- * The username for your OpenStack account.
- * @member {String} user
- */
-LoggingOpenstackAllOf.prototype['user'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingOpenstack['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingOpenstack['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingOpenstack['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingOpenstack['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingOpenstack;
-
diff --git a/src/model/LoggingOpenstackAllOf.js b/src/model/LoggingOpenstackAdditional.js
similarity index 71%
rename from src/model/LoggingOpenstackAllOf.js
rename to src/model/LoggingOpenstackAdditional.js
index 239393924..816158af5 100644
--- a/src/model/LoggingOpenstackAllOf.js
+++ b/src/model/LoggingOpenstackAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingOpenstackAllOf model module.
- * @module model/LoggingOpenstackAllOf
- * @version 5.0.2
+ * The LoggingOpenstackAdditional model module.
+ * @module model/LoggingOpenstackAdditional
+ * @version 6.0.0
*/
-class LoggingOpenstackAllOf {
+class LoggingOpenstackAdditional {
/**
- * Constructs a new LoggingOpenstackAllOf
.
- * @alias module:model/LoggingOpenstackAllOf
+ * Constructs a new LoggingOpenstackAdditional
.
+ * @alias module:model/LoggingOpenstackAdditional
*/
constructor() {
- LoggingOpenstackAllOf.initialize(this);
+ LoggingOpenstackAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingOpenstackAllOf {
}
/**
- * Constructs a LoggingOpenstackAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingOpenstackAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingOpenstackAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingOpenstackAllOf} The populated LoggingOpenstackAllOf
instance.
+ * @param {module:model/LoggingOpenstackAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingOpenstackAdditional} The populated LoggingOpenstackAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingOpenstackAllOf();
+ obj = obj || new LoggingOpenstackAdditional();
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -75,44 +75,44 @@ class LoggingOpenstackAllOf {
* Your OpenStack account access key.
* @member {String} access_key
*/
-LoggingOpenstackAllOf.prototype['access_key'] = undefined;
+LoggingOpenstackAdditional.prototype['access_key'] = undefined;
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-LoggingOpenstackAllOf.prototype['bucket_name'] = undefined;
+LoggingOpenstackAdditional.prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingOpenstackAllOf.prototype['path'] = 'null';
+LoggingOpenstackAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingOpenstackAllOf.prototype['public_key'] = 'null';
+LoggingOpenstackAdditional.prototype['public_key'] = 'null';
/**
* Your OpenStack auth url.
* @member {String} url
*/
-LoggingOpenstackAllOf.prototype['url'] = undefined;
+LoggingOpenstackAdditional.prototype['url'] = undefined;
/**
* The username for your OpenStack account.
* @member {String} user
*/
-LoggingOpenstackAllOf.prototype['user'] = undefined;
+LoggingOpenstackAdditional.prototype['user'] = undefined;
-export default LoggingOpenstackAllOf;
+export default LoggingOpenstackAdditional;
diff --git a/src/model/LoggingOpenstackResponse.js b/src/model/LoggingOpenstackResponse.js
index 8310381dc..28c32ca10 100644
--- a/src/model/LoggingOpenstackResponse.js
+++ b/src/model/LoggingOpenstackResponse.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingOpenstack from './LoggingOpenstack';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import LoggingOpenstackAdditional from './LoggingOpenstackAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingOpenstackResponse model module.
* @module model/LoggingOpenstackResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingOpenstackResponse {
/**
* Constructs a new LoggingOpenstackResponse
.
* @alias module:model/LoggingOpenstackResponse
- * @implements module:model/LoggingOpenstack
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingOpenstackAdditional
*/
constructor() {
- LoggingOpenstack.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingOpenstackAdditional.initialize(this);
LoggingOpenstackResponse.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingOpenstackResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingOpenstackResponse();
- LoggingOpenstack.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingOpenstackAdditional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +67,44 @@ class LoggingOpenstackResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -103,21 +124,6 @@ class LoggingOpenstackResponse {
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -137,13 +143,6 @@ LoggingOpenstackResponse.prototype['name'] = undefined;
*/
LoggingOpenstackResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingOpenstackResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingOpenstackResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -157,6 +156,13 @@ LoggingOpenstackResponse.prototype['response_condition'] = undefined;
*/
LoggingOpenstackResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingOpenstackResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingOpenstackResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingOpenstackResponse.MessageTypeEnum} message_type
@@ -170,25 +176,53 @@ LoggingOpenstackResponse.prototype['message_type'] = undefined;
*/
LoggingOpenstackResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingOpenstackResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingOpenstackResponse.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingOpenstackResponse.prototype['period'] = 3600;
+LoggingOpenstackResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingOpenstackResponse.prototype['gzip_level'] = 0;
+LoggingOpenstackResponse.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingOpenstackResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingOpenstackResponse.prototype['compression_codec'] = undefined;
+LoggingOpenstackResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingOpenstackResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingOpenstackResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingOpenstackResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingOpenstackResponse.prototype['version'] = undefined;
/**
* Your OpenStack account access key.
@@ -228,148 +262,122 @@ LoggingOpenstackResponse.prototype['url'] = undefined;
*/
LoggingOpenstackResponse.prototype['user'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingOpenstackResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingOpenstackResponse.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingOpenstackResponse.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingOpenstackResponse.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingOpenstackResponse.prototype['version'] = undefined;
-
-// Implement LoggingOpenstack interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingOpenstack.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingOpenstack.PlacementEnum} placement
- */
-LoggingOpenstack.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingOpenstack.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingOpenstack.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingOpenstack.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingOpenstack.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingOpenstack.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingOpenstack.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingOpenstack.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingOpenstack.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingOpenstack.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingOpenstack.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-LoggingOpenstack.prototype['compression_codec'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingOpenstackAdditional interface:
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-LoggingOpenstack.prototype['access_key'] = undefined;
+LoggingOpenstackAdditional.prototype['access_key'] = undefined;
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-LoggingOpenstack.prototype['bucket_name'] = undefined;
+LoggingOpenstackAdditional.prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingOpenstack.prototype['path'] = 'null';
+LoggingOpenstackAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingOpenstack.prototype['public_key'] = 'null';
+LoggingOpenstackAdditional.prototype['public_key'] = 'null';
/**
* Your OpenStack auth url.
* @member {String} url
*/
-LoggingOpenstack.prototype['url'] = undefined;
+LoggingOpenstackAdditional.prototype['url'] = undefined;
/**
* The username for your OpenStack account.
* @member {String} user
*/
-LoggingOpenstack.prototype['user'] = undefined;
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingOpenstackAdditional.prototype['user'] = undefined;
@@ -402,22 +410,22 @@ LoggingOpenstackResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingOpenstackResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingPapertrail.js b/src/model/LoggingPapertrail.js
deleted file mode 100644
index d26dbc72a..000000000
--- a/src/model/LoggingPapertrail.js
+++ /dev/null
@@ -1,222 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingAddressAndPort from './LoggingAddressAndPort';
-import LoggingCommon from './LoggingCommon';
-
-/**
- * The LoggingPapertrail model module.
- * @module model/LoggingPapertrail
- * @version 5.0.2
- */
-class LoggingPapertrail {
- /**
- * Constructs a new LoggingPapertrail
.
- * @alias module:model/LoggingPapertrail
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingAddressAndPort
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingAddressAndPort.initialize(this);
- LoggingPapertrail.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingPapertrail
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingPapertrail} obj Optional instance to populate.
- * @return {module:model/LoggingPapertrail} The populated LoggingPapertrail
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingPapertrail();
- LoggingCommon.constructFromObject(data, obj);
- LoggingAddressAndPort.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingPapertrail.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingPapertrail.PlacementEnum} placement
- */
-LoggingPapertrail.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingPapertrail.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingPapertrail.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingPapertrail.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingPapertrail.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingPapertrail.prototype['address'] = undefined;
-
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
-LoggingPapertrail.prototype['port'] = 514;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingAddressAndPort interface:
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingAddressAndPort.prototype['address'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
-LoggingAddressAndPort.prototype['port'] = 514;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingPapertrail['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingPapertrail['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingPapertrail;
-
diff --git a/src/model/LoggingPapertrailResponse.js b/src/model/LoggingPapertrailResponse.js
index b372af4fd..5cc9232d5 100644
--- a/src/model/LoggingPapertrailResponse.js
+++ b/src/model/LoggingPapertrailResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingPapertrail from './LoggingPapertrail';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingAddressAndPort from './LoggingAddressAndPort';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingPapertrailResponse model module.
* @module model/LoggingPapertrailResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingPapertrailResponse {
/**
* Constructs a new LoggingPapertrailResponse
.
* @alias module:model/LoggingPapertrailResponse
- * @implements module:model/LoggingPapertrail
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingAddressAndPort
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingPapertrail.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingAddressAndPort.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingPapertrailResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingPapertrailResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingPapertrailResponse();
- LoggingPapertrail.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingAddressAndPort.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingPapertrailResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('address')) {
obj['address'] = ApiClient.convertToType(data['address'], 'String');
}
@@ -89,7 +92,7 @@ class LoggingPapertrailResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -110,13 +113,6 @@ LoggingPapertrailResponse.prototype['name'] = undefined;
*/
LoggingPapertrailResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingPapertrailResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingPapertrailResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -130,6 +126,13 @@ LoggingPapertrailResponse.prototype['response_condition'] = undefined;
*/
LoggingPapertrailResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingPapertrailResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingPapertrailResponse.prototype['format_version'] = undefined;
+
/**
* A hostname or IPv4 address.
* @member {String} address
@@ -167,50 +170,51 @@ LoggingPapertrailResponse.prototype['updated_at'] = undefined;
LoggingPapertrailResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingPapertrailResponse.prototype['version'] = undefined;
-// Implement LoggingPapertrail interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingPapertrail.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingPapertrail.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingPapertrail.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingPapertrail.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingPapertrail.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingPapertrail.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingPapertrail.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingAddressAndPort interface:
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-LoggingPapertrail.prototype['address'] = undefined;
+LoggingAddressAndPort.prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-LoggingPapertrail.prototype['port'] = 514;
+LoggingAddressAndPort.prototype['port'] = 514;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -227,15 +231,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -268,22 +272,22 @@ LoggingPapertrailResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingPapertrailResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingRequestCapsCommon.js b/src/model/LoggingRequestCapsCommon.js
index cd010560c..4174d3902 100644
--- a/src/model/LoggingRequestCapsCommon.js
+++ b/src/model/LoggingRequestCapsCommon.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingRequestCapsCommon model module.
* @module model/LoggingRequestCapsCommon
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingRequestCapsCommon {
/**
diff --git a/src/model/LoggingS3.js b/src/model/LoggingS3.js
deleted file mode 100644
index f704acf61..000000000
--- a/src/model/LoggingS3.js
+++ /dev/null
@@ -1,496 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-import LoggingS3AllOf from './LoggingS3AllOf';
-
-/**
- * The LoggingS3 model module.
- * @module model/LoggingS3
- * @version 5.0.2
- */
-class LoggingS3 {
- /**
- * Constructs a new LoggingS3
.
- * @alias module:model/LoggingS3
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingS3AllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingS3AllOf.initialize(this);
- LoggingS3.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingS3
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingS3} obj Optional instance to populate.
- * @return {module:model/LoggingS3} The populated LoggingS3
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingS3();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingS3AllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('access_key')) {
- obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
- }
- if (data.hasOwnProperty('acl')) {
- obj['acl'] = ApiClient.convertToType(data['acl'], 'String');
- }
- if (data.hasOwnProperty('bucket_name')) {
- obj['bucket_name'] = ApiClient.convertToType(data['bucket_name'], 'String');
- }
- if (data.hasOwnProperty('domain')) {
- obj['domain'] = ApiClient.convertToType(data['domain'], 'String');
- }
- if (data.hasOwnProperty('iam_role')) {
- obj['iam_role'] = ApiClient.convertToType(data['iam_role'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('redundancy')) {
- obj['redundancy'] = ApiClient.convertToType(data['redundancy'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('server_side_encryption_kms_key_id')) {
- obj['server_side_encryption_kms_key_id'] = ApiClient.convertToType(data['server_side_encryption_kms_key_id'], 'String');
- }
- if (data.hasOwnProperty('server_side_encryption')) {
- obj['server_side_encryption'] = ApiClient.convertToType(data['server_side_encryption'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingS3.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingS3.PlacementEnum} placement
- */
-LoggingS3.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingS3.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingS3.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingS3.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingS3.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingS3.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingS3.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingS3.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingS3.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingS3.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingS3.CompressionCodecEnum} compression_codec
- */
-LoggingS3.prototype['compression_codec'] = undefined;
-
-/**
- * The access key for your S3 account. Not required if `iam_role` is provided.
- * @member {String} access_key
- */
-LoggingS3.prototype['access_key'] = undefined;
-
-/**
- * The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
- * @member {String} acl
- */
-LoggingS3.prototype['acl'] = undefined;
-
-/**
- * The bucket name for S3 account.
- * @member {String} bucket_name
- */
-LoggingS3.prototype['bucket_name'] = undefined;
-
-/**
- * The domain of the Amazon S3 endpoint.
- * @member {String} domain
- */
-LoggingS3.prototype['domain'] = undefined;
-
-/**
- * The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
- * @member {String} iam_role
- */
-LoggingS3.prototype['iam_role'] = undefined;
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingS3.prototype['path'] = 'null';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingS3.prototype['public_key'] = 'null';
-
-/**
- * The S3 redundancy level.
- * @member {String} redundancy
- * @default 'null'
- */
-LoggingS3.prototype['redundancy'] = 'null';
-
-/**
- * The secret key for your S3 account. Not required if `iam_role` is provided.
- * @member {String} secret_key
- */
-LoggingS3.prototype['secret_key'] = undefined;
-
-/**
- * Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
- * @member {String} server_side_encryption_kms_key_id
- * @default 'null'
- */
-LoggingS3.prototype['server_side_encryption_kms_key_id'] = 'null';
-
-/**
- * Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
- * @member {String} server_side_encryption
- * @default 'null'
- */
-LoggingS3.prototype['server_side_encryption'] = 'null';
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingS3AllOf interface:
-/**
- * The access key for your S3 account. Not required if `iam_role` is provided.
- * @member {String} access_key
- */
-LoggingS3AllOf.prototype['access_key'] = undefined;
-/**
- * The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
- * @member {String} acl
- */
-LoggingS3AllOf.prototype['acl'] = undefined;
-/**
- * The bucket name for S3 account.
- * @member {String} bucket_name
- */
-LoggingS3AllOf.prototype['bucket_name'] = undefined;
-/**
- * The domain of the Amazon S3 endpoint.
- * @member {String} domain
- */
-LoggingS3AllOf.prototype['domain'] = undefined;
-/**
- * The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
- * @member {String} iam_role
- */
-LoggingS3AllOf.prototype['iam_role'] = undefined;
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingS3AllOf.prototype['path'] = 'null';
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingS3AllOf.prototype['public_key'] = 'null';
-/**
- * The S3 redundancy level.
- * @member {String} redundancy
- * @default 'null'
- */
-LoggingS3AllOf.prototype['redundancy'] = 'null';
-/**
- * The secret key for your S3 account. Not required if `iam_role` is provided.
- * @member {String} secret_key
- */
-LoggingS3AllOf.prototype['secret_key'] = undefined;
-/**
- * Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
- * @member {String} server_side_encryption_kms_key_id
- * @default 'null'
- */
-LoggingS3AllOf.prototype['server_side_encryption_kms_key_id'] = 'null';
-/**
- * Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
- * @member {String} server_side_encryption
- * @default 'null'
- */
-LoggingS3AllOf.prototype['server_side_encryption'] = 'null';
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingS3['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingS3['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingS3['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingS3['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingS3;
-
diff --git a/src/model/LoggingS3AllOf.js b/src/model/LoggingS3Additional.js
similarity index 78%
rename from src/model/LoggingS3AllOf.js
rename to src/model/LoggingS3Additional.js
index cc87f970a..3828c3707 100644
--- a/src/model/LoggingS3AllOf.js
+++ b/src/model/LoggingS3Additional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingS3AllOf model module.
- * @module model/LoggingS3AllOf
- * @version 5.0.2
+ * The LoggingS3Additional model module.
+ * @module model/LoggingS3Additional
+ * @version 6.0.0
*/
-class LoggingS3AllOf {
+class LoggingS3Additional {
/**
- * Constructs a new LoggingS3AllOf
.
- * @alias module:model/LoggingS3AllOf
+ * Constructs a new LoggingS3Additional
.
+ * @alias module:model/LoggingS3Additional
*/
constructor() {
- LoggingS3AllOf.initialize(this);
+ LoggingS3Additional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingS3AllOf {
}
/**
- * Constructs a LoggingS3AllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingS3Additional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingS3AllOf} obj Optional instance to populate.
- * @return {module:model/LoggingS3AllOf} The populated LoggingS3AllOf
instance.
+ * @param {module:model/LoggingS3Additional} obj Optional instance to populate.
+ * @return {module:model/LoggingS3Additional} The populated LoggingS3Additional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingS3AllOf();
+ obj = obj || new LoggingS3Additional();
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -90,77 +90,77 @@ class LoggingS3AllOf {
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-LoggingS3AllOf.prototype['access_key'] = undefined;
+LoggingS3Additional.prototype['access_key'] = undefined;
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-LoggingS3AllOf.prototype['acl'] = undefined;
+LoggingS3Additional.prototype['acl'] = undefined;
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-LoggingS3AllOf.prototype['bucket_name'] = undefined;
+LoggingS3Additional.prototype['bucket_name'] = undefined;
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-LoggingS3AllOf.prototype['domain'] = undefined;
+LoggingS3Additional.prototype['domain'] = undefined;
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-LoggingS3AllOf.prototype['iam_role'] = undefined;
+LoggingS3Additional.prototype['iam_role'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingS3AllOf.prototype['path'] = 'null';
+LoggingS3Additional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingS3AllOf.prototype['public_key'] = 'null';
+LoggingS3Additional.prototype['public_key'] = 'null';
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-LoggingS3AllOf.prototype['redundancy'] = 'null';
+LoggingS3Additional.prototype['redundancy'] = 'null';
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-LoggingS3AllOf.prototype['secret_key'] = undefined;
+LoggingS3Additional.prototype['secret_key'] = undefined;
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-LoggingS3AllOf.prototype['server_side_encryption_kms_key_id'] = 'null';
+LoggingS3Additional.prototype['server_side_encryption_kms_key_id'] = 'null';
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-LoggingS3AllOf.prototype['server_side_encryption'] = 'null';
+LoggingS3Additional.prototype['server_side_encryption'] = 'null';
-export default LoggingS3AllOf;
+export default LoggingS3Additional;
diff --git a/src/model/LoggingS3Response.js b/src/model/LoggingS3Response.js
index 3548a7e05..425284cc1 100644
--- a/src/model/LoggingS3Response.js
+++ b/src/model/LoggingS3Response.js
@@ -11,25 +11,29 @@
*/
import ApiClient from '../ApiClient';
-import LoggingS3 from './LoggingS3';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGenericCommonResponse from './LoggingGenericCommonResponse';
+import LoggingS3Additional from './LoggingS3Additional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingS3Response model module.
* @module model/LoggingS3Response
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingS3Response {
/**
* Constructs a new LoggingS3Response
.
* @alias module:model/LoggingS3Response
- * @implements module:model/LoggingS3
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingS3Additional
*/
constructor() {
- LoggingS3.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingS3Additional.initialize(this);
LoggingS3Response.initialize(this);
}
@@ -51,9 +55,11 @@ class LoggingS3Response {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingS3Response();
- LoggingS3.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingS3Additional.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,29 +67,44 @@ class LoggingS3Response {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
+ if (data.hasOwnProperty('compression_codec')) {
+ obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ }
if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'String');
}
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = ApiClient.convertToType(data['access_key'], 'String');
@@ -118,21 +139,6 @@ class LoggingS3Response {
if (data.hasOwnProperty('server_side_encryption')) {
obj['server_side_encryption'] = ApiClient.convertToType(data['server_side_encryption'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
- }
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
- }
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
- }
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
- }
}
return obj;
}
@@ -152,13 +158,6 @@ LoggingS3Response.prototype['name'] = undefined;
*/
LoggingS3Response.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingS3Response.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingS3Response.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -172,6 +171,13 @@ LoggingS3Response.prototype['response_condition'] = undefined;
*/
LoggingS3Response.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingS3Response.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingS3Response.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingS3Response.MessageTypeEnum} message_type
@@ -185,25 +191,53 @@ LoggingS3Response.prototype['message_type'] = undefined;
*/
LoggingS3Response.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingS3Response.CompressionCodecEnum} compression_codec
+ */
+LoggingS3Response.prototype['compression_codec'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingS3Response.prototype['period'] = 3600;
+LoggingS3Response.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingS3Response.prototype['gzip_level'] = 0;
+LoggingS3Response.prototype['gzip_level'] = '0';
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingS3Response.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingS3Response.prototype['compression_codec'] = undefined;
+LoggingS3Response.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingS3Response.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingS3Response.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingS3Response.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingS3Response.prototype['version'] = undefined;
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
@@ -276,176 +310,150 @@ LoggingS3Response.prototype['server_side_encryption_kms_key_id'] = 'null';
*/
LoggingS3Response.prototype['server_side_encryption'] = 'null';
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingS3Response.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-LoggingS3Response.prototype['deleted_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-LoggingS3Response.prototype['updated_at'] = undefined;
-
-/**
- * @member {String} service_id
- */
-LoggingS3Response.prototype['service_id'] = undefined;
-
-/**
- * @member {Number} version
- */
-LoggingS3Response.prototype['version'] = undefined;
-
-// Implement LoggingS3 interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingS3.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingS3.PlacementEnum} placement
- */
-LoggingS3.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingS3.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingS3.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingS3.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingS3.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommonResponse interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingS3.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommonResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingS3.prototype['message_type'] = undefined;
+LoggingGenericCommonResponse.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingS3.prototype['timestamp_format'] = undefined;
+LoggingGenericCommonResponse.prototype['timestamp_format'] = undefined;
+/**
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommonResponse.CompressionCodecEnum} compression_codec
+ */
+LoggingGenericCommonResponse.prototype['compression_codec'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * @member {String} period
+ * @default '3600'
*/
-LoggingS3.prototype['period'] = 3600;
+LoggingGenericCommonResponse.prototype['period'] = '3600';
/**
* The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * @member {String} gzip_level
+ * @default '0'
*/
-LoggingS3.prototype['gzip_level'] = 0;
+LoggingGenericCommonResponse.prototype['gzip_level'] = '0';
+// Implement Timestamps interface:
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingS3.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+Timestamps.prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+Timestamps.prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-LoggingS3.prototype['compression_codec'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingS3Additional interface:
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-LoggingS3.prototype['access_key'] = undefined;
+LoggingS3Additional.prototype['access_key'] = undefined;
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-LoggingS3.prototype['acl'] = undefined;
+LoggingS3Additional.prototype['acl'] = undefined;
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-LoggingS3.prototype['bucket_name'] = undefined;
+LoggingS3Additional.prototype['bucket_name'] = undefined;
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-LoggingS3.prototype['domain'] = undefined;
+LoggingS3Additional.prototype['domain'] = undefined;
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-LoggingS3.prototype['iam_role'] = undefined;
+LoggingS3Additional.prototype['iam_role'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingS3.prototype['path'] = 'null';
+LoggingS3Additional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingS3.prototype['public_key'] = 'null';
+LoggingS3Additional.prototype['public_key'] = 'null';
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-LoggingS3.prototype['redundancy'] = 'null';
+LoggingS3Additional.prototype['redundancy'] = 'null';
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-LoggingS3.prototype['secret_key'] = undefined;
+LoggingS3Additional.prototype['secret_key'] = undefined;
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-LoggingS3.prototype['server_side_encryption_kms_key_id'] = 'null';
+LoggingS3Additional.prototype['server_side_encryption_kms_key_id'] = 'null';
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-LoggingS3.prototype['server_side_encryption'] = 'null';
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-Timestamps.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
-/**
- * @member {String} service_id
- */
-ServiceIdAndVersion.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingS3Additional.prototype['server_side_encryption'] = 'null';
@@ -478,22 +486,22 @@ LoggingS3Response['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingS3Response['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingScalyr.js b/src/model/LoggingScalyr.js
deleted file mode 100644
index 4ab09572d..000000000
--- a/src/model/LoggingScalyr.js
+++ /dev/null
@@ -1,259 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingScalyrAllOf from './LoggingScalyrAllOf';
-
-/**
- * The LoggingScalyr model module.
- * @module model/LoggingScalyr
- * @version 5.0.2
- */
-class LoggingScalyr {
- /**
- * Constructs a new LoggingScalyr
.
- * @alias module:model/LoggingScalyr
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingScalyrAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingScalyrAllOf.initialize(this);
- LoggingScalyr.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingScalyr
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingScalyr} obj Optional instance to populate.
- * @return {module:model/LoggingScalyr} The populated LoggingScalyr
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingScalyr();
- LoggingCommon.constructFromObject(data, obj);
- LoggingScalyrAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('region')) {
- obj['region'] = ApiClient.convertToType(data['region'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('project_id')) {
- obj['project_id'] = ApiClient.convertToType(data['project_id'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingScalyr.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingScalyr.PlacementEnum} placement
- */
-LoggingScalyr.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingScalyr.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingScalyr.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingScalyr.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingScalyr.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * The region that log data will be sent to.
- * @member {module:model/LoggingScalyr.RegionEnum} region
- * @default 'US'
- */
-LoggingScalyr.prototype['region'] = undefined;
-
-/**
- * The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
- * @member {String} token
- */
-LoggingScalyr.prototype['token'] = undefined;
-
-/**
- * The name of the logfile within Scalyr.
- * @member {String} project_id
- * @default 'logplex'
- */
-LoggingScalyr.prototype['project_id'] = 'logplex';
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingScalyrAllOf interface:
-/**
- * The region that log data will be sent to.
- * @member {module:model/LoggingScalyrAllOf.RegionEnum} region
- * @default 'US'
- */
-LoggingScalyrAllOf.prototype['region'] = undefined;
-/**
- * The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
- * @member {String} token
- */
-LoggingScalyrAllOf.prototype['token'] = undefined;
-/**
- * The name of the logfile within Scalyr.
- * @member {String} project_id
- * @default 'logplex'
- */
-LoggingScalyrAllOf.prototype['project_id'] = 'logplex';
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingScalyr['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingScalyr['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-LoggingScalyr['RegionEnum'] = {
-
- /**
- * value: "US"
- * @const
- */
- "US": "US",
-
- /**
- * value: "EU"
- * @const
- */
- "EU": "EU"
-};
-
-
-
-export default LoggingScalyr;
-
diff --git a/src/model/LoggingScalyrAllOf.js b/src/model/LoggingScalyrAdditional.js
similarity index 70%
rename from src/model/LoggingScalyrAllOf.js
rename to src/model/LoggingScalyrAdditional.js
index d3cfda991..825ea4734 100644
--- a/src/model/LoggingScalyrAllOf.js
+++ b/src/model/LoggingScalyrAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingScalyrAllOf model module.
- * @module model/LoggingScalyrAllOf
- * @version 5.0.2
+ * The LoggingScalyrAdditional model module.
+ * @module model/LoggingScalyrAdditional
+ * @version 6.0.0
*/
-class LoggingScalyrAllOf {
+class LoggingScalyrAdditional {
/**
- * Constructs a new LoggingScalyrAllOf
.
- * @alias module:model/LoggingScalyrAllOf
+ * Constructs a new LoggingScalyrAdditional
.
+ * @alias module:model/LoggingScalyrAdditional
*/
constructor() {
- LoggingScalyrAllOf.initialize(this);
+ LoggingScalyrAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingScalyrAllOf {
}
/**
- * Constructs a LoggingScalyrAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingScalyrAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingScalyrAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingScalyrAllOf} The populated LoggingScalyrAllOf
instance.
+ * @param {module:model/LoggingScalyrAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingScalyrAdditional} The populated LoggingScalyrAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingScalyrAllOf();
+ obj = obj || new LoggingScalyrAdditional();
if (data.hasOwnProperty('region')) {
obj['region'] = ApiClient.convertToType(data['region'], 'String');
@@ -64,23 +64,23 @@ class LoggingScalyrAllOf {
/**
* The region that log data will be sent to.
- * @member {module:model/LoggingScalyrAllOf.RegionEnum} region
+ * @member {module:model/LoggingScalyrAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingScalyrAllOf.prototype['region'] = undefined;
+LoggingScalyrAdditional.prototype['region'] = undefined;
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-LoggingScalyrAllOf.prototype['token'] = undefined;
+LoggingScalyrAdditional.prototype['token'] = undefined;
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-LoggingScalyrAllOf.prototype['project_id'] = 'logplex';
+LoggingScalyrAdditional.prototype['project_id'] = 'logplex';
@@ -91,7 +91,7 @@ LoggingScalyrAllOf.prototype['project_id'] = 'logplex';
* @enum {String}
* @readonly
*/
-LoggingScalyrAllOf['RegionEnum'] = {
+LoggingScalyrAdditional['RegionEnum'] = {
/**
* value: "US"
@@ -108,5 +108,5 @@ LoggingScalyrAllOf['RegionEnum'] = {
-export default LoggingScalyrAllOf;
+export default LoggingScalyrAdditional;
diff --git a/src/model/LoggingScalyrResponse.js b/src/model/LoggingScalyrResponse.js
index f9b46caf5..0d1c89047 100644
--- a/src/model/LoggingScalyrResponse.js
+++ b/src/model/LoggingScalyrResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import LoggingScalyr from './LoggingScalyr';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingScalyrAdditional from './LoggingScalyrAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingScalyrResponse model module.
* @module model/LoggingScalyrResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingScalyrResponse {
/**
* Constructs a new LoggingScalyrResponse
.
* @alias module:model/LoggingScalyrResponse
- * @implements module:model/LoggingScalyr
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingScalyrAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingScalyr.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingScalyrAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingScalyrResponse.initialize(this);
}
@@ -51,9 +53,10 @@ class LoggingScalyrResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingScalyrResponse();
- LoggingScalyr.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingScalyrAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,15 +64,15 @@ class LoggingScalyrResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('region')) {
obj['region'] = ApiClient.convertToType(data['region'], 'String');
}
@@ -92,7 +95,7 @@ class LoggingScalyrResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -113,13 +116,6 @@ LoggingScalyrResponse.prototype['name'] = undefined;
*/
LoggingScalyrResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingScalyrResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingScalyrResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -133,6 +129,13 @@ LoggingScalyrResponse.prototype['response_condition'] = undefined;
*/
LoggingScalyrResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingScalyrResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingScalyrResponse.prototype['format_version'] = undefined;
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingScalyrResponse.RegionEnum} region
@@ -177,56 +180,57 @@ LoggingScalyrResponse.prototype['updated_at'] = undefined;
LoggingScalyrResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingScalyrResponse.prototype['version'] = undefined;
-// Implement LoggingScalyr interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingScalyr.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingScalyr.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingScalyr.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingScalyr.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingScalyr.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingScalyr.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingScalyr.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingScalyrAdditional interface:
/**
* The region that log data will be sent to.
- * @member {module:model/LoggingScalyr.RegionEnum} region
+ * @member {module:model/LoggingScalyrAdditional.RegionEnum} region
* @default 'US'
*/
-LoggingScalyr.prototype['region'] = undefined;
+LoggingScalyrAdditional.prototype['region'] = undefined;
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-LoggingScalyr.prototype['token'] = undefined;
+LoggingScalyrAdditional.prototype['token'] = undefined;
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-LoggingScalyr.prototype['project_id'] = 'logplex';
+LoggingScalyrAdditional.prototype['project_id'] = 'logplex';
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -243,15 +247,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -284,22 +288,22 @@ LoggingScalyrResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingScalyrResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingSftp.js b/src/model/LoggingSftp.js
deleted file mode 100644
index 453f18227..000000000
--- a/src/model/LoggingSftp.js
+++ /dev/null
@@ -1,462 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingAddressAndPort from './LoggingAddressAndPort';
-import LoggingCommon from './LoggingCommon';
-import LoggingGenericCommon from './LoggingGenericCommon';
-import LoggingSftpAllOf from './LoggingSftpAllOf';
-
-/**
- * The LoggingSftp model module.
- * @module model/LoggingSftp
- * @version 5.0.2
- */
-class LoggingSftp {
- /**
- * Constructs a new LoggingSftp
.
- * @alias module:model/LoggingSftp
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingGenericCommon
- * @implements module:model/LoggingAddressAndPort
- * @implements module:model/LoggingSftpAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingGenericCommon.initialize(this);LoggingAddressAndPort.initialize(this);LoggingSftpAllOf.initialize(this);
- LoggingSftp.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingSftp
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSftp} obj Optional instance to populate.
- * @return {module:model/LoggingSftp} The populated LoggingSftp
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingSftp();
- LoggingCommon.constructFromObject(data, obj);
- LoggingGenericCommon.constructFromObject(data, obj);
- LoggingAddressAndPort.constructFromObject(data, obj);
- LoggingSftpAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
- }
- if (data.hasOwnProperty('timestamp_format')) {
- obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
- }
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
- if (data.hasOwnProperty('compression_codec')) {
- obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
- }
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('password')) {
- obj['password'] = ApiClient.convertToType(data['password'], 'String');
- }
- if (data.hasOwnProperty('path')) {
- obj['path'] = ApiClient.convertToType(data['path'], 'String');
- }
- if (data.hasOwnProperty('public_key')) {
- obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
- }
- if (data.hasOwnProperty('secret_key')) {
- obj['secret_key'] = ApiClient.convertToType(data['secret_key'], 'String');
- }
- if (data.hasOwnProperty('ssh_known_hosts')) {
- obj['ssh_known_hosts'] = ApiClient.convertToType(data['ssh_known_hosts'], 'String');
- }
- if (data.hasOwnProperty('user')) {
- obj['user'] = ApiClient.convertToType(data['user'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingSftp.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSftp.PlacementEnum} placement
- */
-LoggingSftp.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSftp.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSftp.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingSftp.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingSftp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingSftp.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingSftp.prototype['message_type'] = undefined;
-
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingSftp.prototype['timestamp_format'] = undefined;
-
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingSftp.prototype['period'] = 3600;
-
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingSftp.prototype['gzip_level'] = 0;
-
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingSftp.CompressionCodecEnum} compression_codec
- */
-LoggingSftp.prototype['compression_codec'] = undefined;
-
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingSftp.prototype['address'] = undefined;
-
-/**
- * The port number.
- * @member {Number} port
- * @default 22
- */
-LoggingSftp.prototype['port'] = 22;
-
-/**
- * The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
- * @member {String} password
- */
-LoggingSftp.prototype['password'] = undefined;
-
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingSftp.prototype['path'] = 'null';
-
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingSftp.prototype['public_key'] = 'null';
-
-/**
- * The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
- * @member {String} secret_key
- * @default 'null'
- */
-LoggingSftp.prototype['secret_key'] = 'null';
-
-/**
- * A list of host keys for all hosts we can connect to over SFTP.
- * @member {String} ssh_known_hosts
- */
-LoggingSftp.prototype['ssh_known_hosts'] = undefined;
-
-/**
- * The username for the server.
- * @member {String} user
- */
-LoggingSftp.prototype['user'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingGenericCommon interface:
-/**
- * How the message should be formatted.
- * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
- * @default 'classic'
- */
-LoggingGenericCommon.prototype['message_type'] = undefined;
-/**
- * A timestamp format
- * @member {String} timestamp_format
- */
-LoggingGenericCommon.prototype['timestamp_format'] = undefined;
-/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
- */
-LoggingGenericCommon.prototype['period'] = 3600;
-/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
- */
-LoggingGenericCommon.prototype['gzip_level'] = 0;
-/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
- */
-LoggingGenericCommon.prototype['compression_codec'] = undefined;
-// Implement LoggingAddressAndPort interface:
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingAddressAndPort.prototype['address'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
-LoggingAddressAndPort.prototype['port'] = 514;
-// Implement LoggingSftpAllOf interface:
-/**
- * The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
- * @member {String} password
- */
-LoggingSftpAllOf.prototype['password'] = undefined;
-/**
- * The path to upload logs to.
- * @member {String} path
- * @default 'null'
- */
-LoggingSftpAllOf.prototype['path'] = 'null';
-/**
- * The port number.
- * @member {Number} port
- * @default 22
- */
-LoggingSftpAllOf.prototype['port'] = 22;
-/**
- * A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
- * @member {String} public_key
- * @default 'null'
- */
-LoggingSftpAllOf.prototype['public_key'] = 'null';
-/**
- * The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
- * @member {String} secret_key
- * @default 'null'
- */
-LoggingSftpAllOf.prototype['secret_key'] = 'null';
-/**
- * A list of host keys for all hosts we can connect to over SFTP.
- * @member {String} ssh_known_hosts
- */
-LoggingSftpAllOf.prototype['ssh_known_hosts'] = undefined;
-/**
- * The username for the server.
- * @member {String} user
- */
-LoggingSftpAllOf.prototype['user'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingSftp['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingSftp['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-/**
- * Allowed values for the message_type
property.
- * @enum {String}
- * @readonly
- */
-LoggingSftp['MessageTypeEnum'] = {
-
- /**
- * value: "classic"
- * @const
- */
- "classic": "classic",
-
- /**
- * value: "loggly"
- * @const
- */
- "loggly": "loggly",
-
- /**
- * value: "logplex"
- * @const
- */
- "logplex": "logplex",
-
- /**
- * value: "blank"
- * @const
- */
- "blank": "blank"
-};
-
-
-/**
- * Allowed values for the compression_codec
property.
- * @enum {String}
- * @readonly
- */
-LoggingSftp['CompressionCodecEnum'] = {
-
- /**
- * value: "zstd"
- * @const
- */
- "zstd": "zstd",
-
- /**
- * value: "snappy"
- * @const
- */
- "snappy": "snappy",
-
- /**
- * value: "gzip"
- * @const
- */
- "gzip": "gzip"
-};
-
-
-
-export default LoggingSftp;
-
diff --git a/src/model/LoggingSftpAllOf.js b/src/model/LoggingSftpAdditional.js
similarity index 72%
rename from src/model/LoggingSftpAllOf.js
rename to src/model/LoggingSftpAdditional.js
index c7ef1fc80..3a2afc318 100644
--- a/src/model/LoggingSftpAllOf.js
+++ b/src/model/LoggingSftpAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The LoggingSftpAllOf model module.
- * @module model/LoggingSftpAllOf
- * @version 5.0.2
+ * The LoggingSftpAdditional model module.
+ * @module model/LoggingSftpAdditional
+ * @version 6.0.0
*/
-class LoggingSftpAllOf {
+class LoggingSftpAdditional {
/**
- * Constructs a new LoggingSftpAllOf
.
- * @alias module:model/LoggingSftpAllOf
+ * Constructs a new LoggingSftpAdditional
.
+ * @alias module:model/LoggingSftpAdditional
*/
constructor() {
- LoggingSftpAllOf.initialize(this);
+ LoggingSftpAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class LoggingSftpAllOf {
}
/**
- * Constructs a LoggingSftpAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingSftpAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSftpAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingSftpAllOf} The populated LoggingSftpAllOf
instance.
+ * @param {module:model/LoggingSftpAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingSftpAdditional} The populated LoggingSftpAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSftpAllOf();
+ obj = obj || new LoggingSftpAdditional();
if (data.hasOwnProperty('password')) {
obj['password'] = ApiClient.convertToType(data['password'], 'String');
@@ -52,9 +52,6 @@ class LoggingSftpAllOf {
if (data.hasOwnProperty('path')) {
obj['path'] = ApiClient.convertToType(data['path'], 'String');
}
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = ApiClient.convertToType(data['public_key'], 'String');
}
@@ -78,52 +75,45 @@ class LoggingSftpAllOf {
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-LoggingSftpAllOf.prototype['password'] = undefined;
+LoggingSftpAdditional.prototype['password'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingSftpAllOf.prototype['path'] = 'null';
-
-/**
- * The port number.
- * @member {Number} port
- * @default 22
- */
-LoggingSftpAllOf.prototype['port'] = 22;
+LoggingSftpAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingSftpAllOf.prototype['public_key'] = 'null';
+LoggingSftpAdditional.prototype['public_key'] = 'null';
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-LoggingSftpAllOf.prototype['secret_key'] = 'null';
+LoggingSftpAdditional.prototype['secret_key'] = 'null';
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-LoggingSftpAllOf.prototype['ssh_known_hosts'] = undefined;
+LoggingSftpAdditional.prototype['ssh_known_hosts'] = undefined;
/**
* The username for the server.
* @member {String} user
*/
-LoggingSftpAllOf.prototype['user'] = undefined;
+LoggingSftpAdditional.prototype['user'] = undefined;
-export default LoggingSftpAllOf;
+export default LoggingSftpAdditional;
diff --git a/src/model/LoggingSftpResponse.js b/src/model/LoggingSftpResponse.js
index 62f0da2ea..9c054bdcf 100644
--- a/src/model/LoggingSftpResponse.js
+++ b/src/model/LoggingSftpResponse.js
@@ -11,25 +11,31 @@
*/
import ApiClient from '../ApiClient';
-import LoggingSftp from './LoggingSftp';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingGenericCommon from './LoggingGenericCommon';
+import LoggingSftpAdditional from './LoggingSftpAdditional';
+import LoggingSftpResponseAllOf from './LoggingSftpResponseAllOf';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingSftpResponse model module.
* @module model/LoggingSftpResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingSftpResponse {
/**
* Constructs a new LoggingSftpResponse
.
* @alias module:model/LoggingSftpResponse
- * @implements module:model/LoggingSftp
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingGenericCommon
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/LoggingSftpAdditional
+ * @implements module:model/LoggingSftpResponseAllOf
*/
constructor() {
- LoggingSftp.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingGenericCommon.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);LoggingSftpAdditional.initialize(this);LoggingSftpResponseAllOf.initialize(this);
LoggingSftpResponse.initialize(this);
}
@@ -51,9 +57,12 @@ class LoggingSftpResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSftpResponse();
- LoggingSftp.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingGenericCommon.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ LoggingSftpAdditional.constructFromObject(data, obj);
+ LoggingSftpResponseAllOf.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -61,35 +70,38 @@ class LoggingSftpResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = ApiClient.convertToType(data['message_type'], 'String');
}
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = ApiClient.convertToType(data['timestamp_format'], 'String');
}
- if (data.hasOwnProperty('period')) {
- obj['period'] = ApiClient.convertToType(data['period'], 'Number');
- }
- if (data.hasOwnProperty('gzip_level')) {
- obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
- }
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = ApiClient.convertToType(data['compression_codec'], 'String');
}
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
}
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('password')) {
obj['password'] = ApiClient.convertToType(data['password'], 'String');
@@ -109,20 +121,17 @@ class LoggingSftpResponse {
if (data.hasOwnProperty('user')) {
obj['user'] = ApiClient.convertToType(data['user'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
- }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ if (data.hasOwnProperty('address')) {
+ obj['address'] = ApiClient.convertToType(data['address'], 'String');
}
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'String');
}
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('period')) {
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
}
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('gzip_level')) {
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
}
}
return obj;
@@ -143,13 +152,6 @@ LoggingSftpResponse.prototype['name'] = undefined;
*/
LoggingSftpResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSftpResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSftpResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -163,6 +165,13 @@ LoggingSftpResponse.prototype['response_condition'] = undefined;
*/
LoggingSftpResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSftpResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingSftpResponse.prototype['format_version'] = undefined;
+
/**
* How the message should be formatted.
* @member {module:model/LoggingSftpResponse.MessageTypeEnum} message_type
@@ -177,37 +186,38 @@ LoggingSftpResponse.prototype['message_type'] = undefined;
LoggingSftpResponse.prototype['timestamp_format'] = undefined;
/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingSftpResponse.CompressionCodecEnum} compression_codec
*/
-LoggingSftpResponse.prototype['period'] = 3600;
+LoggingSftpResponse.prototype['compression_codec'] = undefined;
/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingSftpResponse.prototype['gzip_level'] = 0;
+LoggingSftpResponse.prototype['created_at'] = undefined;
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingSftpResponse.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-LoggingSftpResponse.prototype['compression_codec'] = undefined;
+LoggingSftpResponse.prototype['deleted_at'] = undefined;
/**
- * A hostname or IPv4 address.
- * @member {String} address
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-LoggingSftpResponse.prototype['address'] = undefined;
+LoggingSftpResponse.prototype['updated_at'] = undefined;
/**
- * The port number.
- * @member {Number} port
- * @default 22
+ * @member {String} service_id
*/
-LoggingSftpResponse.prototype['port'] = 22;
+LoggingSftpResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+LoggingSftpResponse.prototype['version'] = undefined;
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
@@ -249,159 +259,161 @@ LoggingSftpResponse.prototype['ssh_known_hosts'] = undefined;
LoggingSftpResponse.prototype['user'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-LoggingSftpResponse.prototype['created_at'] = undefined;
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * A hostname or IPv4 address.
+ * @member {String} address
*/
-LoggingSftpResponse.prototype['deleted_at'] = undefined;
+LoggingSftpResponse.prototype['address'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * The port number.
+ * @member {String} port
+ * @default '22'
*/
-LoggingSftpResponse.prototype['updated_at'] = undefined;
+LoggingSftpResponse.prototype['port'] = '22';
/**
- * @member {String} service_id
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
*/
-LoggingSftpResponse.prototype['service_id'] = undefined;
+LoggingSftpResponse.prototype['period'] = '3600';
/**
- * @member {Number} version
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {Number} gzip_level
+ * @default 0
*/
-LoggingSftpResponse.prototype['version'] = undefined;
+LoggingSftpResponse.prototype['gzip_level'] = 0;
-// Implement LoggingSftp interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingSftp.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSftp.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingSftp.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSftp.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSftp.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingSftp.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingSftp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
- * @member {module:model/LoggingSftp.MessageTypeEnum} message_type
+ * @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-LoggingSftp.prototype['message_type'] = undefined;
+LoggingGenericCommon.prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-LoggingSftp.prototype['timestamp_format'] = undefined;
+LoggingGenericCommon.prototype['timestamp_format'] = undefined;
/**
- * How frequently log files are finalized so they can be available for reading (in seconds).
- * @member {Number} period
- * @default 3600
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-LoggingSftp.prototype['period'] = 3600;
+LoggingGenericCommon.prototype['compression_codec'] = undefined;
+// Implement Timestamps interface:
/**
- * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {Number} gzip_level
- * @default 0
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-LoggingSftp.prototype['gzip_level'] = 0;
+Timestamps.prototype['created_at'] = undefined;
/**
- * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
- * @member {module:model/LoggingSftp.CompressionCodecEnum} compression_codec
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-LoggingSftp.prototype['compression_codec'] = undefined;
+Timestamps.prototype['deleted_at'] = undefined;
/**
- * A hostname or IPv4 address.
- * @member {String} address
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-LoggingSftp.prototype['address'] = undefined;
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
/**
- * The port number.
- * @member {Number} port
- * @default 22
+ * @member {String} service_id
*/
-LoggingSftp.prototype['port'] = 22;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement LoggingSftpAdditional interface:
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-LoggingSftp.prototype['password'] = undefined;
+LoggingSftpAdditional.prototype['password'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-LoggingSftp.prototype['path'] = 'null';
+LoggingSftpAdditional.prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-LoggingSftp.prototype['public_key'] = 'null';
+LoggingSftpAdditional.prototype['public_key'] = 'null';
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-LoggingSftp.prototype['secret_key'] = 'null';
+LoggingSftpAdditional.prototype['secret_key'] = 'null';
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-LoggingSftp.prototype['ssh_known_hosts'] = undefined;
+LoggingSftpAdditional.prototype['ssh_known_hosts'] = undefined;
/**
* The username for the server.
* @member {String} user
*/
-LoggingSftp.prototype['user'] = undefined;
-// Implement Timestamps interface:
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-Timestamps.prototype['created_at'] = undefined;
+LoggingSftpAdditional.prototype['user'] = undefined;
+// Implement LoggingSftpResponseAllOf interface:
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * A hostname or IPv4 address.
+ * @member {String} address
*/
-Timestamps.prototype['deleted_at'] = undefined;
+LoggingSftpResponseAllOf.prototype['address'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * The port number.
+ * @member {String} port
+ * @default '22'
*/
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+LoggingSftpResponseAllOf.prototype['port'] = '22';
/**
- * @member {String} service_id
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+LoggingSftpResponseAllOf.prototype['period'] = '3600';
/**
- * @member {Number} version
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {Number} gzip_level
+ * @default 0
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+LoggingSftpResponseAllOf.prototype['gzip_level'] = 0;
@@ -434,22 +446,22 @@ LoggingSftpResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingSftpResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingSftpResponseAllOf.js b/src/model/LoggingSftpResponseAllOf.js
new file mode 100644
index 000000000..aa2b974f4
--- /dev/null
+++ b/src/model/LoggingSftpResponseAllOf.js
@@ -0,0 +1,101 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LoggingSftpResponseAllOf model module.
+ * @module model/LoggingSftpResponseAllOf
+ * @version 6.0.0
+ */
+class LoggingSftpResponseAllOf {
+ /**
+ * Constructs a new LoggingSftpResponseAllOf
.
+ * @alias module:model/LoggingSftpResponseAllOf
+ */
+ constructor() {
+
+ LoggingSftpResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LoggingSftpResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingSftpResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/LoggingSftpResponseAllOf} The populated LoggingSftpResponseAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingSftpResponseAllOf();
+
+ if (data.hasOwnProperty('address')) {
+ obj['address'] = ApiClient.convertToType(data['address'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = ApiClient.convertToType(data['port'], 'String');
+ }
+ if (data.hasOwnProperty('period')) {
+ obj['period'] = ApiClient.convertToType(data['period'], 'String');
+ }
+ if (data.hasOwnProperty('gzip_level')) {
+ obj['gzip_level'] = ApiClient.convertToType(data['gzip_level'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * A hostname or IPv4 address.
+ * @member {String} address
+ */
+LoggingSftpResponseAllOf.prototype['address'] = undefined;
+
+/**
+ * The port number.
+ * @member {String} port
+ * @default '22'
+ */
+LoggingSftpResponseAllOf.prototype['port'] = '22';
+
+/**
+ * How frequently log files are finalized so they can be available for reading (in seconds).
+ * @member {String} period
+ * @default '3600'
+ */
+LoggingSftpResponseAllOf.prototype['period'] = '3600';
+
+/**
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * @member {Number} gzip_level
+ * @default 0
+ */
+LoggingSftpResponseAllOf.prototype['gzip_level'] = 0;
+
+
+
+
+
+
+export default LoggingSftpResponseAllOf;
+
diff --git a/src/model/LoggingSplunk.js b/src/model/LoggingSplunk.js
deleted file mode 100644
index 321dd56ff..000000000
--- a/src/model/LoggingSplunk.js
+++ /dev/null
@@ -1,337 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
-import LoggingSplunkAllOf from './LoggingSplunkAllOf';
-import LoggingTlsCommon from './LoggingTlsCommon';
-import LoggingUseTls from './LoggingUseTls';
-
-/**
- * The LoggingSplunk model module.
- * @module model/LoggingSplunk
- * @version 5.0.2
- */
-class LoggingSplunk {
- /**
- * Constructs a new LoggingSplunk
.
- * @alias module:model/LoggingSplunk
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingRequestCapsCommon
- * @implements module:model/LoggingSplunkAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingSplunkAllOf.initialize(this);
- LoggingSplunk.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingSplunk
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSplunk} obj Optional instance to populate.
- * @return {module:model/LoggingSplunk} The populated LoggingSplunk
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingSplunk();
- LoggingCommon.constructFromObject(data, obj);
- LoggingTlsCommon.constructFromObject(data, obj);
- LoggingRequestCapsCommon.constructFromObject(data, obj);
- LoggingSplunkAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = ApiClient.convertToType(data['tls_client_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = ApiClient.convertToType(data['tls_client_key'], 'String');
- }
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
- }
- if (data.hasOwnProperty('request_max_entries')) {
- obj['request_max_entries'] = ApiClient.convertToType(data['request_max_entries'], 'Number');
- }
- if (data.hasOwnProperty('request_max_bytes')) {
- obj['request_max_bytes'] = ApiClient.convertToType(data['request_max_bytes'], 'Number');
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = LoggingUseTls.constructFromObject(data['use_tls']);
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingSplunk.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSplunk.PlacementEnum} placement
- */
-LoggingSplunk.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSplunk.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSplunk.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingSplunk.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingSplunk.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingSplunk.prototype['tls_ca_cert'] = 'null';
-
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingSplunk.prototype['tls_client_cert'] = 'null';
-
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingSplunk.prototype['tls_client_key'] = 'null';
-
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingSplunk.prototype['tls_hostname'] = 'null';
-
-/**
- * The maximum number of logs sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingSplunk.prototype['request_max_entries'] = 0;
-
-/**
- * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingSplunk.prototype['request_max_bytes'] = 0;
-
-/**
- * The URL to post logs to.
- * @member {String} url
- */
-LoggingSplunk.prototype['url'] = undefined;
-
-/**
- * A Splunk token for use in posting logs over HTTP to your collector.
- * @member {String} token
- */
-LoggingSplunk.prototype['token'] = undefined;
-
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingSplunk.prototype['use_tls'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingTlsCommon interface:
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_key'] = 'null';
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_hostname'] = 'null';
-// Implement LoggingRequestCapsCommon interface:
-/**
- * The maximum number of logs sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_entries
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
-/**
- * The maximum number of bytes sent in one request. Defaults `0` for unbounded.
- * @member {Number} request_max_bytes
- * @default 0
- */
-LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
-// Implement LoggingSplunkAllOf interface:
-/**
- * The URL to post logs to.
- * @member {String} url
- */
-LoggingSplunkAllOf.prototype['url'] = undefined;
-/**
- * A Splunk token for use in posting logs over HTTP to your collector.
- * @member {String} token
- */
-LoggingSplunkAllOf.prototype['token'] = undefined;
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingSplunkAllOf.prototype['use_tls'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingSplunk['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingSplunk['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingSplunk;
-
diff --git a/src/model/LoggingSplunkAllOf.js b/src/model/LoggingSplunkAdditional.js
similarity index 70%
rename from src/model/LoggingSplunkAllOf.js
rename to src/model/LoggingSplunkAdditional.js
index b10a290a5..e008e5b9e 100644
--- a/src/model/LoggingSplunkAllOf.js
+++ b/src/model/LoggingSplunkAdditional.js
@@ -14,18 +14,18 @@ import ApiClient from '../ApiClient';
import LoggingUseTls from './LoggingUseTls';
/**
- * The LoggingSplunkAllOf model module.
- * @module model/LoggingSplunkAllOf
- * @version 5.0.2
+ * The LoggingSplunkAdditional model module.
+ * @module model/LoggingSplunkAdditional
+ * @version 6.0.0
*/
-class LoggingSplunkAllOf {
+class LoggingSplunkAdditional {
/**
- * Constructs a new LoggingSplunkAllOf
.
- * @alias module:model/LoggingSplunkAllOf
+ * Constructs a new LoggingSplunkAdditional
.
+ * @alias module:model/LoggingSplunkAdditional
*/
constructor() {
- LoggingSplunkAllOf.initialize(this);
+ LoggingSplunkAdditional.initialize(this);
}
/**
@@ -37,15 +37,15 @@ class LoggingSplunkAllOf {
}
/**
- * Constructs a LoggingSplunkAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingSplunkAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSplunkAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingSplunkAllOf} The populated LoggingSplunkAllOf
instance.
+ * @param {module:model/LoggingSplunkAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingSplunkAdditional} The populated LoggingSplunkAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSplunkAllOf();
+ obj = obj || new LoggingSplunkAdditional();
if (data.hasOwnProperty('url')) {
obj['url'] = ApiClient.convertToType(data['url'], 'String');
@@ -67,23 +67,23 @@ class LoggingSplunkAllOf {
* The URL to post logs to.
* @member {String} url
*/
-LoggingSplunkAllOf.prototype['url'] = undefined;
+LoggingSplunkAdditional.prototype['url'] = undefined;
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-LoggingSplunkAllOf.prototype['token'] = undefined;
+LoggingSplunkAdditional.prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingSplunkAllOf.prototype['use_tls'] = undefined;
+LoggingSplunkAdditional.prototype['use_tls'] = undefined;
-export default LoggingSplunkAllOf;
+export default LoggingSplunkAdditional;
diff --git a/src/model/LoggingSplunkResponse.js b/src/model/LoggingSplunkResponse.js
index cecdfc687..1a90c91a3 100644
--- a/src/model/LoggingSplunkResponse.js
+++ b/src/model/LoggingSplunkResponse.js
@@ -11,26 +11,32 @@
*/
import ApiClient from '../ApiClient';
-import LoggingSplunk from './LoggingSplunk';
+import LoggingCommonResponse from './LoggingCommonResponse';
+import LoggingRequestCapsCommon from './LoggingRequestCapsCommon';
+import LoggingSplunkAdditional from './LoggingSplunkAdditional';
+import LoggingTlsCommon from './LoggingTlsCommon';
import LoggingUseTls from './LoggingUseTls';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingSplunkResponse model module.
* @module model/LoggingSplunkResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingSplunkResponse {
/**
* Constructs a new LoggingSplunkResponse
.
* @alias module:model/LoggingSplunkResponse
- * @implements module:model/LoggingSplunk
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingTlsCommon
+ * @implements module:model/LoggingRequestCapsCommon
+ * @implements module:model/LoggingSplunkAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingSplunk.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingTlsCommon.initialize(this);LoggingRequestCapsCommon.initialize(this);LoggingSplunkAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingSplunkResponse.initialize(this);
}
@@ -52,9 +58,12 @@ class LoggingSplunkResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSplunkResponse();
- LoggingSplunk.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingTlsCommon.constructFromObject(data, obj);
+ LoggingRequestCapsCommon.constructFromObject(data, obj);
+ LoggingSplunkAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +71,15 @@ class LoggingSplunkResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -111,7 +120,7 @@ class LoggingSplunkResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -132,13 +141,6 @@ LoggingSplunkResponse.prototype['name'] = undefined;
*/
LoggingSplunkResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSplunkResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSplunkResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -152,6 +154,13 @@ LoggingSplunkResponse.prototype['response_condition'] = undefined;
*/
LoggingSplunkResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSplunkResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingSplunkResponse.prototype['format_version'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
@@ -235,89 +244,92 @@ LoggingSplunkResponse.prototype['updated_at'] = undefined;
LoggingSplunkResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingSplunkResponse.prototype['version'] = undefined;
-// Implement LoggingSplunk interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingSplunk.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSplunk.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingSplunk.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSplunk.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSplunk.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingSplunk.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingSplunk.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingSplunk.prototype['tls_ca_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingSplunk.prototype['tls_client_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingSplunk.prototype['tls_client_key'] = 'null';
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingSplunk.prototype['tls_hostname'] = 'null';
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-LoggingSplunk.prototype['request_max_entries'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-LoggingSplunk.prototype['request_max_bytes'] = 0;
+LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
+// Implement LoggingSplunkAdditional interface:
/**
* The URL to post logs to.
* @member {String} url
*/
-LoggingSplunk.prototype['url'] = undefined;
+LoggingSplunkAdditional.prototype['url'] = undefined;
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-LoggingSplunk.prototype['token'] = undefined;
+LoggingSplunkAdditional.prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingSplunk.prototype['use_tls'] = undefined;
+LoggingSplunkAdditional.prototype['use_tls'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -334,15 +346,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -375,22 +387,22 @@ LoggingSplunkResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingSplunkResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingSumologic.js b/src/model/LoggingSumologic.js
deleted file mode 100644
index 8d5dcca1c..000000000
--- a/src/model/LoggingSumologic.js
+++ /dev/null
@@ -1,219 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingCommon from './LoggingCommon';
-import LoggingMessageType from './LoggingMessageType';
-import LoggingSumologicAllOf from './LoggingSumologicAllOf';
-
-/**
- * The LoggingSumologic model module.
- * @module model/LoggingSumologic
- * @version 5.0.2
- */
-class LoggingSumologic {
- /**
- * Constructs a new LoggingSumologic
.
- * @alias module:model/LoggingSumologic
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingSumologicAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingSumologicAllOf.initialize(this);
- LoggingSumologic.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingSumologic
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSumologic} obj Optional instance to populate.
- * @return {module:model/LoggingSumologic} The populated LoggingSumologic
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingSumologic();
- LoggingCommon.constructFromObject(data, obj);
- LoggingSumologicAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
- }
- if (data.hasOwnProperty('url')) {
- obj['url'] = ApiClient.convertToType(data['url'], 'String');
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingSumologic.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSumologic.PlacementEnum} placement
- */
-LoggingSumologic.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSumologic.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSumologic.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingSumologic.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingSumologic.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingSumologic.prototype['message_type'] = undefined;
-
-/**
- * The URL to post logs to.
- * @member {String} url
- */
-LoggingSumologic.prototype['url'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingSumologicAllOf interface:
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingSumologicAllOf.prototype['message_type'] = undefined;
-/**
- * The URL to post logs to.
- * @member {String} url
- */
-LoggingSumologicAllOf.prototype['url'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingSumologic['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingSumologic['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingSumologic;
-
diff --git a/src/model/LoggingSumologicAllOf.js b/src/model/LoggingSumologicAdditional.js
similarity index 68%
rename from src/model/LoggingSumologicAllOf.js
rename to src/model/LoggingSumologicAdditional.js
index d4fed20d6..8fa536724 100644
--- a/src/model/LoggingSumologicAllOf.js
+++ b/src/model/LoggingSumologicAdditional.js
@@ -14,18 +14,18 @@ import ApiClient from '../ApiClient';
import LoggingMessageType from './LoggingMessageType';
/**
- * The LoggingSumologicAllOf model module.
- * @module model/LoggingSumologicAllOf
- * @version 5.0.2
+ * The LoggingSumologicAdditional model module.
+ * @module model/LoggingSumologicAdditional
+ * @version 6.0.0
*/
-class LoggingSumologicAllOf {
+class LoggingSumologicAdditional {
/**
- * Constructs a new LoggingSumologicAllOf
.
- * @alias module:model/LoggingSumologicAllOf
+ * Constructs a new LoggingSumologicAdditional
.
+ * @alias module:model/LoggingSumologicAdditional
*/
constructor() {
- LoggingSumologicAllOf.initialize(this);
+ LoggingSumologicAdditional.initialize(this);
}
/**
@@ -37,15 +37,15 @@ class LoggingSumologicAllOf {
}
/**
- * Constructs a LoggingSumologicAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingSumologicAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSumologicAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingSumologicAllOf} The populated LoggingSumologicAllOf
instance.
+ * @param {module:model/LoggingSumologicAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingSumologicAdditional} The populated LoggingSumologicAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSumologicAllOf();
+ obj = obj || new LoggingSumologicAdditional();
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
@@ -63,18 +63,18 @@ class LoggingSumologicAllOf {
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingSumologicAllOf.prototype['message_type'] = undefined;
+LoggingSumologicAdditional.prototype['message_type'] = undefined;
/**
* The URL to post logs to.
* @member {String} url
*/
-LoggingSumologicAllOf.prototype['url'] = undefined;
+LoggingSumologicAdditional.prototype['url'] = undefined;
-export default LoggingSumologicAllOf;
+export default LoggingSumologicAdditional;
diff --git a/src/model/LoggingSumologicResponse.js b/src/model/LoggingSumologicResponse.js
index f003baf7c..07f252c4b 100644
--- a/src/model/LoggingSumologicResponse.js
+++ b/src/model/LoggingSumologicResponse.js
@@ -11,26 +11,28 @@
*/
import ApiClient from '../ApiClient';
+import LoggingCommonResponse from './LoggingCommonResponse';
import LoggingMessageType from './LoggingMessageType';
-import LoggingSumologic from './LoggingSumologic';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import LoggingSumologicAdditional from './LoggingSumologicAdditional';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingSumologicResponse model module.
* @module model/LoggingSumologicResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingSumologicResponse {
/**
* Constructs a new LoggingSumologicResponse
.
* @alias module:model/LoggingSumologicResponse
- * @implements module:model/LoggingSumologic
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingSumologicAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingSumologic.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingSumologicAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingSumologicResponse.initialize(this);
}
@@ -52,9 +54,10 @@ class LoggingSumologicResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSumologicResponse();
- LoggingSumologic.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingSumologicAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -62,15 +65,15 @@ class LoggingSumologicResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
}
@@ -90,7 +93,7 @@ class LoggingSumologicResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -111,13 +114,6 @@ LoggingSumologicResponse.prototype['name'] = undefined;
*/
LoggingSumologicResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSumologicResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSumologicResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -131,6 +127,13 @@ LoggingSumologicResponse.prototype['response_condition'] = undefined;
*/
LoggingSumologicResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSumologicResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingSumologicResponse.prototype['format_version'] = undefined;
+
/**
* @member {module:model/LoggingMessageType} message_type
*/
@@ -166,48 +169,49 @@ LoggingSumologicResponse.prototype['updated_at'] = undefined;
LoggingSumologicResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingSumologicResponse.prototype['version'] = undefined;
-// Implement LoggingSumologic interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingSumologic.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSumologic.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingSumologic.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSumologic.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSumologic.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingSumologic.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingSumologic.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingSumologicAdditional interface:
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingSumologic.prototype['message_type'] = undefined;
+LoggingSumologicAdditional.prototype['message_type'] = undefined;
/**
* The URL to post logs to.
* @member {String} url
*/
-LoggingSumologic.prototype['url'] = undefined;
+LoggingSumologicAdditional.prototype['url'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -224,15 +228,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -265,22 +269,22 @@ LoggingSumologicResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingSumologicResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingSyslog.js b/src/model/LoggingSyslog.js
deleted file mode 100644
index 6fb13f0ea..000000000
--- a/src/model/LoggingSyslog.js
+++ /dev/null
@@ -1,364 +0,0 @@
-/**
- * Fastly API
- * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: oss@fastly.com
- *
- * NOTE: This class is auto generated.
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-import LoggingAddressAndPort from './LoggingAddressAndPort';
-import LoggingCommon from './LoggingCommon';
-import LoggingMessageType from './LoggingMessageType';
-import LoggingSyslogAllOf from './LoggingSyslogAllOf';
-import LoggingTlsCommon from './LoggingTlsCommon';
-import LoggingUseTls from './LoggingUseTls';
-
-/**
- * The LoggingSyslog model module.
- * @module model/LoggingSyslog
- * @version 5.0.2
- */
-class LoggingSyslog {
- /**
- * Constructs a new LoggingSyslog
.
- * @alias module:model/LoggingSyslog
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingAddressAndPort
- * @implements module:model/LoggingSyslogAllOf
- */
- constructor() {
- LoggingCommon.initialize(this);LoggingTlsCommon.initialize(this);LoggingAddressAndPort.initialize(this);LoggingSyslogAllOf.initialize(this);
- LoggingSyslog.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a LoggingSyslog
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSyslog} obj Optional instance to populate.
- * @return {module:model/LoggingSyslog} The populated LoggingSyslog
instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new LoggingSyslog();
- LoggingCommon.constructFromObject(data, obj);
- LoggingTlsCommon.constructFromObject(data, obj);
- LoggingAddressAndPort.constructFromObject(data, obj);
- LoggingSyslogAllOf.constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = ApiClient.convertToType(data['name'], 'String');
- }
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
- }
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
- }
- if (data.hasOwnProperty('format')) {
- obj['format'] = ApiClient.convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = ApiClient.convertToType(data['tls_client_cert'], 'String');
- }
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = ApiClient.convertToType(data['tls_client_key'], 'String');
- }
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = ApiClient.convertToType(data['tls_hostname'], 'String');
- }
- if (data.hasOwnProperty('address')) {
- obj['address'] = ApiClient.convertToType(data['address'], 'String');
- }
- if (data.hasOwnProperty('port')) {
- obj['port'] = ApiClient.convertToType(data['port'], 'Number');
- }
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
- }
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
- }
- if (data.hasOwnProperty('ipv4')) {
- obj['ipv4'] = ApiClient.convertToType(data['ipv4'], 'String');
- }
- if (data.hasOwnProperty('token')) {
- obj['token'] = ApiClient.convertToType(data['token'], 'String');
- }
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = LoggingUseTls.constructFromObject(data['use_tls']);
- }
- }
- return obj;
- }
-
-
-}
-
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingSyslog.prototype['name'] = undefined;
-
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSyslog.PlacementEnum} placement
- */
-LoggingSyslog.prototype['placement'] = undefined;
-
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSyslog.prototype['format_version'] = undefined;
-
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingSyslog.prototype['response_condition'] = undefined;
-
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingSyslog.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingSyslog.prototype['tls_ca_cert'] = 'null';
-
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingSyslog.prototype['tls_client_cert'] = 'null';
-
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingSyslog.prototype['tls_client_key'] = 'null';
-
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingSyslog.prototype['tls_hostname'] = 'null';
-
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingSyslog.prototype['address'] = undefined;
-
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
-LoggingSyslog.prototype['port'] = 514;
-
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingSyslog.prototype['message_type'] = undefined;
-
-/**
- * The hostname used for the syslog endpoint.
- * @member {String} hostname
- */
-LoggingSyslog.prototype['hostname'] = undefined;
-
-/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
- */
-LoggingSyslog.prototype['ipv4'] = undefined;
-
-/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
- * @default 'null'
- */
-LoggingSyslog.prototype['token'] = 'null';
-
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingSyslog.prototype['use_tls'] = undefined;
-
-
-// Implement LoggingCommon interface:
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
-LoggingCommon.prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
- */
-LoggingCommon.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingCommon.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
-LoggingCommon.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
-LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-// Implement LoggingTlsCommon interface:
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_client_key'] = 'null';
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-LoggingTlsCommon.prototype['tls_hostname'] = 'null';
-// Implement LoggingAddressAndPort interface:
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
-LoggingAddressAndPort.prototype['address'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
-LoggingAddressAndPort.prototype['port'] = 514;
-// Implement LoggingSyslogAllOf interface:
-/**
- * @member {module:model/LoggingMessageType} message_type
- */
-LoggingSyslogAllOf.prototype['message_type'] = undefined;
-/**
- * The hostname used for the syslog endpoint.
- * @member {String} hostname
- */
-LoggingSyslogAllOf.prototype['hostname'] = undefined;
-/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
- */
-LoggingSyslogAllOf.prototype['ipv4'] = undefined;
-/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
- * @default 'null'
- */
-LoggingSyslogAllOf.prototype['token'] = 'null';
-/**
- * @member {module:model/LoggingUseTls} use_tls
- */
-LoggingSyslogAllOf.prototype['use_tls'] = undefined;
-
-
-
-/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
- */
-LoggingSyslog['PlacementEnum'] = {
-
- /**
- * value: "none"
- * @const
- */
- "none": "none",
-
- /**
- * value: "waf_debug"
- * @const
- */
- "waf_debug": "waf_debug",
-
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
-
-
-/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
- */
-LoggingSyslog['FormatVersionEnum'] = {
-
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-
-
-
-export default LoggingSyslog;
-
diff --git a/src/model/LoggingSyslogAllOf.js b/src/model/LoggingSyslogAdditional.js
similarity index 72%
rename from src/model/LoggingSyslogAllOf.js
rename to src/model/LoggingSyslogAdditional.js
index c281dd7fd..49b59eebc 100644
--- a/src/model/LoggingSyslogAllOf.js
+++ b/src/model/LoggingSyslogAdditional.js
@@ -15,18 +15,18 @@ import LoggingMessageType from './LoggingMessageType';
import LoggingUseTls from './LoggingUseTls';
/**
- * The LoggingSyslogAllOf model module.
- * @module model/LoggingSyslogAllOf
- * @version 5.0.2
+ * The LoggingSyslogAdditional model module.
+ * @module model/LoggingSyslogAdditional
+ * @version 6.0.0
*/
-class LoggingSyslogAllOf {
+class LoggingSyslogAdditional {
/**
- * Constructs a new LoggingSyslogAllOf
.
- * @alias module:model/LoggingSyslogAllOf
+ * Constructs a new LoggingSyslogAdditional
.
+ * @alias module:model/LoggingSyslogAdditional
*/
constructor() {
- LoggingSyslogAllOf.initialize(this);
+ LoggingSyslogAdditional.initialize(this);
}
/**
@@ -38,15 +38,15 @@ class LoggingSyslogAllOf {
}
/**
- * Constructs a LoggingSyslogAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingSyslogAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSyslogAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingSyslogAllOf} The populated LoggingSyslogAllOf
instance.
+ * @param {module:model/LoggingSyslogAdditional} obj Optional instance to populate.
+ * @return {module:model/LoggingSyslogAdditional} The populated LoggingSyslogAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSyslogAllOf();
+ obj = obj || new LoggingSyslogAdditional();
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = LoggingMessageType.constructFromObject(data['message_type']);
@@ -73,36 +73,36 @@ class LoggingSyslogAllOf {
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingSyslogAllOf.prototype['message_type'] = undefined;
+LoggingSyslogAdditional.prototype['message_type'] = undefined;
/**
* The hostname used for the syslog endpoint.
* @member {String} hostname
*/
-LoggingSyslogAllOf.prototype['hostname'] = undefined;
+LoggingSyslogAdditional.prototype['hostname'] = undefined;
/**
* The IPv4 address used for the syslog endpoint.
* @member {String} ipv4
*/
-LoggingSyslogAllOf.prototype['ipv4'] = undefined;
+LoggingSyslogAdditional.prototype['ipv4'] = undefined;
/**
* Whether to prepend each message with a specific token.
* @member {String} token
* @default 'null'
*/
-LoggingSyslogAllOf.prototype['token'] = 'null';
+LoggingSyslogAdditional.prototype['token'] = 'null';
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingSyslogAllOf.prototype['use_tls'] = undefined;
+LoggingSyslogAdditional.prototype['use_tls'] = undefined;
-export default LoggingSyslogAllOf;
+export default LoggingSyslogAdditional;
diff --git a/src/model/LoggingSyslogResponse.js b/src/model/LoggingSyslogResponse.js
index bd377ea26..26f0dfa24 100644
--- a/src/model/LoggingSyslogResponse.js
+++ b/src/model/LoggingSyslogResponse.js
@@ -11,27 +11,33 @@
*/
import ApiClient from '../ApiClient';
+import LoggingAddressAndPort from './LoggingAddressAndPort';
+import LoggingCommonResponse from './LoggingCommonResponse';
import LoggingMessageType from './LoggingMessageType';
-import LoggingSyslog from './LoggingSyslog';
+import LoggingSyslogAdditional from './LoggingSyslogAdditional';
+import LoggingTlsCommon from './LoggingTlsCommon';
import LoggingUseTls from './LoggingUseTls';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The LoggingSyslogResponse model module.
* @module model/LoggingSyslogResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingSyslogResponse {
/**
* Constructs a new LoggingSyslogResponse
.
* @alias module:model/LoggingSyslogResponse
- * @implements module:model/LoggingSyslog
+ * @implements module:model/LoggingCommonResponse
+ * @implements module:model/LoggingTlsCommon
+ * @implements module:model/LoggingAddressAndPort
+ * @implements module:model/LoggingSyslogAdditional
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
*/
constructor() {
- LoggingSyslog.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);
+ LoggingCommonResponse.initialize(this);LoggingTlsCommon.initialize(this);LoggingAddressAndPort.initialize(this);LoggingSyslogAdditional.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);
LoggingSyslogResponse.initialize(this);
}
@@ -53,9 +59,12 @@ class LoggingSyslogResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSyslogResponse();
- LoggingSyslog.constructFromObject(data, obj);
+ LoggingCommonResponse.constructFromObject(data, obj);
+ LoggingTlsCommon.constructFromObject(data, obj);
+ LoggingAddressAndPort.constructFromObject(data, obj);
+ LoggingSyslogAdditional.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -63,15 +72,15 @@ class LoggingSyslogResponse {
if (data.hasOwnProperty('placement')) {
obj['placement'] = ApiClient.convertToType(data['placement'], 'String');
}
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = ApiClient.convertToType(data['format_version'], 'Number');
- }
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = ApiClient.convertToType(data['response_condition'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = ApiClient.convertToType(data['format_version'], 'String');
+ }
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
}
@@ -118,7 +127,7 @@ class LoggingSyslogResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
}
return obj;
@@ -139,13 +148,6 @@ LoggingSyslogResponse.prototype['name'] = undefined;
*/
LoggingSyslogResponse.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslogResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSyslogResponse.prototype['format_version'] = undefined;
-
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
@@ -159,6 +161,13 @@ LoggingSyslogResponse.prototype['response_condition'] = undefined;
*/
LoggingSyslogResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSyslogResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingSyslogResponse.prototype['format_version'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
@@ -253,98 +262,101 @@ LoggingSyslogResponse.prototype['updated_at'] = undefined;
LoggingSyslogResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
LoggingSyslogResponse.prototype['version'] = undefined;
-// Implement LoggingSyslog interface:
+// Implement LoggingCommonResponse interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-LoggingSyslog.prototype['name'] = undefined;
+LoggingCommonResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSyslog.PlacementEnum} placement
+ * @member {module:model/LoggingCommonResponse.PlacementEnum} placement
*/
-LoggingSyslog.prototype['placement'] = undefined;
-/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
- */
-LoggingSyslog.prototype['format_version'] = undefined;
+LoggingCommonResponse.prototype['placement'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-LoggingSyslog.prototype['response_condition'] = undefined;
+LoggingCommonResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-LoggingSyslog.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+LoggingCommonResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommonResponse.FormatVersionEnum} format_version
+ * @default '2'
+ */
+LoggingCommonResponse.prototype['format_version'] = undefined;
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-LoggingSyslog.prototype['tls_ca_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-LoggingSyslog.prototype['tls_client_cert'] = 'null';
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-LoggingSyslog.prototype['tls_client_key'] = 'null';
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-LoggingSyslog.prototype['tls_hostname'] = 'null';
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+// Implement LoggingAddressAndPort interface:
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-LoggingSyslog.prototype['address'] = undefined;
+LoggingAddressAndPort.prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-LoggingSyslog.prototype['port'] = 514;
+LoggingAddressAndPort.prototype['port'] = 514;
+// Implement LoggingSyslogAdditional interface:
/**
* @member {module:model/LoggingMessageType} message_type
*/
-LoggingSyslog.prototype['message_type'] = undefined;
+LoggingSyslogAdditional.prototype['message_type'] = undefined;
/**
* The hostname used for the syslog endpoint.
* @member {String} hostname
*/
-LoggingSyslog.prototype['hostname'] = undefined;
+LoggingSyslogAdditional.prototype['hostname'] = undefined;
/**
* The IPv4 address used for the syslog endpoint.
* @member {String} ipv4
*/
-LoggingSyslog.prototype['ipv4'] = undefined;
+LoggingSyslogAdditional.prototype['ipv4'] = undefined;
/**
* Whether to prepend each message with a specific token.
* @member {String} token
* @default 'null'
*/
-LoggingSyslog.prototype['token'] = 'null';
+LoggingSyslogAdditional.prototype['token'] = 'null';
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-LoggingSyslog.prototype['use_tls'] = undefined;
+LoggingSyslogAdditional.prototype['use_tls'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
@@ -361,15 +373,15 @@ Timestamps.prototype['deleted_at'] = undefined;
* @member {Date} updated_at
*/
Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
@@ -402,22 +414,22 @@ LoggingSyslogResponse['PlacementEnum'] = {
/**
* Allowed values for the format_version
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
LoggingSyslogResponse['FormatVersionEnum'] = {
/**
- * value: 1
+ * value: "1"
* @const
*/
- "v1": 1,
+ "v1": "1",
/**
- * value: 2
+ * value: "2"
* @const
*/
- "v2": 2
+ "v2": "2"
};
diff --git a/src/model/LoggingTlsCommon.js b/src/model/LoggingTlsCommon.js
index 5430b3281..b1696a470 100644
--- a/src/model/LoggingTlsCommon.js
+++ b/src/model/LoggingTlsCommon.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The LoggingTlsCommon model module.
* @module model/LoggingTlsCommon
- * @version 5.0.2
+ * @version 6.0.0
*/
class LoggingTlsCommon {
/**
diff --git a/src/model/MutualAuthentication.js b/src/model/MutualAuthentication.js
index f6a01cd66..26ba23cb6 100644
--- a/src/model/MutualAuthentication.js
+++ b/src/model/MutualAuthentication.js
@@ -16,7 +16,7 @@ import MutualAuthenticationData from './MutualAuthenticationData';
/**
* The MutualAuthentication model module.
* @module model/MutualAuthentication
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthentication {
/**
diff --git a/src/model/MutualAuthenticationData.js b/src/model/MutualAuthenticationData.js
index a691963ad..99d1a2a41 100644
--- a/src/model/MutualAuthenticationData.js
+++ b/src/model/MutualAuthenticationData.js
@@ -18,7 +18,7 @@ import TypeMutualAuthentication from './TypeMutualAuthentication';
/**
* The MutualAuthenticationData model module.
* @module model/MutualAuthenticationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationData {
/**
diff --git a/src/model/MutualAuthenticationDataAttributes.js b/src/model/MutualAuthenticationDataAttributes.js
index d8190eca0..8bfe4654a 100644
--- a/src/model/MutualAuthenticationDataAttributes.js
+++ b/src/model/MutualAuthenticationDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The MutualAuthenticationDataAttributes model module.
* @module model/MutualAuthenticationDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationDataAttributes {
/**
diff --git a/src/model/MutualAuthenticationResponse.js b/src/model/MutualAuthenticationResponse.js
index 63ca9d4cf..8afdb6f63 100644
--- a/src/model/MutualAuthenticationResponse.js
+++ b/src/model/MutualAuthenticationResponse.js
@@ -16,7 +16,7 @@ import MutualAuthenticationResponseData from './MutualAuthenticationResponseData
/**
* The MutualAuthenticationResponse model module.
* @module model/MutualAuthenticationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationResponse {
/**
diff --git a/src/model/MutualAuthenticationResponseAttributes.js b/src/model/MutualAuthenticationResponseAttributes.js
index 031b33305..55f75a124 100644
--- a/src/model/MutualAuthenticationResponseAttributes.js
+++ b/src/model/MutualAuthenticationResponseAttributes.js
@@ -17,7 +17,7 @@ import Timestamps from './Timestamps';
/**
* The MutualAuthenticationResponseAttributes model module.
* @module model/MutualAuthenticationResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationResponseAttributes {
/**
diff --git a/src/model/MutualAuthenticationResponseAttributesAllOf.js b/src/model/MutualAuthenticationResponseAttributesAllOf.js
index 2fa437a4f..1a56509ce 100644
--- a/src/model/MutualAuthenticationResponseAttributesAllOf.js
+++ b/src/model/MutualAuthenticationResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The MutualAuthenticationResponseAttributesAllOf model module.
* @module model/MutualAuthenticationResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationResponseAttributesAllOf {
/**
diff --git a/src/model/MutualAuthenticationResponseData.js b/src/model/MutualAuthenticationResponseData.js
index 61b33aeba..54394410b 100644
--- a/src/model/MutualAuthenticationResponseData.js
+++ b/src/model/MutualAuthenticationResponseData.js
@@ -20,7 +20,7 @@ import TypeMutualAuthentication from './TypeMutualAuthentication';
/**
* The MutualAuthenticationResponseData model module.
* @module model/MutualAuthenticationResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationResponseData {
/**
diff --git a/src/model/MutualAuthenticationResponseDataAllOf.js b/src/model/MutualAuthenticationResponseDataAllOf.js
index a8b5cbded..78aa301c6 100644
--- a/src/model/MutualAuthenticationResponseDataAllOf.js
+++ b/src/model/MutualAuthenticationResponseDataAllOf.js
@@ -16,7 +16,7 @@ import MutualAuthenticationResponseAttributes from './MutualAuthenticationRespon
/**
* The MutualAuthenticationResponseDataAllOf model module.
* @module model/MutualAuthenticationResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationResponseDataAllOf {
/**
diff --git a/src/model/MutualAuthenticationsResponse.js b/src/model/MutualAuthenticationsResponse.js
index 5ee52ef24..5706164eb 100644
--- a/src/model/MutualAuthenticationsResponse.js
+++ b/src/model/MutualAuthenticationsResponse.js
@@ -20,7 +20,7 @@ import PaginationMeta from './PaginationMeta';
/**
* The MutualAuthenticationsResponse model module.
* @module model/MutualAuthenticationsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationsResponse {
/**
diff --git a/src/model/MutualAuthenticationsResponseAllOf.js b/src/model/MutualAuthenticationsResponseAllOf.js
index d9367ac10..3e00646de 100644
--- a/src/model/MutualAuthenticationsResponseAllOf.js
+++ b/src/model/MutualAuthenticationsResponseAllOf.js
@@ -16,7 +16,7 @@ import MutualAuthenticationResponseData from './MutualAuthenticationResponseData
/**
* The MutualAuthenticationsResponseAllOf model module.
* @module model/MutualAuthenticationsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class MutualAuthenticationsResponseAllOf {
/**
diff --git a/src/model/OriginInspector.js b/src/model/OriginInspector.js
index 58cf4cd79..c015f8e71 100644
--- a/src/model/OriginInspector.js
+++ b/src/model/OriginInspector.js
@@ -17,7 +17,7 @@ import OriginInspectorSubsequentRequestTimestamp from './OriginInspectorSubseque
/**
* The OriginInspector model module.
* @module model/OriginInspector
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspector {
/**
diff --git a/src/model/OriginInspectorDimensions.js b/src/model/OriginInspectorDimensions.js
index 59cd68cfd..a7b89e0b1 100644
--- a/src/model/OriginInspectorDimensions.js
+++ b/src/model/OriginInspectorDimensions.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorDimensions model module.
* @module model/OriginInspectorDimensions
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorDimensions {
/**
diff --git a/src/model/OriginInspectorEntry.js b/src/model/OriginInspectorEntry.js
index 53698aa61..2de6a5fd7 100644
--- a/src/model/OriginInspectorEntry.js
+++ b/src/model/OriginInspectorEntry.js
@@ -17,7 +17,7 @@ import OriginInspectorValues from './OriginInspectorValues';
/**
* The OriginInspectorEntry model module.
* @module model/OriginInspectorEntry
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorEntry {
/**
diff --git a/src/model/OriginInspectorHistorical.js b/src/model/OriginInspectorHistorical.js
index 14b72951d..f8d9c5b24 100644
--- a/src/model/OriginInspectorHistorical.js
+++ b/src/model/OriginInspectorHistorical.js
@@ -17,7 +17,7 @@ import OriginInspectorHistoricalMeta from './OriginInspectorHistoricalMeta';
/**
* The OriginInspectorHistorical model module.
* @module model/OriginInspectorHistorical
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorHistorical {
/**
diff --git a/src/model/OriginInspectorHistoricalData.js b/src/model/OriginInspectorHistoricalData.js
index 09e836f2d..8c06b2066 100644
--- a/src/model/OriginInspectorHistoricalData.js
+++ b/src/model/OriginInspectorHistoricalData.js
@@ -17,7 +17,7 @@ import OriginInspectorValues from './OriginInspectorValues';
/**
* The OriginInspectorHistoricalData model module.
* @module model/OriginInspectorHistoricalData
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorHistoricalData {
/**
diff --git a/src/model/OriginInspectorHistoricalMeta.js b/src/model/OriginInspectorHistoricalMeta.js
index 5f3ad9282..a7f141da8 100644
--- a/src/model/OriginInspectorHistoricalMeta.js
+++ b/src/model/OriginInspectorHistoricalMeta.js
@@ -16,7 +16,7 @@ import OriginInspectorHistoricalMetaFilters from './OriginInspectorHistoricalMet
/**
* The OriginInspectorHistoricalMeta model module.
* @module model/OriginInspectorHistoricalMeta
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorHistoricalMeta {
/**
diff --git a/src/model/OriginInspectorHistoricalMetaFilters.js b/src/model/OriginInspectorHistoricalMetaFilters.js
index 96d083ecd..071c8dd2a 100644
--- a/src/model/OriginInspectorHistoricalMetaFilters.js
+++ b/src/model/OriginInspectorHistoricalMetaFilters.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorHistoricalMetaFilters model module.
* @module model/OriginInspectorHistoricalMetaFilters
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorHistoricalMetaFilters {
/**
diff --git a/src/model/OriginInspectorMeasurements.js b/src/model/OriginInspectorMeasurements.js
index ed002832e..0fcda9198 100644
--- a/src/model/OriginInspectorMeasurements.js
+++ b/src/model/OriginInspectorMeasurements.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorMeasurements model module.
* @module model/OriginInspectorMeasurements
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorMeasurements {
/**
diff --git a/src/model/OriginInspectorRealtimeEntry.js b/src/model/OriginInspectorRealtimeEntry.js
index 343e5b75e..7e5445f28 100644
--- a/src/model/OriginInspectorRealtimeEntry.js
+++ b/src/model/OriginInspectorRealtimeEntry.js
@@ -17,7 +17,7 @@ import OriginInspectorRealtimeEntryRecorded from './OriginInspectorRealtimeEntry
/**
* The OriginInspectorRealtimeEntry model module.
* @module model/OriginInspectorRealtimeEntry
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorRealtimeEntry {
/**
diff --git a/src/model/OriginInspectorRealtimeEntryRecorded.js b/src/model/OriginInspectorRealtimeEntryRecorded.js
index 8a3c562c4..dcb767019 100644
--- a/src/model/OriginInspectorRealtimeEntryRecorded.js
+++ b/src/model/OriginInspectorRealtimeEntryRecorded.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorRealtimeEntryRecorded model module.
* @module model/OriginInspectorRealtimeEntryRecorded
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorRealtimeEntryRecorded {
/**
diff --git a/src/model/OriginInspectorSubsequentRequestTimestamp.js b/src/model/OriginInspectorSubsequentRequestTimestamp.js
index 74b92b7ce..8fbe1346a 100644
--- a/src/model/OriginInspectorSubsequentRequestTimestamp.js
+++ b/src/model/OriginInspectorSubsequentRequestTimestamp.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorSubsequentRequestTimestamp model module.
* @module model/OriginInspectorSubsequentRequestTimestamp
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorSubsequentRequestTimestamp {
/**
diff --git a/src/model/OriginInspectorValues.js b/src/model/OriginInspectorValues.js
index a502cd0fd..6ec1a0f39 100644
--- a/src/model/OriginInspectorValues.js
+++ b/src/model/OriginInspectorValues.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The OriginInspectorValues model module.
* @module model/OriginInspectorValues
- * @version 5.0.2
+ * @version 6.0.0
*/
class OriginInspectorValues {
/**
diff --git a/src/model/Package.js b/src/model/Package.js
index 6abbc89e4..c23ef0dcf 100644
--- a/src/model/Package.js
+++ b/src/model/Package.js
@@ -16,7 +16,7 @@ import PackageMetadata from './PackageMetadata';
/**
* The Package model module.
* @module model/Package
- * @version 5.0.2
+ * @version 6.0.0
*/
class Package {
/**
diff --git a/src/model/PackageMetadata.js b/src/model/PackageMetadata.js
index bf18df716..a070674b0 100644
--- a/src/model/PackageMetadata.js
+++ b/src/model/PackageMetadata.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PackageMetadata model module.
* @module model/PackageMetadata
- * @version 5.0.2
+ * @version 6.0.0
*/
class PackageMetadata {
/**
diff --git a/src/model/PackageResponse.js b/src/model/PackageResponse.js
index 26515906e..8687b2791 100644
--- a/src/model/PackageResponse.js
+++ b/src/model/PackageResponse.js
@@ -20,7 +20,7 @@ import Timestamps from './Timestamps';
/**
* The PackageResponse model module.
* @module model/PackageResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class PackageResponse {
/**
diff --git a/src/model/PackageResponseAllOf.js b/src/model/PackageResponseAllOf.js
index 5285ffb5b..3688b00e8 100644
--- a/src/model/PackageResponseAllOf.js
+++ b/src/model/PackageResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PackageResponseAllOf model module.
* @module model/PackageResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class PackageResponseAllOf {
/**
diff --git a/src/model/Pagination.js b/src/model/Pagination.js
index a3a7a24b9..6c0f98b2e 100644
--- a/src/model/Pagination.js
+++ b/src/model/Pagination.js
@@ -17,7 +17,7 @@ import PaginationMeta from './PaginationMeta';
/**
* The Pagination model module.
* @module model/Pagination
- * @version 5.0.2
+ * @version 6.0.0
*/
class Pagination {
/**
diff --git a/src/model/PaginationCursorMeta.js b/src/model/PaginationCursorMeta.js
index 8b95447a6..ff14069f2 100644
--- a/src/model/PaginationCursorMeta.js
+++ b/src/model/PaginationCursorMeta.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PaginationCursorMeta model module.
* @module model/PaginationCursorMeta
- * @version 5.0.2
+ * @version 6.0.0
*/
class PaginationCursorMeta {
/**
diff --git a/src/model/PaginationLinks.js b/src/model/PaginationLinks.js
index 3667deedf..edac5eb83 100644
--- a/src/model/PaginationLinks.js
+++ b/src/model/PaginationLinks.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PaginationLinks model module.
* @module model/PaginationLinks
- * @version 5.0.2
+ * @version 6.0.0
*/
class PaginationLinks {
/**
diff --git a/src/model/PaginationMeta.js b/src/model/PaginationMeta.js
index d6db14c40..cbcc0f52f 100644
--- a/src/model/PaginationMeta.js
+++ b/src/model/PaginationMeta.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PaginationMeta model module.
* @module model/PaginationMeta
- * @version 5.0.2
+ * @version 6.0.0
*/
class PaginationMeta {
/**
diff --git a/src/model/PoolAllOf.js b/src/model/PoolAdditional.js
similarity index 64%
rename from src/model/PoolAllOf.js
rename to src/model/PoolAdditional.js
index 7314d5d8a..61d7fbaa3 100644
--- a/src/model/PoolAllOf.js
+++ b/src/model/PoolAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The PoolAllOf model module.
- * @module model/PoolAllOf
- * @version 5.0.2
+ * The PoolAdditional model module.
+ * @module model/PoolAdditional
+ * @version 6.0.0
*/
-class PoolAllOf {
+class PoolAdditional {
/**
- * Constructs a new PoolAllOf
.
- * @alias module:model/PoolAllOf
+ * Constructs a new PoolAdditional
.
+ * @alias module:model/PoolAdditional
*/
constructor() {
- PoolAllOf.initialize(this);
+ PoolAdditional.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class PoolAllOf {
}
/**
- * Constructs a PoolAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a PoolAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/PoolAllOf} obj Optional instance to populate.
- * @return {module:model/PoolAllOf} The populated PoolAllOf
instance.
+ * @param {module:model/PoolAdditional} obj Optional instance to populate.
+ * @return {module:model/PoolAdditional} The populated PoolAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new PoolAllOf();
+ obj = obj || new PoolAdditional();
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -55,27 +55,12 @@ class PoolAllOf {
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = ApiClient.convertToType(data['request_condition'], 'String');
}
- if (data.hasOwnProperty('max_conn_default')) {
- obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'Number');
- }
- if (data.hasOwnProperty('connect_timeout')) {
- obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'Number');
- }
- if (data.hasOwnProperty('first_byte_timeout')) {
- obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'Number');
- }
- if (data.hasOwnProperty('quorum')) {
- obj['quorum'] = ApiClient.convertToType(data['quorum'], 'Number');
- }
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = ApiClient.convertToType(data['tls_ciphers'], 'String');
}
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = ApiClient.convertToType(data['tls_sni_hostname'], 'String');
}
- if (data.hasOwnProperty('tls_check_cert')) {
- obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'Number');
- }
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = ApiClient.convertToType(data['min_tls_version'], 'Number');
}
@@ -105,101 +90,69 @@ class PoolAllOf {
* Name for the Pool.
* @member {String} name
*/
-PoolAllOf.prototype['name'] = undefined;
+PoolAdditional.prototype['name'] = undefined;
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-PoolAllOf.prototype['shield'] = 'null';
+PoolAdditional.prototype['shield'] = 'null';
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-PoolAllOf.prototype['request_condition'] = undefined;
-
-/**
- * Maximum number of connections. Optional.
- * @member {Number} max_conn_default
- * @default 200
- */
-PoolAllOf.prototype['max_conn_default'] = 200;
-
-/**
- * How long to wait for a timeout in milliseconds. Optional.
- * @member {Number} connect_timeout
- */
-PoolAllOf.prototype['connect_timeout'] = undefined;
-
-/**
- * How long to wait for the first byte in milliseconds. Optional.
- * @member {Number} first_byte_timeout
- */
-PoolAllOf.prototype['first_byte_timeout'] = undefined;
-
-/**
- * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
- * @member {Number} quorum
- * @default 75
- */
-PoolAllOf.prototype['quorum'] = 75;
+PoolAdditional.prototype['request_condition'] = undefined;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-PoolAllOf.prototype['tls_ciphers'] = undefined;
+PoolAdditional.prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-PoolAllOf.prototype['tls_sni_hostname'] = undefined;
-
-/**
- * Be strict on checking TLS certs. Optional.
- * @member {Number} tls_check_cert
- */
-PoolAllOf.prototype['tls_check_cert'] = undefined;
+PoolAdditional.prototype['tls_sni_hostname'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-PoolAllOf.prototype['min_tls_version'] = undefined;
+PoolAdditional.prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-PoolAllOf.prototype['max_tls_version'] = undefined;
+PoolAdditional.prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-PoolAllOf.prototype['healthcheck'] = undefined;
+PoolAdditional.prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-PoolAllOf.prototype['comment'] = undefined;
+PoolAdditional.prototype['comment'] = undefined;
/**
* What type of load balance group to use.
- * @member {module:model/PoolAllOf.TypeEnum} type
+ * @member {module:model/PoolAdditional.TypeEnum} type
*/
-PoolAllOf.prototype['type'] = undefined;
+PoolAdditional.prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-PoolAllOf.prototype['override_host'] = 'null';
+PoolAdditional.prototype['override_host'] = 'null';
@@ -210,7 +163,7 @@ PoolAllOf.prototype['override_host'] = 'null';
* @enum {String}
* @readonly
*/
-PoolAllOf['TypeEnum'] = {
+PoolAdditional['TypeEnum'] = {
/**
* value: "random"
@@ -233,5 +186,5 @@ PoolAllOf['TypeEnum'] = {
-export default PoolAllOf;
+export default PoolAdditional;
diff --git a/src/model/PoolResponse.js b/src/model/PoolResponse.js
index 33ee68029..5ac69596c 100644
--- a/src/model/PoolResponse.js
+++ b/src/model/PoolResponse.js
@@ -11,27 +11,31 @@
*/
import ApiClient from '../ApiClient';
-import Pool from './Pool';
+import PoolAdditional from './PoolAdditional';
import PoolResponseAllOf from './PoolResponseAllOf';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import PoolResponseCommon from './PoolResponseCommon';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
+import TlsCommonResponse from './TlsCommonResponse';
/**
* The PoolResponse model module.
* @module model/PoolResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class PoolResponse {
/**
* Constructs a new PoolResponse
.
* @alias module:model/PoolResponse
- * @implements module:model/Pool
+ * @implements module:model/TlsCommonResponse
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/PoolAdditional
+ * @implements module:model/PoolResponseCommon
* @implements module:model/PoolResponseAllOf
*/
constructor() {
- Pool.initialize(this);Timestamps.initialize(this);ServiceIdAndVersion.initialize(this);PoolResponseAllOf.initialize(this);
+ TlsCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);PoolAdditional.initialize(this);PoolResponseCommon.initialize(this);PoolResponseAllOf.initialize(this);
PoolResponse.initialize(this);
}
@@ -53,9 +57,11 @@ class PoolResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new PoolResponse();
- Pool.constructFromObject(data, obj);
+ TlsCommonResponse.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ PoolAdditional.constructFromObject(data, obj);
+ PoolResponseCommon.constructFromObject(data, obj);
PoolResponseAllOf.constructFromObject(data, obj);
if (data.hasOwnProperty('tls_ca_cert')) {
@@ -71,7 +77,22 @@ class PoolResponse {
obj['tls_cert_hostname'] = ApiClient.convertToType(data['tls_cert_hostname'], 'String');
}
if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'Number');
+ obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'String');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -82,27 +103,12 @@ class PoolResponse {
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = ApiClient.convertToType(data['request_condition'], 'String');
}
- if (data.hasOwnProperty('max_conn_default')) {
- obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'Number');
- }
- if (data.hasOwnProperty('connect_timeout')) {
- obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'Number');
- }
- if (data.hasOwnProperty('first_byte_timeout')) {
- obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'Number');
- }
- if (data.hasOwnProperty('quorum')) {
- obj['quorum'] = ApiClient.convertToType(data['quorum'], 'Number');
- }
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = ApiClient.convertToType(data['tls_ciphers'], 'String');
}
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = ApiClient.convertToType(data['tls_sni_hostname'], 'String');
}
- if (data.hasOwnProperty('tls_check_cert')) {
- obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'Number');
- }
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = ApiClient.convertToType(data['min_tls_version'], 'Number');
}
@@ -121,24 +127,27 @@ class PoolResponse {
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = ApiClient.convertToType(data['override_host'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ if (data.hasOwnProperty('between_bytes_timeout')) {
+ obj['between_bytes_timeout'] = ApiClient.convertToType(data['between_bytes_timeout'], 'String');
}
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ if (data.hasOwnProperty('connect_timeout')) {
+ obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'String');
}
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ if (data.hasOwnProperty('first_byte_timeout')) {
+ obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'String');
}
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('max_conn_default')) {
+ obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'String');
}
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('tls_check_cert')) {
+ obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'String');
}
if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'String');
}
+ if (data.hasOwnProperty('quorum')) {
+ obj['quorum'] = ApiClient.convertToType(data['quorum'], 'String');
+ }
}
return obj;
}
@@ -177,54 +186,56 @@ PoolResponse.prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
* @member {module:model/PoolResponse.UseTlsEnum} use_tls
- * @default UseTlsEnum.no_tls
+ * @default '0'
*/
PoolResponse.prototype['use_tls'] = undefined;
/**
- * Name for the Pool.
- * @member {String} name
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-PoolResponse.prototype['name'] = undefined;
+PoolResponse.prototype['created_at'] = undefined;
/**
- * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
- * @member {String} shield
- * @default 'null'
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-PoolResponse.prototype['shield'] = 'null';
+PoolResponse.prototype['deleted_at'] = undefined;
/**
- * Condition which, if met, will select this configuration during a request. Optional.
- * @member {String} request_condition
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-PoolResponse.prototype['request_condition'] = undefined;
+PoolResponse.prototype['updated_at'] = undefined;
/**
- * Maximum number of connections. Optional.
- * @member {Number} max_conn_default
- * @default 200
+ * @member {String} service_id
*/
-PoolResponse.prototype['max_conn_default'] = 200;
+PoolResponse.prototype['service_id'] = undefined;
/**
- * How long to wait for a timeout in milliseconds. Optional.
- * @member {Number} connect_timeout
+ * @member {String} version
*/
-PoolResponse.prototype['connect_timeout'] = undefined;
+PoolResponse.prototype['version'] = undefined;
/**
- * How long to wait for the first byte in milliseconds. Optional.
- * @member {Number} first_byte_timeout
+ * Name for the Pool.
+ * @member {String} name
*/
-PoolResponse.prototype['first_byte_timeout'] = undefined;
+PoolResponse.prototype['name'] = undefined;
/**
- * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
- * @member {Number} quorum
- * @default 75
+ * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
+ * @member {String} shield
+ * @default 'null'
*/
-PoolResponse.prototype['quorum'] = 75;
+PoolResponse.prototype['shield'] = 'null';
+
+/**
+ * Condition which, if met, will select this configuration during a request. Optional.
+ * @member {String} request_condition
+ */
+PoolResponse.prototype['request_condition'] = undefined;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
@@ -238,12 +249,6 @@ PoolResponse.prototype['tls_ciphers'] = undefined;
*/
PoolResponse.prototype['tls_sni_hostname'] = undefined;
-/**
- * Be strict on checking TLS certs. Optional.
- * @member {Number} tls_check_cert
- */
-PoolResponse.prototype['tls_check_cert'] = undefined;
-
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
@@ -282,205 +287,222 @@ PoolResponse.prototype['type'] = undefined;
PoolResponse.prototype['override_host'] = 'null';
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
+ * @member {String} between_bytes_timeout
*/
-PoolResponse.prototype['created_at'] = undefined;
+PoolResponse.prototype['between_bytes_timeout'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * How long to wait for a timeout in milliseconds.
+ * @member {String} connect_timeout
*/
-PoolResponse.prototype['deleted_at'] = undefined;
+PoolResponse.prototype['connect_timeout'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * How long to wait for the first byte in milliseconds.
+ * @member {String} first_byte_timeout
*/
-PoolResponse.prototype['updated_at'] = undefined;
+PoolResponse.prototype['first_byte_timeout'] = undefined;
/**
- * @member {String} service_id
+ * Maximum number of connections.
+ * @member {String} max_conn_default
+ * @default '200'
*/
-PoolResponse.prototype['service_id'] = undefined;
+PoolResponse.prototype['max_conn_default'] = '200';
/**
- * @member {Number} version
+ * Be strict on checking TLS certs.
+ * @member {String} tls_check_cert
*/
-PoolResponse.prototype['version'] = undefined;
+PoolResponse.prototype['tls_check_cert'] = undefined;
/**
* @member {String} id
*/
PoolResponse.prototype['id'] = undefined;
+/**
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {String} quorum
+ * @default '75'
+ */
+PoolResponse.prototype['quorum'] = '75';
+
-// Implement Pool interface:
+// Implement TlsCommonResponse interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-Pool.prototype['tls_ca_cert'] = 'null';
+TlsCommonResponse.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-Pool.prototype['tls_client_cert'] = 'null';
+TlsCommonResponse.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-Pool.prototype['tls_client_key'] = 'null';
+TlsCommonResponse.prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-Pool.prototype['tls_cert_hostname'] = 'null';
+TlsCommonResponse.prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
- * @member {module:model/Pool.UseTlsEnum} use_tls
- * @default UseTlsEnum.no_tls
+ * @member {module:model/TlsCommonResponse.UseTlsEnum} use_tls
+ * @default '0'
*/
-Pool.prototype['use_tls'] = undefined;
+TlsCommonResponse.prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
/**
- * Name for the Pool.
- * @member {String} name
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-Pool.prototype['name'] = undefined;
+Timestamps.prototype['created_at'] = undefined;
/**
- * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
- * @member {String} shield
- * @default 'null'
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-Pool.prototype['shield'] = 'null';
+Timestamps.prototype['deleted_at'] = undefined;
/**
- * Condition which, if met, will select this configuration during a request. Optional.
- * @member {String} request_condition
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
+/**
+ * @member {String} service_id
*/
-Pool.prototype['request_condition'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * Maximum number of connections. Optional.
- * @member {Number} max_conn_default
- * @default 200
+ * @member {String} version
*/
-Pool.prototype['max_conn_default'] = 200;
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement PoolAdditional interface:
/**
- * How long to wait for a timeout in milliseconds. Optional.
- * @member {Number} connect_timeout
+ * Name for the Pool.
+ * @member {String} name
*/
-Pool.prototype['connect_timeout'] = undefined;
+PoolAdditional.prototype['name'] = undefined;
/**
- * How long to wait for the first byte in milliseconds. Optional.
- * @member {Number} first_byte_timeout
+ * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
+ * @member {String} shield
+ * @default 'null'
*/
-Pool.prototype['first_byte_timeout'] = undefined;
+PoolAdditional.prototype['shield'] = 'null';
/**
- * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
- * @member {Number} quorum
- * @default 75
+ * Condition which, if met, will select this configuration during a request. Optional.
+ * @member {String} request_condition
*/
-Pool.prototype['quorum'] = 75;
+PoolAdditional.prototype['request_condition'] = undefined;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-Pool.prototype['tls_ciphers'] = undefined;
+PoolAdditional.prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-Pool.prototype['tls_sni_hostname'] = undefined;
-/**
- * Be strict on checking TLS certs. Optional.
- * @member {Number} tls_check_cert
- */
-Pool.prototype['tls_check_cert'] = undefined;
+PoolAdditional.prototype['tls_sni_hostname'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-Pool.prototype['min_tls_version'] = undefined;
+PoolAdditional.prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-Pool.prototype['max_tls_version'] = undefined;
+PoolAdditional.prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-Pool.prototype['healthcheck'] = undefined;
+PoolAdditional.prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-Pool.prototype['comment'] = undefined;
+PoolAdditional.prototype['comment'] = undefined;
/**
* What type of load balance group to use.
- * @member {module:model/Pool.TypeEnum} type
+ * @member {module:model/PoolAdditional.TypeEnum} type
*/
-Pool.prototype['type'] = undefined;
+PoolAdditional.prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-Pool.prototype['override_host'] = 'null';
-// Implement Timestamps interface:
+PoolAdditional.prototype['override_host'] = 'null';
+// Implement PoolResponseCommon interface:
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
+ * @member {String} between_bytes_timeout
*/
-Timestamps.prototype['created_at'] = undefined;
+PoolResponseCommon.prototype['between_bytes_timeout'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * How long to wait for a timeout in milliseconds.
+ * @member {String} connect_timeout
*/
-Timestamps.prototype['deleted_at'] = undefined;
+PoolResponseCommon.prototype['connect_timeout'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * How long to wait for the first byte in milliseconds.
+ * @member {String} first_byte_timeout
*/
-Timestamps.prototype['updated_at'] = undefined;
-// Implement ServiceIdAndVersion interface:
+PoolResponseCommon.prototype['first_byte_timeout'] = undefined;
/**
- * @member {String} service_id
+ * Maximum number of connections.
+ * @member {String} max_conn_default
+ * @default '200'
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+PoolResponseCommon.prototype['max_conn_default'] = '200';
/**
- * @member {Number} version
+ * Be strict on checking TLS certs.
+ * @member {String} tls_check_cert
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
-// Implement PoolResponseAllOf interface:
+PoolResponseCommon.prototype['tls_check_cert'] = undefined;
/**
* @member {String} id
*/
-PoolResponseAllOf.prototype['id'] = undefined;
+PoolResponseCommon.prototype['id'] = undefined;
+// Implement PoolResponseAllOf interface:
+/**
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {String} quorum
+ * @default '75'
+ */
+PoolResponseAllOf.prototype['quorum'] = '75';
/**
* Allowed values for the use_tls
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
PoolResponse['UseTlsEnum'] = {
/**
- * value: 0
+ * value: "0"
* @const
*/
- "no_tls": 0,
+ "no_tls": "0",
/**
- * value: 1
+ * value: "1"
* @const
*/
- "use_tls": 1
+ "use_tls": "1"
};
diff --git a/src/model/PoolResponseAllOf.js b/src/model/PoolResponseAllOf.js
index 716ab4e96..af6433076 100644
--- a/src/model/PoolResponseAllOf.js
+++ b/src/model/PoolResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PoolResponseAllOf model module.
* @module model/PoolResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class PoolResponseAllOf {
/**
@@ -46,8 +46,8 @@ class PoolResponseAllOf {
if (data) {
obj = obj || new PoolResponseAllOf();
- if (data.hasOwnProperty('id')) {
- obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ if (data.hasOwnProperty('quorum')) {
+ obj['quorum'] = ApiClient.convertToType(data['quorum'], 'String');
}
}
return obj;
@@ -57,9 +57,11 @@ class PoolResponseAllOf {
}
/**
- * @member {String} id
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {String} quorum
+ * @default '75'
*/
-PoolResponseAllOf.prototype['id'] = undefined;
+PoolResponseAllOf.prototype['quorum'] = '75';
diff --git a/src/model/PoolResponseCommon.js b/src/model/PoolResponseCommon.js
new file mode 100644
index 000000000..64998a8ec
--- /dev/null
+++ b/src/model/PoolResponseCommon.js
@@ -0,0 +1,116 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The PoolResponseCommon model module.
+ * @module model/PoolResponseCommon
+ * @version 6.0.0
+ */
+class PoolResponseCommon {
+ /**
+ * Constructs a new PoolResponseCommon
.
+ * @alias module:model/PoolResponseCommon
+ */
+ constructor() {
+
+ PoolResponseCommon.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a PoolResponseCommon
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PoolResponseCommon} obj Optional instance to populate.
+ * @return {module:model/PoolResponseCommon} The populated PoolResponseCommon
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PoolResponseCommon();
+
+ if (data.hasOwnProperty('between_bytes_timeout')) {
+ obj['between_bytes_timeout'] = ApiClient.convertToType(data['between_bytes_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('connect_timeout')) {
+ obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('first_byte_timeout')) {
+ obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('max_conn_default')) {
+ obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'String');
+ }
+ if (data.hasOwnProperty('tls_check_cert')) {
+ obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'String');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
+ * @member {String} between_bytes_timeout
+ */
+PoolResponseCommon.prototype['between_bytes_timeout'] = undefined;
+
+/**
+ * How long to wait for a timeout in milliseconds.
+ * @member {String} connect_timeout
+ */
+PoolResponseCommon.prototype['connect_timeout'] = undefined;
+
+/**
+ * How long to wait for the first byte in milliseconds.
+ * @member {String} first_byte_timeout
+ */
+PoolResponseCommon.prototype['first_byte_timeout'] = undefined;
+
+/**
+ * Maximum number of connections.
+ * @member {String} max_conn_default
+ * @default '200'
+ */
+PoolResponseCommon.prototype['max_conn_default'] = '200';
+
+/**
+ * Be strict on checking TLS certs.
+ * @member {String} tls_check_cert
+ */
+PoolResponseCommon.prototype['tls_check_cert'] = undefined;
+
+/**
+ * @member {String} id
+ */
+PoolResponseCommon.prototype['id'] = undefined;
+
+
+
+
+
+
+export default PoolResponseCommon;
+
diff --git a/src/model/Pool.js b/src/model/PoolResponsePost.js
similarity index 53%
rename from src/model/Pool.js
rename to src/model/PoolResponsePost.js
index f7f8e81ac..705b81f75 100644
--- a/src/model/Pool.js
+++ b/src/model/PoolResponsePost.js
@@ -11,24 +11,32 @@
*/
import ApiClient from '../ApiClient';
-import PoolAllOf from './PoolAllOf';
-import TlsCommon from './TlsCommon';
+import PoolAdditional from './PoolAdditional';
+import PoolResponseCommon from './PoolResponseCommon';
+import PoolResponsePostAllOf from './PoolResponsePostAllOf';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
+import Timestamps from './Timestamps';
+import TlsCommonResponse from './TlsCommonResponse';
/**
- * The Pool model module.
- * @module model/Pool
- * @version 5.0.2
+ * The PoolResponsePost model module.
+ * @module model/PoolResponsePost
+ * @version 6.0.0
*/
-class Pool {
+class PoolResponsePost {
/**
- * Constructs a new Pool
.
- * @alias module:model/Pool
- * @implements module:model/TlsCommon
- * @implements module:model/PoolAllOf
+ * Constructs a new PoolResponsePost
.
+ * @alias module:model/PoolResponsePost
+ * @implements module:model/TlsCommonResponse
+ * @implements module:model/Timestamps
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/PoolAdditional
+ * @implements module:model/PoolResponseCommon
+ * @implements module:model/PoolResponsePostAllOf
*/
constructor() {
- TlsCommon.initialize(this);PoolAllOf.initialize(this);
- Pool.initialize(this);
+ TlsCommonResponse.initialize(this);Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);PoolAdditional.initialize(this);PoolResponseCommon.initialize(this);PoolResponsePostAllOf.initialize(this);
+ PoolResponsePost.initialize(this);
}
/**
@@ -40,17 +48,21 @@ class Pool {
}
/**
- * Constructs a Pool
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a PoolResponsePost
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Pool} obj Optional instance to populate.
- * @return {module:model/Pool} The populated Pool
instance.
+ * @param {module:model/PoolResponsePost} obj Optional instance to populate.
+ * @return {module:model/PoolResponsePost} The populated PoolResponsePost
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new Pool();
- TlsCommon.constructFromObject(data, obj);
- PoolAllOf.constructFromObject(data, obj);
+ obj = obj || new PoolResponsePost();
+ TlsCommonResponse.constructFromObject(data, obj);
+ Timestamps.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ PoolAdditional.constructFromObject(data, obj);
+ PoolResponseCommon.constructFromObject(data, obj);
+ PoolResponsePostAllOf.constructFromObject(data, obj);
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
@@ -65,7 +77,22 @@ class Pool {
obj['tls_cert_hostname'] = ApiClient.convertToType(data['tls_cert_hostname'], 'String');
}
if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'Number');
+ obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'String');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
@@ -76,27 +103,12 @@ class Pool {
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = ApiClient.convertToType(data['request_condition'], 'String');
}
- if (data.hasOwnProperty('max_conn_default')) {
- obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'Number');
- }
- if (data.hasOwnProperty('connect_timeout')) {
- obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'Number');
- }
- if (data.hasOwnProperty('first_byte_timeout')) {
- obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'Number');
- }
- if (data.hasOwnProperty('quorum')) {
- obj['quorum'] = ApiClient.convertToType(data['quorum'], 'Number');
- }
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = ApiClient.convertToType(data['tls_ciphers'], 'String');
}
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = ApiClient.convertToType(data['tls_sni_hostname'], 'String');
}
- if (data.hasOwnProperty('tls_check_cert')) {
- obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'Number');
- }
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = ApiClient.convertToType(data['min_tls_version'], 'Number');
}
@@ -115,6 +127,27 @@ class Pool {
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = ApiClient.convertToType(data['override_host'], 'String');
}
+ if (data.hasOwnProperty('between_bytes_timeout')) {
+ obj['between_bytes_timeout'] = ApiClient.convertToType(data['between_bytes_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('connect_timeout')) {
+ obj['connect_timeout'] = ApiClient.convertToType(data['connect_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('first_byte_timeout')) {
+ obj['first_byte_timeout'] = ApiClient.convertToType(data['first_byte_timeout'], 'String');
+ }
+ if (data.hasOwnProperty('max_conn_default')) {
+ obj['max_conn_default'] = ApiClient.convertToType(data['max_conn_default'], 'String');
+ }
+ if (data.hasOwnProperty('tls_check_cert')) {
+ obj['tls_check_cert'] = ApiClient.convertToType(data['tls_check_cert'], 'String');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('quorum')) {
+ obj['quorum'] = ApiClient.convertToType(data['quorum'], 'Number');
+ }
}
return obj;
}
@@ -127,274 +160,349 @@ class Pool {
* @member {String} tls_ca_cert
* @default 'null'
*/
-Pool.prototype['tls_ca_cert'] = 'null';
+PoolResponsePost.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-Pool.prototype['tls_client_cert'] = 'null';
+PoolResponsePost.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-Pool.prototype['tls_client_key'] = 'null';
+PoolResponsePost.prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-Pool.prototype['tls_cert_hostname'] = 'null';
+PoolResponsePost.prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
- * @member {module:model/Pool.UseTlsEnum} use_tls
- * @default UseTlsEnum.no_tls
+ * @member {module:model/PoolResponsePost.UseTlsEnum} use_tls
+ * @default '0'
*/
-Pool.prototype['use_tls'] = undefined;
+PoolResponsePost.prototype['use_tls'] = undefined;
/**
- * Name for the Pool.
- * @member {String} name
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-Pool.prototype['name'] = undefined;
+PoolResponsePost.prototype['created_at'] = undefined;
/**
- * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
- * @member {String} shield
- * @default 'null'
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-Pool.prototype['shield'] = 'null';
+PoolResponsePost.prototype['deleted_at'] = undefined;
/**
- * Condition which, if met, will select this configuration during a request. Optional.
- * @member {String} request_condition
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-Pool.prototype['request_condition'] = undefined;
+PoolResponsePost.prototype['updated_at'] = undefined;
/**
- * Maximum number of connections. Optional.
- * @member {Number} max_conn_default
- * @default 200
+ * @member {String} service_id
*/
-Pool.prototype['max_conn_default'] = 200;
+PoolResponsePost.prototype['service_id'] = undefined;
/**
- * How long to wait for a timeout in milliseconds. Optional.
- * @member {Number} connect_timeout
+ * @member {String} version
*/
-Pool.prototype['connect_timeout'] = undefined;
+PoolResponsePost.prototype['version'] = undefined;
/**
- * How long to wait for the first byte in milliseconds. Optional.
- * @member {Number} first_byte_timeout
+ * Name for the Pool.
+ * @member {String} name
*/
-Pool.prototype['first_byte_timeout'] = undefined;
+PoolResponsePost.prototype['name'] = undefined;
/**
- * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
- * @member {Number} quorum
- * @default 75
+ * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
+ * @member {String} shield
+ * @default 'null'
*/
-Pool.prototype['quorum'] = 75;
+PoolResponsePost.prototype['shield'] = 'null';
+
+/**
+ * Condition which, if met, will select this configuration during a request. Optional.
+ * @member {String} request_condition
+ */
+PoolResponsePost.prototype['request_condition'] = undefined;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-Pool.prototype['tls_ciphers'] = undefined;
+PoolResponsePost.prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-Pool.prototype['tls_sni_hostname'] = undefined;
-
-/**
- * Be strict on checking TLS certs. Optional.
- * @member {Number} tls_check_cert
- */
-Pool.prototype['tls_check_cert'] = undefined;
+PoolResponsePost.prototype['tls_sni_hostname'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-Pool.prototype['min_tls_version'] = undefined;
+PoolResponsePost.prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-Pool.prototype['max_tls_version'] = undefined;
+PoolResponsePost.prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-Pool.prototype['healthcheck'] = undefined;
+PoolResponsePost.prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-Pool.prototype['comment'] = undefined;
+PoolResponsePost.prototype['comment'] = undefined;
/**
* What type of load balance group to use.
- * @member {module:model/Pool.TypeEnum} type
+ * @member {module:model/PoolResponsePost.TypeEnum} type
*/
-Pool.prototype['type'] = undefined;
+PoolResponsePost.prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-Pool.prototype['override_host'] = 'null';
+PoolResponsePost.prototype['override_host'] = 'null';
+/**
+ * Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
+ * @member {String} between_bytes_timeout
+ */
+PoolResponsePost.prototype['between_bytes_timeout'] = undefined;
-// Implement TlsCommon interface:
+/**
+ * How long to wait for a timeout in milliseconds.
+ * @member {String} connect_timeout
+ */
+PoolResponsePost.prototype['connect_timeout'] = undefined;
+
+/**
+ * How long to wait for the first byte in milliseconds.
+ * @member {String} first_byte_timeout
+ */
+PoolResponsePost.prototype['first_byte_timeout'] = undefined;
+
+/**
+ * Maximum number of connections.
+ * @member {String} max_conn_default
+ * @default '200'
+ */
+PoolResponsePost.prototype['max_conn_default'] = '200';
+
+/**
+ * Be strict on checking TLS certs.
+ * @member {String} tls_check_cert
+ */
+PoolResponsePost.prototype['tls_check_cert'] = undefined;
+
+/**
+ * @member {String} id
+ */
+PoolResponsePost.prototype['id'] = undefined;
+
+/**
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {Number} quorum
+ * @default 75
+ */
+PoolResponsePost.prototype['quorum'] = 75;
+
+
+// Implement TlsCommonResponse interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-TlsCommon.prototype['tls_ca_cert'] = 'null';
+TlsCommonResponse.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-TlsCommon.prototype['tls_client_cert'] = 'null';
+TlsCommonResponse.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-TlsCommon.prototype['tls_client_key'] = 'null';
+TlsCommonResponse.prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-TlsCommon.prototype['tls_cert_hostname'] = 'null';
+TlsCommonResponse.prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
- * @member {module:model/TlsCommon.UseTlsEnum} use_tls
- * @default UseTlsEnum.no_tls
+ * @member {module:model/TlsCommonResponse.UseTlsEnum} use_tls
+ * @default '0'
*/
-TlsCommon.prototype['use_tls'] = undefined;
-// Implement PoolAllOf interface:
+TlsCommonResponse.prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
/**
- * Name for the Pool.
- * @member {String} name
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-PoolAllOf.prototype['name'] = undefined;
+Timestamps.prototype['created_at'] = undefined;
/**
- * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
- * @member {String} shield
- * @default 'null'
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-PoolAllOf.prototype['shield'] = 'null';
+Timestamps.prototype['deleted_at'] = undefined;
/**
- * Condition which, if met, will select this configuration during a request. Optional.
- * @member {String} request_condition
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-PoolAllOf.prototype['request_condition'] = undefined;
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
/**
- * Maximum number of connections. Optional.
- * @member {Number} max_conn_default
- * @default 200
+ * @member {String} service_id
*/
-PoolAllOf.prototype['max_conn_default'] = 200;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * How long to wait for a timeout in milliseconds. Optional.
- * @member {Number} connect_timeout
+ * @member {String} version
*/
-PoolAllOf.prototype['connect_timeout'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement PoolAdditional interface:
/**
- * How long to wait for the first byte in milliseconds. Optional.
- * @member {Number} first_byte_timeout
+ * Name for the Pool.
+ * @member {String} name
*/
-PoolAllOf.prototype['first_byte_timeout'] = undefined;
+PoolAdditional.prototype['name'] = undefined;
/**
- * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
- * @member {Number} quorum
- * @default 75
+ * Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
+ * @member {String} shield
+ * @default 'null'
+ */
+PoolAdditional.prototype['shield'] = 'null';
+/**
+ * Condition which, if met, will select this configuration during a request. Optional.
+ * @member {String} request_condition
*/
-PoolAllOf.prototype['quorum'] = 75;
+PoolAdditional.prototype['request_condition'] = undefined;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-PoolAllOf.prototype['tls_ciphers'] = undefined;
+PoolAdditional.prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-PoolAllOf.prototype['tls_sni_hostname'] = undefined;
-/**
- * Be strict on checking TLS certs. Optional.
- * @member {Number} tls_check_cert
- */
-PoolAllOf.prototype['tls_check_cert'] = undefined;
+PoolAdditional.prototype['tls_sni_hostname'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-PoolAllOf.prototype['min_tls_version'] = undefined;
+PoolAdditional.prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-PoolAllOf.prototype['max_tls_version'] = undefined;
+PoolAdditional.prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-PoolAllOf.prototype['healthcheck'] = undefined;
+PoolAdditional.prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-PoolAllOf.prototype['comment'] = undefined;
+PoolAdditional.prototype['comment'] = undefined;
/**
* What type of load balance group to use.
- * @member {module:model/PoolAllOf.TypeEnum} type
+ * @member {module:model/PoolAdditional.TypeEnum} type
*/
-PoolAllOf.prototype['type'] = undefined;
+PoolAdditional.prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-PoolAllOf.prototype['override_host'] = 'null';
+PoolAdditional.prototype['override_host'] = 'null';
+// Implement PoolResponseCommon interface:
+/**
+ * Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
+ * @member {String} between_bytes_timeout
+ */
+PoolResponseCommon.prototype['between_bytes_timeout'] = undefined;
+/**
+ * How long to wait for a timeout in milliseconds.
+ * @member {String} connect_timeout
+ */
+PoolResponseCommon.prototype['connect_timeout'] = undefined;
+/**
+ * How long to wait for the first byte in milliseconds.
+ * @member {String} first_byte_timeout
+ */
+PoolResponseCommon.prototype['first_byte_timeout'] = undefined;
+/**
+ * Maximum number of connections.
+ * @member {String} max_conn_default
+ * @default '200'
+ */
+PoolResponseCommon.prototype['max_conn_default'] = '200';
+/**
+ * Be strict on checking TLS certs.
+ * @member {String} tls_check_cert
+ */
+PoolResponseCommon.prototype['tls_check_cert'] = undefined;
+/**
+ * @member {String} id
+ */
+PoolResponseCommon.prototype['id'] = undefined;
+// Implement PoolResponsePostAllOf interface:
+/**
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {Number} quorum
+ * @default 75
+ */
+PoolResponsePostAllOf.prototype['quorum'] = 75;
/**
* Allowed values for the use_tls
property.
- * @enum {Number}
+ * @enum {String}
* @readonly
*/
-Pool['UseTlsEnum'] = {
+PoolResponsePost['UseTlsEnum'] = {
/**
- * value: 0
+ * value: "0"
* @const
*/
- "no_tls": 0,
+ "no_tls": "0",
/**
- * value: 1
+ * value: "1"
* @const
*/
- "use_tls": 1
+ "use_tls": "1"
};
@@ -403,7 +511,7 @@ Pool['UseTlsEnum'] = {
* @enum {String}
* @readonly
*/
-Pool['TypeEnum'] = {
+PoolResponsePost['TypeEnum'] = {
/**
* value: "random"
@@ -426,5 +534,5 @@ Pool['TypeEnum'] = {
-export default Pool;
+export default PoolResponsePost;
diff --git a/src/model/PoolResponsePostAllOf.js b/src/model/PoolResponsePostAllOf.js
new file mode 100644
index 000000000..7fb1ded34
--- /dev/null
+++ b/src/model/PoolResponsePostAllOf.js
@@ -0,0 +1,72 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The PoolResponsePostAllOf model module.
+ * @module model/PoolResponsePostAllOf
+ * @version 6.0.0
+ */
+class PoolResponsePostAllOf {
+ /**
+ * Constructs a new PoolResponsePostAllOf
.
+ * @alias module:model/PoolResponsePostAllOf
+ */
+ constructor() {
+
+ PoolResponsePostAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a PoolResponsePostAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PoolResponsePostAllOf} obj Optional instance to populate.
+ * @return {module:model/PoolResponsePostAllOf} The populated PoolResponsePostAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PoolResponsePostAllOf();
+
+ if (data.hasOwnProperty('quorum')) {
+ obj['quorum'] = ApiClient.convertToType(data['quorum'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
+ * @member {Number} quorum
+ * @default 75
+ */
+PoolResponsePostAllOf.prototype['quorum'] = 75;
+
+
+
+
+
+
+export default PoolResponsePostAllOf;
+
diff --git a/src/model/Pop.js b/src/model/Pop.js
index 4aba336b9..33b332936 100644
--- a/src/model/Pop.js
+++ b/src/model/Pop.js
@@ -16,7 +16,7 @@ import PopCoordinates from './PopCoordinates';
/**
* The Pop model module.
* @module model/Pop
- * @version 5.0.2
+ * @version 6.0.0
*/
class Pop {
/**
diff --git a/src/model/PopCoordinates.js b/src/model/PopCoordinates.js
index e2f22b6e6..8a5fbdb24 100644
--- a/src/model/PopCoordinates.js
+++ b/src/model/PopCoordinates.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PopCoordinates model module.
* @module model/PopCoordinates
- * @version 5.0.2
+ * @version 6.0.0
*/
class PopCoordinates {
/**
diff --git a/src/model/PublicIpList.js b/src/model/PublicIpList.js
index fdd0536cb..289a197f2 100644
--- a/src/model/PublicIpList.js
+++ b/src/model/PublicIpList.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PublicIpList model module.
* @module model/PublicIpList
- * @version 5.0.2
+ * @version 6.0.0
*/
class PublicIpList {
/**
diff --git a/src/model/PublishItem.js b/src/model/PublishItem.js
index 4451dec62..d8d377960 100644
--- a/src/model/PublishItem.js
+++ b/src/model/PublishItem.js
@@ -16,7 +16,7 @@ import PublishItemFormats from './PublishItemFormats';
/**
* The PublishItem model module.
* @module model/PublishItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class PublishItem {
/**
diff --git a/src/model/PublishItemFormats.js b/src/model/PublishItemFormats.js
index 54d0d8469..454095e93 100644
--- a/src/model/PublishItemFormats.js
+++ b/src/model/PublishItemFormats.js
@@ -18,7 +18,7 @@ import WsMessageFormat from './WsMessageFormat';
/**
* The PublishItemFormats model module.
* @module model/PublishItemFormats
- * @version 5.0.2
+ * @version 6.0.0
*/
class PublishItemFormats {
/**
diff --git a/src/model/PublishRequest.js b/src/model/PublishRequest.js
index 977d64b66..4f8683671 100644
--- a/src/model/PublishRequest.js
+++ b/src/model/PublishRequest.js
@@ -16,7 +16,7 @@ import PublishItem from './PublishItem';
/**
* The PublishRequest model module.
* @module model/PublishRequest
- * @version 5.0.2
+ * @version 6.0.0
*/
class PublishRequest {
/**
diff --git a/src/model/PurgeKeys.js b/src/model/PurgeKeys.js
index 85a621653..c21e52b11 100644
--- a/src/model/PurgeKeys.js
+++ b/src/model/PurgeKeys.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PurgeKeys model module.
* @module model/PurgeKeys
- * @version 5.0.2
+ * @version 6.0.0
*/
class PurgeKeys {
/**
diff --git a/src/model/PurgeResponse.js b/src/model/PurgeResponse.js
index 01ebde66c..05f12e81a 100644
--- a/src/model/PurgeResponse.js
+++ b/src/model/PurgeResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The PurgeResponse model module.
* @module model/PurgeResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class PurgeResponse {
/**
diff --git a/src/model/RateLimiter.js b/src/model/RateLimiter.js
index 4c1985315..d90044e81 100644
--- a/src/model/RateLimiter.js
+++ b/src/model/RateLimiter.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The RateLimiter model module.
* @module model/RateLimiter
- * @version 5.0.2
+ * @version 6.0.0
*/
class RateLimiter {
/**
diff --git a/src/model/RateLimiterResponse.js b/src/model/RateLimiterResponse.js
index 5a94e86be..0b6f17b8e 100644
--- a/src/model/RateLimiterResponse.js
+++ b/src/model/RateLimiterResponse.js
@@ -19,7 +19,7 @@ import Timestamps from './Timestamps';
/**
* The RateLimiterResponse model module.
* @module model/RateLimiterResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class RateLimiterResponse {
/**
diff --git a/src/model/RateLimiterResponseAllOf.js b/src/model/RateLimiterResponseAllOf.js
index 3b5d6a7d7..28241213e 100644
--- a/src/model/RateLimiterResponseAllOf.js
+++ b/src/model/RateLimiterResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The RateLimiterResponseAllOf model module.
* @module model/RateLimiterResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class RateLimiterResponseAllOf {
/**
diff --git a/src/model/ReadOnlyCustomerId.js b/src/model/ReadOnlyCustomerId.js
index 822343dc3..539863628 100644
--- a/src/model/ReadOnlyCustomerId.js
+++ b/src/model/ReadOnlyCustomerId.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyCustomerId model module.
* @module model/ReadOnlyCustomerId
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyCustomerId {
/**
diff --git a/src/model/ReadOnlyId.js b/src/model/ReadOnlyId.js
index 11288b4c9..73d091263 100644
--- a/src/model/ReadOnlyId.js
+++ b/src/model/ReadOnlyId.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyId model module.
* @module model/ReadOnlyId
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyId {
/**
diff --git a/src/model/ReadOnlyIdService.js b/src/model/ReadOnlyIdService.js
index eafb2f719..044794719 100644
--- a/src/model/ReadOnlyIdService.js
+++ b/src/model/ReadOnlyIdService.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyIdService model module.
* @module model/ReadOnlyIdService
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyIdService {
/**
diff --git a/src/model/ReadOnlyServiceId.js b/src/model/ReadOnlyServiceId.js
index 0c32b8550..4784fa581 100644
--- a/src/model/ReadOnlyServiceId.js
+++ b/src/model/ReadOnlyServiceId.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyServiceId model module.
* @module model/ReadOnlyServiceId
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyServiceId {
/**
diff --git a/src/model/ReadOnlyUserId.js b/src/model/ReadOnlyUserId.js
index 10ad1d0ab..e8bb8814c 100644
--- a/src/model/ReadOnlyUserId.js
+++ b/src/model/ReadOnlyUserId.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyUserId model module.
* @module model/ReadOnlyUserId
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyUserId {
/**
diff --git a/src/model/ReadOnlyVersion.js b/src/model/ReadOnlyVersion.js
index a2461dedd..87bf6f126 100644
--- a/src/model/ReadOnlyVersion.js
+++ b/src/model/ReadOnlyVersion.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ReadOnlyVersion model module.
* @module model/ReadOnlyVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class ReadOnlyVersion {
/**
diff --git a/src/model/Realtime.js b/src/model/Realtime.js
index a918f53cc..d6c7eb510 100644
--- a/src/model/Realtime.js
+++ b/src/model/Realtime.js
@@ -16,7 +16,7 @@ import RealtimeEntry from './RealtimeEntry';
/**
* The Realtime model module.
* @module model/Realtime
- * @version 5.0.2
+ * @version 6.0.0
*/
class Realtime {
/**
diff --git a/src/model/RealtimeEntry.js b/src/model/RealtimeEntry.js
index f7c39a32e..ba9d3c627 100644
--- a/src/model/RealtimeEntry.js
+++ b/src/model/RealtimeEntry.js
@@ -18,7 +18,7 @@ import RealtimeMeasurements from './RealtimeMeasurements';
/**
* The RealtimeEntry model module.
* @module model/RealtimeEntry
- * @version 5.0.2
+ * @version 6.0.0
*/
class RealtimeEntry {
/**
diff --git a/src/model/RealtimeEntryAggregated.js b/src/model/RealtimeEntryAggregated.js
index 5dbd2917b..574378773 100644
--- a/src/model/RealtimeEntryAggregated.js
+++ b/src/model/RealtimeEntryAggregated.js
@@ -16,7 +16,7 @@ import RealtimeMeasurements from './RealtimeMeasurements';
/**
* The RealtimeEntryAggregated model module.
* @module model/RealtimeEntryAggregated
- * @version 5.0.2
+ * @version 6.0.0
*/
class RealtimeEntryAggregated {
/**
diff --git a/src/model/RealtimeEntryRecorded.js b/src/model/RealtimeEntryRecorded.js
index d9dae777e..aa5b74cf9 100644
--- a/src/model/RealtimeEntryRecorded.js
+++ b/src/model/RealtimeEntryRecorded.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The RealtimeEntryRecorded model module.
* @module model/RealtimeEntryRecorded
- * @version 5.0.2
+ * @version 6.0.0
*/
class RealtimeEntryRecorded {
/**
diff --git a/src/model/RealtimeMeasurements.js b/src/model/RealtimeMeasurements.js
index 9c3dc58ef..993095f0e 100644
--- a/src/model/RealtimeMeasurements.js
+++ b/src/model/RealtimeMeasurements.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The RealtimeMeasurements model module.
* @module model/RealtimeMeasurements
- * @version 5.0.2
+ * @version 6.0.0
*/
class RealtimeMeasurements {
/**
diff --git a/src/model/RecordedTimestamp.js b/src/model/RecordedTimestamp.js
index 44463ec4f..1ba0de77b 100644
--- a/src/model/RecordedTimestamp.js
+++ b/src/model/RecordedTimestamp.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The RecordedTimestamp model module.
* @module model/RecordedTimestamp
- * @version 5.0.2
+ * @version 6.0.0
*/
class RecordedTimestamp {
/**
diff --git a/src/model/RelationshipCommonName.js b/src/model/RelationshipCommonName.js
index 43ff15b4e..f86acd69a 100644
--- a/src/model/RelationshipCommonName.js
+++ b/src/model/RelationshipCommonName.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsDomain from './RelationshipMemberTlsDomain';
/**
* The RelationshipCommonName model module.
* @module model/RelationshipCommonName
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipCommonName {
/**
diff --git a/src/model/RelationshipCustomer.js b/src/model/RelationshipCustomer.js
index 219d0beb4..30875f1c2 100644
--- a/src/model/RelationshipCustomer.js
+++ b/src/model/RelationshipCustomer.js
@@ -16,7 +16,7 @@ import RelationshipCustomerCustomer from './RelationshipCustomerCustomer';
/**
* The RelationshipCustomer model module.
* @module model/RelationshipCustomer
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipCustomer {
/**
diff --git a/src/model/RelationshipCustomerCustomer.js b/src/model/RelationshipCustomerCustomer.js
index 356243028..11a7831c3 100644
--- a/src/model/RelationshipCustomerCustomer.js
+++ b/src/model/RelationshipCustomerCustomer.js
@@ -16,7 +16,7 @@ import RelationshipMemberCustomer from './RelationshipMemberCustomer';
/**
* The RelationshipCustomerCustomer model module.
* @module model/RelationshipCustomerCustomer
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipCustomerCustomer {
/**
diff --git a/src/model/RelationshipMemberCustomer.js b/src/model/RelationshipMemberCustomer.js
index 8fe3f1ef0..90f84d01b 100644
--- a/src/model/RelationshipMemberCustomer.js
+++ b/src/model/RelationshipMemberCustomer.js
@@ -16,7 +16,7 @@ import TypeCustomer from './TypeCustomer';
/**
* The RelationshipMemberCustomer model module.
* @module model/RelationshipMemberCustomer
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberCustomer {
/**
diff --git a/src/model/RelationshipMemberMutualAuthentication.js b/src/model/RelationshipMemberMutualAuthentication.js
index a98625d51..5c3fa3a75 100644
--- a/src/model/RelationshipMemberMutualAuthentication.js
+++ b/src/model/RelationshipMemberMutualAuthentication.js
@@ -16,7 +16,7 @@ import TypeMutualAuthentication from './TypeMutualAuthentication';
/**
* The RelationshipMemberMutualAuthentication model module.
* @module model/RelationshipMemberMutualAuthentication
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberMutualAuthentication {
/**
diff --git a/src/model/RelationshipMemberService.js b/src/model/RelationshipMemberService.js
index 944e4e913..2fc36e6b6 100644
--- a/src/model/RelationshipMemberService.js
+++ b/src/model/RelationshipMemberService.js
@@ -16,7 +16,7 @@ import TypeService from './TypeService';
/**
* The RelationshipMemberService model module.
* @module model/RelationshipMemberService
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberService {
/**
diff --git a/src/model/RelationshipMemberServiceInvitation.js b/src/model/RelationshipMemberServiceInvitation.js
index 8d588ce40..884f73a5a 100644
--- a/src/model/RelationshipMemberServiceInvitation.js
+++ b/src/model/RelationshipMemberServiceInvitation.js
@@ -16,7 +16,7 @@ import TypeServiceInvitation from './TypeServiceInvitation';
/**
* The RelationshipMemberServiceInvitation model module.
* @module model/RelationshipMemberServiceInvitation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberServiceInvitation {
/**
diff --git a/src/model/RelationshipMemberTlsActivation.js b/src/model/RelationshipMemberTlsActivation.js
index a06a6bdac..c111a2383 100644
--- a/src/model/RelationshipMemberTlsActivation.js
+++ b/src/model/RelationshipMemberTlsActivation.js
@@ -16,7 +16,7 @@ import TypeTlsActivation from './TypeTlsActivation';
/**
* The RelationshipMemberTlsActivation model module.
* @module model/RelationshipMemberTlsActivation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsActivation {
/**
diff --git a/src/model/RelationshipMemberTlsBulkCertificate.js b/src/model/RelationshipMemberTlsBulkCertificate.js
index 77951c7c9..b4c3863dc 100644
--- a/src/model/RelationshipMemberTlsBulkCertificate.js
+++ b/src/model/RelationshipMemberTlsBulkCertificate.js
@@ -16,7 +16,7 @@ import TypeTlsBulkCertificate from './TypeTlsBulkCertificate';
/**
* The RelationshipMemberTlsBulkCertificate model module.
* @module model/RelationshipMemberTlsBulkCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsBulkCertificate {
/**
diff --git a/src/model/RelationshipMemberTlsCertificate.js b/src/model/RelationshipMemberTlsCertificate.js
index e2064deb8..e18d625e1 100644
--- a/src/model/RelationshipMemberTlsCertificate.js
+++ b/src/model/RelationshipMemberTlsCertificate.js
@@ -16,7 +16,7 @@ import TypeTlsCertificate from './TypeTlsCertificate';
/**
* The RelationshipMemberTlsCertificate model module.
* @module model/RelationshipMemberTlsCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsCertificate {
/**
diff --git a/src/model/RelationshipMemberTlsConfiguration.js b/src/model/RelationshipMemberTlsConfiguration.js
index b3b0238a6..681421838 100644
--- a/src/model/RelationshipMemberTlsConfiguration.js
+++ b/src/model/RelationshipMemberTlsConfiguration.js
@@ -16,7 +16,7 @@ import TypeTlsConfiguration from './TypeTlsConfiguration';
/**
* The RelationshipMemberTlsConfiguration model module.
* @module model/RelationshipMemberTlsConfiguration
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsConfiguration {
/**
diff --git a/src/model/RelationshipMemberTlsDnsRecord.js b/src/model/RelationshipMemberTlsDnsRecord.js
index 3d798ea55..d99b7a8f1 100644
--- a/src/model/RelationshipMemberTlsDnsRecord.js
+++ b/src/model/RelationshipMemberTlsDnsRecord.js
@@ -16,7 +16,7 @@ import TypeTlsDnsRecord from './TypeTlsDnsRecord';
/**
* The RelationshipMemberTlsDnsRecord model module.
* @module model/RelationshipMemberTlsDnsRecord
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsDnsRecord {
/**
diff --git a/src/model/RelationshipMemberTlsDomain.js b/src/model/RelationshipMemberTlsDomain.js
index 38eaddae0..6f5fe49b7 100644
--- a/src/model/RelationshipMemberTlsDomain.js
+++ b/src/model/RelationshipMemberTlsDomain.js
@@ -16,7 +16,7 @@ import TypeTlsDomain from './TypeTlsDomain';
/**
* The RelationshipMemberTlsDomain model module.
* @module model/RelationshipMemberTlsDomain
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsDomain {
/**
diff --git a/src/model/RelationshipMemberTlsPrivateKey.js b/src/model/RelationshipMemberTlsPrivateKey.js
index 1bf34d18d..07f15b4a1 100644
--- a/src/model/RelationshipMemberTlsPrivateKey.js
+++ b/src/model/RelationshipMemberTlsPrivateKey.js
@@ -16,7 +16,7 @@ import TypeTlsPrivateKey from './TypeTlsPrivateKey';
/**
* The RelationshipMemberTlsPrivateKey model module.
* @module model/RelationshipMemberTlsPrivateKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsPrivateKey {
/**
diff --git a/src/model/RelationshipMemberTlsSubscription.js b/src/model/RelationshipMemberTlsSubscription.js
index 570ea8943..fbb356777 100644
--- a/src/model/RelationshipMemberTlsSubscription.js
+++ b/src/model/RelationshipMemberTlsSubscription.js
@@ -16,7 +16,7 @@ import TypeTlsSubscription from './TypeTlsSubscription';
/**
* The RelationshipMemberTlsSubscription model module.
* @module model/RelationshipMemberTlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberTlsSubscription {
/**
diff --git a/src/model/RelationshipMemberWafActiveRule.js b/src/model/RelationshipMemberWafActiveRule.js
index be1733f2a..9a63aaf29 100644
--- a/src/model/RelationshipMemberWafActiveRule.js
+++ b/src/model/RelationshipMemberWafActiveRule.js
@@ -16,7 +16,7 @@ import TypeWafActiveRule from './TypeWafActiveRule';
/**
* The RelationshipMemberWafActiveRule model module.
* @module model/RelationshipMemberWafActiveRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafActiveRule {
/**
diff --git a/src/model/RelationshipMemberWafFirewall.js b/src/model/RelationshipMemberWafFirewall.js
index f58ab1991..d0fe61973 100644
--- a/src/model/RelationshipMemberWafFirewall.js
+++ b/src/model/RelationshipMemberWafFirewall.js
@@ -16,7 +16,7 @@ import TypeWafFirewall from './TypeWafFirewall';
/**
* The RelationshipMemberWafFirewall model module.
* @module model/RelationshipMemberWafFirewall
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafFirewall {
/**
diff --git a/src/model/RelationshipMemberWafFirewallVersion.js b/src/model/RelationshipMemberWafFirewallVersion.js
index 153e3ee59..cdd36443a 100644
--- a/src/model/RelationshipMemberWafFirewallVersion.js
+++ b/src/model/RelationshipMemberWafFirewallVersion.js
@@ -16,7 +16,7 @@ import TypeWafFirewallVersion from './TypeWafFirewallVersion';
/**
* The RelationshipMemberWafFirewallVersion model module.
* @module model/RelationshipMemberWafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafFirewallVersion {
/**
diff --git a/src/model/RelationshipMemberWafRule.js b/src/model/RelationshipMemberWafRule.js
index cdd873c1d..314e3d56d 100644
--- a/src/model/RelationshipMemberWafRule.js
+++ b/src/model/RelationshipMemberWafRule.js
@@ -16,7 +16,7 @@ import TypeWafRule from './TypeWafRule';
/**
* The RelationshipMemberWafRule model module.
* @module model/RelationshipMemberWafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafRule {
/**
diff --git a/src/model/RelationshipMemberWafRuleRevision.js b/src/model/RelationshipMemberWafRuleRevision.js
index f21087613..6c0d34741 100644
--- a/src/model/RelationshipMemberWafRuleRevision.js
+++ b/src/model/RelationshipMemberWafRuleRevision.js
@@ -16,7 +16,7 @@ import TypeWafRuleRevision from './TypeWafRuleRevision';
/**
* The RelationshipMemberWafRuleRevision model module.
* @module model/RelationshipMemberWafRuleRevision
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafRuleRevision {
/**
diff --git a/src/model/RelationshipMemberWafTag.js b/src/model/RelationshipMemberWafTag.js
index 2c3c3736f..d38e6adbe 100644
--- a/src/model/RelationshipMemberWafTag.js
+++ b/src/model/RelationshipMemberWafTag.js
@@ -16,7 +16,7 @@ import TypeWafTag from './TypeWafTag';
/**
* The RelationshipMemberWafTag model module.
* @module model/RelationshipMemberWafTag
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMemberWafTag {
/**
diff --git a/src/model/RelationshipMutualAuthentication.js b/src/model/RelationshipMutualAuthentication.js
index 25722474e..a5ffa504d 100644
--- a/src/model/RelationshipMutualAuthentication.js
+++ b/src/model/RelationshipMutualAuthentication.js
@@ -16,7 +16,7 @@ import RelationshipMutualAuthenticationMutualAuthentication from './Relationship
/**
* The RelationshipMutualAuthentication model module.
* @module model/RelationshipMutualAuthentication
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMutualAuthentication {
/**
diff --git a/src/model/RelationshipMutualAuthenticationMutualAuthentication.js b/src/model/RelationshipMutualAuthenticationMutualAuthentication.js
index 217d8cd17..2ee343998 100644
--- a/src/model/RelationshipMutualAuthenticationMutualAuthentication.js
+++ b/src/model/RelationshipMutualAuthenticationMutualAuthentication.js
@@ -16,7 +16,7 @@ import RelationshipMemberMutualAuthentication from './RelationshipMemberMutualAu
/**
* The RelationshipMutualAuthenticationMutualAuthentication model module.
* @module model/RelationshipMutualAuthenticationMutualAuthentication
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMutualAuthenticationMutualAuthentication {
/**
diff --git a/src/model/RelationshipMutualAuthentications.js b/src/model/RelationshipMutualAuthentications.js
index 10b01d34f..e5d0d3e19 100644
--- a/src/model/RelationshipMutualAuthentications.js
+++ b/src/model/RelationshipMutualAuthentications.js
@@ -16,7 +16,7 @@ import RelationshipMutualAuthenticationsMutualAuthentications from './Relationsh
/**
* The RelationshipMutualAuthentications model module.
* @module model/RelationshipMutualAuthentications
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMutualAuthentications {
/**
diff --git a/src/model/RelationshipMutualAuthenticationsMutualAuthentications.js b/src/model/RelationshipMutualAuthenticationsMutualAuthentications.js
index 37f973763..3b8f09f68 100644
--- a/src/model/RelationshipMutualAuthenticationsMutualAuthentications.js
+++ b/src/model/RelationshipMutualAuthenticationsMutualAuthentications.js
@@ -16,7 +16,7 @@ import RelationshipMemberMutualAuthentication from './RelationshipMemberMutualAu
/**
* The RelationshipMutualAuthenticationsMutualAuthentications model module.
* @module model/RelationshipMutualAuthenticationsMutualAuthentications
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipMutualAuthenticationsMutualAuthentications {
/**
diff --git a/src/model/RelationshipService.js b/src/model/RelationshipService.js
index 5a557299d..f1dd789df 100644
--- a/src/model/RelationshipService.js
+++ b/src/model/RelationshipService.js
@@ -16,7 +16,7 @@ import RelationshipMemberService from './RelationshipMemberService';
/**
* The RelationshipService model module.
* @module model/RelationshipService
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipService {
/**
diff --git a/src/model/RelationshipServiceInvitations.js b/src/model/RelationshipServiceInvitations.js
index 6b679bcc5..650b9c9df 100644
--- a/src/model/RelationshipServiceInvitations.js
+++ b/src/model/RelationshipServiceInvitations.js
@@ -16,7 +16,7 @@ import RelationshipServiceInvitationsServiceInvitations from './RelationshipServ
/**
* The RelationshipServiceInvitations model module.
* @module model/RelationshipServiceInvitations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServiceInvitations {
/**
diff --git a/src/model/RelationshipServiceInvitationsCreate.js b/src/model/RelationshipServiceInvitationsCreate.js
index 7e56c7067..aebf3d1ef 100644
--- a/src/model/RelationshipServiceInvitationsCreate.js
+++ b/src/model/RelationshipServiceInvitationsCreate.js
@@ -16,7 +16,7 @@ import RelationshipServiceInvitationsCreateServiceInvitations from './Relationsh
/**
* The RelationshipServiceInvitationsCreate model module.
* @module model/RelationshipServiceInvitationsCreate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServiceInvitationsCreate {
/**
diff --git a/src/model/RelationshipServiceInvitationsCreateServiceInvitations.js b/src/model/RelationshipServiceInvitationsCreateServiceInvitations.js
index 8c1acc243..a3ea72c0b 100644
--- a/src/model/RelationshipServiceInvitationsCreateServiceInvitations.js
+++ b/src/model/RelationshipServiceInvitationsCreateServiceInvitations.js
@@ -16,7 +16,7 @@ import ServiceInvitation from './ServiceInvitation';
/**
* The RelationshipServiceInvitationsCreateServiceInvitations model module.
* @module model/RelationshipServiceInvitationsCreateServiceInvitations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServiceInvitationsCreateServiceInvitations {
/**
diff --git a/src/model/RelationshipServiceInvitationsServiceInvitations.js b/src/model/RelationshipServiceInvitationsServiceInvitations.js
index 3af5c44fb..389fcff4a 100644
--- a/src/model/RelationshipServiceInvitationsServiceInvitations.js
+++ b/src/model/RelationshipServiceInvitationsServiceInvitations.js
@@ -16,7 +16,7 @@ import RelationshipMemberServiceInvitation from './RelationshipMemberServiceInvi
/**
* The RelationshipServiceInvitationsServiceInvitations model module.
* @module model/RelationshipServiceInvitationsServiceInvitations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServiceInvitationsServiceInvitations {
/**
diff --git a/src/model/RelationshipServices.js b/src/model/RelationshipServices.js
index af6dae5e5..b0213cc71 100644
--- a/src/model/RelationshipServices.js
+++ b/src/model/RelationshipServices.js
@@ -16,7 +16,7 @@ import RelationshipServicesServices from './RelationshipServicesServices';
/**
* The RelationshipServices model module.
* @module model/RelationshipServices
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServices {
/**
diff --git a/src/model/RelationshipServicesServices.js b/src/model/RelationshipServicesServices.js
index cd86d56d9..daf5a4e8f 100644
--- a/src/model/RelationshipServicesServices.js
+++ b/src/model/RelationshipServicesServices.js
@@ -16,7 +16,7 @@ import RelationshipMemberService from './RelationshipMemberService';
/**
* The RelationshipServicesServices model module.
* @module model/RelationshipServicesServices
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipServicesServices {
/**
diff --git a/src/model/RelationshipTlsActivation.js b/src/model/RelationshipTlsActivation.js
index d39cb0857..20681bffc 100644
--- a/src/model/RelationshipTlsActivation.js
+++ b/src/model/RelationshipTlsActivation.js
@@ -16,7 +16,7 @@ import RelationshipTlsActivationTlsActivation from './RelationshipTlsActivationT
/**
* The RelationshipTlsActivation model module.
* @module model/RelationshipTlsActivation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsActivation {
/**
diff --git a/src/model/RelationshipTlsActivationTlsActivation.js b/src/model/RelationshipTlsActivationTlsActivation.js
index 7b97ceb8d..b00f04cb5 100644
--- a/src/model/RelationshipTlsActivationTlsActivation.js
+++ b/src/model/RelationshipTlsActivationTlsActivation.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsActivation from './RelationshipMemberTlsActivation';
/**
* The RelationshipTlsActivationTlsActivation model module.
* @module model/RelationshipTlsActivationTlsActivation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsActivationTlsActivation {
/**
diff --git a/src/model/RelationshipTlsActivations.js b/src/model/RelationshipTlsActivations.js
index 67ea27a95..fd5f02d2e 100644
--- a/src/model/RelationshipTlsActivations.js
+++ b/src/model/RelationshipTlsActivations.js
@@ -16,7 +16,7 @@ import RelationshipTlsActivationTlsActivation from './RelationshipTlsActivationT
/**
* The RelationshipTlsActivations model module.
* @module model/RelationshipTlsActivations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsActivations {
/**
diff --git a/src/model/RelationshipTlsBulkCertificate.js b/src/model/RelationshipTlsBulkCertificate.js
index 4c281f89e..1b4875b2d 100644
--- a/src/model/RelationshipTlsBulkCertificate.js
+++ b/src/model/RelationshipTlsBulkCertificate.js
@@ -16,7 +16,7 @@ import RelationshipTlsBulkCertificateTlsBulkCertificate from './RelationshipTlsB
/**
* The RelationshipTlsBulkCertificate model module.
* @module model/RelationshipTlsBulkCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsBulkCertificate {
/**
diff --git a/src/model/RelationshipTlsBulkCertificateTlsBulkCertificate.js b/src/model/RelationshipTlsBulkCertificateTlsBulkCertificate.js
index 891de4a67..0e17f56ce 100644
--- a/src/model/RelationshipTlsBulkCertificateTlsBulkCertificate.js
+++ b/src/model/RelationshipTlsBulkCertificateTlsBulkCertificate.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsBulkCertificate from './RelationshipMemberTlsBulkCer
/**
* The RelationshipTlsBulkCertificateTlsBulkCertificate model module.
* @module model/RelationshipTlsBulkCertificateTlsBulkCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsBulkCertificateTlsBulkCertificate {
/**
diff --git a/src/model/RelationshipTlsBulkCertificates.js b/src/model/RelationshipTlsBulkCertificates.js
index 67e870464..b8a3ffbdf 100644
--- a/src/model/RelationshipTlsBulkCertificates.js
+++ b/src/model/RelationshipTlsBulkCertificates.js
@@ -16,7 +16,7 @@ import RelationshipTlsBulkCertificateTlsBulkCertificate from './RelationshipTlsB
/**
* The RelationshipTlsBulkCertificates model module.
* @module model/RelationshipTlsBulkCertificates
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsBulkCertificates {
/**
diff --git a/src/model/RelationshipTlsCertificate.js b/src/model/RelationshipTlsCertificate.js
index 1bd5edac3..58495b1ff 100644
--- a/src/model/RelationshipTlsCertificate.js
+++ b/src/model/RelationshipTlsCertificate.js
@@ -16,7 +16,7 @@ import RelationshipTlsCertificateTlsCertificate from './RelationshipTlsCertifica
/**
* The RelationshipTlsCertificate model module.
* @module model/RelationshipTlsCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsCertificate {
/**
diff --git a/src/model/RelationshipTlsCertificateTlsCertificate.js b/src/model/RelationshipTlsCertificateTlsCertificate.js
index 0160e87f5..94c1fc426 100644
--- a/src/model/RelationshipTlsCertificateTlsCertificate.js
+++ b/src/model/RelationshipTlsCertificateTlsCertificate.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsCertificate from './RelationshipMemberTlsCertificate
/**
* The RelationshipTlsCertificateTlsCertificate model module.
* @module model/RelationshipTlsCertificateTlsCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsCertificateTlsCertificate {
/**
diff --git a/src/model/RelationshipTlsCertificates.js b/src/model/RelationshipTlsCertificates.js
index 24e42d1f3..8f222f9eb 100644
--- a/src/model/RelationshipTlsCertificates.js
+++ b/src/model/RelationshipTlsCertificates.js
@@ -16,7 +16,7 @@ import RelationshipTlsCertificatesTlsCertificates from './RelationshipTlsCertifi
/**
* The RelationshipTlsCertificates model module.
* @module model/RelationshipTlsCertificates
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsCertificates {
/**
diff --git a/src/model/RelationshipTlsCertificatesTlsCertificates.js b/src/model/RelationshipTlsCertificatesTlsCertificates.js
index 9ab779246..e816dc455 100644
--- a/src/model/RelationshipTlsCertificatesTlsCertificates.js
+++ b/src/model/RelationshipTlsCertificatesTlsCertificates.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsCertificate from './RelationshipMemberTlsCertificate
/**
* The RelationshipTlsCertificatesTlsCertificates model module.
* @module model/RelationshipTlsCertificatesTlsCertificates
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsCertificatesTlsCertificates {
/**
diff --git a/src/model/RelationshipTlsConfiguration.js b/src/model/RelationshipTlsConfiguration.js
index cada2e051..43496c8f0 100644
--- a/src/model/RelationshipTlsConfiguration.js
+++ b/src/model/RelationshipTlsConfiguration.js
@@ -16,7 +16,7 @@ import RelationshipTlsConfigurationTlsConfiguration from './RelationshipTlsConfi
/**
* The RelationshipTlsConfiguration model module.
* @module model/RelationshipTlsConfiguration
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsConfiguration {
/**
diff --git a/src/model/RelationshipTlsConfigurationForTlsSubscription.js b/src/model/RelationshipTlsConfigurationForTlsSubscription.js
index acb1f27f0..c148d79d0 100644
--- a/src/model/RelationshipTlsConfigurationForTlsSubscription.js
+++ b/src/model/RelationshipTlsConfigurationForTlsSubscription.js
@@ -16,7 +16,7 @@ import RelationshipTlsConfigurationTlsConfiguration from './RelationshipTlsConfi
/**
* The RelationshipTlsConfigurationForTlsSubscription model module.
* @module model/RelationshipTlsConfigurationForTlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsConfigurationForTlsSubscription {
/**
diff --git a/src/model/RelationshipTlsConfigurationTlsConfiguration.js b/src/model/RelationshipTlsConfigurationTlsConfiguration.js
index 38fe5b1bc..e636dfcbc 100644
--- a/src/model/RelationshipTlsConfigurationTlsConfiguration.js
+++ b/src/model/RelationshipTlsConfigurationTlsConfiguration.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsConfiguration from './RelationshipMemberTlsConfigura
/**
* The RelationshipTlsConfigurationTlsConfiguration model module.
* @module model/RelationshipTlsConfigurationTlsConfiguration
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsConfigurationTlsConfiguration {
/**
diff --git a/src/model/RelationshipTlsConfigurations.js b/src/model/RelationshipTlsConfigurations.js
index b85895375..f660c68e1 100644
--- a/src/model/RelationshipTlsConfigurations.js
+++ b/src/model/RelationshipTlsConfigurations.js
@@ -16,7 +16,7 @@ import RelationshipTlsConfigurationsTlsConfigurations from './RelationshipTlsCon
/**
* The RelationshipTlsConfigurations model module.
* @module model/RelationshipTlsConfigurations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsConfigurations {
/**
diff --git a/src/model/RelationshipTlsConfigurationsTlsConfigurations.js b/src/model/RelationshipTlsConfigurationsTlsConfigurations.js
index a3c52c7eb..b8b99a730 100644
--- a/src/model/RelationshipTlsConfigurationsTlsConfigurations.js
+++ b/src/model/RelationshipTlsConfigurationsTlsConfigurations.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsConfiguration from './RelationshipMemberTlsConfigura
/**
* The RelationshipTlsConfigurationsTlsConfigurations model module.
* @module model/RelationshipTlsConfigurationsTlsConfigurations
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsConfigurationsTlsConfigurations {
/**
diff --git a/src/model/RelationshipTlsDnsRecord.js b/src/model/RelationshipTlsDnsRecord.js
index b4c4bf844..704974cb8 100644
--- a/src/model/RelationshipTlsDnsRecord.js
+++ b/src/model/RelationshipTlsDnsRecord.js
@@ -16,7 +16,7 @@ import RelationshipTlsDnsRecordDnsRecord from './RelationshipTlsDnsRecordDnsReco
/**
* The RelationshipTlsDnsRecord model module.
* @module model/RelationshipTlsDnsRecord
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDnsRecord {
/**
diff --git a/src/model/RelationshipTlsDnsRecordDnsRecord.js b/src/model/RelationshipTlsDnsRecordDnsRecord.js
index bae4bd18f..b3ec5577e 100644
--- a/src/model/RelationshipTlsDnsRecordDnsRecord.js
+++ b/src/model/RelationshipTlsDnsRecordDnsRecord.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsDnsRecord from './RelationshipMemberTlsDnsRecord';
/**
* The RelationshipTlsDnsRecordDnsRecord model module.
* @module model/RelationshipTlsDnsRecordDnsRecord
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDnsRecordDnsRecord {
/**
diff --git a/src/model/RelationshipTlsDnsRecords.js b/src/model/RelationshipTlsDnsRecords.js
index f2c8491d8..e4e8a8959 100644
--- a/src/model/RelationshipTlsDnsRecords.js
+++ b/src/model/RelationshipTlsDnsRecords.js
@@ -16,7 +16,7 @@ import RelationshipTlsDnsRecordDnsRecord from './RelationshipTlsDnsRecordDnsReco
/**
* The RelationshipTlsDnsRecords model module.
* @module model/RelationshipTlsDnsRecords
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDnsRecords {
/**
diff --git a/src/model/RelationshipTlsDomain.js b/src/model/RelationshipTlsDomain.js
index 8a41cd28b..742280e94 100644
--- a/src/model/RelationshipTlsDomain.js
+++ b/src/model/RelationshipTlsDomain.js
@@ -16,7 +16,7 @@ import RelationshipTlsDomainTlsDomain from './RelationshipTlsDomainTlsDomain';
/**
* The RelationshipTlsDomain model module.
* @module model/RelationshipTlsDomain
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDomain {
/**
diff --git a/src/model/RelationshipTlsDomainTlsDomain.js b/src/model/RelationshipTlsDomainTlsDomain.js
index 9dcb0d747..44751cce0 100644
--- a/src/model/RelationshipTlsDomainTlsDomain.js
+++ b/src/model/RelationshipTlsDomainTlsDomain.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsDomain from './RelationshipMemberTlsDomain';
/**
* The RelationshipTlsDomainTlsDomain model module.
* @module model/RelationshipTlsDomainTlsDomain
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDomainTlsDomain {
/**
diff --git a/src/model/RelationshipTlsDomains.js b/src/model/RelationshipTlsDomains.js
index ec9e255e9..b813c53f4 100644
--- a/src/model/RelationshipTlsDomains.js
+++ b/src/model/RelationshipTlsDomains.js
@@ -16,7 +16,7 @@ import RelationshipTlsDomainsTlsDomains from './RelationshipTlsDomainsTlsDomains
/**
* The RelationshipTlsDomains model module.
* @module model/RelationshipTlsDomains
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDomains {
/**
diff --git a/src/model/RelationshipTlsDomainsTlsDomains.js b/src/model/RelationshipTlsDomainsTlsDomains.js
index 085cebc70..9bf03d2dd 100644
--- a/src/model/RelationshipTlsDomainsTlsDomains.js
+++ b/src/model/RelationshipTlsDomainsTlsDomains.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsDomain from './RelationshipMemberTlsDomain';
/**
* The RelationshipTlsDomainsTlsDomains model module.
* @module model/RelationshipTlsDomainsTlsDomains
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsDomainsTlsDomains {
/**
diff --git a/src/model/RelationshipTlsPrivateKey.js b/src/model/RelationshipTlsPrivateKey.js
index 38274e308..6716f9d27 100644
--- a/src/model/RelationshipTlsPrivateKey.js
+++ b/src/model/RelationshipTlsPrivateKey.js
@@ -16,7 +16,7 @@ import RelationshipTlsPrivateKeyTlsPrivateKey from './RelationshipTlsPrivateKeyT
/**
* The RelationshipTlsPrivateKey model module.
* @module model/RelationshipTlsPrivateKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsPrivateKey {
/**
diff --git a/src/model/RelationshipTlsPrivateKeyTlsPrivateKey.js b/src/model/RelationshipTlsPrivateKeyTlsPrivateKey.js
index 40e930e68..caabafa99 100644
--- a/src/model/RelationshipTlsPrivateKeyTlsPrivateKey.js
+++ b/src/model/RelationshipTlsPrivateKeyTlsPrivateKey.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsPrivateKey from './RelationshipMemberTlsPrivateKey';
/**
* The RelationshipTlsPrivateKeyTlsPrivateKey model module.
* @module model/RelationshipTlsPrivateKeyTlsPrivateKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsPrivateKeyTlsPrivateKey {
/**
diff --git a/src/model/RelationshipTlsPrivateKeys.js b/src/model/RelationshipTlsPrivateKeys.js
index 7aaf49606..3d5ea2657 100644
--- a/src/model/RelationshipTlsPrivateKeys.js
+++ b/src/model/RelationshipTlsPrivateKeys.js
@@ -16,7 +16,7 @@ import RelationshipTlsPrivateKeysTlsPrivateKeys from './RelationshipTlsPrivateKe
/**
* The RelationshipTlsPrivateKeys model module.
* @module model/RelationshipTlsPrivateKeys
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsPrivateKeys {
/**
diff --git a/src/model/RelationshipTlsPrivateKeysTlsPrivateKeys.js b/src/model/RelationshipTlsPrivateKeysTlsPrivateKeys.js
index 4e371e4c6..2ffae04e3 100644
--- a/src/model/RelationshipTlsPrivateKeysTlsPrivateKeys.js
+++ b/src/model/RelationshipTlsPrivateKeysTlsPrivateKeys.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsPrivateKey from './RelationshipMemberTlsPrivateKey';
/**
* The RelationshipTlsPrivateKeysTlsPrivateKeys model module.
* @module model/RelationshipTlsPrivateKeysTlsPrivateKeys
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsPrivateKeysTlsPrivateKeys {
/**
diff --git a/src/model/RelationshipTlsSubscription.js b/src/model/RelationshipTlsSubscription.js
index 06ed1a29d..7952f8f61 100644
--- a/src/model/RelationshipTlsSubscription.js
+++ b/src/model/RelationshipTlsSubscription.js
@@ -16,7 +16,7 @@ import RelationshipTlsSubscriptionTlsSubscription from './RelationshipTlsSubscri
/**
* The RelationshipTlsSubscription model module.
* @module model/RelationshipTlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsSubscription {
/**
diff --git a/src/model/RelationshipTlsSubscriptionTlsSubscription.js b/src/model/RelationshipTlsSubscriptionTlsSubscription.js
index 615224706..0e4c3ac89 100644
--- a/src/model/RelationshipTlsSubscriptionTlsSubscription.js
+++ b/src/model/RelationshipTlsSubscriptionTlsSubscription.js
@@ -16,7 +16,7 @@ import RelationshipMemberTlsSubscription from './RelationshipMemberTlsSubscripti
/**
* The RelationshipTlsSubscriptionTlsSubscription model module.
* @module model/RelationshipTlsSubscriptionTlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsSubscriptionTlsSubscription {
/**
diff --git a/src/model/RelationshipTlsSubscriptions.js b/src/model/RelationshipTlsSubscriptions.js
index 7519338ef..f736f9dfb 100644
--- a/src/model/RelationshipTlsSubscriptions.js
+++ b/src/model/RelationshipTlsSubscriptions.js
@@ -16,7 +16,7 @@ import RelationshipTlsSubscriptionTlsSubscription from './RelationshipTlsSubscri
/**
* The RelationshipTlsSubscriptions model module.
* @module model/RelationshipTlsSubscriptions
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipTlsSubscriptions {
/**
diff --git a/src/model/RelationshipUser.js b/src/model/RelationshipUser.js
index 38c52cf36..aa32c116d 100644
--- a/src/model/RelationshipUser.js
+++ b/src/model/RelationshipUser.js
@@ -16,7 +16,7 @@ import RelationshipUserUser from './RelationshipUserUser';
/**
* The RelationshipUser model module.
* @module model/RelationshipUser
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipUser {
/**
diff --git a/src/model/RelationshipUserUser.js b/src/model/RelationshipUserUser.js
index 0064349a1..f30ffdf92 100644
--- a/src/model/RelationshipUserUser.js
+++ b/src/model/RelationshipUserUser.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationDataRelationshipsUserData from './ServiceAuthorizatio
/**
* The RelationshipUserUser model module.
* @module model/RelationshipUserUser
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipUserUser {
/**
diff --git a/src/model/RelationshipWafActiveRules.js b/src/model/RelationshipWafActiveRules.js
index 102822698..760aef53d 100644
--- a/src/model/RelationshipWafActiveRules.js
+++ b/src/model/RelationshipWafActiveRules.js
@@ -16,7 +16,7 @@ import RelationshipWafActiveRulesWafActiveRules from './RelationshipWafActiveRul
/**
* The RelationshipWafActiveRules model module.
* @module model/RelationshipWafActiveRules
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafActiveRules {
/**
diff --git a/src/model/RelationshipWafActiveRulesWafActiveRules.js b/src/model/RelationshipWafActiveRulesWafActiveRules.js
index 95519e33e..b1335ec8b 100644
--- a/src/model/RelationshipWafActiveRulesWafActiveRules.js
+++ b/src/model/RelationshipWafActiveRulesWafActiveRules.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafActiveRule from './RelationshipMemberWafActiveRule';
/**
* The RelationshipWafActiveRulesWafActiveRules model module.
* @module model/RelationshipWafActiveRulesWafActiveRules
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafActiveRulesWafActiveRules {
/**
diff --git a/src/model/RelationshipWafFirewall.js b/src/model/RelationshipWafFirewall.js
index e93275200..50cf576fb 100644
--- a/src/model/RelationshipWafFirewall.js
+++ b/src/model/RelationshipWafFirewall.js
@@ -16,7 +16,7 @@ import RelationshipWafFirewallWafFirewall from './RelationshipWafFirewallWafFire
/**
* The RelationshipWafFirewall model module.
* @module model/RelationshipWafFirewall
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafFirewall {
/**
diff --git a/src/model/RelationshipWafFirewallVersion.js b/src/model/RelationshipWafFirewallVersion.js
index fb69fbf9f..2bdbc35ac 100644
--- a/src/model/RelationshipWafFirewallVersion.js
+++ b/src/model/RelationshipWafFirewallVersion.js
@@ -16,7 +16,7 @@ import RelationshipWafFirewallVersionWafFirewallVersion from './RelationshipWafF
/**
* The RelationshipWafFirewallVersion model module.
* @module model/RelationshipWafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafFirewallVersion {
/**
diff --git a/src/model/RelationshipWafFirewallVersionWafFirewallVersion.js b/src/model/RelationshipWafFirewallVersionWafFirewallVersion.js
index f8568716e..fda567c75 100644
--- a/src/model/RelationshipWafFirewallVersionWafFirewallVersion.js
+++ b/src/model/RelationshipWafFirewallVersionWafFirewallVersion.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafFirewallVersion from './RelationshipMemberWafFirewal
/**
* The RelationshipWafFirewallVersionWafFirewallVersion model module.
* @module model/RelationshipWafFirewallVersionWafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafFirewallVersionWafFirewallVersion {
/**
diff --git a/src/model/RelationshipWafFirewallVersions.js b/src/model/RelationshipWafFirewallVersions.js
index c9403e7b1..3fa64c2aa 100644
--- a/src/model/RelationshipWafFirewallVersions.js
+++ b/src/model/RelationshipWafFirewallVersions.js
@@ -16,7 +16,7 @@ import RelationshipWafFirewallVersionWafFirewallVersion from './RelationshipWafF
/**
* The RelationshipWafFirewallVersions model module.
* @module model/RelationshipWafFirewallVersions
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafFirewallVersions {
/**
diff --git a/src/model/RelationshipWafFirewallWafFirewall.js b/src/model/RelationshipWafFirewallWafFirewall.js
index ef7996bdf..3b95b0e9c 100644
--- a/src/model/RelationshipWafFirewallWafFirewall.js
+++ b/src/model/RelationshipWafFirewallWafFirewall.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafFirewall from './RelationshipMemberWafFirewall';
/**
* The RelationshipWafFirewallWafFirewall model module.
* @module model/RelationshipWafFirewallWafFirewall
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafFirewallWafFirewall {
/**
diff --git a/src/model/RelationshipWafRule.js b/src/model/RelationshipWafRule.js
index a2bce3d7b..18d1c608a 100644
--- a/src/model/RelationshipWafRule.js
+++ b/src/model/RelationshipWafRule.js
@@ -16,7 +16,7 @@ import RelationshipWafRuleWafRule from './RelationshipWafRuleWafRule';
/**
* The RelationshipWafRule model module.
* @module model/RelationshipWafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRule {
/**
diff --git a/src/model/RelationshipWafRuleRevision.js b/src/model/RelationshipWafRuleRevision.js
index 1e8ca9b44..e7aca22b6 100644
--- a/src/model/RelationshipWafRuleRevision.js
+++ b/src/model/RelationshipWafRuleRevision.js
@@ -16,7 +16,7 @@ import RelationshipWafRuleRevisionWafRuleRevisions from './RelationshipWafRuleRe
/**
* The RelationshipWafRuleRevision model module.
* @module model/RelationshipWafRuleRevision
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRuleRevision {
/**
diff --git a/src/model/RelationshipWafRuleRevisionWafRuleRevisions.js b/src/model/RelationshipWafRuleRevisionWafRuleRevisions.js
index 225e9f9fe..a264999d4 100644
--- a/src/model/RelationshipWafRuleRevisionWafRuleRevisions.js
+++ b/src/model/RelationshipWafRuleRevisionWafRuleRevisions.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafRuleRevision from './RelationshipMemberWafRuleRevisi
/**
* The RelationshipWafRuleRevisionWafRuleRevisions model module.
* @module model/RelationshipWafRuleRevisionWafRuleRevisions
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRuleRevisionWafRuleRevisions {
/**
diff --git a/src/model/RelationshipWafRuleRevisions.js b/src/model/RelationshipWafRuleRevisions.js
index d423a2ca7..d36ae09fe 100644
--- a/src/model/RelationshipWafRuleRevisions.js
+++ b/src/model/RelationshipWafRuleRevisions.js
@@ -16,7 +16,7 @@ import RelationshipWafRuleRevisionWafRuleRevisions from './RelationshipWafRuleRe
/**
* The RelationshipWafRuleRevisions model module.
* @module model/RelationshipWafRuleRevisions
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRuleRevisions {
/**
diff --git a/src/model/RelationshipWafRuleWafRule.js b/src/model/RelationshipWafRuleWafRule.js
index c36d77921..8b077f17b 100644
--- a/src/model/RelationshipWafRuleWafRule.js
+++ b/src/model/RelationshipWafRuleWafRule.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafRule from './RelationshipMemberWafRule';
/**
* The RelationshipWafRuleWafRule model module.
* @module model/RelationshipWafRuleWafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRuleWafRule {
/**
diff --git a/src/model/RelationshipWafRules.js b/src/model/RelationshipWafRules.js
index 7fbe8bfe6..d435b564a 100644
--- a/src/model/RelationshipWafRules.js
+++ b/src/model/RelationshipWafRules.js
@@ -16,7 +16,7 @@ import RelationshipWafRuleWafRule from './RelationshipWafRuleWafRule';
/**
* The RelationshipWafRules model module.
* @module model/RelationshipWafRules
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafRules {
/**
diff --git a/src/model/RelationshipWafTags.js b/src/model/RelationshipWafTags.js
index 8a58a8592..e577dc187 100644
--- a/src/model/RelationshipWafTags.js
+++ b/src/model/RelationshipWafTags.js
@@ -16,7 +16,7 @@ import RelationshipWafTagsWafTags from './RelationshipWafTagsWafTags';
/**
* The RelationshipWafTags model module.
* @module model/RelationshipWafTags
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafTags {
/**
diff --git a/src/model/RelationshipWafTagsWafTags.js b/src/model/RelationshipWafTagsWafTags.js
index 07960c5a1..254299b52 100644
--- a/src/model/RelationshipWafTagsWafTags.js
+++ b/src/model/RelationshipWafTagsWafTags.js
@@ -16,7 +16,7 @@ import RelationshipMemberWafTag from './RelationshipMemberWafTag';
/**
* The RelationshipWafTagsWafTags model module.
* @module model/RelationshipWafTagsWafTags
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipWafTagsWafTags {
/**
diff --git a/src/model/RelationshipsForInvitation.js b/src/model/RelationshipsForInvitation.js
index 72006bd29..d706e9aa9 100644
--- a/src/model/RelationshipsForInvitation.js
+++ b/src/model/RelationshipsForInvitation.js
@@ -19,7 +19,7 @@ import RelationshipServiceInvitationsServiceInvitations from './RelationshipServ
/**
* The RelationshipsForInvitation model module.
* @module model/RelationshipsForInvitation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForInvitation {
/**
diff --git a/src/model/RelationshipsForMutualAuthentication.js b/src/model/RelationshipsForMutualAuthentication.js
index 712b94563..2e8d19a3b 100644
--- a/src/model/RelationshipsForMutualAuthentication.js
+++ b/src/model/RelationshipsForMutualAuthentication.js
@@ -17,7 +17,7 @@ import RelationshipTlsActivations from './RelationshipTlsActivations';
/**
* The RelationshipsForMutualAuthentication model module.
* @module model/RelationshipsForMutualAuthentication
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForMutualAuthentication {
/**
diff --git a/src/model/RelationshipsForStar.js b/src/model/RelationshipsForStar.js
index 7f000d842..bf3e3f69e 100644
--- a/src/model/RelationshipsForStar.js
+++ b/src/model/RelationshipsForStar.js
@@ -19,7 +19,7 @@ import RelationshipUserUser from './RelationshipUserUser';
/**
* The RelationshipsForStar model module.
* @module model/RelationshipsForStar
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForStar {
/**
diff --git a/src/model/RelationshipsForTlsActivation.js b/src/model/RelationshipsForTlsActivation.js
index c307ebc7d..187658d93 100644
--- a/src/model/RelationshipsForTlsActivation.js
+++ b/src/model/RelationshipsForTlsActivation.js
@@ -21,7 +21,7 @@ import RelationshipTlsDomainTlsDomain from './RelationshipTlsDomainTlsDomain';
/**
* The RelationshipsForTlsActivation model module.
* @module model/RelationshipsForTlsActivation
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsActivation {
/**
diff --git a/src/model/RelationshipsForTlsBulkCertificate.js b/src/model/RelationshipsForTlsBulkCertificate.js
index ccd9ffaf4..a825b4323 100644
--- a/src/model/RelationshipsForTlsBulkCertificate.js
+++ b/src/model/RelationshipsForTlsBulkCertificate.js
@@ -18,7 +18,7 @@ import RelationshipTlsDomainsTlsDomains from './RelationshipTlsDomainsTlsDomains
/**
* The RelationshipsForTlsBulkCertificate model module.
* @module model/RelationshipsForTlsBulkCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsBulkCertificate {
/**
diff --git a/src/model/RelationshipsForTlsConfiguration.js b/src/model/RelationshipsForTlsConfiguration.js
index 2c15bdc0a..c7b7c8390 100644
--- a/src/model/RelationshipsForTlsConfiguration.js
+++ b/src/model/RelationshipsForTlsConfiguration.js
@@ -16,7 +16,7 @@ import RelationshipMemberService from './RelationshipMemberService';
/**
* The RelationshipsForTlsConfiguration model module.
* @module model/RelationshipsForTlsConfiguration
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsConfiguration {
/**
diff --git a/src/model/RelationshipsForTlsDomain.js b/src/model/RelationshipsForTlsDomain.js
index 8e2f12f3d..2ce66f569 100644
--- a/src/model/RelationshipsForTlsDomain.js
+++ b/src/model/RelationshipsForTlsDomain.js
@@ -18,7 +18,7 @@ import RelationshipTlsSubscriptions from './RelationshipTlsSubscriptions';
/**
* The RelationshipsForTlsDomain model module.
* @module model/RelationshipsForTlsDomain
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsDomain {
/**
diff --git a/src/model/RelationshipsForTlsPrivateKey.js b/src/model/RelationshipsForTlsPrivateKey.js
index aefef8858..524c6a014 100644
--- a/src/model/RelationshipsForTlsPrivateKey.js
+++ b/src/model/RelationshipsForTlsPrivateKey.js
@@ -18,7 +18,7 @@ import RelationshipTlsDomainsTlsDomains from './RelationshipTlsDomainsTlsDomains
/**
* The RelationshipsForTlsPrivateKey model module.
* @module model/RelationshipsForTlsPrivateKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsPrivateKey {
/**
diff --git a/src/model/RelationshipsForTlsSubscription.js b/src/model/RelationshipsForTlsSubscription.js
index 801036a3e..4019b0f66 100644
--- a/src/model/RelationshipsForTlsSubscription.js
+++ b/src/model/RelationshipsForTlsSubscription.js
@@ -23,7 +23,7 @@ import RelationshipTlsDomainsTlsDomains from './RelationshipTlsDomainsTlsDomains
/**
* The RelationshipsForTlsSubscription model module.
* @module model/RelationshipsForTlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForTlsSubscription {
/**
diff --git a/src/model/RelationshipsForWafActiveRule.js b/src/model/RelationshipsForWafActiveRule.js
index 1f4dd7847..013d32e67 100644
--- a/src/model/RelationshipsForWafActiveRule.js
+++ b/src/model/RelationshipsForWafActiveRule.js
@@ -19,7 +19,7 @@ import RelationshipWafRuleRevisionWafRuleRevisions from './RelationshipWafRuleRe
/**
* The RelationshipsForWafActiveRule model module.
* @module model/RelationshipsForWafActiveRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForWafActiveRule {
/**
diff --git a/src/model/RelationshipsForWafExclusion.js b/src/model/RelationshipsForWafExclusion.js
index c5443f257..b5d7711a4 100644
--- a/src/model/RelationshipsForWafExclusion.js
+++ b/src/model/RelationshipsForWafExclusion.js
@@ -19,7 +19,7 @@ import RelationshipWafRules from './RelationshipWafRules';
/**
* The RelationshipsForWafExclusion model module.
* @module model/RelationshipsForWafExclusion
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForWafExclusion {
/**
diff --git a/src/model/RelationshipsForWafFirewallVersion.js b/src/model/RelationshipsForWafFirewallVersion.js
index a7fb30a58..fb6b05ace 100644
--- a/src/model/RelationshipsForWafFirewallVersion.js
+++ b/src/model/RelationshipsForWafFirewallVersion.js
@@ -19,7 +19,7 @@ import RelationshipWafFirewallVersions from './RelationshipWafFirewallVersions';
/**
* The RelationshipsForWafFirewallVersion model module.
* @module model/RelationshipsForWafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForWafFirewallVersion {
/**
diff --git a/src/model/RelationshipsForWafRule.js b/src/model/RelationshipsForWafRule.js
index c640556f5..0cb9929bf 100644
--- a/src/model/RelationshipsForWafRule.js
+++ b/src/model/RelationshipsForWafRule.js
@@ -19,7 +19,7 @@ import RelationshipWafTagsWafTags from './RelationshipWafTagsWafTags';
/**
* The RelationshipsForWafRule model module.
* @module model/RelationshipsForWafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class RelationshipsForWafRule {
/**
diff --git a/src/model/RequestSettings.js b/src/model/RequestSettingsAdditional.js
similarity index 53%
rename from src/model/RequestSettings.js
rename to src/model/RequestSettingsAdditional.js
index b22f5b251..9a7a2dbb4 100644
--- a/src/model/RequestSettings.js
+++ b/src/model/RequestSettingsAdditional.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The RequestSettings model module.
- * @module model/RequestSettings
- * @version 5.0.2
+ * The RequestSettingsAdditional model module.
+ * @module model/RequestSettingsAdditional
+ * @version 6.0.0
*/
-class RequestSettings {
+class RequestSettingsAdditional {
/**
- * Constructs a new RequestSettings
.
- * @alias module:model/RequestSettings
+ * Constructs a new RequestSettingsAdditional
.
+ * @alias module:model/RequestSettingsAdditional
*/
constructor() {
- RequestSettings.initialize(this);
+ RequestSettingsAdditional.initialize(this);
}
/**
@@ -36,49 +36,31 @@ class RequestSettings {
}
/**
- * Constructs a RequestSettings
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a RequestSettingsAdditional
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/RequestSettings} obj Optional instance to populate.
- * @return {module:model/RequestSettings} The populated RequestSettings
instance.
+ * @param {module:model/RequestSettingsAdditional} obj Optional instance to populate.
+ * @return {module:model/RequestSettingsAdditional} The populated RequestSettingsAdditional
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new RequestSettings();
+ obj = obj || new RequestSettingsAdditional();
if (data.hasOwnProperty('action')) {
obj['action'] = ApiClient.convertToType(data['action'], 'String');
}
- if (data.hasOwnProperty('bypass_busy_wait')) {
- obj['bypass_busy_wait'] = ApiClient.convertToType(data['bypass_busy_wait'], 'Number');
- }
if (data.hasOwnProperty('default_host')) {
obj['default_host'] = ApiClient.convertToType(data['default_host'], 'String');
}
- if (data.hasOwnProperty('force_miss')) {
- obj['force_miss'] = ApiClient.convertToType(data['force_miss'], 'Number');
- }
- if (data.hasOwnProperty('force_ssl')) {
- obj['force_ssl'] = ApiClient.convertToType(data['force_ssl'], 'Number');
- }
- if (data.hasOwnProperty('geo_headers')) {
- obj['geo_headers'] = ApiClient.convertToType(data['geo_headers'], 'Number');
- }
if (data.hasOwnProperty('hash_keys')) {
obj['hash_keys'] = ApiClient.convertToType(data['hash_keys'], 'String');
}
- if (data.hasOwnProperty('max_stale_age')) {
- obj['max_stale_age'] = ApiClient.convertToType(data['max_stale_age'], 'Number');
- }
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = ApiClient.convertToType(data['request_condition'], 'String');
}
- if (data.hasOwnProperty('timer_support')) {
- obj['timer_support'] = ApiClient.convertToType(data['timer_support'], 'Number');
- }
if (data.hasOwnProperty('xff')) {
obj['xff'] = ApiClient.convertToType(data['xff'], 'String');
}
@@ -91,75 +73,39 @@ class RequestSettings {
/**
* Allows you to terminate request handling and immediately perform an action.
- * @member {module:model/RequestSettings.ActionEnum} action
+ * @member {module:model/RequestSettingsAdditional.ActionEnum} action
*/
-RequestSettings.prototype['action'] = undefined;
-
-/**
- * Disable collapsed forwarding, so you don't wait for other objects to origin.
- * @member {Number} bypass_busy_wait
- */
-RequestSettings.prototype['bypass_busy_wait'] = undefined;
+RequestSettingsAdditional.prototype['action'] = undefined;
/**
* Sets the host header.
* @member {String} default_host
*/
-RequestSettings.prototype['default_host'] = undefined;
-
-/**
- * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
- * @member {Number} force_miss
- */
-RequestSettings.prototype['force_miss'] = undefined;
-
-/**
- * Forces the request use SSL (redirects a non-SSL to SSL).
- * @member {Number} force_ssl
- */
-RequestSettings.prototype['force_ssl'] = undefined;
-
-/**
- * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
- * @member {Number} geo_headers
- */
-RequestSettings.prototype['geo_headers'] = undefined;
+RequestSettingsAdditional.prototype['default_host'] = undefined;
/**
* Comma separated list of varnish request object fields that should be in the hash key.
* @member {String} hash_keys
*/
-RequestSettings.prototype['hash_keys'] = undefined;
-
-/**
- * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
- * @member {Number} max_stale_age
- */
-RequestSettings.prototype['max_stale_age'] = undefined;
+RequestSettingsAdditional.prototype['hash_keys'] = undefined;
/**
* Name for the request settings.
* @member {String} name
*/
-RequestSettings.prototype['name'] = undefined;
+RequestSettingsAdditional.prototype['name'] = undefined;
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-RequestSettings.prototype['request_condition'] = undefined;
-
-/**
- * Injects the X-Timer info into the request for viewing origin fetch durations.
- * @member {Number} timer_support
- */
-RequestSettings.prototype['timer_support'] = undefined;
+RequestSettingsAdditional.prototype['request_condition'] = undefined;
/**
* Short for X-Forwarded-For.
- * @member {module:model/RequestSettings.XffEnum} xff
+ * @member {module:model/RequestSettingsAdditional.XffEnum} xff
*/
-RequestSettings.prototype['xff'] = undefined;
+RequestSettingsAdditional.prototype['xff'] = undefined;
@@ -170,7 +116,7 @@ RequestSettings.prototype['xff'] = undefined;
* @enum {String}
* @readonly
*/
-RequestSettings['ActionEnum'] = {
+RequestSettingsAdditional['ActionEnum'] = {
/**
* value: "lookup"
@@ -191,7 +137,7 @@ RequestSettings['ActionEnum'] = {
* @enum {String}
* @readonly
*/
-RequestSettings['XffEnum'] = {
+RequestSettingsAdditional['XffEnum'] = {
/**
* value: "clear"
@@ -226,5 +172,5 @@ RequestSettings['XffEnum'] = {
-export default RequestSettings;
+export default RequestSettingsAdditional;
diff --git a/src/model/RequestSettingsResponse.js b/src/model/RequestSettingsResponse.js
index 95680bbb3..9afe04412 100644
--- a/src/model/RequestSettingsResponse.js
+++ b/src/model/RequestSettingsResponse.js
@@ -11,25 +11,27 @@
*/
import ApiClient from '../ApiClient';
-import RequestSettings from './RequestSettings';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import RequestSettingsAdditional from './RequestSettingsAdditional';
+import RequestSettingsResponseAllOf from './RequestSettingsResponseAllOf';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The RequestSettingsResponse model module.
* @module model/RequestSettingsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class RequestSettingsResponse {
/**
* Constructs a new RequestSettingsResponse
.
* @alias module:model/RequestSettingsResponse
- * @implements module:model/RequestSettings
- * @implements module:model/ServiceIdAndVersion
* @implements module:model/Timestamps
+ * @implements module:model/ServiceIdAndVersionString
+ * @implements module:model/RequestSettingsAdditional
+ * @implements module:model/RequestSettingsResponseAllOf
*/
constructor() {
- RequestSettings.initialize(this);ServiceIdAndVersion.initialize(this);Timestamps.initialize(this);
+ Timestamps.initialize(this);ServiceIdAndVersionString.initialize(this);RequestSettingsAdditional.initialize(this);RequestSettingsResponseAllOf.initialize(this);
RequestSettingsResponse.initialize(this);
}
@@ -51,60 +53,61 @@ class RequestSettingsResponse {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new RequestSettingsResponse();
- RequestSettings.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
+ RequestSettingsAdditional.constructFromObject(data, obj);
+ RequestSettingsResponseAllOf.constructFromObject(data, obj);
- if (data.hasOwnProperty('action')) {
- obj['action'] = ApiClient.convertToType(data['action'], 'String');
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
}
- if (data.hasOwnProperty('bypass_busy_wait')) {
- obj['bypass_busy_wait'] = ApiClient.convertToType(data['bypass_busy_wait'], 'Number');
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
}
- if (data.hasOwnProperty('default_host')) {
- obj['default_host'] = ApiClient.convertToType(data['default_host'], 'String');
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
}
- if (data.hasOwnProperty('force_miss')) {
- obj['force_miss'] = ApiClient.convertToType(data['force_miss'], 'Number');
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
- if (data.hasOwnProperty('force_ssl')) {
- obj['force_ssl'] = ApiClient.convertToType(data['force_ssl'], 'Number');
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
- if (data.hasOwnProperty('geo_headers')) {
- obj['geo_headers'] = ApiClient.convertToType(data['geo_headers'], 'Number');
+ if (data.hasOwnProperty('action')) {
+ obj['action'] = ApiClient.convertToType(data['action'], 'String');
+ }
+ if (data.hasOwnProperty('default_host')) {
+ obj['default_host'] = ApiClient.convertToType(data['default_host'], 'String');
}
if (data.hasOwnProperty('hash_keys')) {
obj['hash_keys'] = ApiClient.convertToType(data['hash_keys'], 'String');
}
- if (data.hasOwnProperty('max_stale_age')) {
- obj['max_stale_age'] = ApiClient.convertToType(data['max_stale_age'], 'Number');
- }
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = ApiClient.convertToType(data['request_condition'], 'String');
}
- if (data.hasOwnProperty('timer_support')) {
- obj['timer_support'] = ApiClient.convertToType(data['timer_support'], 'Number');
- }
if (data.hasOwnProperty('xff')) {
obj['xff'] = ApiClient.convertToType(data['xff'], 'String');
}
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('bypass_busy_wait')) {
+ obj['bypass_busy_wait'] = ApiClient.convertToType(data['bypass_busy_wait'], 'String');
}
- if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('force_miss')) {
+ obj['force_miss'] = ApiClient.convertToType(data['force_miss'], 'String');
}
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
+ if (data.hasOwnProperty('force_ssl')) {
+ obj['force_ssl'] = ApiClient.convertToType(data['force_ssl'], 'String');
}
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = ApiClient.convertToType(data['deleted_at'], 'Date');
+ if (data.hasOwnProperty('geo_headers')) {
+ obj['geo_headers'] = ApiClient.convertToType(data['geo_headers'], 'String');
}
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
+ if (data.hasOwnProperty('max_stale_age')) {
+ obj['max_stale_age'] = ApiClient.convertToType(data['max_stale_age'], 'String');
+ }
+ if (data.hasOwnProperty('timer_support')) {
+ obj['timer_support'] = ApiClient.convertToType(data['timer_support'], 'String');
}
}
return obj;
@@ -114,52 +117,50 @@ class RequestSettingsResponse {
}
/**
- * Allows you to terminate request handling and immediately perform an action.
- * @member {module:model/RequestSettingsResponse.ActionEnum} action
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-RequestSettingsResponse.prototype['action'] = undefined;
+RequestSettingsResponse.prototype['created_at'] = undefined;
/**
- * Disable collapsed forwarding, so you don't wait for other objects to origin.
- * @member {Number} bypass_busy_wait
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-RequestSettingsResponse.prototype['bypass_busy_wait'] = undefined;
+RequestSettingsResponse.prototype['deleted_at'] = undefined;
/**
- * Sets the host header.
- * @member {String} default_host
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-RequestSettingsResponse.prototype['default_host'] = undefined;
+RequestSettingsResponse.prototype['updated_at'] = undefined;
/**
- * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
- * @member {Number} force_miss
+ * @member {String} service_id
*/
-RequestSettingsResponse.prototype['force_miss'] = undefined;
+RequestSettingsResponse.prototype['service_id'] = undefined;
/**
- * Forces the request use SSL (redirects a non-SSL to SSL).
- * @member {Number} force_ssl
+ * @member {String} version
*/
-RequestSettingsResponse.prototype['force_ssl'] = undefined;
+RequestSettingsResponse.prototype['version'] = undefined;
/**
- * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
- * @member {Number} geo_headers
+ * Allows you to terminate request handling and immediately perform an action.
+ * @member {module:model/RequestSettingsResponse.ActionEnum} action
*/
-RequestSettingsResponse.prototype['geo_headers'] = undefined;
+RequestSettingsResponse.prototype['action'] = undefined;
/**
- * Comma separated list of varnish request object fields that should be in the hash key.
- * @member {String} hash_keys
+ * Sets the host header.
+ * @member {String} default_host
*/
-RequestSettingsResponse.prototype['hash_keys'] = undefined;
+RequestSettingsResponse.prototype['default_host'] = undefined;
/**
- * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
- * @member {Number} max_stale_age
+ * Comma separated list of varnish request object fields that should be in the hash key.
+ * @member {String} hash_keys
*/
-RequestSettingsResponse.prototype['max_stale_age'] = undefined;
+RequestSettingsResponse.prototype['hash_keys'] = undefined;
/**
* Name for the request settings.
@@ -173,12 +174,6 @@ RequestSettingsResponse.prototype['name'] = undefined;
*/
RequestSettingsResponse.prototype['request_condition'] = undefined;
-/**
- * Injects the X-Timer info into the request for viewing origin fetch durations.
- * @member {Number} timer_support
- */
-RequestSettingsResponse.prototype['timer_support'] = undefined;
-
/**
* Short for X-Forwarded-For.
* @member {module:model/RequestSettingsResponse.XffEnum} xff
@@ -186,120 +181,129 @@ RequestSettingsResponse.prototype['timer_support'] = undefined;
RequestSettingsResponse.prototype['xff'] = undefined;
/**
- * @member {String} service_id
+ * Disable collapsed forwarding, so you don't wait for other objects to origin.
+ * @member {String} bypass_busy_wait
*/
-RequestSettingsResponse.prototype['service_id'] = undefined;
+RequestSettingsResponse.prototype['bypass_busy_wait'] = undefined;
/**
- * @member {Number} version
+ * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
+ * @member {String} force_miss
*/
-RequestSettingsResponse.prototype['version'] = undefined;
+RequestSettingsResponse.prototype['force_miss'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * Forces the request use SSL (redirects a non-SSL to SSL).
+ * @member {String} force_ssl
*/
-RequestSettingsResponse.prototype['created_at'] = undefined;
+RequestSettingsResponse.prototype['force_ssl'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
+ * @member {String} geo_headers
*/
-RequestSettingsResponse.prototype['deleted_at'] = undefined;
+RequestSettingsResponse.prototype['geo_headers'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
+ * @member {String} max_stale_age
*/
-RequestSettingsResponse.prototype['updated_at'] = undefined;
+RequestSettingsResponse.prototype['max_stale_age'] = undefined;
+
+/**
+ * Injects the X-Timer info into the request for viewing origin fetch durations.
+ * @member {String} timer_support
+ */
+RequestSettingsResponse.prototype['timer_support'] = undefined;
-// Implement RequestSettings interface:
+// Implement Timestamps interface:
/**
- * Allows you to terminate request handling and immediately perform an action.
- * @member {module:model/RequestSettings.ActionEnum} action
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
-RequestSettings.prototype['action'] = undefined;
+Timestamps.prototype['created_at'] = undefined;
/**
- * Disable collapsed forwarding, so you don't wait for other objects to origin.
- * @member {Number} bypass_busy_wait
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
-RequestSettings.prototype['bypass_busy_wait'] = undefined;
+Timestamps.prototype['deleted_at'] = undefined;
/**
- * Sets the host header.
- * @member {String} default_host
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
-RequestSettings.prototype['default_host'] = undefined;
+Timestamps.prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersionString interface:
/**
- * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
- * @member {Number} force_miss
+ * @member {String} service_id
*/
-RequestSettings.prototype['force_miss'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * Forces the request use SSL (redirects a non-SSL to SSL).
- * @member {Number} force_ssl
+ * @member {String} version
*/
-RequestSettings.prototype['force_ssl'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
+// Implement RequestSettingsAdditional interface:
/**
- * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
- * @member {Number} geo_headers
+ * Allows you to terminate request handling and immediately perform an action.
+ * @member {module:model/RequestSettingsAdditional.ActionEnum} action
*/
-RequestSettings.prototype['geo_headers'] = undefined;
+RequestSettingsAdditional.prototype['action'] = undefined;
/**
- * Comma separated list of varnish request object fields that should be in the hash key.
- * @member {String} hash_keys
+ * Sets the host header.
+ * @member {String} default_host
*/
-RequestSettings.prototype['hash_keys'] = undefined;
+RequestSettingsAdditional.prototype['default_host'] = undefined;
/**
- * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
- * @member {Number} max_stale_age
+ * Comma separated list of varnish request object fields that should be in the hash key.
+ * @member {String} hash_keys
*/
-RequestSettings.prototype['max_stale_age'] = undefined;
+RequestSettingsAdditional.prototype['hash_keys'] = undefined;
/**
* Name for the request settings.
* @member {String} name
*/
-RequestSettings.prototype['name'] = undefined;
+RequestSettingsAdditional.prototype['name'] = undefined;
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-RequestSettings.prototype['request_condition'] = undefined;
+RequestSettingsAdditional.prototype['request_condition'] = undefined;
/**
- * Injects the X-Timer info into the request for viewing origin fetch durations.
- * @member {Number} timer_support
+ * Short for X-Forwarded-For.
+ * @member {module:model/RequestSettingsAdditional.XffEnum} xff
*/
-RequestSettings.prototype['timer_support'] = undefined;
+RequestSettingsAdditional.prototype['xff'] = undefined;
+// Implement RequestSettingsResponseAllOf interface:
/**
- * Short for X-Forwarded-For.
- * @member {module:model/RequestSettings.XffEnum} xff
+ * Disable collapsed forwarding, so you don't wait for other objects to origin.
+ * @member {String} bypass_busy_wait
*/
-RequestSettings.prototype['xff'] = undefined;
-// Implement ServiceIdAndVersion interface:
+RequestSettingsResponseAllOf.prototype['bypass_busy_wait'] = undefined;
/**
- * @member {String} service_id
+ * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
+ * @member {String} force_miss
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+RequestSettingsResponseAllOf.prototype['force_miss'] = undefined;
/**
- * @member {Number} version
+ * Forces the request use SSL (redirects a non-SSL to SSL).
+ * @member {String} force_ssl
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
-// Implement Timestamps interface:
+RequestSettingsResponseAllOf.prototype['force_ssl'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
+ * @member {String} geo_headers
*/
-Timestamps.prototype['created_at'] = undefined;
+RequestSettingsResponseAllOf.prototype['geo_headers'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
+ * @member {String} max_stale_age
*/
-Timestamps.prototype['deleted_at'] = undefined;
+RequestSettingsResponseAllOf.prototype['max_stale_age'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * Injects the X-Timer info into the request for viewing origin fetch durations.
+ * @member {String} timer_support
*/
-Timestamps.prototype['updated_at'] = undefined;
+RequestSettingsResponseAllOf.prototype['timer_support'] = undefined;
diff --git a/src/model/RequestSettingsResponseAllOf.js b/src/model/RequestSettingsResponseAllOf.js
new file mode 100644
index 000000000..f73221448
--- /dev/null
+++ b/src/model/RequestSettingsResponseAllOf.js
@@ -0,0 +1,116 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The RequestSettingsResponseAllOf model module.
+ * @module model/RequestSettingsResponseAllOf
+ * @version 6.0.0
+ */
+class RequestSettingsResponseAllOf {
+ /**
+ * Constructs a new RequestSettingsResponseAllOf
.
+ * @alias module:model/RequestSettingsResponseAllOf
+ */
+ constructor() {
+
+ RequestSettingsResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a RequestSettingsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RequestSettingsResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/RequestSettingsResponseAllOf} The populated RequestSettingsResponseAllOf
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RequestSettingsResponseAllOf();
+
+ if (data.hasOwnProperty('bypass_busy_wait')) {
+ obj['bypass_busy_wait'] = ApiClient.convertToType(data['bypass_busy_wait'], 'String');
+ }
+ if (data.hasOwnProperty('force_miss')) {
+ obj['force_miss'] = ApiClient.convertToType(data['force_miss'], 'String');
+ }
+ if (data.hasOwnProperty('force_ssl')) {
+ obj['force_ssl'] = ApiClient.convertToType(data['force_ssl'], 'String');
+ }
+ if (data.hasOwnProperty('geo_headers')) {
+ obj['geo_headers'] = ApiClient.convertToType(data['geo_headers'], 'String');
+ }
+ if (data.hasOwnProperty('max_stale_age')) {
+ obj['max_stale_age'] = ApiClient.convertToType(data['max_stale_age'], 'String');
+ }
+ if (data.hasOwnProperty('timer_support')) {
+ obj['timer_support'] = ApiClient.convertToType(data['timer_support'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Disable collapsed forwarding, so you don't wait for other objects to origin.
+ * @member {String} bypass_busy_wait
+ */
+RequestSettingsResponseAllOf.prototype['bypass_busy_wait'] = undefined;
+
+/**
+ * Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
+ * @member {String} force_miss
+ */
+RequestSettingsResponseAllOf.prototype['force_miss'] = undefined;
+
+/**
+ * Forces the request use SSL (redirects a non-SSL to SSL).
+ * @member {String} force_ssl
+ */
+RequestSettingsResponseAllOf.prototype['force_ssl'] = undefined;
+
+/**
+ * Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
+ * @member {String} geo_headers
+ */
+RequestSettingsResponseAllOf.prototype['geo_headers'] = undefined;
+
+/**
+ * How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
+ * @member {String} max_stale_age
+ */
+RequestSettingsResponseAllOf.prototype['max_stale_age'] = undefined;
+
+/**
+ * Injects the X-Timer info into the request for viewing origin fetch durations.
+ * @member {String} timer_support
+ */
+RequestSettingsResponseAllOf.prototype['timer_support'] = undefined;
+
+
+
+
+
+
+export default RequestSettingsResponseAllOf;
+
diff --git a/src/model/Resource.js b/src/model/Resource.js
index 56dce1ed0..820971f37 100644
--- a/src/model/Resource.js
+++ b/src/model/Resource.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Resource model module.
* @module model/Resource
- * @version 5.0.2
+ * @version 6.0.0
*/
class Resource {
/**
diff --git a/src/model/ResourceResponse.js b/src/model/ResourceResponse.js
index 247a53e54..a81231d6f 100644
--- a/src/model/ResourceResponse.js
+++ b/src/model/ResourceResponse.js
@@ -19,7 +19,7 @@ import TypeResource from './TypeResource';
/**
* The ResourceResponse model module.
* @module model/ResourceResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ResourceResponse {
/**
diff --git a/src/model/ResourceResponseAllOf.js b/src/model/ResourceResponseAllOf.js
index b29d61b14..08ba5d21d 100644
--- a/src/model/ResourceResponseAllOf.js
+++ b/src/model/ResourceResponseAllOf.js
@@ -16,7 +16,7 @@ import TypeResource from './TypeResource';
/**
* The ResourceResponseAllOf model module.
* @module model/ResourceResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ResourceResponseAllOf {
/**
diff --git a/src/model/ResponseObject.js b/src/model/ResponseObject.js
index 5adf19b19..8ebf91826 100644
--- a/src/model/ResponseObject.js
+++ b/src/model/ResponseObject.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ResponseObject model module.
* @module model/ResponseObject
- * @version 5.0.2
+ * @version 6.0.0
*/
class ResponseObject {
/**
@@ -59,7 +59,7 @@ class ResponseObject {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'Number');
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
}
if (data.hasOwnProperty('response')) {
obj['response'] = ApiClient.convertToType(data['response'], 'String');
@@ -100,10 +100,10 @@ ResponseObject.prototype['name'] = undefined;
/**
* The HTTP status code.
- * @member {Number} status
- * @default 200
+ * @member {String} status
+ * @default '200'
*/
-ResponseObject.prototype['status'] = 200;
+ResponseObject.prototype['status'] = '200';
/**
* The HTTP response.
diff --git a/src/model/ResponseObjectResponse.js b/src/model/ResponseObjectResponse.js
index dd2ba46d0..90fe629c7 100644
--- a/src/model/ResponseObjectResponse.js
+++ b/src/model/ResponseObjectResponse.js
@@ -12,24 +12,24 @@
import ApiClient from '../ApiClient';
import ResponseObject from './ResponseObject';
-import ServiceIdAndVersion from './ServiceIdAndVersion';
+import ServiceIdAndVersionString from './ServiceIdAndVersionString';
import Timestamps from './Timestamps';
/**
* The ResponseObjectResponse model module.
* @module model/ResponseObjectResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ResponseObjectResponse {
/**
* Constructs a new ResponseObjectResponse
.
* @alias module:model/ResponseObjectResponse
* @implements module:model/ResponseObject
- * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/ServiceIdAndVersionString
* @implements module:model/Timestamps
*/
constructor() {
- ResponseObject.initialize(this);ServiceIdAndVersion.initialize(this);Timestamps.initialize(this);
+ ResponseObject.initialize(this);ServiceIdAndVersionString.initialize(this);Timestamps.initialize(this);
ResponseObjectResponse.initialize(this);
}
@@ -52,7 +52,7 @@ class ResponseObjectResponse {
if (data) {
obj = obj || new ResponseObjectResponse();
ResponseObject.constructFromObject(data, obj);
- ServiceIdAndVersion.constructFromObject(data, obj);
+ ServiceIdAndVersionString.constructFromObject(data, obj);
Timestamps.constructFromObject(data, obj);
if (data.hasOwnProperty('cache_condition')) {
@@ -68,7 +68,7 @@ class ResponseObjectResponse {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('status')) {
- obj['status'] = ApiClient.convertToType(data['status'], 'Number');
+ obj['status'] = ApiClient.convertToType(data['status'], 'String');
}
if (data.hasOwnProperty('response')) {
obj['response'] = ApiClient.convertToType(data['response'], 'String');
@@ -80,7 +80,7 @@ class ResponseObjectResponse {
obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
}
if (data.hasOwnProperty('version')) {
- obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
}
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
@@ -124,10 +124,10 @@ ResponseObjectResponse.prototype['name'] = undefined;
/**
* The HTTP status code.
- * @member {Number} status
- * @default 200
+ * @member {String} status
+ * @default '200'
*/
-ResponseObjectResponse.prototype['status'] = 200;
+ResponseObjectResponse.prototype['status'] = '200';
/**
* The HTTP response.
@@ -148,7 +148,7 @@ ResponseObjectResponse.prototype['request_condition'] = undefined;
ResponseObjectResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
ResponseObjectResponse.prototype['version'] = undefined;
@@ -194,10 +194,10 @@ ResponseObject.prototype['content_type'] = undefined;
ResponseObject.prototype['name'] = undefined;
/**
* The HTTP status code.
- * @member {Number} status
- * @default 200
+ * @member {String} status
+ * @default '200'
*/
-ResponseObject.prototype['status'] = 200;
+ResponseObject.prototype['status'] = '200';
/**
* The HTTP response.
* @member {String} response
@@ -209,15 +209,15 @@ ResponseObject.prototype['response'] = 'Ok';
* @member {String} request_condition
*/
ResponseObject.prototype['request_condition'] = undefined;
-// Implement ServiceIdAndVersion interface:
+// Implement ServiceIdAndVersionString interface:
/**
* @member {String} service_id
*/
-ServiceIdAndVersion.prototype['service_id'] = undefined;
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {String} version
*/
-ServiceIdAndVersion.prototype['version'] = undefined;
+ServiceIdAndVersionString.prototype['version'] = undefined;
// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
diff --git a/src/model/Results.js b/src/model/Results.js
index 2847e50c7..342cb6225 100644
--- a/src/model/Results.js
+++ b/src/model/Results.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Results model module.
* @module model/Results
- * @version 5.0.2
+ * @version 6.0.0
*/
class Results {
/**
diff --git a/src/model/SchemasContactResponse.js b/src/model/SchemasContactResponse.js
index e5ad5b233..5267386c2 100644
--- a/src/model/SchemasContactResponse.js
+++ b/src/model/SchemasContactResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The SchemasContactResponse model module.
* @module model/SchemasContactResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasContactResponse {
/**
diff --git a/src/model/SchemasSnippetResponse.js b/src/model/SchemasSnippetResponse.js
index e0f3bd7b9..f591ff60d 100644
--- a/src/model/SchemasSnippetResponse.js
+++ b/src/model/SchemasSnippetResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The SchemasSnippetResponse model module.
* @module model/SchemasSnippetResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasSnippetResponse {
/**
diff --git a/src/model/SchemasUserResponse.js b/src/model/SchemasUserResponse.js
index ea15c6b00..9baa1273b 100644
--- a/src/model/SchemasUserResponse.js
+++ b/src/model/SchemasUserResponse.js
@@ -19,7 +19,7 @@ import User from './User';
/**
* The SchemasUserResponse model module.
* @module model/SchemasUserResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasUserResponse {
/**
diff --git a/src/model/SchemasUserResponseReadOnly.js b/src/model/SchemasUserResponseReadOnly.js
index 4822f70ad..b822e7b57 100644
--- a/src/model/SchemasUserResponseReadOnly.js
+++ b/src/model/SchemasUserResponseReadOnly.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SchemasUserResponseReadOnly model module.
* @module model/SchemasUserResponseReadOnly
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasUserResponseReadOnly {
/**
diff --git a/src/model/SchemasVclResponse.js b/src/model/SchemasVclResponse.js
index 595e24fc7..fd11b8cb7 100644
--- a/src/model/SchemasVclResponse.js
+++ b/src/model/SchemasVclResponse.js
@@ -18,7 +18,7 @@ import Vcl from './Vcl';
/**
* The SchemasVclResponse model module.
* @module model/SchemasVclResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasVclResponse {
/**
diff --git a/src/model/SchemasVersion.js b/src/model/SchemasVersion.js
index d9eaf5c5d..41977cebb 100644
--- a/src/model/SchemasVersion.js
+++ b/src/model/SchemasVersion.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SchemasVersion model module.
* @module model/SchemasVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasVersion {
/**
diff --git a/src/model/SchemasVersionResponse.js b/src/model/SchemasVersionResponse.js
index fc3219dc8..26915a31c 100644
--- a/src/model/SchemasVersionResponse.js
+++ b/src/model/SchemasVersionResponse.js
@@ -18,7 +18,7 @@ import VersionResponseAllOf from './VersionResponseAllOf';
/**
* The SchemasVersionResponse model module.
* @module model/SchemasVersionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasVersionResponse {
/**
diff --git a/src/model/SchemasWafFirewallVersion.js b/src/model/SchemasWafFirewallVersion.js
index d1c3af571..59f534aa8 100644
--- a/src/model/SchemasWafFirewallVersion.js
+++ b/src/model/SchemasWafFirewallVersion.js
@@ -16,7 +16,7 @@ import SchemasWafFirewallVersionData from './SchemasWafFirewallVersionData';
/**
* The SchemasWafFirewallVersion model module.
* @module model/SchemasWafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasWafFirewallVersion {
/**
diff --git a/src/model/SchemasWafFirewallVersionData.js b/src/model/SchemasWafFirewallVersionData.js
index 0a1c3983d..b62135a83 100644
--- a/src/model/SchemasWafFirewallVersionData.js
+++ b/src/model/SchemasWafFirewallVersionData.js
@@ -17,7 +17,7 @@ import WafFirewallVersionDataAttributes from './WafFirewallVersionDataAttributes
/**
* The SchemasWafFirewallVersionData model module.
* @module model/SchemasWafFirewallVersionData
- * @version 5.0.2
+ * @version 6.0.0
*/
class SchemasWafFirewallVersionData {
/**
diff --git a/src/model/Secret.js b/src/model/Secret.js
index 51d07db16..72580a9d4 100644
--- a/src/model/Secret.js
+++ b/src/model/Secret.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Secret model module.
* @module model/Secret
- * @version 5.0.2
+ * @version 6.0.0
*/
class Secret {
/**
diff --git a/src/model/SecretResponse.js b/src/model/SecretResponse.js
index a442f99fa..6c4543322 100644
--- a/src/model/SecretResponse.js
+++ b/src/model/SecretResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SecretResponse model module.
* @module model/SecretResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SecretResponse {
/**
diff --git a/src/model/SecretStore.js b/src/model/SecretStore.js
index 2f356766b..5d6b15200 100644
--- a/src/model/SecretStore.js
+++ b/src/model/SecretStore.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SecretStore model module.
* @module model/SecretStore
- * @version 5.0.2
+ * @version 6.0.0
*/
class SecretStore {
/**
diff --git a/src/model/SecretStoreResponse.js b/src/model/SecretStoreResponse.js
index 87d2a1f9f..40f8d6e76 100644
--- a/src/model/SecretStoreResponse.js
+++ b/src/model/SecretStoreResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SecretStoreResponse model module.
* @module model/SecretStoreResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SecretStoreResponse {
/**
diff --git a/src/model/Server.js b/src/model/Server.js
index e04145326..58a9a25d0 100644
--- a/src/model/Server.js
+++ b/src/model/Server.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Server model module.
* @module model/Server
- * @version 5.0.2
+ * @version 6.0.0
*/
class Server {
/**
diff --git a/src/model/ServerResponse.js b/src/model/ServerResponse.js
index 8006421f6..6c9b87160 100644
--- a/src/model/ServerResponse.js
+++ b/src/model/ServerResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The ServerResponse model module.
* @module model/ServerResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServerResponse {
/**
diff --git a/src/model/ServerResponseAllOf.js b/src/model/ServerResponseAllOf.js
index ccb4fcc18..0c8e0392d 100644
--- a/src/model/ServerResponseAllOf.js
+++ b/src/model/ServerResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ServerResponseAllOf model module.
* @module model/ServerResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServerResponseAllOf {
/**
diff --git a/src/model/Service.js b/src/model/Service.js
index e2cca454a..1022fa1bf 100644
--- a/src/model/Service.js
+++ b/src/model/Service.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Service model module.
* @module model/Service
- * @version 5.0.2
+ * @version 6.0.0
*/
class Service {
/**
diff --git a/src/model/ServiceAuthorization.js b/src/model/ServiceAuthorization.js
index 9c525994f..06d40d4a7 100644
--- a/src/model/ServiceAuthorization.js
+++ b/src/model/ServiceAuthorization.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationData from './ServiceAuthorizationData';
/**
* The ServiceAuthorization model module.
* @module model/ServiceAuthorization
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorization {
/**
diff --git a/src/model/ServiceAuthorizationData.js b/src/model/ServiceAuthorizationData.js
index c3699db16..38659c448 100644
--- a/src/model/ServiceAuthorizationData.js
+++ b/src/model/ServiceAuthorizationData.js
@@ -18,7 +18,7 @@ import TypeServiceAuthorization from './TypeServiceAuthorization';
/**
* The ServiceAuthorizationData model module.
* @module model/ServiceAuthorizationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationData {
/**
diff --git a/src/model/ServiceAuthorizationDataAttributes.js b/src/model/ServiceAuthorizationDataAttributes.js
index 298270ecd..06e81071f 100644
--- a/src/model/ServiceAuthorizationDataAttributes.js
+++ b/src/model/ServiceAuthorizationDataAttributes.js
@@ -16,7 +16,7 @@ import Permission from './Permission';
/**
* The ServiceAuthorizationDataAttributes model module.
* @module model/ServiceAuthorizationDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationDataAttributes {
/**
diff --git a/src/model/ServiceAuthorizationDataRelationships.js b/src/model/ServiceAuthorizationDataRelationships.js
index 3030aecaf..5304d2261 100644
--- a/src/model/ServiceAuthorizationDataRelationships.js
+++ b/src/model/ServiceAuthorizationDataRelationships.js
@@ -17,7 +17,7 @@ import ServiceAuthorizationDataRelationshipsUser from './ServiceAuthorizationDat
/**
* The ServiceAuthorizationDataRelationships model module.
* @module model/ServiceAuthorizationDataRelationships
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationDataRelationships {
/**
diff --git a/src/model/ServiceAuthorizationDataRelationshipsUser.js b/src/model/ServiceAuthorizationDataRelationshipsUser.js
index 3dd32161d..d718e2eb5 100644
--- a/src/model/ServiceAuthorizationDataRelationshipsUser.js
+++ b/src/model/ServiceAuthorizationDataRelationshipsUser.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationDataRelationshipsUserData from './ServiceAuthorizatio
/**
* The ServiceAuthorizationDataRelationshipsUser model module.
* @module model/ServiceAuthorizationDataRelationshipsUser
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationDataRelationshipsUser {
/**
diff --git a/src/model/ServiceAuthorizationDataRelationshipsUserData.js b/src/model/ServiceAuthorizationDataRelationshipsUserData.js
index 9dd72997c..87760c708 100644
--- a/src/model/ServiceAuthorizationDataRelationshipsUserData.js
+++ b/src/model/ServiceAuthorizationDataRelationshipsUserData.js
@@ -16,7 +16,7 @@ import TypeUser from './TypeUser';
/**
* The ServiceAuthorizationDataRelationshipsUserData model module.
* @module model/ServiceAuthorizationDataRelationshipsUserData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationDataRelationshipsUserData {
/**
diff --git a/src/model/ServiceAuthorizationResponse.js b/src/model/ServiceAuthorizationResponse.js
index ae1d37cec..8768ec2b7 100644
--- a/src/model/ServiceAuthorizationResponse.js
+++ b/src/model/ServiceAuthorizationResponse.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationResponseData from './ServiceAuthorizationResponseData
/**
* The ServiceAuthorizationResponse model module.
* @module model/ServiceAuthorizationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationResponse {
/**
diff --git a/src/model/ServiceAuthorizationResponseData.js b/src/model/ServiceAuthorizationResponseData.js
index 4b6311b96..4fc3784a8 100644
--- a/src/model/ServiceAuthorizationResponseData.js
+++ b/src/model/ServiceAuthorizationResponseData.js
@@ -20,7 +20,7 @@ import TypeServiceAuthorization from './TypeServiceAuthorization';
/**
* The ServiceAuthorizationResponseData model module.
* @module model/ServiceAuthorizationResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationResponseData {
/**
diff --git a/src/model/ServiceAuthorizationResponseDataAllOf.js b/src/model/ServiceAuthorizationResponseDataAllOf.js
index a9e8c77c8..35ec24c53 100644
--- a/src/model/ServiceAuthorizationResponseDataAllOf.js
+++ b/src/model/ServiceAuthorizationResponseDataAllOf.js
@@ -16,7 +16,7 @@ import Timestamps from './Timestamps';
/**
* The ServiceAuthorizationResponseDataAllOf model module.
* @module model/ServiceAuthorizationResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationResponseDataAllOf {
/**
diff --git a/src/model/ServiceAuthorizationsResponse.js b/src/model/ServiceAuthorizationsResponse.js
index dcd54e12b..907392340 100644
--- a/src/model/ServiceAuthorizationsResponse.js
+++ b/src/model/ServiceAuthorizationsResponse.js
@@ -20,7 +20,7 @@ import ServiceAuthorizationsResponseAllOf from './ServiceAuthorizationsResponseA
/**
* The ServiceAuthorizationsResponse model module.
* @module model/ServiceAuthorizationsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationsResponse {
/**
diff --git a/src/model/ServiceAuthorizationsResponseAllOf.js b/src/model/ServiceAuthorizationsResponseAllOf.js
index 8be3162e6..701062509 100644
--- a/src/model/ServiceAuthorizationsResponseAllOf.js
+++ b/src/model/ServiceAuthorizationsResponseAllOf.js
@@ -16,7 +16,7 @@ import ServiceAuthorizationResponseData from './ServiceAuthorizationResponseData
/**
* The ServiceAuthorizationsResponseAllOf model module.
* @module model/ServiceAuthorizationsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceAuthorizationsResponseAllOf {
/**
diff --git a/src/model/ServiceCreate.js b/src/model/ServiceCreate.js
index 7cf96357c..826012489 100644
--- a/src/model/ServiceCreate.js
+++ b/src/model/ServiceCreate.js
@@ -17,7 +17,7 @@ import ServiceCreateAllOf from './ServiceCreateAllOf';
/**
* The ServiceCreate model module.
* @module model/ServiceCreate
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceCreate {
/**
diff --git a/src/model/ServiceCreateAllOf.js b/src/model/ServiceCreateAllOf.js
index 3fc3256f5..8a80e4cef 100644
--- a/src/model/ServiceCreateAllOf.js
+++ b/src/model/ServiceCreateAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ServiceCreateAllOf model module.
* @module model/ServiceCreateAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceCreateAllOf {
/**
diff --git a/src/model/ServiceDetail.js b/src/model/ServiceDetail.js
index 10724866d..2ba194f73 100644
--- a/src/model/ServiceDetail.js
+++ b/src/model/ServiceDetail.js
@@ -20,7 +20,7 @@ import ServiceVersionDetailOrNull from './ServiceVersionDetailOrNull';
/**
* The ServiceDetail model module.
* @module model/ServiceDetail
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceDetail {
/**
diff --git a/src/model/ServiceDetailAllOf.js b/src/model/ServiceDetailAllOf.js
index 84520c843..636398016 100644
--- a/src/model/ServiceDetailAllOf.js
+++ b/src/model/ServiceDetailAllOf.js
@@ -17,7 +17,7 @@ import ServiceVersionDetailOrNull from './ServiceVersionDetailOrNull';
/**
* The ServiceDetailAllOf model module.
* @module model/ServiceDetailAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceDetailAllOf {
/**
diff --git a/src/model/ServiceIdAndVersion.js b/src/model/ServiceIdAndVersion.js
index a468420bb..0899c66a2 100644
--- a/src/model/ServiceIdAndVersion.js
+++ b/src/model/ServiceIdAndVersion.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ServiceIdAndVersion model module.
* @module model/ServiceIdAndVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceIdAndVersion {
/**
diff --git a/src/model/ServiceIdAndVersionString.js b/src/model/ServiceIdAndVersionString.js
new file mode 100644
index 000000000..9e484f4b8
--- /dev/null
+++ b/src/model/ServiceIdAndVersionString.js
@@ -0,0 +1,78 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ServiceIdAndVersionString model module.
+ * @module model/ServiceIdAndVersionString
+ * @version 6.0.0
+ */
+class ServiceIdAndVersionString {
+ /**
+ * Constructs a new ServiceIdAndVersionString
.
+ * @alias module:model/ServiceIdAndVersionString
+ */
+ constructor() {
+
+ ServiceIdAndVersionString.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ServiceIdAndVersionString
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ServiceIdAndVersionString} obj Optional instance to populate.
+ * @return {module:model/ServiceIdAndVersionString} The populated ServiceIdAndVersionString
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ServiceIdAndVersionString();
+
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = ApiClient.convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} service_id
+ */
+ServiceIdAndVersionString.prototype['service_id'] = undefined;
+
+/**
+ * @member {String} version
+ */
+ServiceIdAndVersionString.prototype['version'] = undefined;
+
+
+
+
+
+
+export default ServiceIdAndVersionString;
+
diff --git a/src/model/ServiceInvitation.js b/src/model/ServiceInvitation.js
index 3c483d4a4..44f327fb7 100644
--- a/src/model/ServiceInvitation.js
+++ b/src/model/ServiceInvitation.js
@@ -16,7 +16,7 @@ import ServiceInvitationData from './ServiceInvitationData';
/**
* The ServiceInvitation model module.
* @module model/ServiceInvitation
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitation {
/**
diff --git a/src/model/ServiceInvitationData.js b/src/model/ServiceInvitationData.js
index 2b3537d04..65a225cd3 100644
--- a/src/model/ServiceInvitationData.js
+++ b/src/model/ServiceInvitationData.js
@@ -18,7 +18,7 @@ import TypeServiceInvitation from './TypeServiceInvitation';
/**
* The ServiceInvitationData model module.
* @module model/ServiceInvitationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationData {
/**
diff --git a/src/model/ServiceInvitationDataAttributes.js b/src/model/ServiceInvitationDataAttributes.js
index 58b81e4c3..196c1d243 100644
--- a/src/model/ServiceInvitationDataAttributes.js
+++ b/src/model/ServiceInvitationDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The ServiceInvitationDataAttributes model module.
* @module model/ServiceInvitationDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationDataAttributes {
/**
diff --git a/src/model/ServiceInvitationDataRelationships.js b/src/model/ServiceInvitationDataRelationships.js
index 0023f0c80..c3d65861d 100644
--- a/src/model/ServiceInvitationDataRelationships.js
+++ b/src/model/ServiceInvitationDataRelationships.js
@@ -16,7 +16,7 @@ import RelationshipMemberService from './RelationshipMemberService';
/**
* The ServiceInvitationDataRelationships model module.
* @module model/ServiceInvitationDataRelationships
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationDataRelationships {
/**
diff --git a/src/model/ServiceInvitationResponse.js b/src/model/ServiceInvitationResponse.js
index 72c5effc6..915b918b9 100644
--- a/src/model/ServiceInvitationResponse.js
+++ b/src/model/ServiceInvitationResponse.js
@@ -18,7 +18,7 @@ import ServiceInvitationResponseAllOfData from './ServiceInvitationResponseAllOf
/**
* The ServiceInvitationResponse model module.
* @module model/ServiceInvitationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationResponse {
/**
diff --git a/src/model/ServiceInvitationResponseAllOf.js b/src/model/ServiceInvitationResponseAllOf.js
index e07cc6eda..a84e5798e 100644
--- a/src/model/ServiceInvitationResponseAllOf.js
+++ b/src/model/ServiceInvitationResponseAllOf.js
@@ -16,7 +16,7 @@ import ServiceInvitationResponseAllOfData from './ServiceInvitationResponseAllOf
/**
* The ServiceInvitationResponseAllOf model module.
* @module model/ServiceInvitationResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationResponseAllOf {
/**
diff --git a/src/model/ServiceInvitationResponseAllOfData.js b/src/model/ServiceInvitationResponseAllOfData.js
index b9c33b0f7..09dd37c82 100644
--- a/src/model/ServiceInvitationResponseAllOfData.js
+++ b/src/model/ServiceInvitationResponseAllOfData.js
@@ -16,7 +16,7 @@ import Timestamps from './Timestamps';
/**
* The ServiceInvitationResponseAllOfData model module.
* @module model/ServiceInvitationResponseAllOfData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceInvitationResponseAllOfData {
/**
diff --git a/src/model/ServiceListResponse.js b/src/model/ServiceListResponse.js
index f027a2163..591f0d094 100644
--- a/src/model/ServiceListResponse.js
+++ b/src/model/ServiceListResponse.js
@@ -19,7 +19,7 @@ import Timestamps from './Timestamps';
/**
* The ServiceListResponse model module.
* @module model/ServiceListResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceListResponse {
/**
diff --git a/src/model/ServiceListResponseAllOf.js b/src/model/ServiceListResponseAllOf.js
index 02b5b3062..81f45005d 100644
--- a/src/model/ServiceListResponseAllOf.js
+++ b/src/model/ServiceListResponseAllOf.js
@@ -16,7 +16,7 @@ import SchemasVersionResponse from './SchemasVersionResponse';
/**
* The ServiceListResponseAllOf model module.
* @module model/ServiceListResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceListResponseAllOf {
/**
diff --git a/src/model/ServiceResponse.js b/src/model/ServiceResponse.js
index d59d49a4c..1e724a7f6 100644
--- a/src/model/ServiceResponse.js
+++ b/src/model/ServiceResponse.js
@@ -19,7 +19,7 @@ import Timestamps from './Timestamps';
/**
* The ServiceResponse model module.
* @module model/ServiceResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceResponse {
/**
diff --git a/src/model/ServiceResponseAllOf.js b/src/model/ServiceResponseAllOf.js
index d0355fcf5..6d6a954fc 100644
--- a/src/model/ServiceResponseAllOf.js
+++ b/src/model/ServiceResponseAllOf.js
@@ -16,7 +16,7 @@ import SchemasVersionResponse from './SchemasVersionResponse';
/**
* The ServiceResponseAllOf model module.
* @module model/ServiceResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceResponseAllOf {
/**
diff --git a/src/model/ServiceVersionDetail.js b/src/model/ServiceVersionDetail.js
index 175c5d797..d362fa6c0 100644
--- a/src/model/ServiceVersionDetail.js
+++ b/src/model/ServiceVersionDetail.js
@@ -30,7 +30,7 @@ import VersionDetailSettings from './VersionDetailSettings';
/**
* The ServiceVersionDetail model module.
* @module model/ServiceVersionDetail
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceVersionDetail {
/**
diff --git a/src/model/ServiceVersionDetailOrNull.js b/src/model/ServiceVersionDetailOrNull.js
index 679fc5543..aa5aa0474 100644
--- a/src/model/ServiceVersionDetailOrNull.js
+++ b/src/model/ServiceVersionDetailOrNull.js
@@ -30,7 +30,7 @@ import VersionDetailSettings from './VersionDetailSettings';
/**
* The ServiceVersionDetailOrNull model module.
* @module model/ServiceVersionDetailOrNull
- * @version 5.0.2
+ * @version 6.0.0
*/
class ServiceVersionDetailOrNull {
/**
diff --git a/src/model/Settings.js b/src/model/Settings.js
index 21a12beea..0e8bddbf2 100644
--- a/src/model/Settings.js
+++ b/src/model/Settings.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Settings model module.
* @module model/Settings
- * @version 5.0.2
+ * @version 6.0.0
*/
class Settings {
/**
diff --git a/src/model/SettingsResponse.js b/src/model/SettingsResponse.js
index c5219a79c..b638c76cd 100644
--- a/src/model/SettingsResponse.js
+++ b/src/model/SettingsResponse.js
@@ -17,7 +17,7 @@ import Settings from './Settings';
/**
* The SettingsResponse model module.
* @module model/SettingsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SettingsResponse {
/**
diff --git a/src/model/SigningKey.js b/src/model/SigningKey.js
index e44ab723d..bbac6388f 100644
--- a/src/model/SigningKey.js
+++ b/src/model/SigningKey.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SigningKey model module.
* @module model/SigningKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class SigningKey {
/**
diff --git a/src/model/Snippet.js b/src/model/Snippet.js
index ad0fce402..6afd8f591 100644
--- a/src/model/Snippet.js
+++ b/src/model/Snippet.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Snippet model module.
* @module model/Snippet
- * @version 5.0.2
+ * @version 6.0.0
*/
class Snippet {
/**
diff --git a/src/model/SnippetResponse.js b/src/model/SnippetResponse.js
index 715e37af4..be13c516d 100644
--- a/src/model/SnippetResponse.js
+++ b/src/model/SnippetResponse.js
@@ -18,7 +18,7 @@ import Timestamps from './Timestamps';
/**
* The SnippetResponse model module.
* @module model/SnippetResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SnippetResponse {
/**
diff --git a/src/model/SnippetResponseAllOf.js b/src/model/SnippetResponseAllOf.js
index dfbdb5587..1a6231ca2 100644
--- a/src/model/SnippetResponseAllOf.js
+++ b/src/model/SnippetResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SnippetResponseAllOf model module.
* @module model/SnippetResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class SnippetResponseAllOf {
/**
diff --git a/src/model/Star.js b/src/model/Star.js
index f3f4af0c4..e333543ae 100644
--- a/src/model/Star.js
+++ b/src/model/Star.js
@@ -16,7 +16,7 @@ import StarData from './StarData';
/**
* The Star model module.
* @module model/Star
- * @version 5.0.2
+ * @version 6.0.0
*/
class Star {
/**
diff --git a/src/model/StarData.js b/src/model/StarData.js
index ef848b978..f71cf2f35 100644
--- a/src/model/StarData.js
+++ b/src/model/StarData.js
@@ -17,7 +17,7 @@ import TypeStar from './TypeStar';
/**
* The StarData model module.
* @module model/StarData
- * @version 5.0.2
+ * @version 6.0.0
*/
class StarData {
/**
diff --git a/src/model/StarResponse.js b/src/model/StarResponse.js
index f9800e573..b29e2221c 100644
--- a/src/model/StarResponse.js
+++ b/src/model/StarResponse.js
@@ -17,7 +17,7 @@ import StarResponseAllOf from './StarResponseAllOf';
/**
* The StarResponse model module.
* @module model/StarResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class StarResponse {
/**
diff --git a/src/model/StarResponseAllOf.js b/src/model/StarResponseAllOf.js
index 160e45315..d94f2e942 100644
--- a/src/model/StarResponseAllOf.js
+++ b/src/model/StarResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The StarResponseAllOf model module.
* @module model/StarResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class StarResponseAllOf {
/**
diff --git a/src/model/Stats.js b/src/model/Stats.js
index 06f15ee3c..8f2ec80b7 100644
--- a/src/model/Stats.js
+++ b/src/model/Stats.js
@@ -16,7 +16,7 @@ import Results from './Results';
/**
* The Stats model module.
* @module model/Stats
- * @version 5.0.2
+ * @version 6.0.0
*/
class Stats {
/**
diff --git a/src/model/Store.js b/src/model/Store.js
index 78670158f..57d091bd8 100644
--- a/src/model/Store.js
+++ b/src/model/Store.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Store model module.
* @module model/Store
- * @version 5.0.2
+ * @version 6.0.0
*/
class Store {
/**
diff --git a/src/model/StoreResponse.js b/src/model/StoreResponse.js
index e7995a55c..023dbdbd2 100644
--- a/src/model/StoreResponse.js
+++ b/src/model/StoreResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The StoreResponse model module.
* @module model/StoreResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class StoreResponse {
/**
diff --git a/src/model/SubsequentRequestTimestamp.js b/src/model/SubsequentRequestTimestamp.js
index 31f14b3ff..8c5d9a6c0 100644
--- a/src/model/SubsequentRequestTimestamp.js
+++ b/src/model/SubsequentRequestTimestamp.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SubsequentRequestTimestamp model module.
* @module model/SubsequentRequestTimestamp
- * @version 5.0.2
+ * @version 6.0.0
*/
class SubsequentRequestTimestamp {
/**
diff --git a/src/model/SudoGenericTokenError.js b/src/model/SudoGenericTokenError.js
index b4967d1f3..d8277b977 100644
--- a/src/model/SudoGenericTokenError.js
+++ b/src/model/SudoGenericTokenError.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SudoGenericTokenError model module.
* @module model/SudoGenericTokenError
- * @version 5.0.2
+ * @version 6.0.0
*/
class SudoGenericTokenError {
/**
diff --git a/src/model/SudoRequest.js b/src/model/SudoRequest.js
index 2f6ecff82..f4aa7b968 100644
--- a/src/model/SudoRequest.js
+++ b/src/model/SudoRequest.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SudoRequest model module.
* @module model/SudoRequest
- * @version 5.0.2
+ * @version 6.0.0
*/
class SudoRequest {
/**
diff --git a/src/model/SudoResponse.js b/src/model/SudoResponse.js
index 844896b3f..b98b5d882 100644
--- a/src/model/SudoResponse.js
+++ b/src/model/SudoResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The SudoResponse model module.
* @module model/SudoResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class SudoResponse {
/**
diff --git a/src/model/Timestamps.js b/src/model/Timestamps.js
index c4b19ec78..f730a63dc 100644
--- a/src/model/Timestamps.js
+++ b/src/model/Timestamps.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Timestamps model module.
* @module model/Timestamps
- * @version 5.0.2
+ * @version 6.0.0
*/
class Timestamps {
/**
diff --git a/src/model/TimestampsNoDelete.js b/src/model/TimestampsNoDelete.js
index f140d3e06..54d68bda7 100644
--- a/src/model/TimestampsNoDelete.js
+++ b/src/model/TimestampsNoDelete.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TimestampsNoDelete model module.
* @module model/TimestampsNoDelete
- * @version 5.0.2
+ * @version 6.0.0
*/
class TimestampsNoDelete {
/**
diff --git a/src/model/TlsActivation.js b/src/model/TlsActivation.js
index 81a54f82c..d1a41c739 100644
--- a/src/model/TlsActivation.js
+++ b/src/model/TlsActivation.js
@@ -16,7 +16,7 @@ import TlsActivationData from './TlsActivationData';
/**
* The TlsActivation model module.
* @module model/TlsActivation
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivation {
/**
diff --git a/src/model/TlsActivationData.js b/src/model/TlsActivationData.js
index 51d8e7d3d..4969f7165 100644
--- a/src/model/TlsActivationData.js
+++ b/src/model/TlsActivationData.js
@@ -17,7 +17,7 @@ import TypeTlsActivation from './TypeTlsActivation';
/**
* The TlsActivationData model module.
* @module model/TlsActivationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationData {
/**
diff --git a/src/model/TlsActivationResponse.js b/src/model/TlsActivationResponse.js
index b0a8069f5..b1c23c2dd 100644
--- a/src/model/TlsActivationResponse.js
+++ b/src/model/TlsActivationResponse.js
@@ -16,7 +16,7 @@ import TlsActivationResponseData from './TlsActivationResponseData';
/**
* The TlsActivationResponse model module.
* @module model/TlsActivationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationResponse {
/**
diff --git a/src/model/TlsActivationResponseData.js b/src/model/TlsActivationResponseData.js
index f5fcf8a4f..5a075a22b 100644
--- a/src/model/TlsActivationResponseData.js
+++ b/src/model/TlsActivationResponseData.js
@@ -20,7 +20,7 @@ import TypeTlsActivation from './TypeTlsActivation';
/**
* The TlsActivationResponseData model module.
* @module model/TlsActivationResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationResponseData {
/**
diff --git a/src/model/TlsActivationResponseDataAllOf.js b/src/model/TlsActivationResponseDataAllOf.js
index 44557ce76..aa7adf413 100644
--- a/src/model/TlsActivationResponseDataAllOf.js
+++ b/src/model/TlsActivationResponseDataAllOf.js
@@ -16,7 +16,7 @@ import Timestamps from './Timestamps';
/**
* The TlsActivationResponseDataAllOf model module.
* @module model/TlsActivationResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationResponseDataAllOf {
/**
diff --git a/src/model/TlsActivationsResponse.js b/src/model/TlsActivationsResponse.js
index 0a7086236..4937a5aa6 100644
--- a/src/model/TlsActivationsResponse.js
+++ b/src/model/TlsActivationsResponse.js
@@ -20,7 +20,7 @@ import TlsActivationsResponseAllOf from './TlsActivationsResponseAllOf';
/**
* The TlsActivationsResponse model module.
* @module model/TlsActivationsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationsResponse {
/**
diff --git a/src/model/TlsActivationsResponseAllOf.js b/src/model/TlsActivationsResponseAllOf.js
index 74765d753..fc8d2dcd7 100644
--- a/src/model/TlsActivationsResponseAllOf.js
+++ b/src/model/TlsActivationsResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsActivationResponseData from './TlsActivationResponseData';
/**
* The TlsActivationsResponseAllOf model module.
* @module model/TlsActivationsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsActivationsResponseAllOf {
/**
diff --git a/src/model/TlsBulkCertificate.js b/src/model/TlsBulkCertificate.js
index 238acc588..f133ff05e 100644
--- a/src/model/TlsBulkCertificate.js
+++ b/src/model/TlsBulkCertificate.js
@@ -16,7 +16,7 @@ import TlsBulkCertificateData from './TlsBulkCertificateData';
/**
* The TlsBulkCertificate model module.
* @module model/TlsBulkCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificate {
/**
diff --git a/src/model/TlsBulkCertificateData.js b/src/model/TlsBulkCertificateData.js
index 4ccc179ee..f06a7d5f3 100644
--- a/src/model/TlsBulkCertificateData.js
+++ b/src/model/TlsBulkCertificateData.js
@@ -18,7 +18,7 @@ import TypeTlsBulkCertificate from './TypeTlsBulkCertificate';
/**
* The TlsBulkCertificateData model module.
* @module model/TlsBulkCertificateData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateData {
/**
diff --git a/src/model/TlsBulkCertificateDataAttributes.js b/src/model/TlsBulkCertificateDataAttributes.js
index 97d2a2e63..443f59f3d 100644
--- a/src/model/TlsBulkCertificateDataAttributes.js
+++ b/src/model/TlsBulkCertificateDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsBulkCertificateDataAttributes model module.
* @module model/TlsBulkCertificateDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateDataAttributes {
/**
diff --git a/src/model/TlsBulkCertificateResponse.js b/src/model/TlsBulkCertificateResponse.js
index f99f2324b..a771820bf 100644
--- a/src/model/TlsBulkCertificateResponse.js
+++ b/src/model/TlsBulkCertificateResponse.js
@@ -16,7 +16,7 @@ import TlsBulkCertificateResponseData from './TlsBulkCertificateResponseData';
/**
* The TlsBulkCertificateResponse model module.
* @module model/TlsBulkCertificateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateResponse {
/**
diff --git a/src/model/TlsBulkCertificateResponseAttributes.js b/src/model/TlsBulkCertificateResponseAttributes.js
index 41fafd743..1d1600a9c 100644
--- a/src/model/TlsBulkCertificateResponseAttributes.js
+++ b/src/model/TlsBulkCertificateResponseAttributes.js
@@ -17,7 +17,7 @@ import TlsBulkCertificateResponseAttributesAllOf from './TlsBulkCertificateRespo
/**
* The TlsBulkCertificateResponseAttributes model module.
* @module model/TlsBulkCertificateResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateResponseAttributes {
/**
diff --git a/src/model/TlsBulkCertificateResponseAttributesAllOf.js b/src/model/TlsBulkCertificateResponseAttributesAllOf.js
index 9ed538146..226e3af7e 100644
--- a/src/model/TlsBulkCertificateResponseAttributesAllOf.js
+++ b/src/model/TlsBulkCertificateResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsBulkCertificateResponseAttributesAllOf model module.
* @module model/TlsBulkCertificateResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateResponseAttributesAllOf {
/**
diff --git a/src/model/TlsBulkCertificateResponseData.js b/src/model/TlsBulkCertificateResponseData.js
index 68f6f75f9..e8e35b410 100644
--- a/src/model/TlsBulkCertificateResponseData.js
+++ b/src/model/TlsBulkCertificateResponseData.js
@@ -20,7 +20,7 @@ import TypeTlsBulkCertificate from './TypeTlsBulkCertificate';
/**
* The TlsBulkCertificateResponseData model module.
* @module model/TlsBulkCertificateResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateResponseData {
/**
diff --git a/src/model/TlsBulkCertificateResponseDataAllOf.js b/src/model/TlsBulkCertificateResponseDataAllOf.js
index f46fc2640..3f07360de 100644
--- a/src/model/TlsBulkCertificateResponseDataAllOf.js
+++ b/src/model/TlsBulkCertificateResponseDataAllOf.js
@@ -16,7 +16,7 @@ import TlsBulkCertificateResponseAttributes from './TlsBulkCertificateResponseAt
/**
* The TlsBulkCertificateResponseDataAllOf model module.
* @module model/TlsBulkCertificateResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificateResponseDataAllOf {
/**
diff --git a/src/model/TlsBulkCertificatesResponse.js b/src/model/TlsBulkCertificatesResponse.js
index a11bf7a97..35a9daa50 100644
--- a/src/model/TlsBulkCertificatesResponse.js
+++ b/src/model/TlsBulkCertificatesResponse.js
@@ -20,7 +20,7 @@ import TlsBulkCertificatesResponseAllOf from './TlsBulkCertificatesResponseAllOf
/**
* The TlsBulkCertificatesResponse model module.
* @module model/TlsBulkCertificatesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificatesResponse {
/**
diff --git a/src/model/TlsBulkCertificatesResponseAllOf.js b/src/model/TlsBulkCertificatesResponseAllOf.js
index bc1c30f85..37cfed551 100644
--- a/src/model/TlsBulkCertificatesResponseAllOf.js
+++ b/src/model/TlsBulkCertificatesResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsBulkCertificateResponseData from './TlsBulkCertificateResponseData';
/**
* The TlsBulkCertificatesResponseAllOf model module.
* @module model/TlsBulkCertificatesResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsBulkCertificatesResponseAllOf {
/**
diff --git a/src/model/TlsCertificate.js b/src/model/TlsCertificate.js
index eef23c462..8a107a25e 100644
--- a/src/model/TlsCertificate.js
+++ b/src/model/TlsCertificate.js
@@ -16,7 +16,7 @@ import TlsCertificateData from './TlsCertificateData';
/**
* The TlsCertificate model module.
* @module model/TlsCertificate
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificate {
/**
diff --git a/src/model/TlsCertificateData.js b/src/model/TlsCertificateData.js
index 8ab04e892..5c280a720 100644
--- a/src/model/TlsCertificateData.js
+++ b/src/model/TlsCertificateData.js
@@ -18,7 +18,7 @@ import TypeTlsCertificate from './TypeTlsCertificate';
/**
* The TlsCertificateData model module.
* @module model/TlsCertificateData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateData {
/**
diff --git a/src/model/TlsCertificateDataAttributes.js b/src/model/TlsCertificateDataAttributes.js
index d5a698c79..c5320818b 100644
--- a/src/model/TlsCertificateDataAttributes.js
+++ b/src/model/TlsCertificateDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsCertificateDataAttributes model module.
* @module model/TlsCertificateDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateDataAttributes {
/**
diff --git a/src/model/TlsCertificateResponse.js b/src/model/TlsCertificateResponse.js
index 0fb565f6b..925b7bd72 100644
--- a/src/model/TlsCertificateResponse.js
+++ b/src/model/TlsCertificateResponse.js
@@ -16,7 +16,7 @@ import TlsCertificateResponseData from './TlsCertificateResponseData';
/**
* The TlsCertificateResponse model module.
* @module model/TlsCertificateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateResponse {
/**
diff --git a/src/model/TlsCertificateResponseAttributes.js b/src/model/TlsCertificateResponseAttributes.js
index a440b0a38..56734a3bd 100644
--- a/src/model/TlsCertificateResponseAttributes.js
+++ b/src/model/TlsCertificateResponseAttributes.js
@@ -17,7 +17,7 @@ import TlsCertificateResponseAttributesAllOf from './TlsCertificateResponseAttri
/**
* The TlsCertificateResponseAttributes model module.
* @module model/TlsCertificateResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateResponseAttributes {
/**
diff --git a/src/model/TlsCertificateResponseAttributesAllOf.js b/src/model/TlsCertificateResponseAttributesAllOf.js
index 3e5016789..94f35c6ef 100644
--- a/src/model/TlsCertificateResponseAttributesAllOf.js
+++ b/src/model/TlsCertificateResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsCertificateResponseAttributesAllOf model module.
* @module model/TlsCertificateResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateResponseAttributesAllOf {
/**
diff --git a/src/model/TlsCertificateResponseData.js b/src/model/TlsCertificateResponseData.js
index 1a725d3d3..33208752c 100644
--- a/src/model/TlsCertificateResponseData.js
+++ b/src/model/TlsCertificateResponseData.js
@@ -20,7 +20,7 @@ import TypeTlsCertificate from './TypeTlsCertificate';
/**
* The TlsCertificateResponseData model module.
* @module model/TlsCertificateResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateResponseData {
/**
diff --git a/src/model/TlsCertificateResponseDataAllOf.js b/src/model/TlsCertificateResponseDataAllOf.js
index 1864b3c28..a82646c33 100644
--- a/src/model/TlsCertificateResponseDataAllOf.js
+++ b/src/model/TlsCertificateResponseDataAllOf.js
@@ -16,7 +16,7 @@ import TlsCertificateResponseAttributes from './TlsCertificateResponseAttributes
/**
* The TlsCertificateResponseDataAllOf model module.
* @module model/TlsCertificateResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificateResponseDataAllOf {
/**
diff --git a/src/model/TlsCertificatesResponse.js b/src/model/TlsCertificatesResponse.js
index 51cc271c8..95a1deb07 100644
--- a/src/model/TlsCertificatesResponse.js
+++ b/src/model/TlsCertificatesResponse.js
@@ -20,7 +20,7 @@ import TlsCertificatesResponseAllOf from './TlsCertificatesResponseAllOf';
/**
* The TlsCertificatesResponse model module.
* @module model/TlsCertificatesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificatesResponse {
/**
diff --git a/src/model/TlsCertificatesResponseAllOf.js b/src/model/TlsCertificatesResponseAllOf.js
index 1e9c82d29..3f92f0e25 100644
--- a/src/model/TlsCertificatesResponseAllOf.js
+++ b/src/model/TlsCertificatesResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsCertificateResponseData from './TlsCertificateResponseData';
/**
* The TlsCertificatesResponseAllOf model module.
* @module model/TlsCertificatesResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsCertificatesResponseAllOf {
/**
diff --git a/src/model/TlsCommonResponse.js b/src/model/TlsCommonResponse.js
new file mode 100644
index 000000000..aee9461e1
--- /dev/null
+++ b/src/model/TlsCommonResponse.js
@@ -0,0 +1,171 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import TlsCommonResponseAllOf from './TlsCommonResponseAllOf';
+import TlsCommonResponseAllOf1 from './TlsCommonResponseAllOf1';
+
+/**
+ * The TlsCommonResponse model module.
+ * @module model/TlsCommonResponse
+ * @version 6.0.0
+ */
+class TlsCommonResponse {
+ /**
+ * Constructs a new TlsCommonResponse
.
+ * @alias module:model/TlsCommonResponse
+ * @implements module:model/TlsCommonResponseAllOf
+ * @implements module:model/TlsCommonResponseAllOf1
+ */
+ constructor() {
+ TlsCommonResponseAllOf.initialize(this);TlsCommonResponseAllOf1.initialize(this);
+ TlsCommonResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a TlsCommonResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsCommonResponse} obj Optional instance to populate.
+ * @return {module:model/TlsCommonResponse} The populated TlsCommonResponse
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsCommonResponse();
+ TlsCommonResponseAllOf.constructFromObject(data, obj);
+ TlsCommonResponseAllOf1.constructFromObject(data, obj);
+
+ if (data.hasOwnProperty('tls_ca_cert')) {
+ obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
+ }
+ if (data.hasOwnProperty('tls_client_cert')) {
+ obj['tls_client_cert'] = ApiClient.convertToType(data['tls_client_cert'], 'String');
+ }
+ if (data.hasOwnProperty('tls_client_key')) {
+ obj['tls_client_key'] = ApiClient.convertToType(data['tls_client_key'], 'String');
+ }
+ if (data.hasOwnProperty('tls_cert_hostname')) {
+ obj['tls_cert_hostname'] = ApiClient.convertToType(data['tls_cert_hostname'], 'String');
+ }
+ if (data.hasOwnProperty('use_tls')) {
+ obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * A secure certificate to authenticate a server with. Must be in PEM format.
+ * @member {String} tls_ca_cert
+ * @default 'null'
+ */
+TlsCommonResponse.prototype['tls_ca_cert'] = 'null';
+
+/**
+ * The client certificate used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_cert
+ * @default 'null'
+ */
+TlsCommonResponse.prototype['tls_client_cert'] = 'null';
+
+/**
+ * The client private key used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_key
+ * @default 'null'
+ */
+TlsCommonResponse.prototype['tls_client_key'] = 'null';
+
+/**
+ * The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
+ * @member {String} tls_cert_hostname
+ * @default 'null'
+ */
+TlsCommonResponse.prototype['tls_cert_hostname'] = 'null';
+
+/**
+ * Whether to use TLS.
+ * @member {module:model/TlsCommonResponse.UseTlsEnum} use_tls
+ * @default '0'
+ */
+TlsCommonResponse.prototype['use_tls'] = undefined;
+
+
+// Implement TlsCommonResponseAllOf interface:
+/**
+ * A secure certificate to authenticate a server with. Must be in PEM format.
+ * @member {String} tls_ca_cert
+ * @default 'null'
+ */
+TlsCommonResponseAllOf.prototype['tls_ca_cert'] = 'null';
+/**
+ * The client certificate used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_cert
+ * @default 'null'
+ */
+TlsCommonResponseAllOf.prototype['tls_client_cert'] = 'null';
+/**
+ * The client private key used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_key
+ * @default 'null'
+ */
+TlsCommonResponseAllOf.prototype['tls_client_key'] = 'null';
+/**
+ * The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
+ * @member {String} tls_cert_hostname
+ * @default 'null'
+ */
+TlsCommonResponseAllOf.prototype['tls_cert_hostname'] = 'null';
+// Implement TlsCommonResponseAllOf1 interface:
+/**
+ * Whether to use TLS.
+ * @member {module:model/TlsCommonResponseAllOf1.UseTlsEnum} use_tls
+ * @default '0'
+ */
+TlsCommonResponseAllOf1.prototype['use_tls'] = undefined;
+
+
+
+/**
+ * Allowed values for the use_tls
property.
+ * @enum {String}
+ * @readonly
+ */
+TlsCommonResponse['UseTlsEnum'] = {
+
+ /**
+ * value: "0"
+ * @const
+ */
+ "no_tls": "0",
+
+ /**
+ * value: "1"
+ * @const
+ */
+ "use_tls": "1"
+};
+
+
+
+export default TlsCommonResponse;
+
diff --git a/src/model/TlsCommon.js b/src/model/TlsCommonResponseAllOf.js
similarity index 67%
rename from src/model/TlsCommon.js
rename to src/model/TlsCommonResponseAllOf.js
index 58727f719..7c828808e 100644
--- a/src/model/TlsCommon.js
+++ b/src/model/TlsCommonResponseAllOf.js
@@ -13,18 +13,18 @@
import ApiClient from '../ApiClient';
/**
- * The TlsCommon model module.
- * @module model/TlsCommon
- * @version 5.0.2
+ * The TlsCommonResponseAllOf model module.
+ * @module model/TlsCommonResponseAllOf
+ * @version 6.0.0
*/
-class TlsCommon {
+class TlsCommonResponseAllOf {
/**
- * Constructs a new TlsCommon
.
- * @alias module:model/TlsCommon
+ * Constructs a new TlsCommonResponseAllOf
.
+ * @alias module:model/TlsCommonResponseAllOf
*/
constructor() {
- TlsCommon.initialize(this);
+ TlsCommonResponseAllOf.initialize(this);
}
/**
@@ -36,15 +36,15 @@ class TlsCommon {
}
/**
- * Constructs a TlsCommon
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCommonResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsCommon} obj Optional instance to populate.
- * @return {module:model/TlsCommon} The populated TlsCommon
instance.
+ * @param {module:model/TlsCommonResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/TlsCommonResponseAllOf} The populated TlsCommonResponseAllOf
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsCommon();
+ obj = obj || new TlsCommonResponseAllOf();
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = ApiClient.convertToType(data['tls_ca_cert'], 'String');
@@ -58,9 +58,6 @@ class TlsCommon {
if (data.hasOwnProperty('tls_cert_hostname')) {
obj['tls_cert_hostname'] = ApiClient.convertToType(data['tls_cert_hostname'], 'String');
}
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'Number');
- }
}
return obj;
}
@@ -73,61 +70,33 @@ class TlsCommon {
* @member {String} tls_ca_cert
* @default 'null'
*/
-TlsCommon.prototype['tls_ca_cert'] = 'null';
+TlsCommonResponseAllOf.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-TlsCommon.prototype['tls_client_cert'] = 'null';
+TlsCommonResponseAllOf.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-TlsCommon.prototype['tls_client_key'] = 'null';
+TlsCommonResponseAllOf.prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-TlsCommon.prototype['tls_cert_hostname'] = 'null';
-
-/**
- * Whether to use TLS.
- * @member {module:model/TlsCommon.UseTlsEnum} use_tls
- * @default UseTlsEnum.no_tls
- */
-TlsCommon.prototype['use_tls'] = undefined;
-
-
-
+TlsCommonResponseAllOf.prototype['tls_cert_hostname'] = 'null';
-/**
- * Allowed values for the use_tls
property.
- * @enum {Number}
- * @readonly
- */
-TlsCommon['UseTlsEnum'] = {
- /**
- * value: 0
- * @const
- */
- "no_tls": 0,
-
- /**
- * value: 1
- * @const
- */
- "use_tls": 1
-};
-export default TlsCommon;
+export default TlsCommonResponseAllOf;
diff --git a/src/model/TlsCommonResponseAllOf1.js b/src/model/TlsCommonResponseAllOf1.js
new file mode 100644
index 000000000..81dee6409
--- /dev/null
+++ b/src/model/TlsCommonResponseAllOf1.js
@@ -0,0 +1,93 @@
+/**
+ * Fastly API
+ * Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: oss@fastly.com
+ *
+ * NOTE: This class is auto generated.
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The TlsCommonResponseAllOf1 model module.
+ * @module model/TlsCommonResponseAllOf1
+ * @version 6.0.0
+ */
+class TlsCommonResponseAllOf1 {
+ /**
+ * Constructs a new TlsCommonResponseAllOf1
.
+ * @alias module:model/TlsCommonResponseAllOf1
+ */
+ constructor() {
+
+ TlsCommonResponseAllOf1.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a TlsCommonResponseAllOf1
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsCommonResponseAllOf1} obj Optional instance to populate.
+ * @return {module:model/TlsCommonResponseAllOf1} The populated TlsCommonResponseAllOf1
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsCommonResponseAllOf1();
+
+ if (data.hasOwnProperty('use_tls')) {
+ obj['use_tls'] = ApiClient.convertToType(data['use_tls'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Whether to use TLS.
+ * @member {module:model/TlsCommonResponseAllOf1.UseTlsEnum} use_tls
+ * @default '0'
+ */
+TlsCommonResponseAllOf1.prototype['use_tls'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the use_tls
property.
+ * @enum {String}
+ * @readonly
+ */
+TlsCommonResponseAllOf1['UseTlsEnum'] = {
+
+ /**
+ * value: "0"
+ * @const
+ */
+ "no_tls": "0",
+
+ /**
+ * value: "1"
+ * @const
+ */
+ "use_tls": "1"
+};
+
+
+
+export default TlsCommonResponseAllOf1;
+
diff --git a/src/model/TlsConfiguration.js b/src/model/TlsConfiguration.js
index f04273774..6015a7671 100644
--- a/src/model/TlsConfiguration.js
+++ b/src/model/TlsConfiguration.js
@@ -16,7 +16,7 @@ import TlsConfigurationData from './TlsConfigurationData';
/**
* The TlsConfiguration model module.
* @module model/TlsConfiguration
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfiguration {
/**
diff --git a/src/model/TlsConfigurationData.js b/src/model/TlsConfigurationData.js
index 53f7a1f08..b78321a37 100644
--- a/src/model/TlsConfigurationData.js
+++ b/src/model/TlsConfigurationData.js
@@ -18,7 +18,7 @@ import TypeTlsConfiguration from './TypeTlsConfiguration';
/**
* The TlsConfigurationData model module.
* @module model/TlsConfigurationData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationData {
/**
diff --git a/src/model/TlsConfigurationDataAttributes.js b/src/model/TlsConfigurationDataAttributes.js
index 9c6cb89fd..fc96f9566 100644
--- a/src/model/TlsConfigurationDataAttributes.js
+++ b/src/model/TlsConfigurationDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsConfigurationDataAttributes model module.
* @module model/TlsConfigurationDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationDataAttributes {
/**
diff --git a/src/model/TlsConfigurationResponse.js b/src/model/TlsConfigurationResponse.js
index 51c1030d6..ca072891d 100644
--- a/src/model/TlsConfigurationResponse.js
+++ b/src/model/TlsConfigurationResponse.js
@@ -16,7 +16,7 @@ import TlsConfigurationResponseData from './TlsConfigurationResponseData';
/**
* The TlsConfigurationResponse model module.
* @module model/TlsConfigurationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationResponse {
/**
diff --git a/src/model/TlsConfigurationResponseAttributes.js b/src/model/TlsConfigurationResponseAttributes.js
index b3bc050ee..1fc148fd6 100644
--- a/src/model/TlsConfigurationResponseAttributes.js
+++ b/src/model/TlsConfigurationResponseAttributes.js
@@ -17,7 +17,7 @@ import TlsConfigurationResponseAttributesAllOf from './TlsConfigurationResponseA
/**
* The TlsConfigurationResponseAttributes model module.
* @module model/TlsConfigurationResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationResponseAttributes {
/**
diff --git a/src/model/TlsConfigurationResponseAttributesAllOf.js b/src/model/TlsConfigurationResponseAttributesAllOf.js
index 9ed8d447c..5171fc416 100644
--- a/src/model/TlsConfigurationResponseAttributesAllOf.js
+++ b/src/model/TlsConfigurationResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsConfigurationResponseAttributesAllOf model module.
* @module model/TlsConfigurationResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationResponseAttributesAllOf {
/**
diff --git a/src/model/TlsConfigurationResponseData.js b/src/model/TlsConfigurationResponseData.js
index dc403d8c0..4fac6fc9a 100644
--- a/src/model/TlsConfigurationResponseData.js
+++ b/src/model/TlsConfigurationResponseData.js
@@ -20,7 +20,7 @@ import TypeTlsConfiguration from './TypeTlsConfiguration';
/**
* The TlsConfigurationResponseData model module.
* @module model/TlsConfigurationResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationResponseData {
/**
diff --git a/src/model/TlsConfigurationResponseDataAllOf.js b/src/model/TlsConfigurationResponseDataAllOf.js
index 81e8f16e2..3d57b6ceb 100644
--- a/src/model/TlsConfigurationResponseDataAllOf.js
+++ b/src/model/TlsConfigurationResponseDataAllOf.js
@@ -16,7 +16,7 @@ import TlsConfigurationResponseAttributes from './TlsConfigurationResponseAttrib
/**
* The TlsConfigurationResponseDataAllOf model module.
* @module model/TlsConfigurationResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationResponseDataAllOf {
/**
diff --git a/src/model/TlsConfigurationsResponse.js b/src/model/TlsConfigurationsResponse.js
index 8641f0205..945c1affa 100644
--- a/src/model/TlsConfigurationsResponse.js
+++ b/src/model/TlsConfigurationsResponse.js
@@ -20,7 +20,7 @@ import TlsConfigurationsResponseAllOf from './TlsConfigurationsResponseAllOf';
/**
* The TlsConfigurationsResponse model module.
* @module model/TlsConfigurationsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationsResponse {
/**
diff --git a/src/model/TlsConfigurationsResponseAllOf.js b/src/model/TlsConfigurationsResponseAllOf.js
index ac110e56d..5c900d918 100644
--- a/src/model/TlsConfigurationsResponseAllOf.js
+++ b/src/model/TlsConfigurationsResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsConfigurationResponseData from './TlsConfigurationResponseData';
/**
* The TlsConfigurationsResponseAllOf model module.
* @module model/TlsConfigurationsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsConfigurationsResponseAllOf {
/**
diff --git a/src/model/TlsDnsRecord.js b/src/model/TlsDnsRecord.js
index 85c9dd625..23947a571 100644
--- a/src/model/TlsDnsRecord.js
+++ b/src/model/TlsDnsRecord.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsDnsRecord model module.
* @module model/TlsDnsRecord
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsDnsRecord {
/**
diff --git a/src/model/TlsDomainData.js b/src/model/TlsDomainData.js
index 4455d590a..7591e3207 100644
--- a/src/model/TlsDomainData.js
+++ b/src/model/TlsDomainData.js
@@ -17,7 +17,7 @@ import TypeTlsDomain from './TypeTlsDomain';
/**
* The TlsDomainData model module.
* @module model/TlsDomainData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsDomainData {
/**
diff --git a/src/model/TlsDomainsResponse.js b/src/model/TlsDomainsResponse.js
index 9c855d048..6ab9a3271 100644
--- a/src/model/TlsDomainsResponse.js
+++ b/src/model/TlsDomainsResponse.js
@@ -20,7 +20,7 @@ import TlsDomainsResponseAllOf from './TlsDomainsResponseAllOf';
/**
* The TlsDomainsResponse model module.
* @module model/TlsDomainsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsDomainsResponse {
/**
diff --git a/src/model/TlsDomainsResponseAllOf.js b/src/model/TlsDomainsResponseAllOf.js
index 6582d5a0d..ccfa3d78f 100644
--- a/src/model/TlsDomainsResponseAllOf.js
+++ b/src/model/TlsDomainsResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsDomainData from './TlsDomainData';
/**
* The TlsDomainsResponseAllOf model module.
* @module model/TlsDomainsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsDomainsResponseAllOf {
/**
diff --git a/src/model/TlsPrivateKey.js b/src/model/TlsPrivateKey.js
index e3980e0aa..babf8d273 100644
--- a/src/model/TlsPrivateKey.js
+++ b/src/model/TlsPrivateKey.js
@@ -16,7 +16,7 @@ import TlsPrivateKeyData from './TlsPrivateKeyData';
/**
* The TlsPrivateKey model module.
* @module model/TlsPrivateKey
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKey {
/**
diff --git a/src/model/TlsPrivateKeyData.js b/src/model/TlsPrivateKeyData.js
index 0132bfebd..ebe85502c 100644
--- a/src/model/TlsPrivateKeyData.js
+++ b/src/model/TlsPrivateKeyData.js
@@ -18,7 +18,7 @@ import TypeTlsPrivateKey from './TypeTlsPrivateKey';
/**
* The TlsPrivateKeyData model module.
* @module model/TlsPrivateKeyData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyData {
/**
diff --git a/src/model/TlsPrivateKeyDataAttributes.js b/src/model/TlsPrivateKeyDataAttributes.js
index ba3f3040b..49f2f660c 100644
--- a/src/model/TlsPrivateKeyDataAttributes.js
+++ b/src/model/TlsPrivateKeyDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsPrivateKeyDataAttributes model module.
* @module model/TlsPrivateKeyDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyDataAttributes {
/**
diff --git a/src/model/TlsPrivateKeyResponse.js b/src/model/TlsPrivateKeyResponse.js
index 567e3712a..458feb787 100644
--- a/src/model/TlsPrivateKeyResponse.js
+++ b/src/model/TlsPrivateKeyResponse.js
@@ -16,7 +16,7 @@ import TlsPrivateKeyResponseData from './TlsPrivateKeyResponseData';
/**
* The TlsPrivateKeyResponse model module.
* @module model/TlsPrivateKeyResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyResponse {
/**
diff --git a/src/model/TlsPrivateKeyResponseAttributes.js b/src/model/TlsPrivateKeyResponseAttributes.js
index 4f7b34d6c..8a8401927 100644
--- a/src/model/TlsPrivateKeyResponseAttributes.js
+++ b/src/model/TlsPrivateKeyResponseAttributes.js
@@ -17,7 +17,7 @@ import TlsPrivateKeyResponseAttributesAllOf from './TlsPrivateKeyResponseAttribu
/**
* The TlsPrivateKeyResponseAttributes model module.
* @module model/TlsPrivateKeyResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyResponseAttributes {
/**
diff --git a/src/model/TlsPrivateKeyResponseAttributesAllOf.js b/src/model/TlsPrivateKeyResponseAttributesAllOf.js
index c67c41e18..2ff85dca1 100644
--- a/src/model/TlsPrivateKeyResponseAttributesAllOf.js
+++ b/src/model/TlsPrivateKeyResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsPrivateKeyResponseAttributesAllOf model module.
* @module model/TlsPrivateKeyResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyResponseAttributesAllOf {
/**
diff --git a/src/model/TlsPrivateKeyResponseData.js b/src/model/TlsPrivateKeyResponseData.js
index 53b5d8d71..38e20c862 100644
--- a/src/model/TlsPrivateKeyResponseData.js
+++ b/src/model/TlsPrivateKeyResponseData.js
@@ -17,7 +17,7 @@ import TypeTlsPrivateKey from './TypeTlsPrivateKey';
/**
* The TlsPrivateKeyResponseData model module.
* @module model/TlsPrivateKeyResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeyResponseData {
/**
diff --git a/src/model/TlsPrivateKeysResponse.js b/src/model/TlsPrivateKeysResponse.js
index 1214a2aeb..3ed5936aa 100644
--- a/src/model/TlsPrivateKeysResponse.js
+++ b/src/model/TlsPrivateKeysResponse.js
@@ -20,7 +20,7 @@ import TlsPrivateKeysResponseAllOf from './TlsPrivateKeysResponseAllOf';
/**
* The TlsPrivateKeysResponse model module.
* @module model/TlsPrivateKeysResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeysResponse {
/**
diff --git a/src/model/TlsPrivateKeysResponseAllOf.js b/src/model/TlsPrivateKeysResponseAllOf.js
index 446cddf6f..99da59673 100644
--- a/src/model/TlsPrivateKeysResponseAllOf.js
+++ b/src/model/TlsPrivateKeysResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsPrivateKeyResponseData from './TlsPrivateKeyResponseData';
/**
* The TlsPrivateKeysResponseAllOf model module.
* @module model/TlsPrivateKeysResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsPrivateKeysResponseAllOf {
/**
diff --git a/src/model/TlsSubscription.js b/src/model/TlsSubscription.js
index ae4585d11..a3de2f654 100644
--- a/src/model/TlsSubscription.js
+++ b/src/model/TlsSubscription.js
@@ -16,7 +16,7 @@ import TlsSubscriptionData from './TlsSubscriptionData';
/**
* The TlsSubscription model module.
* @module model/TlsSubscription
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscription {
/**
diff --git a/src/model/TlsSubscriptionData.js b/src/model/TlsSubscriptionData.js
index 4c10b90c4..c3635c791 100644
--- a/src/model/TlsSubscriptionData.js
+++ b/src/model/TlsSubscriptionData.js
@@ -18,7 +18,7 @@ import TypeTlsSubscription from './TypeTlsSubscription';
/**
* The TlsSubscriptionData model module.
* @module model/TlsSubscriptionData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionData {
/**
diff --git a/src/model/TlsSubscriptionDataAttributes.js b/src/model/TlsSubscriptionDataAttributes.js
index 9f64bb537..d70be8f60 100644
--- a/src/model/TlsSubscriptionDataAttributes.js
+++ b/src/model/TlsSubscriptionDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsSubscriptionDataAttributes model module.
* @module model/TlsSubscriptionDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionDataAttributes {
/**
diff --git a/src/model/TlsSubscriptionResponse.js b/src/model/TlsSubscriptionResponse.js
index 479cd248c..16126bcb7 100644
--- a/src/model/TlsSubscriptionResponse.js
+++ b/src/model/TlsSubscriptionResponse.js
@@ -16,7 +16,7 @@ import TlsSubscriptionResponseData from './TlsSubscriptionResponseData';
/**
* The TlsSubscriptionResponse model module.
* @module model/TlsSubscriptionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionResponse {
/**
diff --git a/src/model/TlsSubscriptionResponseAttributes.js b/src/model/TlsSubscriptionResponseAttributes.js
index cb1e49bfe..b539d1051 100644
--- a/src/model/TlsSubscriptionResponseAttributes.js
+++ b/src/model/TlsSubscriptionResponseAttributes.js
@@ -17,7 +17,7 @@ import TlsSubscriptionResponseAttributesAllOf from './TlsSubscriptionResponseAtt
/**
* The TlsSubscriptionResponseAttributes model module.
* @module model/TlsSubscriptionResponseAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionResponseAttributes {
/**
diff --git a/src/model/TlsSubscriptionResponseAttributesAllOf.js b/src/model/TlsSubscriptionResponseAttributesAllOf.js
index 7f0d51dd5..f647c0601 100644
--- a/src/model/TlsSubscriptionResponseAttributesAllOf.js
+++ b/src/model/TlsSubscriptionResponseAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TlsSubscriptionResponseAttributesAllOf model module.
* @module model/TlsSubscriptionResponseAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionResponseAttributesAllOf {
/**
diff --git a/src/model/TlsSubscriptionResponseData.js b/src/model/TlsSubscriptionResponseData.js
index 82b5ec9c7..e84120af4 100644
--- a/src/model/TlsSubscriptionResponseData.js
+++ b/src/model/TlsSubscriptionResponseData.js
@@ -12,21 +12,19 @@
import ApiClient from '../ApiClient';
import TlsSubscriptionResponseAttributes from './TlsSubscriptionResponseAttributes';
-import TlsSubscriptionResponseDataAllOf from './TlsSubscriptionResponseDataAllOf';
/**
* The TlsSubscriptionResponseData model module.
* @module model/TlsSubscriptionResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionResponseData {
/**
* Constructs a new TlsSubscriptionResponseData
.
* @alias module:model/TlsSubscriptionResponseData
- * @implements module:model/TlsSubscriptionResponseDataAllOf
*/
constructor() {
- TlsSubscriptionResponseDataAllOf.initialize(this);
+
TlsSubscriptionResponseData.initialize(this);
}
@@ -48,7 +46,6 @@ class TlsSubscriptionResponseData {
static constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponseData();
- TlsSubscriptionResponseDataAllOf.constructFromObject(data, obj);
if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'String');
@@ -74,15 +71,6 @@ TlsSubscriptionResponseData.prototype['id'] = undefined;
TlsSubscriptionResponseData.prototype['attributes'] = undefined;
-// Implement TlsSubscriptionResponseDataAllOf interface:
-/**
- * @member {String} id
- */
-TlsSubscriptionResponseDataAllOf.prototype['id'] = undefined;
-/**
- * @member {module:model/TlsSubscriptionResponseAttributes} attributes
- */
-TlsSubscriptionResponseDataAllOf.prototype['attributes'] = undefined;
diff --git a/src/model/TlsSubscriptionsResponse.js b/src/model/TlsSubscriptionsResponse.js
index 84501d2bb..de1b0f7b9 100644
--- a/src/model/TlsSubscriptionsResponse.js
+++ b/src/model/TlsSubscriptionsResponse.js
@@ -20,7 +20,7 @@ import TlsSubscriptionsResponseAllOf from './TlsSubscriptionsResponseAllOf';
/**
* The TlsSubscriptionsResponse model module.
* @module model/TlsSubscriptionsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionsResponse {
/**
diff --git a/src/model/TlsSubscriptionsResponseAllOf.js b/src/model/TlsSubscriptionsResponseAllOf.js
index ac9446c26..244bb8c05 100644
--- a/src/model/TlsSubscriptionsResponseAllOf.js
+++ b/src/model/TlsSubscriptionsResponseAllOf.js
@@ -16,7 +16,7 @@ import TlsSubscriptionResponse from './TlsSubscriptionResponse';
/**
* The TlsSubscriptionsResponseAllOf model module.
* @module model/TlsSubscriptionsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TlsSubscriptionsResponseAllOf {
/**
diff --git a/src/model/Token.js b/src/model/Token.js
index 591bea280..9150a703a 100644
--- a/src/model/Token.js
+++ b/src/model/Token.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Token model module.
* @module model/Token
- * @version 5.0.2
+ * @version 6.0.0
*/
class Token {
/**
diff --git a/src/model/TokenCreatedResponse.js b/src/model/TokenCreatedResponse.js
index a2efd40bc..e130c007e 100644
--- a/src/model/TokenCreatedResponse.js
+++ b/src/model/TokenCreatedResponse.js
@@ -17,7 +17,7 @@ import TokenResponse from './TokenResponse';
/**
* The TokenCreatedResponse model module.
* @module model/TokenCreatedResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TokenCreatedResponse {
/**
diff --git a/src/model/TokenCreatedResponseAllOf.js b/src/model/TokenCreatedResponseAllOf.js
index 82a995156..87acf83d9 100644
--- a/src/model/TokenCreatedResponseAllOf.js
+++ b/src/model/TokenCreatedResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TokenCreatedResponseAllOf model module.
* @module model/TokenCreatedResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TokenCreatedResponseAllOf {
/**
diff --git a/src/model/TokenResponse.js b/src/model/TokenResponse.js
index 45f497e9c..9993796a1 100644
--- a/src/model/TokenResponse.js
+++ b/src/model/TokenResponse.js
@@ -18,7 +18,7 @@ import TokenResponseAllOf from './TokenResponseAllOf';
/**
* The TokenResponse model module.
* @module model/TokenResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class TokenResponse {
/**
diff --git a/src/model/TokenResponseAllOf.js b/src/model/TokenResponseAllOf.js
index 9dd7e2c95..55e8917ed 100644
--- a/src/model/TokenResponseAllOf.js
+++ b/src/model/TokenResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TokenResponseAllOf model module.
* @module model/TokenResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class TokenResponseAllOf {
/**
diff --git a/src/model/TokensAdditionalProps.js b/src/model/TokensAdditionalProps.js
index 4c5a7e5d4..931fcb24e 100644
--- a/src/model/TokensAdditionalProps.js
+++ b/src/model/TokensAdditionalProps.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The TokensAdditionalProps model module.
* @module model/TokensAdditionalProps
- * @version 5.0.2
+ * @version 6.0.0
*/
class TokensAdditionalProps {
/**
diff --git a/src/model/UpdateBillingAddressRequest.js b/src/model/UpdateBillingAddressRequest.js
index 344fd6fa6..61184f147 100644
--- a/src/model/UpdateBillingAddressRequest.js
+++ b/src/model/UpdateBillingAddressRequest.js
@@ -16,7 +16,7 @@ import UpdateBillingAddressRequestData from './UpdateBillingAddressRequestData';
/**
* The UpdateBillingAddressRequest model module.
* @module model/UpdateBillingAddressRequest
- * @version 5.0.2
+ * @version 6.0.0
*/
class UpdateBillingAddressRequest {
/**
diff --git a/src/model/UpdateBillingAddressRequestData.js b/src/model/UpdateBillingAddressRequestData.js
index 70993adb9..672c51dc3 100644
--- a/src/model/UpdateBillingAddressRequestData.js
+++ b/src/model/UpdateBillingAddressRequestData.js
@@ -17,7 +17,7 @@ import TypeBillingAddress from './TypeBillingAddress';
/**
* The UpdateBillingAddressRequestData model module.
* @module model/UpdateBillingAddressRequestData
- * @version 5.0.2
+ * @version 6.0.0
*/
class UpdateBillingAddressRequestData {
/**
diff --git a/src/model/User.js b/src/model/User.js
index 8cb756b02..cbfb1b5f8 100644
--- a/src/model/User.js
+++ b/src/model/User.js
@@ -16,7 +16,7 @@ import RoleUser from './RoleUser';
/**
* The User model module.
* @module model/User
- * @version 5.0.2
+ * @version 6.0.0
*/
class User {
/**
diff --git a/src/model/UserResponse.js b/src/model/UserResponse.js
index 4e3bd29a2..2da868bb6 100644
--- a/src/model/UserResponse.js
+++ b/src/model/UserResponse.js
@@ -19,7 +19,7 @@ import UserResponseReadOnly from './UserResponseReadOnly';
/**
* The UserResponse model module.
* @module model/UserResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class UserResponse {
/**
diff --git a/src/model/UserResponseReadOnly.js b/src/model/UserResponseReadOnly.js
index 971db9e8d..9a9cf3376 100644
--- a/src/model/UserResponseReadOnly.js
+++ b/src/model/UserResponseReadOnly.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The UserResponseReadOnly model module.
* @module model/UserResponseReadOnly
- * @version 5.0.2
+ * @version 6.0.0
*/
class UserResponseReadOnly {
/**
diff --git a/src/model/ValidatorResult.js b/src/model/ValidatorResult.js
index 118502100..1341789b0 100644
--- a/src/model/ValidatorResult.js
+++ b/src/model/ValidatorResult.js
@@ -16,7 +16,7 @@ import ValidatorResultData from './ValidatorResultData';
/**
* The ValidatorResult model module.
* @module model/ValidatorResult
- * @version 5.0.2
+ * @version 6.0.0
*/
class ValidatorResult {
/**
diff --git a/src/model/ValidatorResultData.js b/src/model/ValidatorResultData.js
index d8aafb8bd..a342df930 100644
--- a/src/model/ValidatorResultData.js
+++ b/src/model/ValidatorResultData.js
@@ -16,7 +16,7 @@ import ValidatorResultDataAttributes from './ValidatorResultDataAttributes';
/**
* The ValidatorResultData model module.
* @module model/ValidatorResultData
- * @version 5.0.2
+ * @version 6.0.0
*/
class ValidatorResultData {
/**
diff --git a/src/model/ValidatorResultDataAttributes.js b/src/model/ValidatorResultDataAttributes.js
index 6bbaaa1ba..431f2be58 100644
--- a/src/model/ValidatorResultDataAttributes.js
+++ b/src/model/ValidatorResultDataAttributes.js
@@ -16,7 +16,7 @@ import ValidatorResultDataAttributesMessages from './ValidatorResultDataAttribut
/**
* The ValidatorResultDataAttributes model module.
* @module model/ValidatorResultDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class ValidatorResultDataAttributes {
/**
diff --git a/src/model/ValidatorResultDataAttributesMessages.js b/src/model/ValidatorResultDataAttributesMessages.js
index ccbac97b7..cb9cd2c48 100644
--- a/src/model/ValidatorResultDataAttributesMessages.js
+++ b/src/model/ValidatorResultDataAttributesMessages.js
@@ -16,7 +16,7 @@ import TokensAdditionalProps from './TokensAdditionalProps';
/**
* The ValidatorResultDataAttributesMessages model module.
* @module model/ValidatorResultDataAttributesMessages
- * @version 5.0.2
+ * @version 6.0.0
*/
class ValidatorResultDataAttributesMessages {
/**
diff --git a/src/model/Values.js b/src/model/Values.js
index 6143eea59..424d06134 100644
--- a/src/model/Values.js
+++ b/src/model/Values.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Values model module.
* @module model/Values
- * @version 5.0.2
+ * @version 6.0.0
*/
class Values {
/**
diff --git a/src/model/Vcl.js b/src/model/Vcl.js
index 3183b6456..71c3acb12 100644
--- a/src/model/Vcl.js
+++ b/src/model/Vcl.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Vcl model module.
* @module model/Vcl
- * @version 5.0.2
+ * @version 6.0.0
*/
class Vcl {
/**
diff --git a/src/model/VclDiff.js b/src/model/VclDiff.js
index 33c0503c3..f73b75aec 100644
--- a/src/model/VclDiff.js
+++ b/src/model/VclDiff.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The VclDiff model module.
* @module model/VclDiff
- * @version 5.0.2
+ * @version 6.0.0
*/
class VclDiff {
/**
diff --git a/src/model/VclResponse.js b/src/model/VclResponse.js
index 9e78b2965..4e1dd1ec3 100644
--- a/src/model/VclResponse.js
+++ b/src/model/VclResponse.js
@@ -18,7 +18,7 @@ import Vcl from './Vcl';
/**
* The VclResponse model module.
* @module model/VclResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class VclResponse {
/**
diff --git a/src/model/VclSyntaxHighlightingResponse.js b/src/model/VclSyntaxHighlightingResponse.js
index bd3028014..cac9889de 100644
--- a/src/model/VclSyntaxHighlightingResponse.js
+++ b/src/model/VclSyntaxHighlightingResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The VclSyntaxHighlightingResponse model module.
* @module model/VclSyntaxHighlightingResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class VclSyntaxHighlightingResponse {
/**
diff --git a/src/model/Version.js b/src/model/Version.js
index 9c9165829..05850ab3a 100644
--- a/src/model/Version.js
+++ b/src/model/Version.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The Version model module.
* @module model/Version
- * @version 5.0.2
+ * @version 6.0.0
*/
class Version {
/**
diff --git a/src/model/VersionCreateResponse.js b/src/model/VersionCreateResponse.js
index 7a4aed82c..f77c31d01 100644
--- a/src/model/VersionCreateResponse.js
+++ b/src/model/VersionCreateResponse.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The VersionCreateResponse model module.
* @module model/VersionCreateResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class VersionCreateResponse {
/**
diff --git a/src/model/VersionDetail.js b/src/model/VersionDetail.js
index 65d2e56c9..79962f7c7 100644
--- a/src/model/VersionDetail.js
+++ b/src/model/VersionDetail.js
@@ -28,7 +28,7 @@ import VersionDetailSettings from './VersionDetailSettings';
/**
* The VersionDetail model module.
* @module model/VersionDetail
- * @version 5.0.2
+ * @version 6.0.0
*/
class VersionDetail {
/**
diff --git a/src/model/VersionDetailSettings.js b/src/model/VersionDetailSettings.js
index 002e6c377..2e695f095 100644
--- a/src/model/VersionDetailSettings.js
+++ b/src/model/VersionDetailSettings.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The VersionDetailSettings model module.
* @module model/VersionDetailSettings
- * @version 5.0.2
+ * @version 6.0.0
*/
class VersionDetailSettings {
/**
diff --git a/src/model/VersionResponse.js b/src/model/VersionResponse.js
index 5add25b3b..0d930feae 100644
--- a/src/model/VersionResponse.js
+++ b/src/model/VersionResponse.js
@@ -18,7 +18,7 @@ import VersionResponseAllOf from './VersionResponseAllOf';
/**
* The VersionResponse model module.
* @module model/VersionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class VersionResponse {
/**
diff --git a/src/model/VersionResponseAllOf.js b/src/model/VersionResponseAllOf.js
index d73b150ee..e594bb26e 100644
--- a/src/model/VersionResponseAllOf.js
+++ b/src/model/VersionResponseAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The VersionResponseAllOf model module.
* @module model/VersionResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class VersionResponseAllOf {
/**
diff --git a/src/model/WafActiveRule.js b/src/model/WafActiveRule.js
index 7235571b2..f04ad1f96 100644
--- a/src/model/WafActiveRule.js
+++ b/src/model/WafActiveRule.js
@@ -16,7 +16,7 @@ import WafActiveRuleData from './WafActiveRuleData';
/**
* The WafActiveRule model module.
* @module model/WafActiveRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRule {
/**
diff --git a/src/model/WafActiveRuleCreationResponse.js b/src/model/WafActiveRuleCreationResponse.js
index 226343909..d3b440e37 100644
--- a/src/model/WafActiveRuleCreationResponse.js
+++ b/src/model/WafActiveRuleCreationResponse.js
@@ -21,7 +21,7 @@ import WafActiveRulesResponse from './WafActiveRulesResponse';
/**
* The WafActiveRuleCreationResponse model module.
* @module model/WafActiveRuleCreationResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleCreationResponse {
/**
diff --git a/src/model/WafActiveRuleData.js b/src/model/WafActiveRuleData.js
index a1d257d28..3be452d21 100644
--- a/src/model/WafActiveRuleData.js
+++ b/src/model/WafActiveRuleData.js
@@ -18,7 +18,7 @@ import WafActiveRuleDataAttributes from './WafActiveRuleDataAttributes';
/**
* The WafActiveRuleData model module.
* @module model/WafActiveRuleData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleData {
/**
diff --git a/src/model/WafActiveRuleDataAttributes.js b/src/model/WafActiveRuleDataAttributes.js
index 38bf10ad1..852a61a72 100644
--- a/src/model/WafActiveRuleDataAttributes.js
+++ b/src/model/WafActiveRuleDataAttributes.js
@@ -16,7 +16,7 @@ import WafRuleRevisionOrLatest from './WafRuleRevisionOrLatest';
/**
* The WafActiveRuleDataAttributes model module.
* @module model/WafActiveRuleDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleDataAttributes {
/**
diff --git a/src/model/WafActiveRuleResponse.js b/src/model/WafActiveRuleResponse.js
index ac06805de..289c65c9b 100644
--- a/src/model/WafActiveRuleResponse.js
+++ b/src/model/WafActiveRuleResponse.js
@@ -16,7 +16,7 @@ import WafActiveRuleResponseData from './WafActiveRuleResponseData';
/**
* The WafActiveRuleResponse model module.
* @module model/WafActiveRuleResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponse {
/**
diff --git a/src/model/WafActiveRuleResponseData.js b/src/model/WafActiveRuleResponseData.js
index 3956bcb0e..585a05572 100644
--- a/src/model/WafActiveRuleResponseData.js
+++ b/src/model/WafActiveRuleResponseData.js
@@ -20,7 +20,7 @@ import WafActiveRuleResponseDataRelationships from './WafActiveRuleResponseDataR
/**
* The WafActiveRuleResponseData model module.
* @module model/WafActiveRuleResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponseData {
/**
diff --git a/src/model/WafActiveRuleResponseDataAllOf.js b/src/model/WafActiveRuleResponseDataAllOf.js
index c0273252b..7819ef400 100644
--- a/src/model/WafActiveRuleResponseDataAllOf.js
+++ b/src/model/WafActiveRuleResponseDataAllOf.js
@@ -17,7 +17,7 @@ import WafActiveRuleResponseDataRelationships from './WafActiveRuleResponseDataR
/**
* The WafActiveRuleResponseDataAllOf model module.
* @module model/WafActiveRuleResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponseDataAllOf {
/**
diff --git a/src/model/WafActiveRuleResponseDataAttributes.js b/src/model/WafActiveRuleResponseDataAttributes.js
index a2cbad581..a62c6ad2d 100644
--- a/src/model/WafActiveRuleResponseDataAttributes.js
+++ b/src/model/WafActiveRuleResponseDataAttributes.js
@@ -17,7 +17,7 @@ import WafActiveRuleResponseDataAttributesAllOf from './WafActiveRuleResponseDat
/**
* The WafActiveRuleResponseDataAttributes model module.
* @module model/WafActiveRuleResponseDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponseDataAttributes {
/**
diff --git a/src/model/WafActiveRuleResponseDataAttributesAllOf.js b/src/model/WafActiveRuleResponseDataAttributesAllOf.js
index 681868c93..cd31b3443 100644
--- a/src/model/WafActiveRuleResponseDataAttributesAllOf.js
+++ b/src/model/WafActiveRuleResponseDataAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafActiveRuleResponseDataAttributesAllOf model module.
* @module model/WafActiveRuleResponseDataAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponseDataAttributesAllOf {
/**
diff --git a/src/model/WafActiveRuleResponseDataRelationships.js b/src/model/WafActiveRuleResponseDataRelationships.js
index 910838846..9938f3e23 100644
--- a/src/model/WafActiveRuleResponseDataRelationships.js
+++ b/src/model/WafActiveRuleResponseDataRelationships.js
@@ -19,7 +19,7 @@ import RelationshipWafRuleRevisionWafRuleRevisions from './RelationshipWafRuleRe
/**
* The WafActiveRuleResponseDataRelationships model module.
* @module model/WafActiveRuleResponseDataRelationships
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRuleResponseDataRelationships {
/**
diff --git a/src/model/WafActiveRulesResponse.js b/src/model/WafActiveRulesResponse.js
index a268d2677..20575829d 100644
--- a/src/model/WafActiveRulesResponse.js
+++ b/src/model/WafActiveRulesResponse.js
@@ -21,7 +21,7 @@ import WafActiveRulesResponseAllOf from './WafActiveRulesResponseAllOf';
/**
* The WafActiveRulesResponse model module.
* @module model/WafActiveRulesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRulesResponse {
/**
diff --git a/src/model/WafActiveRulesResponseAllOf.js b/src/model/WafActiveRulesResponseAllOf.js
index 10963ba16..74ca3daf5 100644
--- a/src/model/WafActiveRulesResponseAllOf.js
+++ b/src/model/WafActiveRulesResponseAllOf.js
@@ -17,7 +17,7 @@ import WafActiveRuleResponseData from './WafActiveRuleResponseData';
/**
* The WafActiveRulesResponseAllOf model module.
* @module model/WafActiveRulesResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafActiveRulesResponseAllOf {
/**
diff --git a/src/model/WafExclusion.js b/src/model/WafExclusion.js
index 9d0c9ffca..bc4054baa 100644
--- a/src/model/WafExclusion.js
+++ b/src/model/WafExclusion.js
@@ -16,7 +16,7 @@ import WafExclusionData from './WafExclusionData';
/**
* The WafExclusion model module.
* @module model/WafExclusion
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusion {
/**
diff --git a/src/model/WafExclusionData.js b/src/model/WafExclusionData.js
index 6accf1f1a..b10002141 100644
--- a/src/model/WafExclusionData.js
+++ b/src/model/WafExclusionData.js
@@ -18,7 +18,7 @@ import WafExclusionDataAttributes from './WafExclusionDataAttributes';
/**
* The WafExclusionData model module.
* @module model/WafExclusionData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionData {
/**
diff --git a/src/model/WafExclusionDataAttributes.js b/src/model/WafExclusionDataAttributes.js
index 8159a8fb7..cc3a6e125 100644
--- a/src/model/WafExclusionDataAttributes.js
+++ b/src/model/WafExclusionDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafExclusionDataAttributes model module.
* @module model/WafExclusionDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionDataAttributes {
/**
diff --git a/src/model/WafExclusionResponse.js b/src/model/WafExclusionResponse.js
index dae4f5875..64df91321 100644
--- a/src/model/WafExclusionResponse.js
+++ b/src/model/WafExclusionResponse.js
@@ -16,7 +16,7 @@ import WafExclusionResponseData from './WafExclusionResponseData';
/**
* The WafExclusionResponse model module.
* @module model/WafExclusionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponse {
/**
diff --git a/src/model/WafExclusionResponseData.js b/src/model/WafExclusionResponseData.js
index b48438c08..eb3532d7f 100644
--- a/src/model/WafExclusionResponseData.js
+++ b/src/model/WafExclusionResponseData.js
@@ -20,7 +20,7 @@ import WafExclusionResponseDataRelationships from './WafExclusionResponseDataRel
/**
* The WafExclusionResponseData model module.
* @module model/WafExclusionResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponseData {
/**
diff --git a/src/model/WafExclusionResponseDataAllOf.js b/src/model/WafExclusionResponseDataAllOf.js
index c9135dee5..f3e2f1ddb 100644
--- a/src/model/WafExclusionResponseDataAllOf.js
+++ b/src/model/WafExclusionResponseDataAllOf.js
@@ -17,7 +17,7 @@ import WafExclusionResponseDataRelationships from './WafExclusionResponseDataRel
/**
* The WafExclusionResponseDataAllOf model module.
* @module model/WafExclusionResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponseDataAllOf {
/**
diff --git a/src/model/WafExclusionResponseDataAttributes.js b/src/model/WafExclusionResponseDataAttributes.js
index 6b704ec1b..69f1adf88 100644
--- a/src/model/WafExclusionResponseDataAttributes.js
+++ b/src/model/WafExclusionResponseDataAttributes.js
@@ -17,7 +17,7 @@ import WafExclusionResponseDataAttributesAllOf from './WafExclusionResponseDataA
/**
* The WafExclusionResponseDataAttributes model module.
* @module model/WafExclusionResponseDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponseDataAttributes {
/**
diff --git a/src/model/WafExclusionResponseDataAttributesAllOf.js b/src/model/WafExclusionResponseDataAttributesAllOf.js
index feab1bf4a..4f71b1e8b 100644
--- a/src/model/WafExclusionResponseDataAttributesAllOf.js
+++ b/src/model/WafExclusionResponseDataAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafExclusionResponseDataAttributesAllOf model module.
* @module model/WafExclusionResponseDataAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponseDataAttributesAllOf {
/**
diff --git a/src/model/WafExclusionResponseDataRelationships.js b/src/model/WafExclusionResponseDataRelationships.js
index f05bb6449..cbfdfdcc9 100644
--- a/src/model/WafExclusionResponseDataRelationships.js
+++ b/src/model/WafExclusionResponseDataRelationships.js
@@ -19,7 +19,7 @@ import RelationshipWafRules from './RelationshipWafRules';
/**
* The WafExclusionResponseDataRelationships model module.
* @module model/WafExclusionResponseDataRelationships
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionResponseDataRelationships {
/**
diff --git a/src/model/WafExclusionsResponse.js b/src/model/WafExclusionsResponse.js
index 1d60f7514..db9d1e41d 100644
--- a/src/model/WafExclusionsResponse.js
+++ b/src/model/WafExclusionsResponse.js
@@ -21,7 +21,7 @@ import WafExclusionsResponseAllOf from './WafExclusionsResponseAllOf';
/**
* The WafExclusionsResponse model module.
* @module model/WafExclusionsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionsResponse {
/**
diff --git a/src/model/WafExclusionsResponseAllOf.js b/src/model/WafExclusionsResponseAllOf.js
index 42ff265cb..b9fcb404d 100644
--- a/src/model/WafExclusionsResponseAllOf.js
+++ b/src/model/WafExclusionsResponseAllOf.js
@@ -17,7 +17,7 @@ import WafExclusionResponseData from './WafExclusionResponseData';
/**
* The WafExclusionsResponseAllOf model module.
* @module model/WafExclusionsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafExclusionsResponseAllOf {
/**
diff --git a/src/model/WafFirewall.js b/src/model/WafFirewall.js
index 8121992a8..cd2445e41 100644
--- a/src/model/WafFirewall.js
+++ b/src/model/WafFirewall.js
@@ -16,7 +16,7 @@ import WafFirewallData from './WafFirewallData';
/**
* The WafFirewall model module.
* @module model/WafFirewall
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewall {
/**
diff --git a/src/model/WafFirewallData.js b/src/model/WafFirewallData.js
index 67764769b..cd480a33e 100644
--- a/src/model/WafFirewallData.js
+++ b/src/model/WafFirewallData.js
@@ -17,7 +17,7 @@ import WafFirewallDataAttributes from './WafFirewallDataAttributes';
/**
* The WafFirewallData model module.
* @module model/WafFirewallData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallData {
/**
diff --git a/src/model/WafFirewallDataAttributes.js b/src/model/WafFirewallDataAttributes.js
index 14082d61a..2a3de06fe 100644
--- a/src/model/WafFirewallDataAttributes.js
+++ b/src/model/WafFirewallDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafFirewallDataAttributes model module.
* @module model/WafFirewallDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallDataAttributes {
/**
diff --git a/src/model/WafFirewallResponse.js b/src/model/WafFirewallResponse.js
index 2cb71dff5..8c7f38bb8 100644
--- a/src/model/WafFirewallResponse.js
+++ b/src/model/WafFirewallResponse.js
@@ -17,7 +17,7 @@ import WafFirewallResponseData from './WafFirewallResponseData';
/**
* The WafFirewallResponse model module.
* @module model/WafFirewallResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallResponse {
/**
diff --git a/src/model/WafFirewallResponseData.js b/src/model/WafFirewallResponseData.js
index a26ac84de..0eaaa3ca0 100644
--- a/src/model/WafFirewallResponseData.js
+++ b/src/model/WafFirewallResponseData.js
@@ -20,7 +20,7 @@ import WafFirewallResponseDataAttributes from './WafFirewallResponseDataAttribut
/**
* The WafFirewallResponseData model module.
* @module model/WafFirewallResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallResponseData {
/**
diff --git a/src/model/WafFirewallResponseDataAllOf.js b/src/model/WafFirewallResponseDataAllOf.js
index 2b44503bc..644662889 100644
--- a/src/model/WafFirewallResponseDataAllOf.js
+++ b/src/model/WafFirewallResponseDataAllOf.js
@@ -17,7 +17,7 @@ import WafFirewallResponseDataAttributes from './WafFirewallResponseDataAttribut
/**
* The WafFirewallResponseDataAllOf model module.
* @module model/WafFirewallResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallResponseDataAllOf {
/**
diff --git a/src/model/WafFirewallResponseDataAttributes.js b/src/model/WafFirewallResponseDataAttributes.js
index b8e483838..d25f68dc0 100644
--- a/src/model/WafFirewallResponseDataAttributes.js
+++ b/src/model/WafFirewallResponseDataAttributes.js
@@ -17,7 +17,7 @@ import WafFirewallResponseDataAttributesAllOf from './WafFirewallResponseDataAtt
/**
* The WafFirewallResponseDataAttributes model module.
* @module model/WafFirewallResponseDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallResponseDataAttributes {
/**
diff --git a/src/model/WafFirewallResponseDataAttributesAllOf.js b/src/model/WafFirewallResponseDataAttributesAllOf.js
index a6097734b..a32db8322 100644
--- a/src/model/WafFirewallResponseDataAttributesAllOf.js
+++ b/src/model/WafFirewallResponseDataAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafFirewallResponseDataAttributesAllOf model module.
* @module model/WafFirewallResponseDataAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallResponseDataAttributesAllOf {
/**
diff --git a/src/model/WafFirewallVersion.js b/src/model/WafFirewallVersion.js
index 76fe62e47..037ef74d3 100644
--- a/src/model/WafFirewallVersion.js
+++ b/src/model/WafFirewallVersion.js
@@ -16,7 +16,7 @@ import WafFirewallVersionData from './WafFirewallVersionData';
/**
* The WafFirewallVersion model module.
* @module model/WafFirewallVersion
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersion {
/**
diff --git a/src/model/WafFirewallVersionData.js b/src/model/WafFirewallVersionData.js
index 0c6abb3bb..43fb040e2 100644
--- a/src/model/WafFirewallVersionData.js
+++ b/src/model/WafFirewallVersionData.js
@@ -17,7 +17,7 @@ import WafFirewallVersionDataAttributes from './WafFirewallVersionDataAttributes
/**
* The WafFirewallVersionData model module.
* @module model/WafFirewallVersionData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionData {
/**
diff --git a/src/model/WafFirewallVersionDataAttributes.js b/src/model/WafFirewallVersionDataAttributes.js
index acce59e7d..b6a634d5d 100644
--- a/src/model/WafFirewallVersionDataAttributes.js
+++ b/src/model/WafFirewallVersionDataAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafFirewallVersionDataAttributes model module.
* @module model/WafFirewallVersionDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionDataAttributes {
/**
diff --git a/src/model/WafFirewallVersionResponse.js b/src/model/WafFirewallVersionResponse.js
index 4a5ad5e80..02023adf5 100644
--- a/src/model/WafFirewallVersionResponse.js
+++ b/src/model/WafFirewallVersionResponse.js
@@ -17,7 +17,7 @@ import WafFirewallVersionResponseData from './WafFirewallVersionResponseData';
/**
* The WafFirewallVersionResponse model module.
* @module model/WafFirewallVersionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionResponse {
/**
diff --git a/src/model/WafFirewallVersionResponseData.js b/src/model/WafFirewallVersionResponseData.js
index 981f14ba9..5eafb1dc0 100644
--- a/src/model/WafFirewallVersionResponseData.js
+++ b/src/model/WafFirewallVersionResponseData.js
@@ -20,7 +20,7 @@ import WafFirewallVersionResponseDataAttributes from './WafFirewallVersionRespon
/**
* The WafFirewallVersionResponseData model module.
* @module model/WafFirewallVersionResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionResponseData {
/**
diff --git a/src/model/WafFirewallVersionResponseDataAllOf.js b/src/model/WafFirewallVersionResponseDataAllOf.js
index 387356b92..6b7321d76 100644
--- a/src/model/WafFirewallVersionResponseDataAllOf.js
+++ b/src/model/WafFirewallVersionResponseDataAllOf.js
@@ -17,7 +17,7 @@ import WafFirewallVersionResponseDataAttributes from './WafFirewallVersionRespon
/**
* The WafFirewallVersionResponseDataAllOf model module.
* @module model/WafFirewallVersionResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionResponseDataAllOf {
/**
diff --git a/src/model/WafFirewallVersionResponseDataAttributes.js b/src/model/WafFirewallVersionResponseDataAttributes.js
index 72ddaf164..d5fd7e02b 100644
--- a/src/model/WafFirewallVersionResponseDataAttributes.js
+++ b/src/model/WafFirewallVersionResponseDataAttributes.js
@@ -17,7 +17,7 @@ import WafFirewallVersionResponseDataAttributesAllOf from './WafFirewallVersionR
/**
* The WafFirewallVersionResponseDataAttributes model module.
* @module model/WafFirewallVersionResponseDataAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionResponseDataAttributes {
/**
diff --git a/src/model/WafFirewallVersionResponseDataAttributesAllOf.js b/src/model/WafFirewallVersionResponseDataAttributesAllOf.js
index d4ac3b246..863699169 100644
--- a/src/model/WafFirewallVersionResponseDataAttributesAllOf.js
+++ b/src/model/WafFirewallVersionResponseDataAttributesAllOf.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafFirewallVersionResponseDataAttributesAllOf model module.
* @module model/WafFirewallVersionResponseDataAttributesAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionResponseDataAttributesAllOf {
/**
diff --git a/src/model/WafFirewallVersionsResponse.js b/src/model/WafFirewallVersionsResponse.js
index 39cbfcffa..8ffe1089f 100644
--- a/src/model/WafFirewallVersionsResponse.js
+++ b/src/model/WafFirewallVersionsResponse.js
@@ -21,7 +21,7 @@ import WafFirewallVersionsResponseAllOf from './WafFirewallVersionsResponseAllOf
/**
* The WafFirewallVersionsResponse model module.
* @module model/WafFirewallVersionsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionsResponse {
/**
diff --git a/src/model/WafFirewallVersionsResponseAllOf.js b/src/model/WafFirewallVersionsResponseAllOf.js
index 0f529732c..fbffbc3d3 100644
--- a/src/model/WafFirewallVersionsResponseAllOf.js
+++ b/src/model/WafFirewallVersionsResponseAllOf.js
@@ -17,7 +17,7 @@ import WafFirewallVersionResponseData from './WafFirewallVersionResponseData';
/**
* The WafFirewallVersionsResponseAllOf model module.
* @module model/WafFirewallVersionsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallVersionsResponseAllOf {
/**
diff --git a/src/model/WafFirewallsResponse.js b/src/model/WafFirewallsResponse.js
index 14e8f19ce..ea76d7af5 100644
--- a/src/model/WafFirewallsResponse.js
+++ b/src/model/WafFirewallsResponse.js
@@ -21,7 +21,7 @@ import WafFirewallsResponseAllOf from './WafFirewallsResponseAllOf';
/**
* The WafFirewallsResponse model module.
* @module model/WafFirewallsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallsResponse {
/**
diff --git a/src/model/WafFirewallsResponseAllOf.js b/src/model/WafFirewallsResponseAllOf.js
index 416d50608..80829d008 100644
--- a/src/model/WafFirewallsResponseAllOf.js
+++ b/src/model/WafFirewallsResponseAllOf.js
@@ -17,7 +17,7 @@ import WafFirewallResponseData from './WafFirewallResponseData';
/**
* The WafFirewallsResponseAllOf model module.
* @module model/WafFirewallsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafFirewallsResponseAllOf {
/**
diff --git a/src/model/WafRule.js b/src/model/WafRule.js
index b43705b8d..807630d34 100644
--- a/src/model/WafRule.js
+++ b/src/model/WafRule.js
@@ -17,7 +17,7 @@ import WafRuleAttributes from './WafRuleAttributes';
/**
* The WafRule model module.
* @module model/WafRule
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRule {
/**
diff --git a/src/model/WafRuleAttributes.js b/src/model/WafRuleAttributes.js
index 250393a74..ef34208db 100644
--- a/src/model/WafRuleAttributes.js
+++ b/src/model/WafRuleAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafRuleAttributes model module.
* @module model/WafRuleAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleAttributes {
/**
diff --git a/src/model/WafRuleResponse.js b/src/model/WafRuleResponse.js
index d91658cb7..e84b4f507 100644
--- a/src/model/WafRuleResponse.js
+++ b/src/model/WafRuleResponse.js
@@ -17,7 +17,7 @@ import WafRuleResponseData from './WafRuleResponseData';
/**
* The WafRuleResponse model module.
* @module model/WafRuleResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleResponse {
/**
diff --git a/src/model/WafRuleResponseData.js b/src/model/WafRuleResponseData.js
index b402fdc63..f999bec96 100644
--- a/src/model/WafRuleResponseData.js
+++ b/src/model/WafRuleResponseData.js
@@ -20,7 +20,7 @@ import WafRuleResponseDataAllOf from './WafRuleResponseDataAllOf';
/**
* The WafRuleResponseData model module.
* @module model/WafRuleResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleResponseData {
/**
diff --git a/src/model/WafRuleResponseDataAllOf.js b/src/model/WafRuleResponseDataAllOf.js
index fe62f9dcc..0f059915c 100644
--- a/src/model/WafRuleResponseDataAllOf.js
+++ b/src/model/WafRuleResponseDataAllOf.js
@@ -16,7 +16,7 @@ import RelationshipsForWafRule from './RelationshipsForWafRule';
/**
* The WafRuleResponseDataAllOf model module.
* @module model/WafRuleResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleResponseDataAllOf {
/**
diff --git a/src/model/WafRuleRevision.js b/src/model/WafRuleRevision.js
index 187e5a0ec..1269ca51b 100644
--- a/src/model/WafRuleRevision.js
+++ b/src/model/WafRuleRevision.js
@@ -17,7 +17,7 @@ import WafRuleRevisionAttributes from './WafRuleRevisionAttributes';
/**
* The WafRuleRevision model module.
* @module model/WafRuleRevision
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevision {
/**
diff --git a/src/model/WafRuleRevisionAttributes.js b/src/model/WafRuleRevisionAttributes.js
index 9be8e7a57..b758a7851 100644
--- a/src/model/WafRuleRevisionAttributes.js
+++ b/src/model/WafRuleRevisionAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafRuleRevisionAttributes model module.
* @module model/WafRuleRevisionAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionAttributes {
/**
diff --git a/src/model/WafRuleRevisionOrLatest.js b/src/model/WafRuleRevisionOrLatest.js
index e60db6d08..09542f822 100644
--- a/src/model/WafRuleRevisionOrLatest.js
+++ b/src/model/WafRuleRevisionOrLatest.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafRuleRevisionOrLatest model module.
* @module model/WafRuleRevisionOrLatest
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionOrLatest {
/**
diff --git a/src/model/WafRuleRevisionResponse.js b/src/model/WafRuleRevisionResponse.js
index 54d2bc34b..c25d17479 100644
--- a/src/model/WafRuleRevisionResponse.js
+++ b/src/model/WafRuleRevisionResponse.js
@@ -17,7 +17,7 @@ import WafRuleRevisionResponseData from './WafRuleRevisionResponseData';
/**
* The WafRuleRevisionResponse model module.
* @module model/WafRuleRevisionResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionResponse {
/**
diff --git a/src/model/WafRuleRevisionResponseData.js b/src/model/WafRuleRevisionResponseData.js
index 859576213..7ce197004 100644
--- a/src/model/WafRuleRevisionResponseData.js
+++ b/src/model/WafRuleRevisionResponseData.js
@@ -20,7 +20,7 @@ import WafRuleRevisionResponseDataAllOf from './WafRuleRevisionResponseDataAllOf
/**
* The WafRuleRevisionResponseData model module.
* @module model/WafRuleRevisionResponseData
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionResponseData {
/**
diff --git a/src/model/WafRuleRevisionResponseDataAllOf.js b/src/model/WafRuleRevisionResponseDataAllOf.js
index c80f07fc3..cc58cc95e 100644
--- a/src/model/WafRuleRevisionResponseDataAllOf.js
+++ b/src/model/WafRuleRevisionResponseDataAllOf.js
@@ -16,7 +16,7 @@ import RelationshipWafRule from './RelationshipWafRule';
/**
* The WafRuleRevisionResponseDataAllOf model module.
* @module model/WafRuleRevisionResponseDataAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionResponseDataAllOf {
/**
diff --git a/src/model/WafRuleRevisionsResponse.js b/src/model/WafRuleRevisionsResponse.js
index d8e26811b..22c83b8ee 100644
--- a/src/model/WafRuleRevisionsResponse.js
+++ b/src/model/WafRuleRevisionsResponse.js
@@ -21,7 +21,7 @@ import WafRuleRevisionsResponseAllOf from './WafRuleRevisionsResponseAllOf';
/**
* The WafRuleRevisionsResponse model module.
* @module model/WafRuleRevisionsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionsResponse {
/**
diff --git a/src/model/WafRuleRevisionsResponseAllOf.js b/src/model/WafRuleRevisionsResponseAllOf.js
index 70dc47a58..fa4777ea7 100644
--- a/src/model/WafRuleRevisionsResponseAllOf.js
+++ b/src/model/WafRuleRevisionsResponseAllOf.js
@@ -17,7 +17,7 @@ import WafRuleRevisionResponseData from './WafRuleRevisionResponseData';
/**
* The WafRuleRevisionsResponseAllOf model module.
* @module model/WafRuleRevisionsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRuleRevisionsResponseAllOf {
/**
diff --git a/src/model/WafRulesResponse.js b/src/model/WafRulesResponse.js
index 8394b4b63..03459bd0a 100644
--- a/src/model/WafRulesResponse.js
+++ b/src/model/WafRulesResponse.js
@@ -21,7 +21,7 @@ import WafRulesResponseAllOf from './WafRulesResponseAllOf';
/**
* The WafRulesResponse model module.
* @module model/WafRulesResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRulesResponse {
/**
diff --git a/src/model/WafRulesResponseAllOf.js b/src/model/WafRulesResponseAllOf.js
index b4b2c9b8e..8ba76aeeb 100644
--- a/src/model/WafRulesResponseAllOf.js
+++ b/src/model/WafRulesResponseAllOf.js
@@ -17,7 +17,7 @@ import WafRuleResponseData from './WafRuleResponseData';
/**
* The WafRulesResponseAllOf model module.
* @module model/WafRulesResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafRulesResponseAllOf {
/**
diff --git a/src/model/WafTag.js b/src/model/WafTag.js
index e44e7f756..7ee8c99be 100644
--- a/src/model/WafTag.js
+++ b/src/model/WafTag.js
@@ -17,7 +17,7 @@ import WafTagAttributes from './WafTagAttributes';
/**
* The WafTag model module.
* @module model/WafTag
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafTag {
/**
diff --git a/src/model/WafTagAttributes.js b/src/model/WafTagAttributes.js
index 1366a480f..0b7bcbdeb 100644
--- a/src/model/WafTagAttributes.js
+++ b/src/model/WafTagAttributes.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WafTagAttributes model module.
* @module model/WafTagAttributes
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafTagAttributes {
/**
diff --git a/src/model/WafTagsResponse.js b/src/model/WafTagsResponse.js
index 3dc74add7..8f105d342 100644
--- a/src/model/WafTagsResponse.js
+++ b/src/model/WafTagsResponse.js
@@ -21,7 +21,7 @@ import WafTagsResponseDataItem from './WafTagsResponseDataItem';
/**
* The WafTagsResponse model module.
* @module model/WafTagsResponse
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafTagsResponse {
/**
diff --git a/src/model/WafTagsResponseAllOf.js b/src/model/WafTagsResponseAllOf.js
index b69768e85..b6cc53d26 100644
--- a/src/model/WafTagsResponseAllOf.js
+++ b/src/model/WafTagsResponseAllOf.js
@@ -17,7 +17,7 @@ import WafTagsResponseDataItem from './WafTagsResponseDataItem';
/**
* The WafTagsResponseAllOf model module.
* @module model/WafTagsResponseAllOf
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafTagsResponseAllOf {
/**
diff --git a/src/model/WafTagsResponseDataItem.js b/src/model/WafTagsResponseDataItem.js
index 1f74c38d2..4f6d2cb53 100644
--- a/src/model/WafTagsResponseDataItem.js
+++ b/src/model/WafTagsResponseDataItem.js
@@ -20,7 +20,7 @@ import WafTagAttributes from './WafTagAttributes';
/**
* The WafTagsResponseDataItem model module.
* @module model/WafTagsResponseDataItem
- * @version 5.0.2
+ * @version 6.0.0
*/
class WafTagsResponseDataItem {
/**
diff --git a/src/model/WsMessageFormat.js b/src/model/WsMessageFormat.js
index e3ae0637a..3a2db3af2 100644
--- a/src/model/WsMessageFormat.js
+++ b/src/model/WsMessageFormat.js
@@ -15,7 +15,7 @@ import ApiClient from '../ApiClient';
/**
* The WsMessageFormat model module.
* @module model/WsMessageFormat
- * @version 5.0.2
+ * @version 6.0.0
*/
class WsMessageFormat {
/**