From 50d1b88ed4fc978df38a7a5dce6ddd3871309adf Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 31 Jul 2023 16:39:38 +0000 Subject: [PATCH] Generated v6.0.0 --- CHANGELOG.md | 19 + README.md | 1 + docs/CacheSetting.md | 4 +- docs/CacheSettingResponse.md | 6 +- docs/CacheSettingsApi.md | 16 +- docs/DomainApi.md | 2 +- docs/GzipResponse.md | 2 +- docs/Header.md | 2 - docs/HeaderApi.md | 20 +- docs/HeaderResponse.md | 6 +- docs/HeaderResponseAdditional.md | 11 + docs/LoggingAzureblob.md | 25 - ...AllOf.md => LoggingAzureblobAdditional.md} | 2 +- docs/LoggingAzureblobApi.md | 20 +- docs/LoggingAzureblobResponse.md | 16 +- docs/LoggingBigquery.md | 21 - ...yAllOf.md => LoggingBigqueryAdditional.md} | 2 +- docs/LoggingBigqueryApi.md | 12 +- docs/LoggingBigqueryResponse.md | 4 +- docs/LoggingCloudfiles.md | 25 - ...llOf.md => LoggingCloudfilesAdditional.md} | 2 +- docs/LoggingCloudfilesApi.md | 20 +- docs/LoggingCloudfilesResponse.md | 16 +- docs/LoggingCommon.md | 1 - ...Papertrail.md => LoggingCommonResponse.md} | 6 +- ...logic.md => LoggingCommonResponseAllOf.md} | 5 +- docs/LoggingCommonResponseAllOf1.md | 10 + docs/LoggingDatadog.md | 16 - ...ogAllOf.md => LoggingDatadogAdditional.md} | 2 +- docs/LoggingDatadogApi.md | 12 +- docs/LoggingDatadogResponse.md | 4 +- docs/LoggingDigitalocean.md | 25 - ...Of.md => LoggingDigitaloceanAdditional.md} | 2 +- docs/LoggingDigitaloceanApi.md | 20 +- docs/LoggingDigitaloceanResponse.md | 16 +- docs/LoggingElasticsearch.md | 25 - ...f.md => LoggingElasticsearchAdditional.md} | 2 +- docs/LoggingElasticsearchApi.md | 12 +- docs/LoggingElasticsearchResponse.md | 4 +- docs/LoggingFormatVersion.md | 12 - docs/LoggingFormatVersionInteger.md | 10 + docs/LoggingFormatVersionString.md | 10 + docs/LoggingFtp.md | 27 - ...ingFtpAllOf.md => LoggingFtpAdditional.md} | 3 +- docs/LoggingFtpApi.md | 28 +- docs/LoggingFtpResponse.md | 18 +- ...heckItem.md => LoggingFtpResponseAllOf.md} | 5 +- docs/LoggingGcs.md | 26 - ...ingGcsAllOf.md => LoggingGcsAdditional.md} | 2 +- docs/LoggingGcsApi.md | 20 +- docs/LoggingGcsResponse.md | 16 +- docs/LoggingGenericCommon.md | 2 - docs/LoggingGenericCommonResponse.md | 14 + docs/LoggingGenericCommonResponseAllOf.md | 12 + docs/LoggingGenericCommonResponseAllOf1.md | 11 + docs/LoggingGooglePubsub.md | 19 - ...Of.md => LoggingGooglePubsubAdditional.md} | 2 +- docs/LoggingGooglePubsubResponse.md | 4 +- docs/LoggingHeroku.md | 16 - ...okuAllOf.md => LoggingHerokuAdditional.md} | 2 +- docs/LoggingHerokuApi.md | 12 +- docs/LoggingHerokuResponse.md | 4 +- docs/LoggingHoneycomb.md | 16 - ...AllOf.md => LoggingHoneycombAdditional.md} | 2 +- docs/LoggingHoneycombApi.md | 16 +- docs/LoggingHoneycombResponse.md | 4 +- docs/LoggingHttps.md | 27 - ...ttpsAllOf.md => LoggingHttpsAdditional.md} | 2 +- docs/LoggingHttpsApi.md | 12 +- docs/LoggingHttpsResponse.md | 4 +- ...afkaAllOf.md => LoggingKafkaAdditional.md} | 2 +- docs/LoggingKafkaApi.md | 8 +- docs/LoggingKafkaResponse.md | 12 +- ...ngKafka.md => LoggingKafkaResponsePost.md} | 9 +- ...Kinesis.md => LoggingKinesisAdditional.md} | 3 +- docs/LoggingKinesisApi.md | 6 +- docs/LoggingKinesisResponse.md | 4 +- docs/LoggingLogentries.md | 18 - ...llOf.md => LoggingLogentriesAdditional.md} | 2 +- docs/LoggingLogentriesApi.md | 12 +- docs/LoggingLogentriesResponse.md | 4 +- docs/LoggingLoggly.md | 15 - ...glyAllOf.md => LoggingLogglyAdditional.md} | 2 +- docs/LoggingLogglyApi.md | 12 +- docs/LoggingLogglyResponse.md | 4 +- docs/LoggingLogshuttle.md | 16 - ...llOf.md => LoggingLogshuttleAdditional.md} | 2 +- docs/LoggingLogshuttleApi.md | 12 +- docs/LoggingLogshuttleResponse.md | 4 +- docs/LoggingNewrelic.md | 16 - ...cAllOf.md => LoggingNewrelicAdditional.md} | 2 +- docs/LoggingNewrelicApi.md | 12 +- docs/LoggingNewrelicResponse.md | 4 +- docs/LoggingOpenstack.md | 25 - ...AllOf.md => LoggingOpenstackAdditional.md} | 2 +- docs/LoggingOpenstackApi.md | 20 +- docs/LoggingOpenstackResponse.md | 16 +- docs/LoggingPapertrailApi.md | 12 +- docs/LoggingPapertrailResponse.md | 4 +- docs/LoggingPubsubApi.md | 12 +- docs/LoggingS3.md | 30 - ...ggingS3AllOf.md => LoggingS3Additional.md} | 2 +- docs/LoggingS3Api.md | 20 +- docs/LoggingS3Response.md | 16 +- docs/LoggingScalyr.md | 17 - ...lyrAllOf.md => LoggingScalyrAdditional.md} | 2 +- docs/LoggingScalyrApi.md | 12 +- docs/LoggingScalyrResponse.md | 4 +- docs/LoggingSftp.md | 27 - ...gSftpAllOf.md => LoggingSftpAdditional.md} | 3 +- docs/LoggingSftpApi.md | 20 +- docs/LoggingSftpResponse.md | 20 +- docs/LoggingSftpResponseAllOf.md | 13 + docs/LoggingSplunk.md | 23 - ...unkAllOf.md => LoggingSplunkAdditional.md} | 2 +- docs/LoggingSplunkApi.md | 12 +- docs/LoggingSplunkResponse.md | 4 +- ...AllOf.md => LoggingSumologicAdditional.md} | 2 +- docs/LoggingSumologicApi.md | 12 +- docs/LoggingSumologicResponse.md | 4 +- docs/LoggingSyslog.md | 25 - ...logAllOf.md => LoggingSyslogAdditional.md} | 2 +- docs/LoggingSyslogApi.md | 12 +- docs/LoggingSyslogResponse.md | 4 +- docs/{PoolAllOf.md => PoolAdditional.md} | 7 +- docs/PoolApi.md | 70 ++- docs/PoolResponse.md | 23 +- docs/PoolResponseAllOf.md | 2 +- docs/PoolResponseCommon.md | 15 + docs/{Pool.md => PoolResponsePost.md} | 21 +- docs/PoolResponsePostAllOf.md | 10 + ...ttings.md => RequestSettingsAdditional.md} | 8 +- docs/RequestSettingsApi.md | 22 +- docs/RequestSettingsResponse.md | 22 +- docs/RequestSettingsResponseAllOf.md | 15 + docs/ResponseObject.md | 2 +- docs/ResponseObjectResponse.md | 4 +- docs/ServiceIdAndVersionString.md | 11 + docs/TlsCommonResponse.md | 14 + ...TlsCommon.md => TlsCommonResponseAllOf.md} | 3 +- docs/TlsCommonResponseAllOf1.md | 10 + docs/TlsSubscriptionResponseDataAllOf.md | 11 - package.json | 2 +- sig.json | 2 +- src/ApiClient.js | 4 +- src/api/AclApi.js | 2 +- src/api/AclEntryApi.js | 2 +- src/api/ApexRedirectApi.js | 2 +- src/api/AutomationTokensApi.js | 2 +- src/api/BackendApi.js | 2 +- src/api/BillingAddressApi.js | 2 +- src/api/BillingApi.js | 2 +- src/api/CacheSettingsApi.js | 18 +- src/api/ConditionApi.js | 2 +- src/api/ConfigStoreApi.js | 2 +- src/api/ConfigStoreItemApi.js | 2 +- src/api/ContactApi.js | 2 +- src/api/ContentApi.js | 2 +- src/api/CustomerApi.js | 2 +- src/api/DictionaryApi.js | 2 +- src/api/DictionaryInfoApi.js | 2 +- src/api/DictionaryItemApi.js | 2 +- src/api/DiffApi.js | 2 +- src/api/DirectorApi.js | 2 +- src/api/DirectorBackendApi.js | 2 +- src/api/DomainApi.js | 9 +- src/api/DomainInspectorHistoricalApi.js | 2 +- src/api/DomainInspectorRealtimeApi.js | 2 +- src/api/DomainOwnershipsApi.js | 2 +- src/api/EnabledProductsApi.js | 2 +- src/api/EventsApi.js | 2 +- src/api/GzipApi.js | 2 +- src/api/HeaderApi.js | 30 +- src/api/HealthcheckApi.js | 2 +- src/api/HistoricalApi.js | 2 +- src/api/Http3Api.js | 2 +- src/api/IamPermissionsApi.js | 2 +- src/api/IamRolesApi.js | 2 +- src/api/IamServiceGroupsApi.js | 2 +- src/api/IamUserGroupsApi.js | 2 +- src/api/InvitationsApi.js | 2 +- src/api/KvStoreApi.js | 2 +- src/api/KvStoreItemApi.js | 2 +- src/api/LegacyWafConfigurationSetsApi.js | 2 +- src/api/LegacyWafFirewallApi.js | 2 +- src/api/LegacyWafOwaspApi.js | 2 +- src/api/LegacyWafRuleApi.js | 2 +- src/api/LegacyWafRuleStatusApi.js | 2 +- src/api/LegacyWafRulesetApi.js | 2 +- src/api/LegacyWafTagApi.js | 2 +- src/api/LegacyWafUpdateStatusApi.js | 2 +- src/api/LoggingAzureblobApi.js | 26 +- src/api/LoggingBigqueryApi.js | 14 +- src/api/LoggingCloudfilesApi.js | 26 +- src/api/LoggingDatadogApi.js | 14 +- src/api/LoggingDigitaloceanApi.js | 26 +- src/api/LoggingElasticsearchApi.js | 14 +- src/api/LoggingFtpApi.js | 42 +- src/api/LoggingGcsApi.js | 26 +- src/api/LoggingHerokuApi.js | 14 +- src/api/LoggingHoneycombApi.js | 27 +- src/api/LoggingHttpsApi.js | 14 +- src/api/LoggingKafkaApi.js | 15 +- src/api/LoggingKinesisApi.js | 11 +- src/api/LoggingLogentriesApi.js | 14 +- src/api/LoggingLogglyApi.js | 14 +- src/api/LoggingLogshuttleApi.js | 14 +- src/api/LoggingNewrelicApi.js | 14 +- src/api/LoggingOpenstackApi.js | 26 +- src/api/LoggingPapertrailApi.js | 14 +- src/api/LoggingPubsubApi.js | 14 +- src/api/LoggingS3Api.js | 26 +- src/api/LoggingScalyrApi.js | 14 +- src/api/LoggingSftpApi.js | 26 +- src/api/LoggingSplunkApi.js | 14 +- src/api/LoggingSumologicApi.js | 14 +- src/api/LoggingSyslogApi.js | 14 +- src/api/MutualAuthenticationApi.js | 2 +- src/api/OriginInspectorHistoricalApi.js | 2 +- src/api/OriginInspectorRealtimeApi.js | 2 +- src/api/PackageApi.js | 2 +- src/api/PoolApi.js | 109 ++-- src/api/PopApi.js | 2 +- src/api/PublicIpListApi.js | 2 +- src/api/PublishApi.js | 2 +- src/api/PurgeApi.js | 2 +- src/api/RateLimiterApi.js | 2 +- src/api/RealtimeApi.js | 2 +- src/api/RequestSettingsApi.js | 34 +- src/api/ResourceApi.js | 2 +- src/api/ResponseObjectApi.js | 2 +- src/api/SecretStoreApi.js | 2 +- src/api/SecretStoreItemApi.js | 2 +- src/api/ServerApi.js | 2 +- src/api/ServiceApi.js | 2 +- src/api/ServiceAuthorizationsApi.js | 2 +- src/api/SettingsApi.js | 2 +- src/api/SnippetApi.js | 2 +- src/api/StarApi.js | 2 +- src/api/StatsApi.js | 2 +- src/api/SudoApi.js | 2 +- src/api/TlsActivationsApi.js | 2 +- src/api/TlsBulkCertificatesApi.js | 2 +- src/api/TlsCertificatesApi.js | 2 +- src/api/TlsConfigurationsApi.js | 2 +- src/api/TlsDomainsApi.js | 2 +- src/api/TlsPrivateKeysApi.js | 2 +- src/api/TlsSubscriptionsApi.js | 2 +- src/api/TokensApi.js | 2 +- src/api/UserApi.js | 2 +- src/api/VclApi.js | 2 +- src/api/VclDiffApi.js | 2 +- src/api/VersionApi.js | 2 +- src/api/WafActiveRulesApi.js | 2 +- src/api/WafExclusionsApi.js | 2 +- src/api/WafFirewallVersionsApi.js | 2 +- src/api/WafFirewallsApi.js | 2 +- src/api/WafRuleRevisionsApi.js | 2 +- src/api/WafRulesApi.js | 2 +- src/api/WafTagsApi.js | 2 +- src/index.js | 526 ++++++++---------- src/model/Acl.js | 2 +- src/model/AclEntry.js | 2 +- src/model/AclEntryResponse.js | 2 +- src/model/AclEntryResponseAllOf.js | 2 +- src/model/AclResponse.js | 2 +- src/model/AclResponseAllOf.js | 2 +- src/model/ApexRedirect.js | 2 +- src/model/ApexRedirectAllOf.js | 2 +- src/model/AutomationToken.js | 2 +- src/model/AutomationTokenCreateRequest.js | 2 +- .../AutomationTokenCreateRequestAttributes.js | 2 +- src/model/AutomationTokenCreateResponse.js | 2 +- .../AutomationTokenCreateResponseAllOf.js | 2 +- src/model/AutomationTokenResponse.js | 2 +- src/model/AutomationTokenResponseAllOf.js | 2 +- src/model/Backend.js | 2 +- src/model/BackendResponse.js | 2 +- src/model/BackendResponseAllOf.js | 2 +- src/model/Batch.js | 2 +- src/model/BatchErrors.js | 2 +- src/model/Billing.js | 2 +- src/model/BillingAddressAttributes.js | 2 +- src/model/BillingAddressRequest.js | 2 +- src/model/BillingAddressRequestData.js | 2 +- src/model/BillingAddressResponse.js | 2 +- src/model/BillingAddressResponseData.js | 2 +- ...BillingAddressVerificationErrorResponse.js | 2 +- ...gAddressVerificationErrorResponseErrors.js | 2 +- src/model/BillingEstimateLines.js | 2 +- src/model/BillingEstimateLinesLineItems.js | 2 +- src/model/BillingEstimateResponse.js | 2 +- src/model/BillingResponse.js | 2 +- src/model/BillingResponseItemItemsData.js | 2 +- src/model/BillingResponseLineItem.js | 2 +- src/model/BillingStatus.js | 2 +- src/model/BillingTotal.js | 2 +- src/model/BillingTotalExtras.js | 2 +- src/model/BulkUpdateAclEntriesRequest.js | 2 +- src/model/BulkUpdateAclEntry.js | 2 +- src/model/BulkUpdateAclEntryAllOf.js | 2 +- src/model/BulkUpdateConfigStoreItem.js | 2 +- src/model/BulkUpdateConfigStoreItemAllOf.js | 2 +- src/model/BulkUpdateConfigStoreListRequest.js | 2 +- src/model/BulkUpdateDictionaryItem.js | 2 +- src/model/BulkUpdateDictionaryListRequest.js | 2 +- src/model/BulkWafActiveRules.js | 2 +- src/model/CacheSetting.js | 10 +- src/model/CacheSettingResponse.js | 34 +- src/model/ClientKey.js | 2 +- src/model/Condition.js | 2 +- src/model/ConditionResponse.js | 2 +- src/model/ConfigStore.js | 2 +- src/model/ConfigStoreInfoResponse.js | 2 +- src/model/ConfigStoreItem.js | 2 +- src/model/ConfigStoreItemResponse.js | 2 +- src/model/ConfigStoreItemResponseAllOf.js | 2 +- src/model/ConfigStoreResponse.js | 2 +- src/model/ConfigStoreResponseAllOf.js | 2 +- src/model/Contact.js | 2 +- src/model/ContactResponse.js | 2 +- src/model/ContactResponseAllOf.js | 2 +- src/model/Content.js | 2 +- src/model/Customer.js | 2 +- src/model/CustomerResponse.js | 2 +- src/model/CustomerResponseAllOf.js | 2 +- src/model/Dictionary.js | 2 +- src/model/DictionaryInfoResponse.js | 2 +- src/model/DictionaryItem.js | 2 +- src/model/DictionaryItemResponse.js | 2 +- src/model/DictionaryItemResponseAllOf.js | 2 +- src/model/DictionaryResponse.js | 2 +- src/model/DictionaryResponseAllOf.js | 2 +- src/model/DiffResponse.js | 2 +- src/model/Director.js | 2 +- src/model/DirectorBackend.js | 2 +- src/model/DirectorBackendAllOf.js | 2 +- src/model/DirectorResponse.js | 2 +- src/model/Domain.js | 2 +- src/model/DomainCheckItem.js | 94 ---- src/model/DomainInspector.js | 2 +- src/model/DomainInspectorEntry.js | 2 +- src/model/DomainInspectorEntryDimensions.js | 2 +- src/model/DomainInspectorMeasurements.js | 2 +- src/model/DomainInspectorRealtimeEntry.js | 2 +- src/model/DomainResponse.js | 2 +- src/model/EnabledProductResponse.js | 2 +- src/model/EnabledProductResponseLinks.js | 2 +- src/model/EnabledProductResponseProduct.js | 2 +- src/model/EnabledProductResponseService.js | 2 +- src/model/ErrorResponse.js | 2 +- src/model/Event.js | 2 +- src/model/EventAttributes.js | 2 +- src/model/EventData.js | 2 +- src/model/EventResponse.js | 2 +- src/model/EventsResponse.js | 2 +- src/model/GenericTokenError.js | 2 +- src/model/Gzip.js | 2 +- src/model/GzipResponse.js | 22 +- src/model/Header.js | 21 +- src/model/HeaderResponse.js | 86 +-- ...taAllOf.js => HeaderResponseAdditional.js} | 44 +- src/model/Healthcheck.js | 2 +- src/model/HealthcheckResponse.js | 2 +- src/model/Historical.js | 2 +- src/model/HistoricalAggregateResponse.js | 2 +- src/model/HistoricalAggregateResponseAllOf.js | 2 +- src/model/HistoricalDomains.js | 2 +- src/model/HistoricalDomainsData.js | 2 +- src/model/HistoricalDomainsMeta.js | 2 +- src/model/HistoricalDomainsMetaFilters.js | 2 +- src/model/HistoricalDomainsResponse.js | 2 +- src/model/HistoricalDomainsResponseAllOf.js | 2 +- src/model/HistoricalFieldAggregateResponse.js | 2 +- .../HistoricalFieldAggregateResponseAllOf.js | 2 +- src/model/HistoricalFieldResponse.js | 2 +- src/model/HistoricalFieldResponseDataField.js | 2 +- src/model/HistoricalFieldResultsAttributes.js | 2 +- ...toricalFieldResultsAttributesAdditional.js | 2 +- src/model/HistoricalMeta.js | 2 +- src/model/HistoricalOriginsResponse.js | 2 +- src/model/HistoricalOriginsResponseAllOf.js | 2 +- src/model/HistoricalRegionsResponse.js | 2 +- src/model/HistoricalRegionsResponseAllOf.js | 2 +- src/model/HistoricalResponse.js | 2 +- src/model/HistoricalResponseDataField.js | 2 +- src/model/HistoricalService.js | 2 +- src/model/HistoricalUsageAggregateResponse.js | 2 +- src/model/HistoricalUsageMonthResponse.js | 2 +- .../HistoricalUsageMonthResponseAllOf.js | 2 +- src/model/HistoricalUsageMonthResponseData.js | 2 +- src/model/HistoricalUsageResults.js | 2 +- src/model/HistoricalUsageServiceResponse.js | 2 +- .../HistoricalUsageServiceResponseAllOf.js | 2 +- src/model/Http3.js | 2 +- src/model/Http3AllOf.js | 2 +- src/model/HttpResponseFormat.js | 2 +- src/model/HttpStreamFormat.js | 2 +- src/model/IamPermission.js | 2 +- src/model/IamRole.js | 2 +- src/model/IamRoleAllOf.js | 2 +- src/model/IamServiceGroup.js | 2 +- src/model/IamServiceGroupAllOf.js | 2 +- src/model/IamUserGroup.js | 2 +- src/model/IamUserGroupAllOf.js | 2 +- src/model/IncludedWithWafActiveRuleItem.js | 2 +- src/model/IncludedWithWafExclusionItem.js | 2 +- .../IncludedWithWafFirewallVersionItem.js | 2 +- src/model/IncludedWithWafRuleItem.js | 2 +- src/model/InlineObject.js | 2 +- src/model/InlineObject1.js | 2 +- src/model/InlineResponse200.js | 2 +- src/model/InlineResponse2001.js | 2 +- src/model/InlineResponse2002.js | 2 +- src/model/InlineResponse2003.js | 2 +- src/model/InlineResponse2003Meta.js | 2 +- src/model/InlineResponse2004.js | 2 +- src/model/InlineResponse2004Meta.js | 2 +- src/model/InlineResponse2005.js | 2 +- src/model/InlineResponse2006.js | 2 +- src/model/InlineResponse2007.js | 2 +- src/model/InlineResponse400.js | 2 +- src/model/Invitation.js | 2 +- src/model/InvitationData.js | 2 +- src/model/InvitationDataAttributes.js | 2 +- src/model/InvitationResponse.js | 2 +- src/model/InvitationResponseAllOf.js | 2 +- src/model/InvitationResponseData.js | 2 +- src/model/InvitationResponseDataAllOf.js | 2 +- src/model/InvitationsResponse.js | 2 +- src/model/InvitationsResponseAllOf.js | 2 +- src/model/LegacyWafConfigurationSet.js | 2 +- src/model/LegacyWafFirewall.js | 2 +- src/model/LegacyWafOwasp.js | 2 +- src/model/LegacyWafRule.js | 2 +- src/model/LegacyWafRuleStatus.js | 2 +- src/model/LegacyWafRuleset.js | 2 +- src/model/LegacyWafTag.js | 2 +- src/model/LegacyWafUpdateStatus.js | 2 +- src/model/LineItemData.js | 2 +- src/model/LineItemDataReadOnlyInvoiceId.js | 2 +- src/model/LoggingAddressAndPort.js | 2 +- src/model/LoggingAzureblob.js | 420 -------------- ...AllOf.js => LoggingAzureblobAdditional.js} | 36 +- src/model/LoggingAzureblobResponse.js | 276 ++++----- src/model/LoggingBigquery.js | 303 ---------- ...yAllOf.js => LoggingBigqueryAdditional.js} | 36 +- src/model/LoggingBigqueryResponse.js | 119 ++-- src/model/LoggingCloudfiles.js | 471 ---------------- ...llOf.js => LoggingCloudfilesAdditional.js} | 40 +- src/model/LoggingCloudfilesResponse.js | 278 ++++----- src/model/LoggingCommon.js | 33 +- ...gingLoggly.js => LoggingCommonResponse.js} | 110 ++-- src/model/LoggingCommonResponseAllOf.js | 126 +++++ src/model/LoggingCommonResponseAllOf1.js | 93 ++++ src/model/LoggingDatadog.js | 249 --------- ...ogAllOf.js => LoggingDatadogAdditional.js} | 34 +- src/model/LoggingDatadogResponse.js | 102 ++-- src/model/LoggingDigitalocean.js | 422 -------------- ...Of.js => LoggingDigitaloceanAdditional.js} | 36 +- src/model/LoggingDigitaloceanResponse.js | 276 ++++----- src/model/LoggingElasticsearch.js | 370 ------------ ...f.js => LoggingElasticsearchAdditional.js} | 36 +- src/model/LoggingElasticsearchResponse.js | 124 +++-- src/model/LoggingFormatVersion.js | 45 -- src/model/LoggingFormatVersionInteger.js | 93 ++++ src/model/LoggingFormatVersionString.js | 93 ++++ src/model/LoggingFtp.js | 448 --------------- ...ingFtpAllOf.js => LoggingFtpAdditional.js} | 48 +- src/model/LoggingFtpResponse.js | 302 +++++----- src/model/LoggingFtpResponseAllOf.js | 72 +++ src/model/LoggingGcs.js | 436 --------------- ...ingGcsAllOf.js => LoggingGcsAdditional.js} | 32 +- src/model/LoggingGcsCommon.js | 2 +- src/model/LoggingGcsResponse.js | 276 ++++----- src/model/LoggingGenericCommon.js | 22 +- src/model/LoggingGenericCommonResponse.js | 206 +++++++ .../LoggingGenericCommonResponseAllOf.js | 150 +++++ .../LoggingGenericCommonResponseAllOf1.js | 82 +++ src/model/LoggingGooglePubsub.js | 272 --------- ...Of.js => LoggingGooglePubsubAdditional.js} | 30 +- src/model/LoggingGooglePubsubResponse.js | 106 ++-- src/model/LoggingHeroku.js | 220 -------- ...okuAllOf.js => LoggingHerokuAdditional.js} | 28 +- src/model/LoggingHerokuResponse.js | 90 +-- src/model/LoggingHoneycomb.js | 224 -------- ...AllOf.js => LoggingHoneycombAdditional.js} | 30 +- src/model/LoggingHoneycombResponse.js | 96 ++-- src/model/LoggingHttps.js | 467 ---------------- ...ttpsAllOf.js => LoggingHttpsAdditional.js} | 52 +- src/model/LoggingHttpsResponse.js | 146 +++-- ...afkaAllOf.js => LoggingKafkaAdditional.js} | 56 +- src/model/LoggingKafkaResponse.js | 248 +++++---- ...ngKafka.js => LoggingKafkaResponsePost.js} | 224 +++++--- ...Kinesis.js => LoggingKinesisAdditional.js} | 49 +- src/model/LoggingKinesisResponse.js | 100 ++-- src/model/LoggingLogentries.js | 300 ---------- ...llOf.js => LoggingLogentriesAdditional.js} | 36 +- src/model/LoggingLogentriesResponse.js | 96 ++-- ...glyAllOf.js => LoggingLogglyAdditional.js} | 26 +- src/model/LoggingLogglyResponse.js | 88 +-- src/model/LoggingLogshuttle.js | 220 -------- ...llOf.js => LoggingLogshuttleAdditional.js} | 28 +- src/model/LoggingLogshuttleResponse.js | 90 +-- src/model/LoggingNewrelic.js | 249 --------- ...cAllOf.js => LoggingNewrelicAdditional.js} | 34 +- src/model/LoggingNewrelicResponse.js | 98 ++-- src/model/LoggingOpenstack.js | 420 -------------- ...AllOf.js => LoggingOpenstackAdditional.js} | 36 +- src/model/LoggingOpenstackResponse.js | 276 ++++----- src/model/LoggingPapertrail.js | 222 -------- src/model/LoggingPapertrailResponse.js | 90 +-- src/model/LoggingRequestCapsCommon.js | 2 +- src/model/LoggingS3.js | 496 ----------------- ...ggingS3AllOf.js => LoggingS3Additional.js} | 46 +- src/model/LoggingS3Response.js | 286 +++++----- src/model/LoggingScalyr.js | 259 --------- ...lyrAllOf.js => LoggingScalyrAdditional.js} | 34 +- src/model/LoggingScalyrResponse.js | 94 ++-- src/model/LoggingSftp.js | 462 --------------- ...gSftpAllOf.js => LoggingSftpAdditional.js} | 46 +- src/model/LoggingSftpResponse.js | 280 +++++----- src/model/LoggingSftpResponseAllOf.js | 101 ++++ src/model/LoggingSplunk.js | 337 ----------- ...unkAllOf.js => LoggingSplunkAdditional.js} | 30 +- src/model/LoggingSplunkResponse.js | 112 ++-- src/model/LoggingSumologic.js | 219 -------- ...AllOf.js => LoggingSumologicAdditional.js} | 28 +- src/model/LoggingSumologicResponse.js | 90 +-- src/model/LoggingSyslog.js | 364 ------------ ...logAllOf.js => LoggingSyslogAdditional.js} | 34 +- src/model/LoggingSyslogResponse.js | 116 ++-- src/model/LoggingTlsCommon.js | 2 +- src/model/MutualAuthentication.js | 2 +- src/model/MutualAuthenticationData.js | 2 +- .../MutualAuthenticationDataAttributes.js | 2 +- src/model/MutualAuthenticationResponse.js | 2 +- .../MutualAuthenticationResponseAttributes.js | 2 +- ...alAuthenticationResponseAttributesAllOf.js | 2 +- src/model/MutualAuthenticationResponseData.js | 2 +- .../MutualAuthenticationResponseDataAllOf.js | 2 +- src/model/MutualAuthenticationsResponse.js | 2 +- .../MutualAuthenticationsResponseAllOf.js | 2 +- src/model/OriginInspector.js | 2 +- src/model/OriginInspectorDimensions.js | 2 +- src/model/OriginInspectorEntry.js | 2 +- src/model/OriginInspectorHistorical.js | 2 +- src/model/OriginInspectorHistoricalData.js | 2 +- src/model/OriginInspectorHistoricalMeta.js | 2 +- .../OriginInspectorHistoricalMetaFilters.js | 2 +- src/model/OriginInspectorMeasurements.js | 2 +- src/model/OriginInspectorRealtimeEntry.js | 2 +- .../OriginInspectorRealtimeEntryRecorded.js | 2 +- ...iginInspectorSubsequentRequestTimestamp.js | 2 +- src/model/OriginInspectorValues.js | 2 +- src/model/Package.js | 2 +- src/model/PackageMetadata.js | 2 +- src/model/PackageResponse.js | 2 +- src/model/PackageResponseAllOf.js | 2 +- src/model/Pagination.js | 2 +- src/model/PaginationCursorMeta.js | 2 +- src/model/PaginationLinks.js | 2 +- src/model/PaginationMeta.js | 2 +- src/model/{PoolAllOf.js => PoolAdditional.js} | 97 +--- src/model/PoolResponse.js | 314 ++++++----- src/model/PoolResponseAllOf.js | 12 +- src/model/PoolResponseCommon.js | 116 ++++ src/model/{Pool.js => PoolResponsePost.js} | 378 ++++++++----- src/model/PoolResponsePostAllOf.js | 72 +++ src/model/Pop.js | 2 +- src/model/PopCoordinates.js | 2 +- src/model/PublicIpList.js | 2 +- src/model/PublishItem.js | 2 +- src/model/PublishItemFormats.js | 2 +- src/model/PublishRequest.js | 2 +- src/model/PurgeKeys.js | 2 +- src/model/PurgeResponse.js | 2 +- src/model/RateLimiter.js | 2 +- src/model/RateLimiterResponse.js | 2 +- src/model/RateLimiterResponseAllOf.js | 2 +- src/model/ReadOnlyCustomerId.js | 2 +- src/model/ReadOnlyId.js | 2 +- src/model/ReadOnlyIdService.js | 2 +- src/model/ReadOnlyServiceId.js | 2 +- src/model/ReadOnlyUserId.js | 2 +- src/model/ReadOnlyVersion.js | 2 +- src/model/Realtime.js | 2 +- src/model/RealtimeEntry.js | 2 +- src/model/RealtimeEntryAggregated.js | 2 +- src/model/RealtimeEntryRecorded.js | 2 +- src/model/RealtimeMeasurements.js | 2 +- src/model/RecordedTimestamp.js | 2 +- src/model/RelationshipCommonName.js | 2 +- src/model/RelationshipCustomer.js | 2 +- src/model/RelationshipCustomerCustomer.js | 2 +- src/model/RelationshipMemberCustomer.js | 2 +- .../RelationshipMemberMutualAuthentication.js | 2 +- src/model/RelationshipMemberService.js | 2 +- .../RelationshipMemberServiceInvitation.js | 2 +- src/model/RelationshipMemberTlsActivation.js | 2 +- .../RelationshipMemberTlsBulkCertificate.js | 2 +- src/model/RelationshipMemberTlsCertificate.js | 2 +- .../RelationshipMemberTlsConfiguration.js | 2 +- src/model/RelationshipMemberTlsDnsRecord.js | 2 +- src/model/RelationshipMemberTlsDomain.js | 2 +- src/model/RelationshipMemberTlsPrivateKey.js | 2 +- .../RelationshipMemberTlsSubscription.js | 2 +- src/model/RelationshipMemberWafActiveRule.js | 2 +- src/model/RelationshipMemberWafFirewall.js | 2 +- .../RelationshipMemberWafFirewallVersion.js | 2 +- src/model/RelationshipMemberWafRule.js | 2 +- .../RelationshipMemberWafRuleRevision.js | 2 +- src/model/RelationshipMemberWafTag.js | 2 +- src/model/RelationshipMutualAuthentication.js | 2 +- ...utualAuthenticationMutualAuthentication.js | 2 +- .../RelationshipMutualAuthentications.js | 2 +- ...ualAuthenticationsMutualAuthentications.js | 2 +- src/model/RelationshipService.js | 2 +- src/model/RelationshipServiceInvitations.js | 2 +- .../RelationshipServiceInvitationsCreate.js | 2 +- ...viceInvitationsCreateServiceInvitations.js | 2 +- ...hipServiceInvitationsServiceInvitations.js | 2 +- src/model/RelationshipServices.js | 2 +- src/model/RelationshipServicesServices.js | 2 +- src/model/RelationshipTlsActivation.js | 2 +- .../RelationshipTlsActivationTlsActivation.js | 2 +- src/model/RelationshipTlsActivations.js | 2 +- src/model/RelationshipTlsBulkCertificate.js | 2 +- ...hipTlsBulkCertificateTlsBulkCertificate.js | 2 +- src/model/RelationshipTlsBulkCertificates.js | 2 +- src/model/RelationshipTlsCertificate.js | 2 +- ...elationshipTlsCertificateTlsCertificate.js | 2 +- src/model/RelationshipTlsCertificates.js | 2 +- ...ationshipTlsCertificatesTlsCertificates.js | 2 +- src/model/RelationshipTlsConfiguration.js | 2 +- ...nshipTlsConfigurationForTlsSubscription.js | 2 +- ...ionshipTlsConfigurationTlsConfiguration.js | 2 +- src/model/RelationshipTlsConfigurations.js | 2 +- ...nshipTlsConfigurationsTlsConfigurations.js | 2 +- src/model/RelationshipTlsDnsRecord.js | 2 +- .../RelationshipTlsDnsRecordDnsRecord.js | 2 +- src/model/RelationshipTlsDnsRecords.js | 2 +- src/model/RelationshipTlsDomain.js | 2 +- src/model/RelationshipTlsDomainTlsDomain.js | 2 +- src/model/RelationshipTlsDomains.js | 2 +- src/model/RelationshipTlsDomainsTlsDomains.js | 2 +- src/model/RelationshipTlsPrivateKey.js | 2 +- .../RelationshipTlsPrivateKeyTlsPrivateKey.js | 2 +- src/model/RelationshipTlsPrivateKeys.js | 2 +- ...elationshipTlsPrivateKeysTlsPrivateKeys.js | 2 +- src/model/RelationshipTlsSubscription.js | 2 +- ...ationshipTlsSubscriptionTlsSubscription.js | 2 +- src/model/RelationshipTlsSubscriptions.js | 2 +- src/model/RelationshipUser.js | 2 +- src/model/RelationshipUserUser.js | 2 +- src/model/RelationshipWafActiveRules.js | 2 +- ...elationshipWafActiveRulesWafActiveRules.js | 2 +- src/model/RelationshipWafFirewall.js | 2 +- src/model/RelationshipWafFirewallVersion.js | 2 +- ...hipWafFirewallVersionWafFirewallVersion.js | 2 +- src/model/RelationshipWafFirewallVersions.js | 2 +- .../RelationshipWafFirewallWafFirewall.js | 2 +- src/model/RelationshipWafRule.js | 2 +- src/model/RelationshipWafRuleRevision.js | 2 +- ...tionshipWafRuleRevisionWafRuleRevisions.js | 2 +- src/model/RelationshipWafRuleRevisions.js | 2 +- src/model/RelationshipWafRuleWafRule.js | 2 +- src/model/RelationshipWafRules.js | 2 +- src/model/RelationshipWafTags.js | 2 +- src/model/RelationshipWafTagsWafTags.js | 2 +- src/model/RelationshipsForInvitation.js | 2 +- .../RelationshipsForMutualAuthentication.js | 2 +- src/model/RelationshipsForStar.js | 2 +- src/model/RelationshipsForTlsActivation.js | 2 +- .../RelationshipsForTlsBulkCertificate.js | 2 +- src/model/RelationshipsForTlsConfiguration.js | 2 +- src/model/RelationshipsForTlsDomain.js | 2 +- src/model/RelationshipsForTlsPrivateKey.js | 2 +- src/model/RelationshipsForTlsSubscription.js | 2 +- src/model/RelationshipsForWafActiveRule.js | 2 +- src/model/RelationshipsForWafExclusion.js | 2 +- .../RelationshipsForWafFirewallVersion.js | 2 +- src/model/RelationshipsForWafRule.js | 2 +- ...ttings.js => RequestSettingsAdditional.js} | 98 +--- src/model/RequestSettingsResponse.js | 258 ++++----- src/model/RequestSettingsResponseAllOf.js | 116 ++++ src/model/Resource.js | 2 +- src/model/ResourceResponse.js | 2 +- src/model/ResourceResponseAllOf.js | 2 +- src/model/ResponseObject.js | 10 +- src/model/ResponseObjectResponse.js | 36 +- src/model/Results.js | 2 +- src/model/SchemasContactResponse.js | 2 +- src/model/SchemasSnippetResponse.js | 2 +- src/model/SchemasUserResponse.js | 2 +- src/model/SchemasUserResponseReadOnly.js | 2 +- src/model/SchemasVclResponse.js | 2 +- src/model/SchemasVersion.js | 2 +- src/model/SchemasVersionResponse.js | 2 +- src/model/SchemasWafFirewallVersion.js | 2 +- src/model/SchemasWafFirewallVersionData.js | 2 +- src/model/Secret.js | 2 +- src/model/SecretResponse.js | 2 +- src/model/SecretStore.js | 2 +- src/model/SecretStoreResponse.js | 2 +- src/model/Server.js | 2 +- src/model/ServerResponse.js | 2 +- src/model/ServerResponseAllOf.js | 2 +- src/model/Service.js | 2 +- src/model/ServiceAuthorization.js | 2 +- src/model/ServiceAuthorizationData.js | 2 +- .../ServiceAuthorizationDataAttributes.js | 2 +- .../ServiceAuthorizationDataRelationships.js | 2 +- ...rviceAuthorizationDataRelationshipsUser.js | 2 +- ...eAuthorizationDataRelationshipsUserData.js | 2 +- src/model/ServiceAuthorizationResponse.js | 2 +- src/model/ServiceAuthorizationResponseData.js | 2 +- .../ServiceAuthorizationResponseDataAllOf.js | 2 +- src/model/ServiceAuthorizationsResponse.js | 2 +- .../ServiceAuthorizationsResponseAllOf.js | 2 +- src/model/ServiceCreate.js | 2 +- src/model/ServiceCreateAllOf.js | 2 +- src/model/ServiceDetail.js | 2 +- src/model/ServiceDetailAllOf.js | 2 +- src/model/ServiceIdAndVersion.js | 2 +- src/model/ServiceIdAndVersionString.js | 78 +++ src/model/ServiceInvitation.js | 2 +- src/model/ServiceInvitationData.js | 2 +- src/model/ServiceInvitationDataAttributes.js | 2 +- .../ServiceInvitationDataRelationships.js | 2 +- src/model/ServiceInvitationResponse.js | 2 +- src/model/ServiceInvitationResponseAllOf.js | 2 +- .../ServiceInvitationResponseAllOfData.js | 2 +- src/model/ServiceListResponse.js | 2 +- src/model/ServiceListResponseAllOf.js | 2 +- src/model/ServiceResponse.js | 2 +- src/model/ServiceResponseAllOf.js | 2 +- src/model/ServiceVersionDetail.js | 2 +- src/model/ServiceVersionDetailOrNull.js | 2 +- src/model/Settings.js | 2 +- src/model/SettingsResponse.js | 2 +- src/model/SigningKey.js | 2 +- src/model/Snippet.js | 2 +- src/model/SnippetResponse.js | 2 +- src/model/SnippetResponseAllOf.js | 2 +- src/model/Star.js | 2 +- src/model/StarData.js | 2 +- src/model/StarResponse.js | 2 +- src/model/StarResponseAllOf.js | 2 +- src/model/Stats.js | 2 +- src/model/Store.js | 2 +- src/model/StoreResponse.js | 2 +- src/model/SubsequentRequestTimestamp.js | 2 +- src/model/SudoGenericTokenError.js | 2 +- src/model/SudoRequest.js | 2 +- src/model/SudoResponse.js | 2 +- src/model/Timestamps.js | 2 +- src/model/TimestampsNoDelete.js | 2 +- src/model/TlsActivation.js | 2 +- src/model/TlsActivationData.js | 2 +- src/model/TlsActivationResponse.js | 2 +- src/model/TlsActivationResponseData.js | 2 +- src/model/TlsActivationResponseDataAllOf.js | 2 +- src/model/TlsActivationsResponse.js | 2 +- src/model/TlsActivationsResponseAllOf.js | 2 +- src/model/TlsBulkCertificate.js | 2 +- src/model/TlsBulkCertificateData.js | 2 +- src/model/TlsBulkCertificateDataAttributes.js | 2 +- src/model/TlsBulkCertificateResponse.js | 2 +- .../TlsBulkCertificateResponseAttributes.js | 2 +- ...sBulkCertificateResponseAttributesAllOf.js | 2 +- src/model/TlsBulkCertificateResponseData.js | 2 +- .../TlsBulkCertificateResponseDataAllOf.js | 2 +- src/model/TlsBulkCertificatesResponse.js | 2 +- src/model/TlsBulkCertificatesResponseAllOf.js | 2 +- src/model/TlsCertificate.js | 2 +- src/model/TlsCertificateData.js | 2 +- src/model/TlsCertificateDataAttributes.js | 2 +- src/model/TlsCertificateResponse.js | 2 +- src/model/TlsCertificateResponseAttributes.js | 2 +- .../TlsCertificateResponseAttributesAllOf.js | 2 +- src/model/TlsCertificateResponseData.js | 2 +- src/model/TlsCertificateResponseDataAllOf.js | 2 +- src/model/TlsCertificatesResponse.js | 2 +- src/model/TlsCertificatesResponseAllOf.js | 2 +- src/model/TlsCommonResponse.js | 171 ++++++ ...TlsCommon.js => TlsCommonResponseAllOf.js} | 63 +-- src/model/TlsCommonResponseAllOf1.js | 93 ++++ src/model/TlsConfiguration.js | 2 +- src/model/TlsConfigurationData.js | 2 +- src/model/TlsConfigurationDataAttributes.js | 2 +- src/model/TlsConfigurationResponse.js | 2 +- .../TlsConfigurationResponseAttributes.js | 2 +- ...TlsConfigurationResponseAttributesAllOf.js | 2 +- src/model/TlsConfigurationResponseData.js | 2 +- .../TlsConfigurationResponseDataAllOf.js | 2 +- src/model/TlsConfigurationsResponse.js | 2 +- src/model/TlsConfigurationsResponseAllOf.js | 2 +- src/model/TlsDnsRecord.js | 2 +- src/model/TlsDomainData.js | 2 +- src/model/TlsDomainsResponse.js | 2 +- src/model/TlsDomainsResponseAllOf.js | 2 +- src/model/TlsPrivateKey.js | 2 +- src/model/TlsPrivateKeyData.js | 2 +- src/model/TlsPrivateKeyDataAttributes.js | 2 +- src/model/TlsPrivateKeyResponse.js | 2 +- src/model/TlsPrivateKeyResponseAttributes.js | 2 +- .../TlsPrivateKeyResponseAttributesAllOf.js | 2 +- src/model/TlsPrivateKeyResponseData.js | 2 +- src/model/TlsPrivateKeysResponse.js | 2 +- src/model/TlsPrivateKeysResponseAllOf.js | 2 +- src/model/TlsSubscription.js | 2 +- src/model/TlsSubscriptionData.js | 2 +- src/model/TlsSubscriptionDataAttributes.js | 2 +- src/model/TlsSubscriptionResponse.js | 2 +- .../TlsSubscriptionResponseAttributes.js | 2 +- .../TlsSubscriptionResponseAttributesAllOf.js | 2 +- src/model/TlsSubscriptionResponseData.js | 16 +- src/model/TlsSubscriptionsResponse.js | 2 +- src/model/TlsSubscriptionsResponseAllOf.js | 2 +- src/model/Token.js | 2 +- src/model/TokenCreatedResponse.js | 2 +- src/model/TokenCreatedResponseAllOf.js | 2 +- src/model/TokenResponse.js | 2 +- src/model/TokenResponseAllOf.js | 2 +- src/model/TokensAdditionalProps.js | 2 +- src/model/UpdateBillingAddressRequest.js | 2 +- src/model/UpdateBillingAddressRequestData.js | 2 +- src/model/User.js | 2 +- src/model/UserResponse.js | 2 +- src/model/UserResponseReadOnly.js | 2 +- src/model/ValidatorResult.js | 2 +- src/model/ValidatorResultData.js | 2 +- src/model/ValidatorResultDataAttributes.js | 2 +- .../ValidatorResultDataAttributesMessages.js | 2 +- src/model/Values.js | 2 +- src/model/Vcl.js | 2 +- src/model/VclDiff.js | 2 +- src/model/VclResponse.js | 2 +- src/model/VclSyntaxHighlightingResponse.js | 2 +- src/model/Version.js | 2 +- src/model/VersionCreateResponse.js | 2 +- src/model/VersionDetail.js | 2 +- src/model/VersionDetailSettings.js | 2 +- src/model/VersionResponse.js | 2 +- src/model/VersionResponseAllOf.js | 2 +- src/model/WafActiveRule.js | 2 +- src/model/WafActiveRuleCreationResponse.js | 2 +- src/model/WafActiveRuleData.js | 2 +- src/model/WafActiveRuleDataAttributes.js | 2 +- src/model/WafActiveRuleResponse.js | 2 +- src/model/WafActiveRuleResponseData.js | 2 +- src/model/WafActiveRuleResponseDataAllOf.js | 2 +- .../WafActiveRuleResponseDataAttributes.js | 2 +- ...afActiveRuleResponseDataAttributesAllOf.js | 2 +- .../WafActiveRuleResponseDataRelationships.js | 2 +- src/model/WafActiveRulesResponse.js | 2 +- src/model/WafActiveRulesResponseAllOf.js | 2 +- src/model/WafExclusion.js | 2 +- src/model/WafExclusionData.js | 2 +- src/model/WafExclusionDataAttributes.js | 2 +- src/model/WafExclusionResponse.js | 2 +- src/model/WafExclusionResponseData.js | 2 +- src/model/WafExclusionResponseDataAllOf.js | 2 +- .../WafExclusionResponseDataAttributes.js | 2 +- ...WafExclusionResponseDataAttributesAllOf.js | 2 +- .../WafExclusionResponseDataRelationships.js | 2 +- src/model/WafExclusionsResponse.js | 2 +- src/model/WafExclusionsResponseAllOf.js | 2 +- src/model/WafFirewall.js | 2 +- src/model/WafFirewallData.js | 2 +- src/model/WafFirewallDataAttributes.js | 2 +- src/model/WafFirewallResponse.js | 2 +- src/model/WafFirewallResponseData.js | 2 +- src/model/WafFirewallResponseDataAllOf.js | 2 +- .../WafFirewallResponseDataAttributes.js | 2 +- .../WafFirewallResponseDataAttributesAllOf.js | 2 +- src/model/WafFirewallVersion.js | 2 +- src/model/WafFirewallVersionData.js | 2 +- src/model/WafFirewallVersionDataAttributes.js | 2 +- src/model/WafFirewallVersionResponse.js | 2 +- src/model/WafFirewallVersionResponseData.js | 2 +- .../WafFirewallVersionResponseDataAllOf.js | 2 +- ...afFirewallVersionResponseDataAttributes.js | 2 +- ...ewallVersionResponseDataAttributesAllOf.js | 2 +- src/model/WafFirewallVersionsResponse.js | 2 +- src/model/WafFirewallVersionsResponseAllOf.js | 2 +- src/model/WafFirewallsResponse.js | 2 +- src/model/WafFirewallsResponseAllOf.js | 2 +- src/model/WafRule.js | 2 +- src/model/WafRuleAttributes.js | 2 +- src/model/WafRuleResponse.js | 2 +- src/model/WafRuleResponseData.js | 2 +- src/model/WafRuleResponseDataAllOf.js | 2 +- src/model/WafRuleRevision.js | 2 +- src/model/WafRuleRevisionAttributes.js | 2 +- src/model/WafRuleRevisionOrLatest.js | 2 +- src/model/WafRuleRevisionResponse.js | 2 +- src/model/WafRuleRevisionResponseData.js | 2 +- src/model/WafRuleRevisionResponseDataAllOf.js | 2 +- src/model/WafRuleRevisionsResponse.js | 2 +- src/model/WafRuleRevisionsResponseAllOf.js | 2 +- src/model/WafRulesResponse.js | 2 +- src/model/WafRulesResponseAllOf.js | 2 +- src/model/WafTag.js | 2 +- src/model/WafTagAttributes.js | 2 +- src/model/WafTagsResponse.js | 2 +- src/model/WafTagsResponseAllOf.js | 2 +- src/model/WafTagsResponseDataItem.js | 2 +- src/model/WsMessageFormat.js | 2 +- 910 files changed, 7177 insertions(+), 13607 deletions(-) create mode 100644 docs/HeaderResponseAdditional.md delete mode 100644 docs/LoggingAzureblob.md rename docs/{LoggingAzureblobAllOf.md => LoggingAzureblobAdditional.md} (97%) delete mode 100644 docs/LoggingBigquery.md rename docs/{LoggingBigqueryAllOf.md => LoggingBigqueryAdditional.md} (95%) delete mode 100644 docs/LoggingCloudfiles.md rename docs/{LoggingCloudfilesAllOf.md => LoggingCloudfilesAdditional.md} (95%) rename docs/{LoggingPapertrail.md => LoggingCommonResponse.md} (80%) rename docs/{LoggingSumologic.md => LoggingCommonResponseAllOf.md} (66%) create mode 100644 docs/LoggingCommonResponseAllOf1.md delete mode 100644 docs/LoggingDatadog.md rename docs/{LoggingDatadogAllOf.md => LoggingDatadogAdditional.md} (99%) delete mode 100644 docs/LoggingDigitalocean.md rename docs/{LoggingDigitaloceanAllOf.md => LoggingDigitaloceanAdditional.md} (95%) delete mode 100644 docs/LoggingElasticsearch.md rename docs/{LoggingElasticsearchAllOf.md => LoggingElasticsearchAdditional.md} (97%) delete mode 100644 docs/LoggingFormatVersion.md create mode 100644 docs/LoggingFormatVersionInteger.md create mode 100644 docs/LoggingFormatVersionString.md delete mode 100644 docs/LoggingFtp.md rename docs/{LoggingFtpAllOf.md => LoggingFtpAdditional.md} (89%) rename docs/{DomainCheckItem.md => LoggingFtpResponseAllOf.md} (50%) delete mode 100644 docs/LoggingGcs.md rename docs/{LoggingGcsAllOf.md => LoggingGcsAdditional.md} (95%) create mode 100644 docs/LoggingGenericCommonResponse.md create mode 100644 docs/LoggingGenericCommonResponseAllOf.md create mode 100644 docs/LoggingGenericCommonResponseAllOf1.md delete mode 100644 docs/LoggingGooglePubsub.md rename docs/{LoggingGooglePubsubAllOf.md => LoggingGooglePubsubAdditional.md} (93%) delete mode 100644 docs/LoggingHeroku.md rename docs/{LoggingHerokuAllOf.md => LoggingHerokuAdditional.md} (93%) delete mode 100644 docs/LoggingHoneycomb.md rename docs/{LoggingHoneycombAllOf.md => LoggingHoneycombAdditional.md} (93%) delete mode 100644 docs/LoggingHttps.md rename docs/{LoggingHttpsAllOf.md => LoggingHttpsAdditional.md} (97%) rename docs/{LoggingKafkaAllOf.md => LoggingKafkaAdditional.md} (97%) rename docs/{LoggingKafka.md => LoggingKafkaResponsePost.md} (88%) rename docs/{LoggingKinesis.md => LoggingKinesisAdditional.md} (94%) delete mode 100644 docs/LoggingLogentries.md rename docs/{LoggingLogentriesAllOf.md => LoggingLogentriesAdditional.md} (94%) delete mode 100644 docs/LoggingLoggly.md rename docs/{LoggingLogglyAllOf.md => LoggingLogglyAdditional.md} (92%) delete mode 100644 docs/LoggingLogshuttle.md rename docs/{LoggingLogshuttleAllOf.md => LoggingLogshuttleAdditional.md} (90%) delete mode 100644 docs/LoggingNewrelic.md rename docs/{LoggingNewrelicAllOf.md => LoggingNewrelicAdditional.md} (97%) delete mode 100644 docs/LoggingOpenstack.md rename docs/{LoggingOpenstackAllOf.md => LoggingOpenstackAdditional.md} (95%) delete mode 100644 docs/LoggingS3.md rename docs/{LoggingS3AllOf.md => LoggingS3Additional.md} (98%) delete mode 100644 docs/LoggingScalyr.md rename docs/{LoggingScalyrAllOf.md => LoggingScalyrAdditional.md} (94%) delete mode 100644 docs/LoggingSftp.md rename docs/{LoggingSftpAllOf.md => LoggingSftpAdditional.md} (90%) create mode 100644 docs/LoggingSftpResponseAllOf.md delete mode 100644 docs/LoggingSplunk.md rename docs/{LoggingSplunkAllOf.md => LoggingSplunkAdditional.md} (92%) rename docs/{LoggingSumologicAllOf.md => LoggingSumologicAdditional.md} (90%) delete mode 100644 docs/LoggingSyslog.md rename docs/{LoggingSyslogAllOf.md => LoggingSyslogAdditional.md} (95%) rename docs/{PoolAllOf.md => PoolAdditional.md} (75%) create mode 100644 docs/PoolResponseCommon.md rename docs/{Pool.md => PoolResponsePost.md} (68%) create mode 100644 docs/PoolResponsePostAllOf.md rename docs/{RequestSettings.md => RequestSettingsAdditional.md} (51%) create mode 100644 docs/RequestSettingsResponseAllOf.md create mode 100644 docs/ServiceIdAndVersionString.md create mode 100644 docs/TlsCommonResponse.md rename docs/{TlsCommon.md => TlsCommonResponseAllOf.md} (89%) create mode 100644 docs/TlsCommonResponseAllOf1.md delete mode 100644 docs/TlsSubscriptionResponseDataAllOf.md delete mode 100644 src/model/DomainCheckItem.js rename src/model/{TlsSubscriptionResponseDataAllOf.js => HeaderResponseAdditional.js} (50%) delete mode 100644 src/model/LoggingAzureblob.js rename src/model/{LoggingAzureblobAllOf.js => LoggingAzureblobAdditional.js} (74%) delete mode 100644 src/model/LoggingBigquery.js rename src/model/{LoggingBigqueryAllOf.js => LoggingBigqueryAdditional.js} (72%) delete mode 100644 src/model/LoggingCloudfiles.js rename src/model/{LoggingCloudfilesAllOf.js => LoggingCloudfilesAdditional.js} (73%) rename src/model/{LoggingLoggly.js => LoggingCommonResponse.js} (60%) create mode 100644 src/model/LoggingCommonResponseAllOf.js create mode 100644 src/model/LoggingCommonResponseAllOf1.js delete mode 100644 src/model/LoggingDatadog.js rename src/model/{LoggingDatadogAllOf.js => LoggingDatadogAdditional.js} (57%) delete mode 100644 src/model/LoggingDigitalocean.js rename src/model/{LoggingDigitaloceanAllOf.js => LoggingDigitaloceanAdditional.js} (71%) delete mode 100644 src/model/LoggingElasticsearch.js rename src/model/{LoggingElasticsearchAllOf.js => LoggingElasticsearchAdditional.js} (74%) delete mode 100644 src/model/LoggingFormatVersion.js create mode 100644 src/model/LoggingFormatVersionInteger.js create mode 100644 src/model/LoggingFormatVersionString.js delete mode 100644 src/model/LoggingFtp.js rename src/model/{LoggingFtpAllOf.js => LoggingFtpAdditional.js} (71%) create mode 100644 src/model/LoggingFtpResponseAllOf.js delete mode 100644 src/model/LoggingGcs.js rename src/model/{LoggingGcsAllOf.js => LoggingGcsAdditional.js} (72%) create mode 100644 src/model/LoggingGenericCommonResponse.js create mode 100644 src/model/LoggingGenericCommonResponseAllOf.js create mode 100644 src/model/LoggingGenericCommonResponseAllOf1.js delete mode 100644 src/model/LoggingGooglePubsub.js rename src/model/{LoggingGooglePubsubAllOf.js => LoggingGooglePubsubAdditional.js} (68%) delete mode 100644 src/model/LoggingHeroku.js rename src/model/{LoggingHerokuAllOf.js => LoggingHerokuAdditional.js} (70%) delete mode 100644 src/model/LoggingHoneycomb.js rename src/model/{LoggingHoneycombAllOf.js => LoggingHoneycombAdditional.js} (70%) delete mode 100644 src/model/LoggingHttps.js rename src/model/{LoggingHttpsAllOf.js => LoggingHttpsAdditional.js} (75%) rename src/model/{LoggingKafkaAllOf.js => LoggingKafkaAdditional.js} (75%) rename src/model/{LoggingKafka.js => LoggingKafkaResponsePost.js} (64%) rename src/model/{LoggingKinesis.js => LoggingKinesisAdditional.js} (67%) delete mode 100644 src/model/LoggingLogentries.js rename src/model/{LoggingLogentriesAllOf.js => LoggingLogentriesAdditional.js} (72%) rename src/model/{LoggingLogglyAllOf.js => LoggingLogglyAdditional.js} (69%) delete mode 100644 src/model/LoggingLogshuttle.js rename src/model/{LoggingLogshuttleAllOf.js => LoggingLogshuttleAdditional.js} (67%) delete mode 100644 src/model/LoggingNewrelic.js rename src/model/{LoggingNewrelicAllOf.js => LoggingNewrelicAdditional.js} (64%) delete mode 100644 src/model/LoggingOpenstack.js rename src/model/{LoggingOpenstackAllOf.js => LoggingOpenstackAdditional.js} (71%) delete mode 100644 src/model/LoggingPapertrail.js delete mode 100644 src/model/LoggingS3.js rename src/model/{LoggingS3AllOf.js => LoggingS3Additional.js} (78%) delete mode 100644 src/model/LoggingScalyr.js rename src/model/{LoggingScalyrAllOf.js => LoggingScalyrAdditional.js} (70%) delete mode 100644 src/model/LoggingSftp.js rename src/model/{LoggingSftpAllOf.js => LoggingSftpAdditional.js} (72%) create mode 100644 src/model/LoggingSftpResponseAllOf.js delete mode 100644 src/model/LoggingSplunk.js rename src/model/{LoggingSplunkAllOf.js => LoggingSplunkAdditional.js} (70%) delete mode 100644 src/model/LoggingSumologic.js rename src/model/{LoggingSumologicAllOf.js => LoggingSumologicAdditional.js} (68%) delete mode 100644 src/model/LoggingSyslog.js rename src/model/{LoggingSyslogAllOf.js => LoggingSyslogAdditional.js} (72%) rename src/model/{PoolAllOf.js => PoolAdditional.js} (64%) create mode 100644 src/model/PoolResponseCommon.js rename src/model/{Pool.js => PoolResponsePost.js} (53%) create mode 100644 src/model/PoolResponsePostAllOf.js rename src/model/{RequestSettings.js => RequestSettingsAdditional.js} (53%) create mode 100644 src/model/RequestSettingsResponseAllOf.js create mode 100644 src/model/ServiceIdAndVersionString.js create mode 100644 src/model/TlsCommonResponse.js rename src/model/{TlsCommon.js => TlsCommonResponseAllOf.js} (67%) create mode 100644 src/model/TlsCommonResponseAllOf1.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 40eb056e2..620ab536b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [v6.0.0](https://github.com/fastly/fastly-js/releases/tag/release/v6.0.0) (2023-07-31) + +**Breaking:** + +The following restructures have helped resolve some issues with our OpenAPI schemas but as a side-effect this has resulted in a break to our API client interface as different types are now being generated. + +- refactor: general restructure OpenAPI schemas. +- refactor(domain): remove explicit schema type for 'any'. + +**Bug fixes:** + +- fix: change response `version` type to string. +- fix(cache_settings): change response `stale_ttl` and `ttl` types to strings. +- fix(header): change response `ignore_if_set` and `priority` types to strings. +- fix(logging): change response `period` and `gzip_level` types to strings. +- fix(pool): change response `use_tls`, `max_conn_default`, `first_byte_timeout`, `quorum` and `tls_check_cert` types to strings. +- fix(request_settings): change response `bypass_busy_wait`, `force_miss`, `force_ssl`, `geo_headers`, `max_stale_age` and `timer_support` types to strings. +- fix(response_object): change response `status` type to string. + ## [v5.0.2](https://github.com/fastly/fastly-js/releases/tag/release/v5.0.2) (2023-07-13) **Bug fixes:** diff --git a/README.md b/README.md index 857909437..26e45e77b 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ An asynchronous JavaScript client library for interacting with most facets of th > **NOTE:** This API client is auto-generated from Fastly's OpenAPI specification and may not function correctly when used on the Compute@Edge platform. Support for Compute@Edge is on the roadmap but has not yet been prioritised. + ## Usage ```javascript diff --git a/docs/CacheSetting.md b/docs/CacheSetting.md index 4a300c506..b939d6792 100644 --- a/docs/CacheSetting.md +++ b/docs/CacheSetting.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] [one of: "pass", "cache", "restart"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **name** | **String** | Name for the cache settings object. | [optional] -**stale_ttl** | **Number** | 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'). | [optional] -**ttl** | **Number** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] +**stale_ttl** | **String** | 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'). | [optional] +**ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/CacheSettingResponse.md b/docs/CacheSettingResponse.md index b062808ba..e4f5f8de2 100644 --- a/docs/CacheSettingResponse.md +++ b/docs/CacheSettingResponse.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] [one of: "pass", "cache", "restart"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **name** | **String** | Name for the cache settings object. | [optional] -**stale_ttl** | **Number** | 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'). | [optional] -**ttl** | **Number** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] +**stale_ttl** | **String** | 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'). | [optional] +**ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] diff --git a/docs/CacheSettingsApi.md b/docs/CacheSettingsApi.md index b3b83c0a9..c43bd0c65 100644 --- a/docs/CacheSettingsApi.md +++ b/docs/CacheSettingsApi.md @@ -31,8 +31,8 @@ const options = { action: "pass", cache_condition: "cache_condition_example", name: "name_example", - stale_ttl: 56, - ttl: 56, + stale_ttl: "stale_ttl_example", + ttl: "ttl_example", }; apiInstance.createCacheSettings(options) @@ -53,8 +53,8 @@ Name | Type | Description | Notes **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] [one of: "pass", "cache", "restart"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **name** | **String** | Name for the cache settings object. | [optional] -**stale_ttl** | **Number** | 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'). | [optional] -**ttl** | **Number** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] +**stale_ttl** | **String** | 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'). | [optional] +**ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] ### Return type @@ -194,8 +194,8 @@ const options = { action: "pass", cache_condition: "cache_condition_example", name: "name_example", - stale_ttl: 56, - ttl: 56, + stale_ttl: "stale_ttl_example", + ttl: "ttl_example", }; apiInstance.updateCacheSettings(options) @@ -217,8 +217,8 @@ Name | Type | Description | Notes **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] [one of: "pass", "cache", "restart"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **name** | **String** | Name for the cache settings object. | [optional] -**stale_ttl** | **Number** | 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'). | [optional] -**ttl** | **Number** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] +**stale_ttl** | **String** | 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'). | [optional] +**ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] ### Return type diff --git a/docs/DomainApi.md b/docs/DomainApi.md index 873f443d5..1f2b8beb4 100644 --- a/docs/DomainApi.md +++ b/docs/DomainApi.md @@ -52,7 +52,7 @@ Name | Type | Description | Notes ### Return type -[**[DomainCheckItem]**](DomainCheckItem.md) +**[Object]** ## `checkDomains` diff --git a/docs/GzipResponse.md b/docs/GzipResponse.md index b89919350..7a5e6bd43 100644 --- a/docs/GzipResponse.md +++ b/docs/GzipResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **extensions** | **String** | Space-separated list of file extensions to compress. If you omit this field a default list will be used. | [optional] **name** | **String** | Name of the gzip configuration. | [optional] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] diff --git a/docs/Header.md b/docs/Header.md index bff3afe80..2935bf4a1 100644 --- a/docs/Header.md +++ b/docs/Header.md @@ -7,9 +7,7 @@ Name | Type | Description | Notes **action** | **String** | Accepts a string value. | [optional] [one of: "set", "append", "delete", "regex", "regex_repeat"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **dst** | **String** | Header to set. | [optional] -**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] **name** | **String** | A handle to refer to this Header object. | [optional] -**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **response_condition** | **String** | Optional name of a response condition to apply. | [optional] diff --git a/docs/HeaderApi.md b/docs/HeaderApi.md index 03785a991..48855aee3 100644 --- a/docs/HeaderApi.md +++ b/docs/HeaderApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createHeaderObject` ```javascript -createHeaderObject({ service_id, version_id, [action, ][cache_condition, ][dst, ][ignore_if_set, ][name, ][priority, ][regex, ][request_condition, ][response_condition, ][src, ][substitution, ][type] }) +createHeaderObject({ service_id, version_id, [action, ][cache_condition, ][dst, ][name, ][regex, ][request_condition, ][response_condition, ][src, ][substitution, ][type, ][ignore_if_set, ][priority] }) ``` Creates a new Header object. @@ -31,15 +31,15 @@ const options = { action: "set", cache_condition: "cache_condition_example", dst: "dst_example", - ignore_if_set: 56, name: "name_example", - priority: 100, regex: "regex_example", request_condition: "request_condition_example", response_condition: "response_condition_example", src: "src_example", substitution: "substitution_example", type: "request", + ignore_if_set: 56, + priority: 100, }; apiInstance.createHeaderObject(options) @@ -60,15 +60,15 @@ Name | Type | Description | Notes **action** | **String** | Accepts a string value. | [optional] [one of: "set", "append", "delete", "regex", "regex_repeat"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **dst** | **String** | Header to set. | [optional] -**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] **name** | **String** | A handle to refer to this Header object. | [optional] -**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **response_condition** | **String** | Optional name of a response condition to apply. | [optional] **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] **type** | **String** | Accepts a string value. | [optional] [one of: "request", "cache", "response"] +**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] +**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] ### Return type @@ -193,7 +193,7 @@ Name | Type | Description | Notes ## `updateHeaderObject` ```javascript -updateHeaderObject({ service_id, version_id, header_name, [action, ][cache_condition, ][dst, ][ignore_if_set, ][name, ][priority, ][regex, ][request_condition, ][response_condition, ][src, ][substitution, ][type] }) +updateHeaderObject({ service_id, version_id, header_name, [action, ][cache_condition, ][dst, ][name, ][regex, ][request_condition, ][response_condition, ][src, ][substitution, ][type, ][ignore_if_set, ][priority] }) ``` Modifies an existing Header object by name. @@ -208,15 +208,15 @@ const options = { action: "set", cache_condition: "cache_condition_example", dst: "dst_example", - ignore_if_set: 56, name: "name_example", - priority: 100, regex: "regex_example", request_condition: "request_condition_example", response_condition: "response_condition_example", src: "src_example", substitution: "substitution_example", type: "request", + ignore_if_set: 56, + priority: 100, }; apiInstance.updateHeaderObject(options) @@ -238,15 +238,15 @@ Name | Type | Description | Notes **action** | **String** | Accepts a string value. | [optional] [one of: "set", "append", "delete", "regex", "regex_repeat"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **dst** | **String** | Header to set. | [optional] -**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] **name** | **String** | A handle to refer to this Header object. | [optional] -**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **response_condition** | **String** | Optional name of a response condition to apply. | [optional] **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] **type** | **String** | Accepts a string value. | [optional] [one of: "request", "cache", "response"] +**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] +**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] ### Return type diff --git a/docs/HeaderResponse.md b/docs/HeaderResponse.md index ce7b02471..897e7819e 100644 --- a/docs/HeaderResponse.md +++ b/docs/HeaderResponse.md @@ -7,17 +7,17 @@ Name | Type | Description | Notes **action** | **String** | Accepts a string value. | [optional] [one of: "set", "append", "delete", "regex", "regex_repeat"] **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] **dst** | **String** | Header to set. | [optional] -**ignore_if_set** | **Number** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] **name** | **String** | A handle to refer to this Header object. | [optional] -**priority** | **Number** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to 100] **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **response_condition** | **String** | Optional name of a response condition to apply. | [optional] **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] **type** | **String** | Accepts a string value. | [optional] [one of: "request", "cache", "response"] +**ignore_if_set** | **String** | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true) | [optional] +**priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to '100'] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] diff --git a/docs/HeaderResponseAdditional.md b/docs/HeaderResponseAdditional.md new file mode 100644 index 000000000..c32217ed6 --- /dev/null +++ b/docs/HeaderResponseAdditional.md @@ -0,0 +1,11 @@ +# Fastly.HeaderResponseAdditional + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ignore_if_set** | **String** | Don't add the header if it is added already. Only applies to 'set' action. Numerical value (\"0\" = false, \"1\" = true) | [optional] +**priority** | **String** | Priority determines execution order. Lower numbers execute first. | [optional] [defaults to '100'] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingAzureblob.md b/docs/LoggingAzureblob.md deleted file mode 100644 index 7ea2e0ce0..000000000 --- a/docs/LoggingAzureblob.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingAzureblob - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] -**container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] -**sas_token** | **String** | 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. | [optional] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**file_max_bytes** | **Number** | 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.) | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingAzureblobAllOf.md b/docs/LoggingAzureblobAdditional.md similarity index 97% rename from docs/LoggingAzureblobAllOf.md rename to docs/LoggingAzureblobAdditional.md index d7db633b4..f3beb2d36 100644 --- a/docs/LoggingAzureblobAllOf.md +++ b/docs/LoggingAzureblobAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingAzureblobAllOf +# Fastly.LoggingAzureblobAdditional ## Properties diff --git a/docs/LoggingAzureblobApi.md b/docs/LoggingAzureblobApi.md index 983734e20..ed5481a43 100644 --- a/docs/LoggingAzureblobApi.md +++ b/docs/LoggingAzureblobApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogAzure` ```javascript -createLogAzure({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][path, ][account_name, ][container, ][sas_token, ][public_key, ][file_max_bytes] }) +createLogAzure({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][path, ][account_name, ][container, ][sas_token, ][public_key, ][file_max_bytes] }) ``` Create an Azure Blob Storage logging endpoint for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", path: "'null'", account_name: "account_name_example", container: "container_example", @@ -63,14 +63,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogAzure` ```javascript -updateLogAzure({ service_id, version_id, logging_azureblob_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][path, ][account_name, ][container, ][sas_token, ][public_key, ][file_max_bytes] }) +updateLogAzure({ service_id, version_id, logging_azureblob_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][path, ][account_name, ][container, ][sas_token, ][public_key, ][file_max_bytes] }) ``` Update the Azure Blob Storage logging endpoint for a particular service and version. @@ -215,14 +215,14 @@ const options = { logging_azureblob_name: "logging_azureblob_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", path: "'null'", account_name: "account_name_example", container: "container_example", @@ -249,14 +249,14 @@ Name | Type | Description | Notes **logging_azureblob_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] diff --git a/docs/LoggingAzureblobResponse.md b/docs/LoggingAzureblobResponse.md index e291e2c2b..2a82c4b9a 100644 --- a/docs/LoggingAzureblobResponse.md +++ b/docs/LoggingAzureblobResponse.md @@ -6,25 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] **sas_token** | **String** | 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. | [optional] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **file_max_bytes** | **Number** | 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.) | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingBigquery.md b/docs/LoggingBigquery.md deleted file mode 100644 index c2a3db1ce..000000000 --- a/docs/LoggingBigquery.md +++ /dev/null @@ -1,21 +0,0 @@ -# Fastly.LoggingBigquery - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the BigQuery logging object. Used as a primary key for API access. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | 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. | [optional] -**user** | **String** | 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. | [optional] -**secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] -**account_name** | **String** | 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. | [optional] -**dataset** | **String** | Your BigQuery dataset. | [optional] -**table** | **String** | Your BigQuery table. | [optional] -**template_suffix** | **String** | BigQuery table name suffix template. Optional. | [optional] -**project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingBigqueryAllOf.md b/docs/LoggingBigqueryAdditional.md similarity index 95% rename from docs/LoggingBigqueryAllOf.md rename to docs/LoggingBigqueryAdditional.md index 5bc79fde9..6224e5ddc 100644 --- a/docs/LoggingBigqueryAllOf.md +++ b/docs/LoggingBigqueryAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingBigqueryAllOf +# Fastly.LoggingBigqueryAdditional ## Properties diff --git a/docs/LoggingBigqueryApi.md b/docs/LoggingBigqueryApi.md index ce3cdca70..4f061c256 100644 --- a/docs/LoggingBigqueryApi.md +++ b/docs/LoggingBigqueryApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogBigquery` ```javascript -createLogBigquery({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][user, ][secret_key, ][account_name, ][dataset, ][table, ][template_suffix, ][project_id] }) +createLogBigquery({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][user, ][secret_key, ][account_name, ][dataset, ][table, ][template_suffix, ][project_id] }) ``` Create a BigQuery logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -59,9 +59,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name of the BigQuery logging object. Used as a primary key for API access. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | 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. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] @@ -193,7 +193,7 @@ Name | Type | Description | Notes ## `updateLogBigquery` ```javascript -updateLogBigquery({ service_id, version_id, logging_bigquery_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][user, ][secret_key, ][account_name, ][dataset, ][table, ][template_suffix, ][project_id] }) +updateLogBigquery({ service_id, version_id, logging_bigquery_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][user, ][secret_key, ][account_name, ][dataset, ][table, ][template_suffix, ][project_id] }) ``` Update a BigQuery logging object for a particular service and version. @@ -207,9 +207,9 @@ const options = { logging_bigquery_name: "logging_bigquery_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -237,9 +237,9 @@ Name | Type | Description | Notes **logging_bigquery_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name of the BigQuery logging object. Used as a primary key for API access. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | 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. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] diff --git a/docs/LoggingBigqueryResponse.md b/docs/LoggingBigqueryResponse.md index bb818a882..b5683144d 100644 --- a/docs/LoggingBigqueryResponse.md +++ b/docs/LoggingBigqueryResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the BigQuery logging object. Used as a primary key for API access. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | 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. | [optional] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingCloudfiles.md b/docs/LoggingCloudfiles.md deleted file mode 100644 index 051d86f89..000000000 --- a/docs/LoggingCloudfiles.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingCloudfiles - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**access_key** | **String** | Your Cloud Files account access key. | [optional] -**bucket_name** | **String** | The name of your Cloud Files container. | [optional] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**region** | **String** | The region to stream logs to. | [optional] [one of: "DFW", "ORD", "IAD", "LON", "SYD", "HKG", "null"] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**user** | **String** | The username for your Cloud Files account. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingCloudfilesAllOf.md b/docs/LoggingCloudfilesAdditional.md similarity index 95% rename from docs/LoggingCloudfilesAllOf.md rename to docs/LoggingCloudfilesAdditional.md index a1dd1a5a9..bd526bed1 100644 --- a/docs/LoggingCloudfilesAllOf.md +++ b/docs/LoggingCloudfilesAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingCloudfilesAllOf +# Fastly.LoggingCloudfilesAdditional ## Properties diff --git a/docs/LoggingCloudfilesApi.md b/docs/LoggingCloudfilesApi.md index 6fb5efbaf..aca391d25 100644 --- a/docs/LoggingCloudfilesApi.md +++ b/docs/LoggingCloudfilesApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogCloudfiles` ```javascript -createLogCloudfiles({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][bucket_name, ][path, ][region, ][public_key, ][user] }) +createLogCloudfiles({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][bucket_name, ][path, ][region, ][public_key, ][user] }) ``` Create a Cloud Files log endpoint for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", bucket_name: "bucket_name_example", path: "'null'", @@ -63,14 +63,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | Your Cloud Files account access key. | [optional] **bucket_name** | **String** | The name of your Cloud Files container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogCloudfiles` ```javascript -updateLogCloudfiles({ service_id, version_id, logging_cloudfiles_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][bucket_name, ][path, ][region, ][public_key, ][user] }) +updateLogCloudfiles({ service_id, version_id, logging_cloudfiles_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][bucket_name, ][path, ][region, ][public_key, ][user] }) ``` Update the Cloud Files log endpoint for a particular service and version. @@ -215,14 +215,14 @@ const options = { logging_cloudfiles_name: "logging_cloudfiles_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", bucket_name: "bucket_name_example", path: "'null'", @@ -249,14 +249,14 @@ Name | Type | Description | Notes **logging_cloudfiles_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | Your Cloud Files account access key. | [optional] **bucket_name** | **String** | The name of your Cloud Files container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] diff --git a/docs/LoggingCloudfilesResponse.md b/docs/LoggingCloudfilesResponse.md index d1ee8ce1e..9c5703bc3 100644 --- a/docs/LoggingCloudfilesResponse.md +++ b/docs/LoggingCloudfilesResponse.md @@ -6,25 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **access_key** | **String** | Your Cloud Files account access key. | [optional] **bucket_name** | **String** | The name of your Cloud Files container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **region** | **String** | The region to stream logs to. | [optional] [one of: "DFW", "ORD", "IAD", "LON", "SYD", "HKG", "null"] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **user** | **String** | The username for your Cloud Files account. | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingCommon.md b/docs/LoggingCommon.md index 0cf39aaf4..83049455d 100644 --- a/docs/LoggingCommon.md +++ b/docs/LoggingCommon.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] diff --git a/docs/LoggingPapertrail.md b/docs/LoggingCommonResponse.md similarity index 80% rename from docs/LoggingPapertrail.md rename to docs/LoggingCommonResponse.md index 676a4ac61..870098a7e 100644 --- a/docs/LoggingPapertrail.md +++ b/docs/LoggingCommonResponse.md @@ -1,4 +1,4 @@ -# Fastly.LoggingPapertrail +# Fastly.LoggingCommonResponse ## Properties @@ -6,11 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**address** | **String** | A hostname or IPv4 address. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 514] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSumologic.md b/docs/LoggingCommonResponseAllOf.md similarity index 66% rename from docs/LoggingSumologic.md rename to docs/LoggingCommonResponseAllOf.md index 663254480..bb67c442e 100644 --- a/docs/LoggingSumologic.md +++ b/docs/LoggingCommonResponseAllOf.md @@ -1,4 +1,4 @@ -# Fastly.LoggingSumologic +# Fastly.LoggingCommonResponseAllOf ## Properties @@ -6,11 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] -**url** | **String** | The URL to post logs to. | [optional] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingCommonResponseAllOf1.md b/docs/LoggingCommonResponseAllOf1.md new file mode 100644 index 000000000..1877fe0f9 --- /dev/null +++ b/docs/LoggingCommonResponseAllOf1.md @@ -0,0 +1,10 @@ +# Fastly.LoggingCommonResponseAllOf1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingDatadog.md b/docs/LoggingDatadog.md deleted file mode 100644 index 4445bf243..000000000 --- a/docs/LoggingDatadog.md +++ /dev/null @@ -1,16 +0,0 @@ -# Fastly.LoggingDatadog - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. | [optional] [defaults to '{"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"}'] -**region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] -**token** | **String** | The API key from your Datadog account. Required. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingDatadogAllOf.md b/docs/LoggingDatadogAdditional.md similarity index 99% rename from docs/LoggingDatadogAllOf.md rename to docs/LoggingDatadogAdditional.md index 63ff97f53..c6c037c42 100644 --- a/docs/LoggingDatadogAllOf.md +++ b/docs/LoggingDatadogAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingDatadogAllOf +# Fastly.LoggingDatadogAdditional ## Properties diff --git a/docs/LoggingDatadogApi.md b/docs/LoggingDatadogApi.md index f784c6676..5718256ec 100644 --- a/docs/LoggingDatadogApi.md +++ b/docs/LoggingDatadogApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogDatadog` ```javascript -createLogDatadog({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][region, ][token] }) +createLogDatadog({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][region, ][token] }) ``` Create a Datadog logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", 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\"}'", + format_version: 1, region: "US", token: "token_example", }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The API key from your Datadog account. Required. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogDatadog` ```javascript -updateLogDatadog({ service_id, version_id, logging_datadog_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][region, ][token] }) +updateLogDatadog({ service_id, version_id, logging_datadog_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][region, ][token] }) ``` Update the Datadog logging object for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_datadog_name: "logging_datadog_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", 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\"}'", + format_version: 1, region: "US", token: "token_example", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_datadog_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The API key from your Datadog account. Required. | [optional] diff --git a/docs/LoggingDatadogResponse.md b/docs/LoggingDatadogResponse.md index f3e980458..cd3855700 100644 --- a/docs/LoggingDatadogResponse.md +++ b/docs/LoggingDatadogResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The API key from your Datadog account. Required. | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingDigitalocean.md b/docs/LoggingDigitalocean.md deleted file mode 100644 index a3c30cb1f..000000000 --- a/docs/LoggingDigitalocean.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingDigitalocean - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**bucket_name** | **String** | The name of the DigitalOcean Space. | [optional] -**access_key** | **String** | Your DigitalOcean Spaces account access key. | [optional] -**secret_key** | **String** | Your DigitalOcean Spaces account secret key. | [optional] -**domain** | **String** | The domain of the DigitalOcean Spaces endpoint. | [optional] [defaults to 'nyc3.digitaloceanspaces.com'] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingDigitaloceanAllOf.md b/docs/LoggingDigitaloceanAdditional.md similarity index 95% rename from docs/LoggingDigitaloceanAllOf.md rename to docs/LoggingDigitaloceanAdditional.md index a3b34e676..ddcfe8f89 100644 --- a/docs/LoggingDigitaloceanAllOf.md +++ b/docs/LoggingDigitaloceanAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingDigitaloceanAllOf +# Fastly.LoggingDigitaloceanAdditional ## Properties diff --git a/docs/LoggingDigitaloceanApi.md b/docs/LoggingDigitaloceanApi.md index b6f1b8bdf..e1debd170 100644 --- a/docs/LoggingDigitaloceanApi.md +++ b/docs/LoggingDigitaloceanApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogDigocean` ```javascript -createLogDigocean({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][bucket_name, ][access_key, ][secret_key, ][domain, ][path, ][public_key] }) +createLogDigocean({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][bucket_name, ][access_key, ][secret_key, ][domain, ][path, ][public_key] }) ``` Create a DigitalOcean Space for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", bucket_name: "bucket_name_example", access_key: "access_key_example", secret_key: "secret_key_example", @@ -63,14 +63,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **bucket_name** | **String** | The name of the DigitalOcean Space. | [optional] **access_key** | **String** | Your DigitalOcean Spaces account access key. | [optional] **secret_key** | **String** | Your DigitalOcean Spaces account secret key. | [optional] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogDigocean` ```javascript -updateLogDigocean({ service_id, version_id, logging_digitalocean_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][bucket_name, ][access_key, ][secret_key, ][domain, ][path, ][public_key] }) +updateLogDigocean({ service_id, version_id, logging_digitalocean_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][bucket_name, ][access_key, ][secret_key, ][domain, ][path, ][public_key] }) ``` Update the DigitalOcean Space for a particular service and version. @@ -215,14 +215,14 @@ const options = { logging_digitalocean_name: "logging_digitalocean_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", bucket_name: "bucket_name_example", access_key: "access_key_example", secret_key: "secret_key_example", @@ -249,14 +249,14 @@ Name | Type | Description | Notes **logging_digitalocean_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **bucket_name** | **String** | The name of the DigitalOcean Space. | [optional] **access_key** | **String** | Your DigitalOcean Spaces account access key. | [optional] **secret_key** | **String** | Your DigitalOcean Spaces account secret key. | [optional] diff --git a/docs/LoggingDigitaloceanResponse.md b/docs/LoggingDigitaloceanResponse.md index 6c4c63cc0..2c0167135 100644 --- a/docs/LoggingDigitaloceanResponse.md +++ b/docs/LoggingDigitaloceanResponse.md @@ -6,25 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **bucket_name** | **String** | The name of the DigitalOcean Space. | [optional] **access_key** | **String** | Your DigitalOcean Spaces account access key. | [optional] **secret_key** | **String** | Your DigitalOcean Spaces account secret key. | [optional] **domain** | **String** | The domain of the DigitalOcean Spaces endpoint. | [optional] [defaults to 'nyc3.digitaloceanspaces.com'] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingElasticsearch.md b/docs/LoggingElasticsearch.md deleted file mode 100644 index 858cf2dbf..000000000 --- a/docs/LoggingElasticsearch.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingElasticsearch - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. | [optional] -**tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] -**request_max_entries** | **Number** | The maximum number of logs sent in one request. Defaults `0` for unbounded. | [optional] [defaults to 0] -**request_max_bytes** | **Number** | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [optional] [defaults to 0] -**index** | **String** | 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. | [optional] -**url** | **String** | The URL to stream logs to. Must use HTTPS. | [optional] -**pipeline** | **String** | 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). | [optional] -**user** | **String** | Basic Auth username. | [optional] -**password** | **String** | Basic Auth password. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingElasticsearchAllOf.md b/docs/LoggingElasticsearchAdditional.md similarity index 97% rename from docs/LoggingElasticsearchAllOf.md rename to docs/LoggingElasticsearchAdditional.md index 86e7ce1e9..903387242 100644 --- a/docs/LoggingElasticsearchAllOf.md +++ b/docs/LoggingElasticsearchAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingElasticsearchAllOf +# Fastly.LoggingElasticsearchAdditional ## Properties diff --git a/docs/LoggingElasticsearchApi.md b/docs/LoggingElasticsearchApi.md index d2a3ed8ea..5924a43e4 100644 --- a/docs/LoggingElasticsearchApi.md +++ b/docs/LoggingElasticsearchApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogElasticsearch` ```javascript -createLogElasticsearch({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][index, ][url, ][pipeline, ][user, ][password] }) +createLogElasticsearch({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][index, ][url, ][pipeline, ][user, ][password] }) ``` Create a Elasticsearch logging endpoint for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -63,9 +63,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogElasticsearch` ```javascript -updateLogElasticsearch({ service_id, version_id, logging_elasticsearch_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][index, ][url, ][pipeline, ][user, ][password] }) +updateLogElasticsearch({ service_id, version_id, logging_elasticsearch_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][index, ][url, ][pipeline, ][user, ][password] }) ``` Update the Elasticsearch logging endpoint for a particular service and version. @@ -215,9 +215,9 @@ const options = { logging_elasticsearch_name: "logging_elasticsearch_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -249,9 +249,9 @@ Name | Type | Description | Notes **logging_elasticsearch_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] diff --git a/docs/LoggingElasticsearchResponse.md b/docs/LoggingElasticsearchResponse.md index fa8275bbe..168b4d085 100644 --- a/docs/LoggingElasticsearchResponse.md +++ b/docs/LoggingElasticsearchResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. | [optional] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -24,7 +24,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingFormatVersion.md b/docs/LoggingFormatVersion.md deleted file mode 100644 index e14a2cd6e..000000000 --- a/docs/LoggingFormatVersion.md +++ /dev/null @@ -1,12 +0,0 @@ -# Fastly.LoggingFormatVersion - -## Enum - - -* `v1` (value: `1`) - -* `v2` (value: `2`) - - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingFormatVersionInteger.md b/docs/LoggingFormatVersionInteger.md new file mode 100644 index 000000000..cb340b8db --- /dev/null +++ b/docs/LoggingFormatVersionInteger.md @@ -0,0 +1,10 @@ +# Fastly.LoggingFormatVersionInteger + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingFormatVersionString.md b/docs/LoggingFormatVersionString.md new file mode 100644 index 000000000..fb06f9f85 --- /dev/null +++ b/docs/LoggingFormatVersionString.md @@ -0,0 +1,10 @@ +# Fastly.LoggingFormatVersionString + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingFtp.md b/docs/LoggingFtp.md deleted file mode 100644 index cb306718b..000000000 --- a/docs/LoggingFtp.md +++ /dev/null @@ -1,27 +0,0 @@ -# Fastly.LoggingFtp - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**address** | **String** | An hostname or IPv4 address. | [optional] -**hostname** | **String** | Hostname used. | [optional] -**ipv4** | **String** | IPv4 address of the host. | [optional] -**password** | **String** | The password for the server. For anonymous use an email address. | [optional] -**path** | **String** | The path to upload log files to. If the path ends in `/` then it is treated as a directory. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 21] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**user** | **String** | The username for the server. Can be anonymous. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingFtpAllOf.md b/docs/LoggingFtpAdditional.md similarity index 89% rename from docs/LoggingFtpAllOf.md rename to docs/LoggingFtpAdditional.md index 504c21b1c..8dc4b3510 100644 --- a/docs/LoggingFtpAllOf.md +++ b/docs/LoggingFtpAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingFtpAllOf +# Fastly.LoggingFtpAdditional ## Properties @@ -9,7 +9,6 @@ Name | Type | Description | Notes **ipv4** | **String** | IPv4 address of the host. | [optional] **password** | **String** | The password for the server. For anonymous use an email address. | [optional] **path** | **String** | The path to upload log files to. If the path ends in `/` then it is treated as a directory. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 21] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **user** | **String** | The username for the server. Can be anonymous. | [optional] diff --git a/docs/LoggingFtpApi.md b/docs/LoggingFtpApi.md index 4edd4b764..7f96a415f 100644 --- a/docs/LoggingFtpApi.md +++ b/docs/LoggingFtpApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogFtp` ```javascript -createLogFtp({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][address, ][hostname, ][ipv4, ][password, ][path, ][port, ][public_key, ][user] }) +createLogFtp({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][address, ][hostname, ][ipv4, ][password, ][path, ][public_key, ][user, ][port] }) ``` Create a FTP for a particular service and version. @@ -30,22 +30,22 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", address: "address_example", hostname: "hostname_example", ipv4: "ipv4_example", password: "password_example", path: "path_example", - port: 21, public_key: "'null'", user: "user_example", + port: 21, }; apiInstance.createLogFtp(options) @@ -65,22 +65,22 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **address** | **String** | An hostname or IPv4 address. | [optional] **hostname** | **String** | Hostname used. | [optional] **ipv4** | **String** | IPv4 address of the host. | [optional] **password** | **String** | The password for the server. For anonymous use an email address. | [optional] **path** | **String** | The path to upload log files to. If the path ends in `/` then it is treated as a directory. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 21] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **user** | **String** | The username for the server. Can be anonymous. | [optional] +**port** | **Number** | The port number. | [optional] [defaults to 21] ### Return type @@ -205,7 +205,7 @@ Name | Type | Description | Notes ## `updateLogFtp` ```javascript -updateLogFtp({ service_id, version_id, logging_ftp_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][address, ][hostname, ][ipv4, ][password, ][path, ][port, ][public_key, ][user] }) +updateLogFtp({ service_id, version_id, logging_ftp_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][address, ][hostname, ][ipv4, ][password, ][path, ][public_key, ][user, ][port] }) ``` Update the FTP for a particular service and version. @@ -219,22 +219,22 @@ const options = { logging_ftp_name: "logging_ftp_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", address: "address_example", hostname: "hostname_example", ipv4: "ipv4_example", password: "password_example", path: "path_example", - port: 21, public_key: "'null'", user: "user_example", + port: 21, }; apiInstance.updateLogFtp(options) @@ -255,22 +255,22 @@ Name | Type | Description | Notes **logging_ftp_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **address** | **String** | An hostname or IPv4 address. | [optional] **hostname** | **String** | Hostname used. | [optional] **ipv4** | **String** | IPv4 address of the host. | [optional] **password** | **String** | The password for the server. For anonymous use an email address. | [optional] **path** | **String** | The path to upload log files to. If the path ends in `/` then it is treated as a directory. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 21] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **user** | **String** | The username for the server. Can be anonymous. | [optional] +**port** | **Number** | The port number. | [optional] [defaults to 21] ### Return type diff --git a/docs/LoggingFtpResponse.md b/docs/LoggingFtpResponse.md index 0c91eaf02..6d9f23c55 100644 --- a/docs/LoggingFtpResponse.md +++ b/docs/LoggingFtpResponse.md @@ -6,27 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **address** | **String** | An hostname or IPv4 address. | [optional] **hostname** | **String** | Hostname used. | [optional] **ipv4** | **String** | IPv4 address of the host. | [optional] **password** | **String** | The password for the server. For anonymous use an email address. | [optional] **path** | **String** | The path to upload log files to. If the path ends in `/` then it is treated as a directory. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 21] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **user** | **String** | The username for the server. Can be anonymous. | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**port** | **String** | The port number. | [optional] [defaults to '21'] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/DomainCheckItem.md b/docs/LoggingFtpResponseAllOf.md similarity index 50% rename from docs/DomainCheckItem.md rename to docs/LoggingFtpResponseAllOf.md index ab13d7990..d43e66a46 100644 --- a/docs/DomainCheckItem.md +++ b/docs/LoggingFtpResponseAllOf.md @@ -1,11 +1,10 @@ -# Fastly.DomainCheckItem +# Fastly.LoggingFtpResponseAllOf ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**comment** | **String** | A freeform descriptive note. | [optional] -**name** | **String** | The name of the domain or domains associated with this service. | [optional] +**port** | **String** | The port number. | [optional] [defaults to '21'] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGcs.md b/docs/LoggingGcs.md deleted file mode 100644 index 2c2f35690..000000000 --- a/docs/LoggingGcs.md +++ /dev/null @@ -1,26 +0,0 @@ -# Fastly.LoggingGcs - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**user** | **String** | 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. | [optional] -**secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] -**account_name** | **String** | 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. | [optional] -**bucket_name** | **String** | The name of the GCS bucket. | [optional] -**path** | **String** | | [optional] [defaults to '/'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGcsAllOf.md b/docs/LoggingGcsAdditional.md similarity index 95% rename from docs/LoggingGcsAllOf.md rename to docs/LoggingGcsAdditional.md index f0780449e..fd4a01661 100644 --- a/docs/LoggingGcsAllOf.md +++ b/docs/LoggingGcsAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingGcsAllOf +# Fastly.LoggingGcsAdditional ## Properties diff --git a/docs/LoggingGcsApi.md b/docs/LoggingGcsApi.md index 555e76899..a20e800ba 100644 --- a/docs/LoggingGcsApi.md +++ b/docs/LoggingGcsApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogGcs` ```javascript -createLogGcs({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][user, ][secret_key, ][account_name, ][bucket_name, ][path, ][public_key, ][project_id] }) +createLogGcs({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][user, ][secret_key, ][account_name, ][bucket_name, ][path, ][public_key, ][project_id] }) ``` Create GCS logging for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -64,14 +64,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] @@ -203,7 +203,7 @@ Name | Type | Description | Notes ## `updateLogGcs` ```javascript -updateLogGcs({ service_id, version_id, logging_gcs_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][user, ][secret_key, ][account_name, ][bucket_name, ][path, ][public_key, ][project_id] }) +updateLogGcs({ service_id, version_id, logging_gcs_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][user, ][secret_key, ][account_name, ][bucket_name, ][path, ][public_key, ][project_id] }) ``` Update the GCS for a particular service and version. @@ -217,14 +217,14 @@ const options = { logging_gcs_name: "logging_gcs_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -252,14 +252,14 @@ Name | Type | Description | Notes **logging_gcs_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] diff --git a/docs/LoggingGcsResponse.md b/docs/LoggingGcsResponse.md index 309b921a4..e302e6c4b 100644 --- a/docs/LoggingGcsResponse.md +++ b/docs/LoggingGcsResponse.md @@ -6,26 +6,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] -**bucket_name** | **String** | The name of the GCS bucket. | [optional] -**path** | **String** | | [optional] [defaults to '/'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] +**bucket_name** | **String** | The name of the GCS bucket. | [optional] +**path** | **String** | | [optional] [defaults to '/'] +**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] +**project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGenericCommon.md b/docs/LoggingGenericCommon.md index ba2c12ce1..ca94c6591 100644 --- a/docs/LoggingGenericCommon.md +++ b/docs/LoggingGenericCommon.md @@ -6,8 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] diff --git a/docs/LoggingGenericCommonResponse.md b/docs/LoggingGenericCommonResponse.md new file mode 100644 index 000000000..5cecdc868 --- /dev/null +++ b/docs/LoggingGenericCommonResponse.md @@ -0,0 +1,14 @@ +# Fastly.LoggingGenericCommonResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] +**timestamp_format** | **String** | A timestamp format | [optional] [readonly] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGenericCommonResponseAllOf.md b/docs/LoggingGenericCommonResponseAllOf.md new file mode 100644 index 000000000..d6a8b25b7 --- /dev/null +++ b/docs/LoggingGenericCommonResponseAllOf.md @@ -0,0 +1,12 @@ +# Fastly.LoggingGenericCommonResponseAllOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] +**timestamp_format** | **String** | A timestamp format | [optional] [readonly] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGenericCommonResponseAllOf1.md b/docs/LoggingGenericCommonResponseAllOf1.md new file mode 100644 index 000000000..63276e48b --- /dev/null +++ b/docs/LoggingGenericCommonResponseAllOf1.md @@ -0,0 +1,11 @@ +# Fastly.LoggingGenericCommonResponseAllOf1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGooglePubsub.md b/docs/LoggingGooglePubsub.md deleted file mode 100644 index 4787312a4..000000000 --- a/docs/LoggingGooglePubsub.md +++ /dev/null @@ -1,19 +0,0 @@ -# Fastly.LoggingGooglePubsub - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**user** | **String** | 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. | [optional] -**secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] -**account_name** | **String** | 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. | [optional] -**topic** | **String** | The Google Cloud Pub/Sub topic to which logs will be published. Required. | [optional] -**project_id** | **String** | Your Google Cloud Platform project ID. Required | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingGooglePubsubAllOf.md b/docs/LoggingGooglePubsubAdditional.md similarity index 93% rename from docs/LoggingGooglePubsubAllOf.md rename to docs/LoggingGooglePubsubAdditional.md index cf77cf9a2..b1c171a0f 100644 --- a/docs/LoggingGooglePubsubAllOf.md +++ b/docs/LoggingGooglePubsubAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingGooglePubsubAllOf +# Fastly.LoggingGooglePubsubAdditional ## Properties diff --git a/docs/LoggingGooglePubsubResponse.md b/docs/LoggingGooglePubsubResponse.md index 0180dccff..d849f475b 100644 --- a/docs/LoggingGooglePubsubResponse.md +++ b/docs/LoggingGooglePubsubResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] @@ -18,7 +18,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHeroku.md b/docs/LoggingHeroku.md deleted file mode 100644 index 52f89d841..000000000 --- a/docs/LoggingHeroku.md +++ /dev/null @@ -1,16 +0,0 @@ -# Fastly.LoggingHeroku - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**token** | **String** | 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)). | [optional] -**url** | **String** | The URL to stream logs to. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHerokuAllOf.md b/docs/LoggingHerokuAdditional.md similarity index 93% rename from docs/LoggingHerokuAllOf.md rename to docs/LoggingHerokuAdditional.md index 9115ead36..0419ee7ea 100644 --- a/docs/LoggingHerokuAllOf.md +++ b/docs/LoggingHerokuAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingHerokuAllOf +# Fastly.LoggingHerokuAdditional ## Properties diff --git a/docs/LoggingHerokuApi.md b/docs/LoggingHerokuApi.md index 23b8f18c7..a10f6cfab 100644 --- a/docs/LoggingHerokuApi.md +++ b/docs/LoggingHerokuApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogHeroku` ```javascript -createLogHeroku({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][url] }) +createLogHeroku({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][url] }) ``` Create a Heroku for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", url: "url_example", }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | 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)). | [optional] **url** | **String** | The URL to stream logs to. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogHeroku` ```javascript -updateLogHeroku({ service_id, version_id, logging_heroku_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][url] }) +updateLogHeroku({ service_id, version_id, logging_heroku_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][url] }) ``` Update the Heroku for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_heroku_name: "logging_heroku_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", url: "url_example", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_heroku_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | 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)). | [optional] **url** | **String** | The URL to stream logs to. | [optional] diff --git a/docs/LoggingHerokuResponse.md b/docs/LoggingHerokuResponse.md index a264e9619..d5768c36d 100644 --- a/docs/LoggingHerokuResponse.md +++ b/docs/LoggingHerokuResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **token** | **String** | 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)). | [optional] **url** | **String** | The URL to stream logs to. | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHoneycomb.md b/docs/LoggingHoneycomb.md deleted file mode 100644 index 40ccb5ea1..000000000 --- a/docs/LoggingHoneycomb.md +++ /dev/null @@ -1,16 +0,0 @@ -# Fastly.LoggingHoneycomb - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. | [optional] -**dataset** | **String** | The Honeycomb Dataset you want to log to. | [optional] -**token** | **String** | The Write Key from the Account page of your Honeycomb account. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHoneycombAllOf.md b/docs/LoggingHoneycombAdditional.md similarity index 93% rename from docs/LoggingHoneycombAllOf.md rename to docs/LoggingHoneycombAdditional.md index 7d12636a4..6cdae694b 100644 --- a/docs/LoggingHoneycombAllOf.md +++ b/docs/LoggingHoneycombAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingHoneycombAllOf +# Fastly.LoggingHoneycombAdditional ## Properties diff --git a/docs/LoggingHoneycombApi.md b/docs/LoggingHoneycombApi.md index 8ccd640cb..3be6092dd 100644 --- a/docs/LoggingHoneycombApi.md +++ b/docs/LoggingHoneycombApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogHoneycomb` ```javascript -createLogHoneycomb({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][dataset, ][token] }) +createLogHoneycomb({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][dataset, ][token] }) ``` Create a Honeycomb logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, dataset: "dataset_example", token: "token_example", }; @@ -54,15 +54,15 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **dataset** | **String** | The Honeycomb Dataset you want to log to. | [optional] **token** | **String** | The Write Key from the Account page of your Honeycomb account. | [optional] ### Return type -[**LoggingHoneycomb**](LoggingHoneycomb.md) +[**LoggingHoneycombResponse**](LoggingHoneycombResponse.md) ## `deleteLogHoneycomb` @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### Return type -[**LoggingHoneycomb**](LoggingHoneycomb.md) +[**LoggingHoneycombResponse**](LoggingHoneycombResponse.md) ## `listLogHoneycomb` @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogHoneycomb` ```javascript -updateLogHoneycomb({ service_id, version_id, logging_honeycomb_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][dataset, ][token] }) +updateLogHoneycomb({ service_id, version_id, logging_honeycomb_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][dataset, ][token] }) ``` Update a Honeycomb logging object for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_honeycomb_name: "logging_honeycomb_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "format_example", + format_version: 1, dataset: "dataset_example", token: "token_example", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_honeycomb_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **dataset** | **String** | The Honeycomb Dataset you want to log to. | [optional] **token** | **String** | The Write Key from the Account page of your Honeycomb account. | [optional] diff --git a/docs/LoggingHoneycombResponse.md b/docs/LoggingHoneycombResponse.md index 14ebe5918..874677675 100644 --- a/docs/LoggingHoneycombResponse.md +++ b/docs/LoggingHoneycombResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. | [optional] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **dataset** | **String** | The Honeycomb Dataset you want to log to. | [optional] **token** | **String** | The Write Key from the Account page of your Honeycomb account. | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHttps.md b/docs/LoggingHttps.md deleted file mode 100644 index aef63cb4f..000000000 --- a/docs/LoggingHttps.md +++ /dev/null @@ -1,27 +0,0 @@ -# Fastly.LoggingHttps - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] -**request_max_entries** | **Number** | The maximum number of logs sent in one request. Defaults `0` (10k). | [optional] [defaults to 0] -**request_max_bytes** | **Number** | The maximum number of bytes sent in one request. Defaults `0` (100MB). | [optional] [defaults to 0] -**url** | **String** | The URL to send logs to. Must use HTTPS. Required. | [optional] -**content_type** | **String** | Content type of the header sent with the request. | [optional] [defaults to 'null'] -**header_name** | **String** | Name of the custom header sent with the request. | [optional] [defaults to 'null'] -**message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] -**header_value** | **String** | Value of the custom header sent with the request. | [optional] [defaults to 'null'] -**method** | **String** | HTTP method used for request. | [optional] [one of: "POST", "PUT"] -**json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] [one of: "0", "1", "2"] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingHttpsAllOf.md b/docs/LoggingHttpsAdditional.md similarity index 97% rename from docs/LoggingHttpsAllOf.md rename to docs/LoggingHttpsAdditional.md index d5865110e..bd720f0bc 100644 --- a/docs/LoggingHttpsAllOf.md +++ b/docs/LoggingHttpsAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingHttpsAllOf +# Fastly.LoggingHttpsAdditional ## Properties diff --git a/docs/LoggingHttpsApi.md b/docs/LoggingHttpsApi.md index 7d39bfd1b..d83c0cda1 100644 --- a/docs/LoggingHttpsApi.md +++ b/docs/LoggingHttpsApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogHttps` ```javascript -createLogHttps({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][content_type, ][header_name, ][message_type, ][header_value, ][method, ][json_format] }) +createLogHttps({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][content_type, ][header_name, ][message_type, ][header_value, ][method, ][json_format] }) ``` Create an HTTPS object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -65,9 +65,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -205,7 +205,7 @@ Name | Type | Description | Notes ## `updateLogHttps` ```javascript -updateLogHttps({ service_id, version_id, logging_https_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][content_type, ][header_name, ][message_type, ][header_value, ][method, ][json_format] }) +updateLogHttps({ service_id, version_id, logging_https_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][content_type, ][header_name, ][message_type, ][header_value, ][method, ][json_format] }) ``` Update the HTTPS object for a particular service and version. @@ -219,9 +219,9 @@ const options = { logging_https_name: "logging_https_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -255,9 +255,9 @@ Name | Type | Description | Notes **logging_https_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] diff --git a/docs/LoggingHttpsResponse.md b/docs/LoggingHttpsResponse.md index 23226f049..f1946173f 100644 --- a/docs/LoggingHttpsResponse.md +++ b/docs/LoggingHttpsResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -26,7 +26,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingKafkaAllOf.md b/docs/LoggingKafkaAdditional.md similarity index 97% rename from docs/LoggingKafkaAllOf.md rename to docs/LoggingKafkaAdditional.md index 44bc8910e..e7ee982d6 100644 --- a/docs/LoggingKafkaAllOf.md +++ b/docs/LoggingKafkaAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingKafkaAllOf +# Fastly.LoggingKafkaAdditional ## Properties diff --git a/docs/LoggingKafkaApi.md b/docs/LoggingKafkaApi.md index 72dcbe8a3..f4f81e5b4 100644 --- a/docs/LoggingKafkaApi.md +++ b/docs/LoggingKafkaApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogKafka` ```javascript -createLogKafka({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][topic, ][brokers, ][compression_codec, ][required_acks, ][request_max_bytes, ][parse_log_keyvals, ][auth_method, ][user, ][password, ][use_tls] }) +createLogKafka({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][topic, ][brokers, ][compression_codec, ][required_acks, ][request_max_bytes, ][parse_log_keyvals, ][auth_method, ][user, ][password, ][use_tls] }) ``` Create a Kafka logging endpoint for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -66,9 +66,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -86,7 +86,7 @@ Name | Type | Description | Notes ### Return type -[**LoggingKafkaResponse**](LoggingKafkaResponse.md) +[**LoggingKafkaResponsePost**](LoggingKafkaResponsePost.md) ## `deleteLogKafka` diff --git a/docs/LoggingKafkaResponse.md b/docs/LoggingKafkaResponse.md index 7843f3941..74d306c46 100644 --- a/docs/LoggingKafkaResponse.md +++ b/docs/LoggingKafkaResponse.md @@ -6,13 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **topic** | **String** | The Kafka topic to send logs to. Required. | [optional] **brokers** | **String** | A comma-separated list of IP addresses or hostnames of Kafka brokers. Required. | [optional] **compression_codec** | **String** | The codec used for compression of your logs. | [optional] [one of: "gzip", "snappy", "lz4", "null"] @@ -23,11 +28,6 @@ Name | Type | Description | Notes **user** | **String** | SASL user. | [optional] **password** | **String** | SASL password. | [optional] **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingKafka.md b/docs/LoggingKafkaResponsePost.md similarity index 88% rename from docs/LoggingKafka.md rename to docs/LoggingKafkaResponsePost.md index 3e7a24b9d..74dc74719 100644 --- a/docs/LoggingKafka.md +++ b/docs/LoggingKafkaResponsePost.md @@ -1,4 +1,4 @@ -# Fastly.LoggingKafka +# Fastly.LoggingKafkaResponsePost ## Properties @@ -6,13 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **topic** | **String** | The Kafka topic to send logs to. Required. | [optional] **brokers** | **String** | A comma-separated list of IP addresses or hostnames of Kafka brokers. Required. | [optional] **compression_codec** | **String** | The codec used for compression of your logs. | [optional] [one of: "gzip", "snappy", "lz4", "null"] diff --git a/docs/LoggingKinesis.md b/docs/LoggingKinesisAdditional.md similarity index 94% rename from docs/LoggingKinesis.md rename to docs/LoggingKinesisAdditional.md index 7b8bf85ec..2cbe856c8 100644 --- a/docs/LoggingKinesis.md +++ b/docs/LoggingKinesisAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingKinesis +# Fastly.LoggingKinesisAdditional ## Properties @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | [**LoggingPlacement**](LoggingPlacement.md) | | [optional] -**format_version** | [**LoggingFormatVersion**](LoggingFormatVersion.md) | | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. | [optional] [defaults to '{"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"}'] **topic** | **String** | The Amazon Kinesis stream to send logs to. Required. | [optional] **region** | [**AwsRegion**](AwsRegion.md) | | [optional] diff --git a/docs/LoggingKinesisApi.md b/docs/LoggingKinesisApi.md index 45b62ba67..3d51067f4 100644 --- a/docs/LoggingKinesisApi.md +++ b/docs/LoggingKinesisApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogKinesis` ```javascript -createLogKinesis({ service_id, version_id, [name, ][placement, ][format_version, ][format, ][topic, ][region, ][secret_key, ][access_key, ][iam_role] }) +createLogKinesis({ service_id, version_id, [name, ][placement, ][format, ][topic, ][region, ][secret_key, ][access_key, ][iam_role, ][format_version] }) ``` Create an Amazon Kinesis Data Streams logging object for a particular service and version. @@ -30,13 +30,13 @@ const options = { version_id: 56, // required name: "name_example", placement: new Fastly.LoggingPlacement(), - format_version: new Fastly.LoggingFormatVersion(), 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\"}'", topic: "topic_example", region: new Fastly.AwsRegion(), secret_key: "secret_key_example", access_key: "access_key_example", iam_role: "iam_role_example", + format_version: 1, }; apiInstance.createLogKinesis(options) @@ -56,13 +56,13 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | [**LoggingPlacement**](LoggingPlacement.md) | | [optional] -**format_version** | [**LoggingFormatVersion**](LoggingFormatVersion.md) | | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. | [optional] [defaults to '{"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"}'] **topic** | **String** | The Amazon Kinesis stream to send logs to. Required. | [optional] **region** | [**AwsRegion**](AwsRegion.md) | | [optional] **secret_key** | **String** | The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. | [optional] **access_key** | **String** | The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. | [optional] **iam_role** | **String** | 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. | [optional] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] ### Return type diff --git a/docs/LoggingKinesisResponse.md b/docs/LoggingKinesisResponse.md index eaaf1884f..9870ac8c3 100644 --- a/docs/LoggingKinesisResponse.md +++ b/docs/LoggingKinesisResponse.md @@ -6,18 +6,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | [**LoggingPlacement**](LoggingPlacement.md) | | [optional] -**format_version** | [**LoggingFormatVersion**](LoggingFormatVersion.md) | | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. | [optional] [defaults to '{"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"}'] **topic** | **String** | The Amazon Kinesis stream to send logs to. Required. | [optional] **region** | [**AwsRegion**](AwsRegion.md) | | [optional] **secret_key** | **String** | The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. | [optional] **access_key** | **String** | The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. | [optional] **iam_role** | **String** | 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. | [optional] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLogentries.md b/docs/LoggingLogentries.md deleted file mode 100644 index b3a2004b5..000000000 --- a/docs/LoggingLogentries.md +++ /dev/null @@ -1,18 +0,0 @@ -# Fastly.LoggingLogentries - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**port** | **Number** | The port number. | [optional] [defaults to 20000] -**token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] -**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] -**region** | **String** | The region to which to stream logs. | [optional] [one of: "US", "US-2", "US-3", "EU", "CA", "AU", "AP"] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLogentriesAllOf.md b/docs/LoggingLogentriesAdditional.md similarity index 94% rename from docs/LoggingLogentriesAllOf.md rename to docs/LoggingLogentriesAdditional.md index ec67e7d5c..f887a3d31 100644 --- a/docs/LoggingLogentriesAllOf.md +++ b/docs/LoggingLogentriesAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingLogentriesAllOf +# Fastly.LoggingLogentriesAdditional ## Properties diff --git a/docs/LoggingLogentriesApi.md b/docs/LoggingLogentriesApi.md index 367260423..18614ae99 100644 --- a/docs/LoggingLogentriesApi.md +++ b/docs/LoggingLogentriesApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogLogentries` ```javascript -createLogLogentries({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][port, ][token, ][use_tls, ][region] }) +createLogLogentries({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][port, ][token, ][use_tls, ][region] }) ``` Create a Logentry for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, port: 20000, token: "token_example", use_tls: new Fastly.LoggingUseTls(), @@ -56,9 +56,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **port** | **Number** | The port number. | [optional] [defaults to 20000] **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] @@ -187,7 +187,7 @@ Name | Type | Description | Notes ## `updateLogLogentries` ```javascript -updateLogLogentries({ service_id, version_id, logging_logentries_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][port, ][token, ][use_tls, ][region] }) +updateLogLogentries({ service_id, version_id, logging_logentries_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][port, ][token, ][use_tls, ][region] }) ``` Update the Logentry for a particular service and version. @@ -201,9 +201,9 @@ const options = { logging_logentries_name: "logging_logentries_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, port: 20000, token: "token_example", use_tls: new Fastly.LoggingUseTls(), @@ -228,9 +228,9 @@ Name | Type | Description | Notes **logging_logentries_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **port** | **Number** | The port number. | [optional] [defaults to 20000] **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] diff --git a/docs/LoggingLogentriesResponse.md b/docs/LoggingLogentriesResponse.md index 2ac9b5398..3c5c47be8 100644 --- a/docs/LoggingLogentriesResponse.md +++ b/docs/LoggingLogentriesResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **port** | **Number** | The port number. | [optional] [defaults to 20000] **token** | **String** | Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). | [optional] **use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] @@ -17,7 +17,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLoggly.md b/docs/LoggingLoggly.md deleted file mode 100644 index e30879ba7..000000000 --- a/docs/LoggingLoggly.md +++ /dev/null @@ -1,15 +0,0 @@ -# Fastly.LoggingLoggly - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**token** | **String** | The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLogglyAllOf.md b/docs/LoggingLogglyAdditional.md similarity index 92% rename from docs/LoggingLogglyAllOf.md rename to docs/LoggingLogglyAdditional.md index 887ad616c..eb09ccbcf 100644 --- a/docs/LoggingLogglyAllOf.md +++ b/docs/LoggingLogglyAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingLogglyAllOf +# Fastly.LoggingLogglyAdditional ## Properties diff --git a/docs/LoggingLogglyApi.md b/docs/LoggingLogglyApi.md index ef10f525b..d809406ba 100644 --- a/docs/LoggingLogglyApi.md +++ b/docs/LoggingLogglyApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogLoggly` ```javascript -createLogLoggly({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][token] }) +createLogLoggly({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][token] }) ``` Create a Loggly logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", }; @@ -53,9 +53,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). | [optional] ### Return type @@ -181,7 +181,7 @@ Name | Type | Description | Notes ## `updateLogLoggly` ```javascript -updateLogLoggly({ service_id, version_id, logging_loggly_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][token] }) +updateLogLoggly({ service_id, version_id, logging_loggly_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][token] }) ``` Update the Loggly logging object for a particular service and version. @@ -195,9 +195,9 @@ const options = { logging_loggly_name: "logging_loggly_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", }; @@ -219,9 +219,9 @@ Name | Type | Description | Notes **logging_loggly_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). | [optional] ### Return type diff --git a/docs/LoggingLogglyResponse.md b/docs/LoggingLogglyResponse.md index e21015145..c01d194d6 100644 --- a/docs/LoggingLogglyResponse.md +++ b/docs/LoggingLogglyResponse.md @@ -6,15 +6,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **token** | **String** | The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLogshuttle.md b/docs/LoggingLogshuttle.md deleted file mode 100644 index 86c44b748..000000000 --- a/docs/LoggingLogshuttle.md +++ /dev/null @@ -1,16 +0,0 @@ -# Fastly.LoggingLogshuttle - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**token** | **String** | The data authentication token associated with this endpoint. | [optional] -**url** | **String** | The URL to stream logs to. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingLogshuttleAllOf.md b/docs/LoggingLogshuttleAdditional.md similarity index 90% rename from docs/LoggingLogshuttleAllOf.md rename to docs/LoggingLogshuttleAdditional.md index 0f37df5ad..d72ec84e7 100644 --- a/docs/LoggingLogshuttleAllOf.md +++ b/docs/LoggingLogshuttleAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingLogshuttleAllOf +# Fastly.LoggingLogshuttleAdditional ## Properties diff --git a/docs/LoggingLogshuttleApi.md b/docs/LoggingLogshuttleApi.md index 810dcba48..690db20dd 100644 --- a/docs/LoggingLogshuttleApi.md +++ b/docs/LoggingLogshuttleApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogLogshuttle` ```javascript -createLogLogshuttle({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][url] }) +createLogLogshuttle({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][url] }) ``` Create a Log Shuttle logging endpoint for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", url: "url_example", }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The data authentication token associated with this endpoint. | [optional] **url** | **String** | The URL to stream logs to. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogLogshuttle` ```javascript -updateLogLogshuttle({ service_id, version_id, logging_logshuttle_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][url] }) +updateLogLogshuttle({ service_id, version_id, logging_logshuttle_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][url] }) ``` Update the Log Shuttle logging endpoint for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_logshuttle_name: "logging_logshuttle_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, token: "token_example", url: "url_example", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_logshuttle_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The data authentication token associated with this endpoint. | [optional] **url** | **String** | The URL to stream logs to. | [optional] diff --git a/docs/LoggingLogshuttleResponse.md b/docs/LoggingLogshuttleResponse.md index 3f91fd577..ff8821947 100644 --- a/docs/LoggingLogshuttleResponse.md +++ b/docs/LoggingLogshuttleResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **token** | **String** | The data authentication token associated with this endpoint. | [optional] **url** | **String** | The URL to stream logs to. | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingNewrelic.md b/docs/LoggingNewrelic.md deleted file mode 100644 index 0372084c2..000000000 --- a/docs/LoggingNewrelic.md +++ /dev/null @@ -1,16 +0,0 @@ -# Fastly.LoggingNewrelic - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. | [optional] [defaults to '{"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"}'] -**token** | **String** | The Insert API key from the Account page of your New Relic account. Required. | [optional] -**region** | **String** | The region to which to stream logs. | [optional] [one of: "US", "EU"] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingNewrelicAllOf.md b/docs/LoggingNewrelicAdditional.md similarity index 97% rename from docs/LoggingNewrelicAllOf.md rename to docs/LoggingNewrelicAdditional.md index 0c67386ff..b177ffa17 100644 --- a/docs/LoggingNewrelicAllOf.md +++ b/docs/LoggingNewrelicAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingNewrelicAllOf +# Fastly.LoggingNewrelicAdditional ## Properties diff --git a/docs/LoggingNewrelicApi.md b/docs/LoggingNewrelicApi.md index ad49a1456..f4878f55d 100644 --- a/docs/LoggingNewrelicApi.md +++ b/docs/LoggingNewrelicApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogNewrelic` ```javascript -createLogNewrelic({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][region] }) +createLogNewrelic({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][region] }) ``` Create a New Relic Logs logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", 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\"}'", + format_version: 1, token: "token_example", region: "US", }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The Insert API key from the Account page of your New Relic account. Required. | [optional] **region** | **String** | The region to which to stream logs. | [optional] [one of: "US", "EU"] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogNewrelic` ```javascript -updateLogNewrelic({ service_id, version_id, logging_newrelic_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][token, ][region] }) +updateLogNewrelic({ service_id, version_id, logging_newrelic_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][token, ][region] }) ``` Update a New Relic Logs logging object for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_newrelic_name: "logging_newrelic_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", 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\"}'", + format_version: 1, token: "token_example", region: "US", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_newrelic_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **token** | **String** | The Insert API key from the Account page of your New Relic account. Required. | [optional] **region** | **String** | The region to which to stream logs. | [optional] [one of: "US", "EU"] diff --git a/docs/LoggingNewrelicResponse.md b/docs/LoggingNewrelicResponse.md index 23eb1b3a5..724ce94b7 100644 --- a/docs/LoggingNewrelicResponse.md +++ b/docs/LoggingNewrelicResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. | [optional] [defaults to '{"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"}'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **token** | **String** | The Insert API key from the Account page of your New Relic account. Required. | [optional] **region** | **String** | The region to which to stream logs. | [optional] [one of: "US", "EU"] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingOpenstack.md b/docs/LoggingOpenstack.md deleted file mode 100644 index 9d27dd4b0..000000000 --- a/docs/LoggingOpenstack.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingOpenstack - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**access_key** | **String** | Your OpenStack account access key. | [optional] -**bucket_name** | **String** | The name of your OpenStack container. | [optional] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**url** | **String** | Your OpenStack auth url. | [optional] -**user** | **String** | The username for your OpenStack account. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingOpenstackAllOf.md b/docs/LoggingOpenstackAdditional.md similarity index 95% rename from docs/LoggingOpenstackAllOf.md rename to docs/LoggingOpenstackAdditional.md index c1a31699a..a384178a3 100644 --- a/docs/LoggingOpenstackAllOf.md +++ b/docs/LoggingOpenstackAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingOpenstackAllOf +# Fastly.LoggingOpenstackAdditional ## Properties diff --git a/docs/LoggingOpenstackApi.md b/docs/LoggingOpenstackApi.md index 3e799b1f3..a62de2df3 100644 --- a/docs/LoggingOpenstackApi.md +++ b/docs/LoggingOpenstackApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogOpenstack` ```javascript -createLogOpenstack({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][bucket_name, ][path, ][public_key, ][url, ][user] }) +createLogOpenstack({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][bucket_name, ][path, ][public_key, ][url, ][user] }) ``` Create a openstack for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", bucket_name: "bucket_name_example", path: "'null'", @@ -63,14 +63,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | Your OpenStack account access key. | [optional] **bucket_name** | **String** | The name of your OpenStack container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogOpenstack` ```javascript -updateLogOpenstack({ service_id, version_id, logging_openstack_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][bucket_name, ][path, ][public_key, ][url, ][user] }) +updateLogOpenstack({ service_id, version_id, logging_openstack_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][bucket_name, ][path, ][public_key, ][url, ][user] }) ``` Update the openstack for a particular service and version. @@ -215,14 +215,14 @@ const options = { logging_openstack_name: "logging_openstack_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", bucket_name: "bucket_name_example", path: "'null'", @@ -249,14 +249,14 @@ Name | Type | Description | Notes **logging_openstack_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | Your OpenStack account access key. | [optional] **bucket_name** | **String** | The name of your OpenStack container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] diff --git a/docs/LoggingOpenstackResponse.md b/docs/LoggingOpenstackResponse.md index 88b1b454d..805f62ae1 100644 --- a/docs/LoggingOpenstackResponse.md +++ b/docs/LoggingOpenstackResponse.md @@ -6,25 +6,25 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **access_key** | **String** | Your OpenStack account access key. | [optional] **bucket_name** | **String** | The name of your OpenStack container. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **url** | **String** | Your OpenStack auth url. | [optional] **user** | **String** | The username for your OpenStack account. | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingPapertrailApi.md b/docs/LoggingPapertrailApi.md index eef9a434a..6622ba676 100644 --- a/docs/LoggingPapertrailApi.md +++ b/docs/LoggingPapertrailApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogPapertrail` ```javascript -createLogPapertrail({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][address, ][port] }) +createLogPapertrail({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][address, ][port] }) ``` Create a Papertrail for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, address: "address_example", port: 514, }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **address** | **String** | A hostname or IPv4 address. | [optional] **port** | **Number** | The port number. | [optional] [defaults to 514] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogPapertrail` ```javascript -updateLogPapertrail({ service_id, version_id, logging_papertrail_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][address, ][port] }) +updateLogPapertrail({ service_id, version_id, logging_papertrail_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][address, ][port] }) ``` Update the Papertrail for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_papertrail_name: "logging_papertrail_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, address: "address_example", port: 514, }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_papertrail_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **address** | **String** | A hostname or IPv4 address. | [optional] **port** | **Number** | The port number. | [optional] [defaults to 514] diff --git a/docs/LoggingPapertrailResponse.md b/docs/LoggingPapertrailResponse.md index 07ca900ce..afee9a6f8 100644 --- a/docs/LoggingPapertrailResponse.md +++ b/docs/LoggingPapertrailResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **address** | **String** | A hostname or IPv4 address. | [optional] **port** | **Number** | The port number. | [optional] [defaults to 514] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingPubsubApi.md b/docs/LoggingPubsubApi.md index 65d52799b..ff0395d7f 100644 --- a/docs/LoggingPubsubApi.md +++ b/docs/LoggingPubsubApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogGcpPubsub` ```javascript -createLogGcpPubsub({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][user, ][secret_key, ][account_name, ][topic, ][project_id] }) +createLogGcpPubsub({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][user, ][secret_key, ][account_name, ][topic, ][project_id] }) ``` Create a Pub/Sub logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -57,9 +57,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] @@ -189,7 +189,7 @@ Name | Type | Description | Notes ## `updateLogGcpPubsub` ```javascript -updateLogGcpPubsub({ service_id, version_id, logging_google_pubsub_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][user, ][secret_key, ][account_name, ][topic, ][project_id] }) +updateLogGcpPubsub({ service_id, version_id, logging_google_pubsub_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][user, ][secret_key, ][account_name, ][topic, ][project_id] }) ``` Update a Pub/Sub logging object for a particular service and version. @@ -203,9 +203,9 @@ const options = { logging_google_pubsub_name: "logging_google_pubsub_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, user: "user_example", secret_key: "secret_key_example", account_name: "account_name_example", @@ -231,9 +231,9 @@ Name | Type | Description | Notes **logging_google_pubsub_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **user** | **String** | 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. | [optional] **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **String** | 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. | [optional] diff --git a/docs/LoggingS3.md b/docs/LoggingS3.md deleted file mode 100644 index a8dd347c0..000000000 --- a/docs/LoggingS3.md +++ /dev/null @@ -1,30 +0,0 @@ -# Fastly.LoggingS3 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**access_key** | **String** | The access key for your S3 account. Not required if `iam_role` is provided. | [optional] -**acl** | **String** | 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. | [optional] -**bucket_name** | **String** | The bucket name for S3 account. | [optional] -**domain** | **String** | The domain of the Amazon S3 endpoint. | [optional] -**iam_role** | **String** | The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided. | [optional] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**redundancy** | **String** | The S3 redundancy level. | [optional] [defaults to 'null'] -**secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional] -**server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null'] -**server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null'] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingS3AllOf.md b/docs/LoggingS3Additional.md similarity index 98% rename from docs/LoggingS3AllOf.md rename to docs/LoggingS3Additional.md index a9d7e5cd3..3dccac51f 100644 --- a/docs/LoggingS3AllOf.md +++ b/docs/LoggingS3Additional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingS3AllOf +# Fastly.LoggingS3Additional ## Properties diff --git a/docs/LoggingS3Api.md b/docs/LoggingS3Api.md index 604cfc516..45dbee798 100644 --- a/docs/LoggingS3Api.md +++ b/docs/LoggingS3Api.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogAwsS3` ```javascript -createLogAwsS3({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] }) +createLogAwsS3({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] }) ``` Create a S3 for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", acl: "acl_example", bucket_name: "bucket_name_example", @@ -68,14 +68,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | The access key for your S3 account. Not required if `iam_role` is provided. | [optional] **acl** | **String** | 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. | [optional] **bucket_name** | **String** | The bucket name for S3 account. | [optional] @@ -211,7 +211,7 @@ Name | Type | Description | Notes ## `updateLogAwsS3` ```javascript -updateLogAwsS3({ service_id, version_id, logging_s3_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] }) +updateLogAwsS3({ service_id, version_id, logging_s3_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][access_key, ][acl, ][bucket_name, ][domain, ][iam_role, ][path, ][public_key, ][redundancy, ][secret_key, ][server_side_encryption_kms_key_id, ][server_side_encryption] }) ``` Update the S3 for a particular service and version. @@ -225,14 +225,14 @@ const options = { logging_s3_name: "logging_s3_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", access_key: "access_key_example", acl: "acl_example", bucket_name: "bucket_name_example", @@ -264,14 +264,14 @@ Name | Type | Description | Notes **logging_s3_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **access_key** | **String** | The access key for your S3 account. Not required if `iam_role` is provided. | [optional] **acl** | **String** | 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. | [optional] **bucket_name** | **String** | The bucket name for S3 account. | [optional] diff --git a/docs/LoggingS3Response.md b/docs/LoggingS3Response.md index bb13ed3e1..c3ae4f10b 100644 --- a/docs/LoggingS3Response.md +++ b/docs/LoggingS3Response.md @@ -6,14 +6,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **String** | 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. | [optional] [defaults to '0'] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **access_key** | **String** | The access key for your S3 account. Not required if `iam_role` is provided. | [optional] **acl** | **String** | 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. | [optional] **bucket_name** | **String** | The bucket name for S3 account. | [optional] @@ -25,11 +30,6 @@ Name | Type | Description | Notes **secret_key** | **String** | The secret key for your S3 account. Not required if `iam_role` is provided. | [optional] **server_side_encryption_kms_key_id** | **String** | Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`. | [optional] [defaults to 'null'] **server_side_encryption** | **String** | Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption. | [optional] [defaults to 'null'] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingScalyr.md b/docs/LoggingScalyr.md deleted file mode 100644 index 375864d0c..000000000 --- a/docs/LoggingScalyr.md +++ /dev/null @@ -1,17 +0,0 @@ -# Fastly.LoggingScalyr - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] -**token** | **String** | The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). | [optional] -**project_id** | **String** | The name of the logfile within Scalyr. | [optional] [defaults to 'logplex'] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingScalyrAllOf.md b/docs/LoggingScalyrAdditional.md similarity index 94% rename from docs/LoggingScalyrAllOf.md rename to docs/LoggingScalyrAdditional.md index bf89f5796..4e39f17e3 100644 --- a/docs/LoggingScalyrAllOf.md +++ b/docs/LoggingScalyrAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingScalyrAllOf +# Fastly.LoggingScalyrAdditional ## Properties diff --git a/docs/LoggingScalyrApi.md b/docs/LoggingScalyrApi.md index 5b45baff7..2587647b8 100644 --- a/docs/LoggingScalyrApi.md +++ b/docs/LoggingScalyrApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogScalyr` ```javascript -createLogScalyr({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][region, ][token, ][project_id] }) +createLogScalyr({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][region, ][token, ][project_id] }) ``` Create a Scalyr for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, region: "US", token: "token_example", project_id: "'logplex'", @@ -55,9 +55,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). | [optional] **project_id** | **String** | The name of the logfile within Scalyr. | [optional] [defaults to 'logplex'] @@ -185,7 +185,7 @@ Name | Type | Description | Notes ## `updateLogScalyr` ```javascript -updateLogScalyr({ service_id, version_id, logging_scalyr_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][region, ][token, ][project_id] }) +updateLogScalyr({ service_id, version_id, logging_scalyr_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][region, ][token, ][project_id] }) ``` Update the Scalyr for a particular service and version. @@ -199,9 +199,9 @@ const options = { logging_scalyr_name: "logging_scalyr_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, region: "US", token: "token_example", project_id: "'logplex'", @@ -225,9 +225,9 @@ Name | Type | Description | Notes **logging_scalyr_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). | [optional] **project_id** | **String** | The name of the logfile within Scalyr. | [optional] [defaults to 'logplex'] diff --git a/docs/LoggingScalyrResponse.md b/docs/LoggingScalyrResponse.md index 7a8924cc5..553050e6c 100644 --- a/docs/LoggingScalyrResponse.md +++ b/docs/LoggingScalyrResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **region** | **String** | The region that log data will be sent to. | [optional] [one of: "US", "EU"] **token** | **String** | The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). | [optional] **project_id** | **String** | The name of the logfile within Scalyr. | [optional] [defaults to 'logplex'] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSftp.md b/docs/LoggingSftp.md deleted file mode 100644 index b19952a49..000000000 --- a/docs/LoggingSftp.md +++ /dev/null @@ -1,27 +0,0 @@ -# Fastly.LoggingSftp - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] -**timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**address** | **String** | A hostname or IPv4 address. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 22] -**password** | **String** | The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] -**path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] -**secret_key** | **String** | The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] [defaults to 'null'] -**ssh_known_hosts** | **String** | A list of host keys for all hosts we can connect to over SFTP. | [optional] -**user** | **String** | The username for the server. | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSftpAllOf.md b/docs/LoggingSftpAdditional.md similarity index 90% rename from docs/LoggingSftpAllOf.md rename to docs/LoggingSftpAdditional.md index 741512371..9a8a5592d 100644 --- a/docs/LoggingSftpAllOf.md +++ b/docs/LoggingSftpAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingSftpAllOf +# Fastly.LoggingSftpAdditional ## Properties @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **password** | **String** | The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] -**port** | **Number** | The port number. | [optional] [defaults to 22] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **secret_key** | **String** | The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] [defaults to 'null'] **ssh_known_hosts** | **String** | A list of host keys for all hosts we can connect to over SFTP. | [optional] diff --git a/docs/LoggingSftpApi.md b/docs/LoggingSftpApi.md index 4082334a0..92b98fa96 100644 --- a/docs/LoggingSftpApi.md +++ b/docs/LoggingSftpApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogSftp` ```javascript -createLogSftp({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][address, ][port, ][password, ][path, ][public_key, ][secret_key, ][ssh_known_hosts, ][user] }) +createLogSftp({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][address, ][port, ][password, ][path, ][public_key, ][secret_key, ][ssh_known_hosts, ][user] }) ``` Create a SFTP for a particular service and version. @@ -30,14 +30,14 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", address: "address_example", port: 22, password: "password_example", @@ -65,14 +65,14 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **address** | **String** | A hostname or IPv4 address. | [optional] **port** | **Number** | The port number. | [optional] [defaults to 22] **password** | **String** | The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] @@ -205,7 +205,7 @@ Name | Type | Description | Notes ## `updateLogSftp` ```javascript -updateLogSftp({ service_id, version_id, logging_sftp_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][timestamp_format, ][period, ][gzip_level, ][compression_codec, ][address, ][port, ][password, ][path, ][public_key, ][secret_key, ][ssh_known_hosts, ][user] }) +updateLogSftp({ service_id, version_id, logging_sftp_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][timestamp_format, ][compression_codec, ][period, ][gzip_level, ][address, ][port, ][password, ][path, ][public_key, ][secret_key, ][ssh_known_hosts, ][user] }) ``` Update the SFTP for a particular service and version. @@ -219,14 +219,14 @@ const options = { logging_sftp_name: "logging_sftp_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: "classic", timestamp_format: "timestamp_format_example", + compression_codec: "zstd", period: 3600, gzip_level: 0, - compression_codec: "zstd", address: "address_example", port: 22, password: "password_example", @@ -255,14 +255,14 @@ Name | Type | Description | Notes **logging_sftp_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] +**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] **gzip_level** | **Number** | 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. | [optional] [defaults to 0] -**compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] **address** | **String** | A hostname or IPv4 address. | [optional] **port** | **Number** | The port number. | [optional] [defaults to 22] **password** | **String** | The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] diff --git a/docs/LoggingSftpResponse.md b/docs/LoggingSftpResponse.md index 4656631cf..c9a1dbadc 100644 --- a/docs/LoggingSftpResponse.md +++ b/docs/LoggingSftpResponse.md @@ -6,27 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | **String** | How the message should be formatted. | [optional] [one of: "classic", "loggly", "logplex", "blank"] **timestamp_format** | **String** | A timestamp format | [optional] [readonly] -**period** | **Number** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to 3600] -**gzip_level** | **Number** | 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. | [optional] [defaults to 0] **compression_codec** | **String** | 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. | [optional] [one of: "zstd", "snappy", "gzip"] -**address** | **String** | A hostname or IPv4 address. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 22] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **password** | **String** | The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] **path** | **String** | The path to upload logs to. | [optional] [defaults to 'null'] **public_key** | **String** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **secret_key** | **String** | The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. | [optional] [defaults to 'null'] **ssh_known_hosts** | **String** | A list of host keys for all hosts we can connect to over SFTP. | [optional] **user** | **String** | The username for the server. | [optional] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**address** | **String** | A hostname or IPv4 address. | [optional] +**port** | **String** | The port number. | [optional] [defaults to '22'] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **Number** | 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. | [optional] [defaults to 0] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSftpResponseAllOf.md b/docs/LoggingSftpResponseAllOf.md new file mode 100644 index 000000000..f21da8d96 --- /dev/null +++ b/docs/LoggingSftpResponseAllOf.md @@ -0,0 +1,13 @@ +# Fastly.LoggingSftpResponseAllOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **String** | A hostname or IPv4 address. | [optional] +**port** | **String** | The port number. | [optional] [defaults to '22'] +**period** | **String** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional] [defaults to '3600'] +**gzip_level** | **Number** | 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. | [optional] [defaults to 0] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSplunk.md b/docs/LoggingSplunk.md deleted file mode 100644 index f6ad9c767..000000000 --- a/docs/LoggingSplunk.md +++ /dev/null @@ -1,23 +0,0 @@ -# Fastly.LoggingSplunk - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] -**request_max_entries** | **Number** | The maximum number of logs sent in one request. Defaults `0` for unbounded. | [optional] [defaults to 0] -**request_max_bytes** | **Number** | The maximum number of bytes sent in one request. Defaults `0` for unbounded. | [optional] [defaults to 0] -**url** | **String** | The URL to post logs to. | [optional] -**token** | **String** | A Splunk token for use in posting logs over HTTP to your collector. | [optional] -**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSplunkAllOf.md b/docs/LoggingSplunkAdditional.md similarity index 92% rename from docs/LoggingSplunkAllOf.md rename to docs/LoggingSplunkAdditional.md index 595c1de08..f1b879ee6 100644 --- a/docs/LoggingSplunkAllOf.md +++ b/docs/LoggingSplunkAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingSplunkAllOf +# Fastly.LoggingSplunkAdditional ## Properties diff --git a/docs/LoggingSplunkApi.md b/docs/LoggingSplunkApi.md index e9483ea3f..97fc4b615 100644 --- a/docs/LoggingSplunkApi.md +++ b/docs/LoggingSplunkApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogSplunk` ```javascript -createLogSplunk({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][token, ][use_tls] }) +createLogSplunk({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][token, ][use_tls] }) ``` Create a Splunk logging object for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -61,9 +61,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -197,7 +197,7 @@ Name | Type | Description | Notes ## `updateLogSplunk` ```javascript -updateLogSplunk({ service_id, version_id, logging_splunk_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][token, ][use_tls] }) +updateLogSplunk({ service_id, version_id, logging_splunk_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][request_max_entries, ][request_max_bytes, ][url, ][token, ][use_tls] }) ``` Update the Splunk logging object for a particular service and version. @@ -211,9 +211,9 @@ const options = { logging_splunk_name: "logging_splunk_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -243,9 +243,9 @@ Name | Type | Description | Notes **logging_splunk_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] diff --git a/docs/LoggingSplunkResponse.md b/docs/LoggingSplunkResponse.md index afec27fee..e09082258 100644 --- a/docs/LoggingSplunkResponse.md +++ b/docs/LoggingSplunkResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -22,7 +22,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSumologicAllOf.md b/docs/LoggingSumologicAdditional.md similarity index 90% rename from docs/LoggingSumologicAllOf.md rename to docs/LoggingSumologicAdditional.md index 6e4de5719..9d6146b53 100644 --- a/docs/LoggingSumologicAllOf.md +++ b/docs/LoggingSumologicAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingSumologicAllOf +# Fastly.LoggingSumologicAdditional ## Properties diff --git a/docs/LoggingSumologicApi.md b/docs/LoggingSumologicApi.md index cdf1db7b3..0b9e53ef4 100644 --- a/docs/LoggingSumologicApi.md +++ b/docs/LoggingSumologicApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogSumologic` ```javascript -createLogSumologic({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][url] }) +createLogSumologic({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][url] }) ``` Create a Sumologic for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: new Fastly.LoggingMessageType(), url: "url_example", }; @@ -54,9 +54,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] **url** | **String** | The URL to post logs to. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ## `updateLogSumologic` ```javascript -updateLogSumologic({ service_id, version_id, logging_sumologic_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][message_type, ][url] }) +updateLogSumologic({ service_id, version_id, logging_sumologic_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][message_type, ][url] }) ``` Update the Sumologic for a particular service and version. @@ -197,9 +197,9 @@ const options = { logging_sumologic_name: "logging_sumologic_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, message_type: new Fastly.LoggingMessageType(), url: "url_example", }; @@ -222,9 +222,9 @@ Name | Type | Description | Notes **logging_sumologic_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] **url** | **String** | The URL to post logs to. | [optional] diff --git a/docs/LoggingSumologicResponse.md b/docs/LoggingSumologicResponse.md index cb2f4dffa..3a798d1a1 100644 --- a/docs/LoggingSumologicResponse.md +++ b/docs/LoggingSumologicResponse.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] **url** | **String** | The URL to post logs to. | [optional] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSyslog.md b/docs/LoggingSyslog.md deleted file mode 100644 index 2198a01f8..000000000 --- a/docs/LoggingSyslog.md +++ /dev/null @@ -1,25 +0,0 @@ -# Fastly.LoggingSyslog - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name for the real-time logging configuration. | [optional] -**placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] -**response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] -**format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] -**tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] -**tls_hostname** | **String** | 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. | [optional] [defaults to 'null'] -**address** | **String** | A hostname or IPv4 address. | [optional] -**port** | **Number** | The port number. | [optional] [defaults to 514] -**message_type** | [**LoggingMessageType**](LoggingMessageType.md) | | [optional] -**hostname** | **String** | The hostname used for the syslog endpoint. | [optional] -**ipv4** | **String** | The IPv4 address used for the syslog endpoint. | [optional] -**token** | **String** | Whether to prepend each message with a specific token. | [optional] [defaults to 'null'] -**use_tls** | [**LoggingUseTls**](LoggingUseTls.md) | | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/LoggingSyslogAllOf.md b/docs/LoggingSyslogAdditional.md similarity index 95% rename from docs/LoggingSyslogAllOf.md rename to docs/LoggingSyslogAdditional.md index ce8019bb5..67ab7305f 100644 --- a/docs/LoggingSyslogAllOf.md +++ b/docs/LoggingSyslogAdditional.md @@ -1,4 +1,4 @@ -# Fastly.LoggingSyslogAllOf +# Fastly.LoggingSyslogAdditional ## Properties diff --git a/docs/LoggingSyslogApi.md b/docs/LoggingSyslogApi.md index f06411c83..65bbc3e03 100644 --- a/docs/LoggingSyslogApi.md +++ b/docs/LoggingSyslogApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createLogSyslog` ```javascript -createLogSyslog({ service_id, version_id, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][address, ][port, ][message_type, ][hostname, ][ipv4, ][token, ][use_tls] }) +createLogSyslog({ service_id, version_id, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][address, ][port, ][message_type, ][hostname, ][ipv4, ][token, ][use_tls] }) ``` Create a Syslog for a particular service and version. @@ -30,9 +30,9 @@ const options = { version_id: 56, // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -63,9 +63,9 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -201,7 +201,7 @@ Name | Type | Description | Notes ## `updateLogSyslog` ```javascript -updateLogSyslog({ service_id, version_id, logging_syslog_name, [name, ][placement, ][format_version, ][response_condition, ][format, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][address, ][port, ][message_type, ][hostname, ][ipv4, ][token, ][use_tls] }) +updateLogSyslog({ service_id, version_id, logging_syslog_name, [name, ][placement, ][response_condition, ][format, ][format_version, ][tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_hostname, ][address, ][port, ][message_type, ][hostname, ][ipv4, ][token, ][use_tls] }) ``` Update the Syslog for a particular service and version. @@ -215,9 +215,9 @@ const options = { logging_syslog_name: "logging_syslog_name_example", // required name: "name_example", placement: "none", - format_version: 1, response_condition: "response_condition_example", format: "'%h %l %u %t \"%r\" %>s %b'", + format_version: 1, tls_ca_cert: "'null'", tls_client_cert: "'null'", tls_client_key: "'null'", @@ -249,9 +249,9 @@ Name | Type | Description | Notes **logging_syslog_name** | **String** | The name for the real-time logging configuration. | **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] diff --git a/docs/LoggingSyslogResponse.md b/docs/LoggingSyslogResponse.md index eda8384e9..40ad70062 100644 --- a/docs/LoggingSyslogResponse.md +++ b/docs/LoggingSyslogResponse.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name for the real-time logging configuration. | [optional] **placement** | **String** | 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`. | [optional] [one of: "none", "waf_debug", "null"] -**format_version** | **Number** | 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`. | [optional] [one of: 1, 2] **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional] [defaults to '%h %l %u %t "%r" %>s %b'] +**format_version** | **String** | 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`. | [optional] [one of: "1", "2"] **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] @@ -24,7 +24,7 @@ Name | Type | Description | Notes **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/PoolAllOf.md b/docs/PoolAdditional.md similarity index 75% rename from docs/PoolAllOf.md rename to docs/PoolAdditional.md index 32b77162b..bb1201ff4 100644 --- a/docs/PoolAllOf.md +++ b/docs/PoolAdditional.md @@ -1,4 +1,4 @@ -# Fastly.PoolAllOf +# Fastly.PoolAdditional ## Properties @@ -7,13 +7,8 @@ Name | Type | Description | Notes **name** | **String** | Name for the Pool. | [optional] **shield** | **String** | 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. | [optional] [defaults to 'null'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] -**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] -**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] -**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] -**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] **min_tls_version** | **Number** | Minimum allowed TLS version on connections to this server. Optional. | [optional] **max_tls_version** | **Number** | Maximum allowed TLS version on connections to this server. Optional. | [optional] **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] diff --git a/docs/PoolApi.md b/docs/PoolApi.md index 854bee98f..1462a97c8 100644 --- a/docs/PoolApi.md +++ b/docs/PoolApi.md @@ -17,7 +17,7 @@ Method | Fastly API endpoint | Description ## `createServerPool` ```javascript -createServerPool({ service_id, version_id, [tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_cert_hostname, ][use_tls, ][name, ][shield, ][request_condition, ][max_conn_default, ][connect_timeout, ][first_byte_timeout, ][quorum, ][tls_ciphers, ][tls_sni_hostname, ][tls_check_cert, ][min_tls_version, ][max_tls_version, ][healthcheck, ][comment, ][type, ][override_host] }) +createServerPool({ service_id, version_id, [tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_cert_hostname, ][use_tls, ][created_at, ][deleted_at, ][updated_at, ][service_id2, ][version, ][name, ][shield, ][request_condition, ][tls_ciphers, ][tls_sni_hostname, ][min_tls_version, ][max_tls_version, ][healthcheck, ][comment, ][type, ][override_host, ][between_bytes_timeout, ][connect_timeout, ][first_byte_timeout, ][max_conn_default, ][quorum, ][tls_check_cert] }) ``` Creates a pool for a particular service and version. @@ -33,22 +33,28 @@ const options = { tls_client_key: "'null'", tls_cert_hostname: "'null'", use_tls: 0, + created_at: new Date("2013-10-20T19:20:30+01:00"), + deleted_at: new Date("2013-10-20T19:20:30+01:00"), + updated_at: new Date("2013-10-20T19:20:30+01:00"), + service_id2: "service_id_example", + version: "version_example", name: "name_example", shield: "'null'", request_condition: "request_condition_example", - max_conn_default: 200, - connect_timeout: 56, - first_byte_timeout: 56, - quorum: 75, tls_ciphers: "tls_ciphers_example", tls_sni_hostname: "tls_sni_hostname_example", - tls_check_cert: 56, min_tls_version: 56, max_tls_version: 56, healthcheck: "healthcheck_example", comment: "comment_example", type: "random", override_host: "'null'", + between_bytes_timeout: 10000, + connect_timeout: 56, + first_byte_timeout: 56, + max_conn_default: 200, + quorum: 75, + tls_check_cert: 56, }; apiInstance.createServerPool(options) @@ -71,26 +77,32 @@ Name | Type | Description | Notes **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] **use_tls** | **Number** | Whether to use TLS. | [optional] [one of: 0, 1] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**service_id2** | **String** | | [optional] +**version** | **String** | | [optional] **name** | **String** | Name for the Pool. | [optional] **shield** | **String** | 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. | [optional] [defaults to 'null'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] -**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] -**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] -**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] -**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] **min_tls_version** | **Number** | Minimum allowed TLS version on connections to this server. Optional. | [optional] **max_tls_version** | **Number** | Maximum allowed TLS version on connections to this server. Optional. | [optional] **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] **comment** | **String** | A freeform descriptive note. | [optional] **type** | **String** | What type of load balance group to use. | [optional] [one of: "random", "hash", "client"] **override_host** | **String** | 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. | [optional] [defaults to 'null'] +**between_bytes_timeout** | **Number** | 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`. | [optional] [defaults to 10000] +**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] +**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] +**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] +**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] +**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] ### Return type -[**PoolResponse**](PoolResponse.md) +[**PoolResponsePost**](PoolResponsePost.md) ## `deleteServerPool` @@ -211,7 +223,7 @@ Name | Type | Description | Notes ## `updateServerPool` ```javascript -updateServerPool({ service_id, version_id, pool_name, [tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_cert_hostname, ][use_tls, ][name, ][shield, ][request_condition, ][max_conn_default, ][connect_timeout, ][first_byte_timeout, ][quorum, ][tls_ciphers, ][tls_sni_hostname, ][tls_check_cert, ][min_tls_version, ][max_tls_version, ][healthcheck, ][comment, ][type, ][override_host] }) +updateServerPool({ service_id, version_id, pool_name, [tls_ca_cert, ][tls_client_cert, ][tls_client_key, ][tls_cert_hostname, ][use_tls, ][created_at, ][deleted_at, ][updated_at, ][service_id2, ][version, ][name, ][shield, ][request_condition, ][tls_ciphers, ][tls_sni_hostname, ][min_tls_version, ][max_tls_version, ][healthcheck, ][comment, ][type, ][override_host, ][between_bytes_timeout, ][connect_timeout, ][first_byte_timeout, ][max_conn_default, ][quorum, ][tls_check_cert] }) ``` Updates a specific pool for a particular service and version. @@ -228,22 +240,28 @@ const options = { tls_client_key: "'null'", tls_cert_hostname: "'null'", use_tls: 0, + created_at: new Date("2013-10-20T19:20:30+01:00"), + deleted_at: new Date("2013-10-20T19:20:30+01:00"), + updated_at: new Date("2013-10-20T19:20:30+01:00"), + service_id2: "service_id_example", + version: "version_example", name: "name_example", shield: "'null'", request_condition: "request_condition_example", - max_conn_default: 200, - connect_timeout: 56, - first_byte_timeout: 56, - quorum: 75, tls_ciphers: "tls_ciphers_example", tls_sni_hostname: "tls_sni_hostname_example", - tls_check_cert: 56, min_tls_version: 56, max_tls_version: 56, healthcheck: "healthcheck_example", comment: "comment_example", type: "random", override_host: "'null'", + between_bytes_timeout: 10000, + connect_timeout: 56, + first_byte_timeout: 56, + max_conn_default: 200, + quorum: 75, + tls_check_cert: 56, }; apiInstance.updateServerPool(options) @@ -267,22 +285,28 @@ Name | Type | Description | Notes **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] **use_tls** | **Number** | Whether to use TLS. | [optional] [one of: 0, 1] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] +**service_id2** | **String** | | [optional] +**version** | **String** | | [optional] **name** | **String** | Name for the Pool. | [optional] **shield** | **String** | 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. | [optional] [defaults to 'null'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] -**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] -**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] -**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] -**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] **min_tls_version** | **Number** | Minimum allowed TLS version on connections to this server. Optional. | [optional] **max_tls_version** | **Number** | Maximum allowed TLS version on connections to this server. Optional. | [optional] **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] **comment** | **String** | A freeform descriptive note. | [optional] **type** | **String** | What type of load balance group to use. | [optional] [one of: "random", "hash", "client"] **override_host** | **String** | 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. | [optional] [defaults to 'null'] +**between_bytes_timeout** | **Number** | 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`. | [optional] [defaults to 10000] +**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] +**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] +**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] +**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] +**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] ### Return type diff --git a/docs/PoolResponse.md b/docs/PoolResponse.md index 4e04d1605..bf8a1f8fd 100644 --- a/docs/PoolResponse.md +++ b/docs/PoolResponse.md @@ -8,29 +8,30 @@ Name | Type | Description | Notes **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] -**use_tls** | **Number** | Whether to use TLS. | [optional] [one of: 0, 1] +**use_tls** | **String** | Whether to use TLS. | [optional] [one of: "0", "1"] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **name** | **String** | Name for the Pool. | [optional] **shield** | **String** | 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. | [optional] [defaults to 'null'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] -**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] -**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] -**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] -**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] **min_tls_version** | **Number** | Minimum allowed TLS version on connections to this server. Optional. | [optional] **max_tls_version** | **Number** | Maximum allowed TLS version on connections to this server. Optional. | [optional] **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] **comment** | **String** | A freeform descriptive note. | [optional] **type** | **String** | What type of load balance group to use. | [optional] [one of: "random", "hash", "client"] **override_host** | **String** | 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. | [optional] [defaults to 'null'] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**between_bytes_timeout** | **String** | 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`. | [optional] +**connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] +**first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] +**max_conn_default** | **String** | Maximum number of connections. | [optional] [defaults to '200'] +**tls_check_cert** | **String** | Be strict on checking TLS certs. | [optional] **id** | **String** | | [optional] [readonly] +**quorum** | **String** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to '75'] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/PoolResponseAllOf.md b/docs/PoolResponseAllOf.md index 356d6b3e1..b5e422031 100644 --- a/docs/PoolResponseAllOf.md +++ b/docs/PoolResponseAllOf.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | | [optional] [readonly] +**quorum** | **String** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to '75'] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/PoolResponseCommon.md b/docs/PoolResponseCommon.md new file mode 100644 index 000000000..52d5a9b09 --- /dev/null +++ b/docs/PoolResponseCommon.md @@ -0,0 +1,15 @@ +# Fastly.PoolResponseCommon + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**between_bytes_timeout** | **String** | 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`. | [optional] +**connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] +**first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] +**max_conn_default** | **String** | Maximum number of connections. | [optional] [defaults to '200'] +**tls_check_cert** | **String** | Be strict on checking TLS certs. | [optional] +**id** | **String** | | [optional] [readonly] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Pool.md b/docs/PoolResponsePost.md similarity index 68% rename from docs/Pool.md rename to docs/PoolResponsePost.md index af40bd38c..ed7d53fe4 100644 --- a/docs/Pool.md +++ b/docs/PoolResponsePost.md @@ -1,4 +1,4 @@ -# Fastly.Pool +# Fastly.PoolResponsePost ## Properties @@ -8,23 +8,30 @@ Name | Type | Description | Notes **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] -**use_tls** | **Number** | Whether to use TLS. | [optional] [one of: 0, 1] +**use_tls** | **String** | Whether to use TLS. | [optional] [one of: "0", "1"] +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **name** | **String** | Name for the Pool. | [optional] **shield** | **String** | 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. | [optional] [defaults to 'null'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**max_conn_default** | **Number** | Maximum number of connections. Optional. | [optional] [defaults to 200] -**connect_timeout** | **Number** | How long to wait for a timeout in milliseconds. Optional. | [optional] -**first_byte_timeout** | **Number** | How long to wait for the first byte in milliseconds. Optional. | [optional] -**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] -**tls_check_cert** | **Number** | Be strict on checking TLS certs. Optional. | [optional] **min_tls_version** | **Number** | Minimum allowed TLS version on connections to this server. Optional. | [optional] **max_tls_version** | **Number** | Maximum allowed TLS version on connections to this server. Optional. | [optional] **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] **comment** | **String** | A freeform descriptive note. | [optional] **type** | **String** | What type of load balance group to use. | [optional] [one of: "random", "hash", "client"] **override_host** | **String** | 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. | [optional] [defaults to 'null'] +**between_bytes_timeout** | **String** | 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`. | [optional] +**connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] +**first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] +**max_conn_default** | **String** | Maximum number of connections. | [optional] [defaults to '200'] +**tls_check_cert** | **String** | Be strict on checking TLS certs. | [optional] +**id** | **String** | | [optional] [readonly] +**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/PoolResponsePostAllOf.md b/docs/PoolResponsePostAllOf.md new file mode 100644 index 000000000..da9fe192c --- /dev/null +++ b/docs/PoolResponsePostAllOf.md @@ -0,0 +1,10 @@ +# Fastly.PoolResponsePostAllOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**quorum** | **Number** | Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. | [optional] [defaults to 75] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/RequestSettings.md b/docs/RequestSettingsAdditional.md similarity index 51% rename from docs/RequestSettings.md rename to docs/RequestSettingsAdditional.md index 605ca81fb..7b67c11b8 100644 --- a/docs/RequestSettings.md +++ b/docs/RequestSettingsAdditional.md @@ -1,20 +1,14 @@ -# Fastly.RequestSettings +# Fastly.RequestSettingsAdditional ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **action** | **String** | Allows you to terminate request handling and immediately perform an action. | [optional] [one of: "lookup", "pass"] -**bypass_busy_wait** | **Number** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] **default_host** | **String** | Sets the host header. | [optional] -**force_miss** | **Number** | Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. | [optional] -**force_ssl** | **Number** | Forces the request use SSL (redirects a non-SSL to SSL). | [optional] -**geo_headers** | **Number** | Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. | [optional] **hash_keys** | **String** | Comma separated list of varnish request object fields that should be in the hash key. | [optional] -**max_stale_age** | **Number** | How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. | [optional] **name** | **String** | Name for the request settings. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**timer_support** | **Number** | Injects the X-Timer info into the request for viewing origin fetch durations. | [optional] **xff** | **String** | Short for X-Forwarded-For. | [optional] [one of: "clear", "leave", "append", "append_all", "overwrite"] diff --git a/docs/RequestSettingsApi.md b/docs/RequestSettingsApi.md index 954b027e2..ad6bb336a 100644 --- a/docs/RequestSettingsApi.md +++ b/docs/RequestSettingsApi.md @@ -169,7 +169,7 @@ Name | Type | Description | Notes ## `updateRequestSettings` ```javascript -updateRequestSettings({ service_id, version_id, request_settings_name, [action, ][bypass_busy_wait, ][default_host, ][force_miss, ][force_ssl, ][geo_headers, ][hash_keys, ][max_stale_age, ][name, ][request_condition, ][timer_support, ][xff] }) +updateRequestSettings({ service_id, version_id, request_settings_name, [action, ][default_host, ][hash_keys, ][name, ][request_condition, ][xff, ][bypass_busy_wait, ][force_miss, ][force_ssl, ][geo_headers, ][max_stale_age, ][timer_support] }) ``` Updates the specified Request Settings object. @@ -182,17 +182,17 @@ const options = { version_id: 56, // required request_settings_name: "request_settings_name_example", // required action: "lookup", - bypass_busy_wait: 56, default_host: "default_host_example", + hash_keys: "hash_keys_example", + name: "name_example", + request_condition: "request_condition_example", + xff: "clear", + bypass_busy_wait: 56, force_miss: 56, force_ssl: 56, geo_headers: 56, - hash_keys: "hash_keys_example", max_stale_age: 56, - name: "name_example", - request_condition: "request_condition_example", timer_support: 56, - xff: "clear", }; apiInstance.updateRequestSettings(options) @@ -212,17 +212,17 @@ Name | Type | Description | Notes **version_id** | **Number** | Integer identifying a service version. | **request_settings_name** | **String** | Name for the request settings. | **action** | **String** | Allows you to terminate request handling and immediately perform an action. | [optional] [one of: "lookup", "pass"] -**bypass_busy_wait** | **Number** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] **default_host** | **String** | Sets the host header. | [optional] +**hash_keys** | **String** | Comma separated list of varnish request object fields that should be in the hash key. | [optional] +**name** | **String** | Name for the request settings. | [optional] +**request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] +**xff** | **String** | Short for X-Forwarded-For. | [optional] [one of: "clear", "leave", "append", "append_all", "overwrite"] +**bypass_busy_wait** | **Number** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] **force_miss** | **Number** | Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. | [optional] **force_ssl** | **Number** | Forces the request use SSL (redirects a non-SSL to SSL). | [optional] **geo_headers** | **Number** | Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. | [optional] -**hash_keys** | **String** | Comma separated list of varnish request object fields that should be in the hash key. | [optional] **max_stale_age** | **Number** | How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. | [optional] -**name** | **String** | Name for the request settings. | [optional] -**request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **timer_support** | **Number** | Injects the X-Timer info into the request for viewing origin fetch durations. | [optional] -**xff** | **String** | Short for X-Forwarded-For. | [optional] [one of: "clear", "leave", "append", "append_all", "overwrite"] ### Return type diff --git a/docs/RequestSettingsResponse.md b/docs/RequestSettingsResponse.md index 845869667..7b00888e0 100644 --- a/docs/RequestSettingsResponse.md +++ b/docs/RequestSettingsResponse.md @@ -4,23 +4,23 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **action** | **String** | Allows you to terminate request handling and immediately perform an action. | [optional] [one of: "lookup", "pass"] -**bypass_busy_wait** | **Number** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] **default_host** | **String** | Sets the host header. | [optional] -**force_miss** | **Number** | Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. | [optional] -**force_ssl** | **Number** | Forces the request use SSL (redirects a non-SSL to SSL). | [optional] -**geo_headers** | **Number** | Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. | [optional] **hash_keys** | **String** | Comma separated list of varnish request object fields that should be in the hash key. | [optional] -**max_stale_age** | **Number** | How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. | [optional] **name** | **String** | Name for the request settings. | [optional] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] -**timer_support** | **Number** | Injects the X-Timer info into the request for viewing origin fetch durations. | [optional] **xff** | **String** | Short for X-Forwarded-For. | [optional] [one of: "clear", "leave", "append", "append_all", "overwrite"] -**service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] -**created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] -**updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] +**bypass_busy_wait** | **String** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] +**force_miss** | **String** | Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. | [optional] +**force_ssl** | **String** | Forces the request use SSL (redirects a non-SSL to SSL). | [optional] +**geo_headers** | **String** | Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. | [optional] +**max_stale_age** | **String** | How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. | [optional] +**timer_support** | **String** | Injects the X-Timer info into the request for viewing origin fetch durations. | [optional] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/RequestSettingsResponseAllOf.md b/docs/RequestSettingsResponseAllOf.md new file mode 100644 index 000000000..734fbfee1 --- /dev/null +++ b/docs/RequestSettingsResponseAllOf.md @@ -0,0 +1,15 @@ +# Fastly.RequestSettingsResponseAllOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bypass_busy_wait** | **String** | Disable collapsed forwarding, so you don't wait for other objects to origin. | [optional] +**force_miss** | **String** | Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. | [optional] +**force_ssl** | **String** | Forces the request use SSL (redirects a non-SSL to SSL). | [optional] +**geo_headers** | **String** | Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. | [optional] +**max_stale_age** | **String** | How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. | [optional] +**timer_support** | **String** | Injects the X-Timer info into the request for viewing origin fetch durations. | [optional] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/ResponseObject.md b/docs/ResponseObject.md index 846d5d503..38a008242 100644 --- a/docs/ResponseObject.md +++ b/docs/ResponseObject.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **content** | **String** | The content to deliver for the response object, can be empty. | [optional] **content_type** | **String** | The MIME type of the content, can be empty. | [optional] **name** | **String** | Name for the request settings. | [optional] -**status** | **Number** | The HTTP status code. | [optional] [defaults to 200] +**status** | **String** | The HTTP status code. | [optional] [defaults to '200'] **response** | **String** | The HTTP response. | [optional] [defaults to 'Ok'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] diff --git a/docs/ResponseObjectResponse.md b/docs/ResponseObjectResponse.md index 889a68bf6..c926331a3 100644 --- a/docs/ResponseObjectResponse.md +++ b/docs/ResponseObjectResponse.md @@ -8,11 +8,11 @@ Name | Type | Description | Notes **content** | **String** | The content to deliver for the response object, can be empty. | [optional] **content_type** | **String** | The MIME type of the content, can be empty. | [optional] **name** | **String** | Name for the request settings. | [optional] -**status** | **Number** | The HTTP status code. | [optional] [defaults to 200] +**status** | **String** | The HTTP status code. | [optional] [defaults to '200'] **response** | **String** | The HTTP response. | [optional] [defaults to 'Ok'] **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] **service_id** | **String** | | [optional] [readonly] -**version** | **Number** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] **created_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **deleted_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] **updated_at** | **Date** | Date and time in ISO 8601 format. | [optional] [readonly] diff --git a/docs/ServiceIdAndVersionString.md b/docs/ServiceIdAndVersionString.md new file mode 100644 index 000000000..5327b2e4f --- /dev/null +++ b/docs/ServiceIdAndVersionString.md @@ -0,0 +1,11 @@ +# Fastly.ServiceIdAndVersionString + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**service_id** | **String** | | [optional] [readonly] +**version** | **String** | | [optional] [readonly] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/TlsCommonResponse.md b/docs/TlsCommonResponse.md new file mode 100644 index 000000000..839e569b5 --- /dev/null +++ b/docs/TlsCommonResponse.md @@ -0,0 +1,14 @@ +# Fastly.TlsCommonResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional] [defaults to 'null'] +**tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] +**tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] +**tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] +**use_tls** | **String** | Whether to use TLS. | [optional] [one of: "0", "1"] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/TlsCommon.md b/docs/TlsCommonResponseAllOf.md similarity index 89% rename from docs/TlsCommon.md rename to docs/TlsCommonResponseAllOf.md index e788d8e14..6060b1bb4 100644 --- a/docs/TlsCommon.md +++ b/docs/TlsCommonResponseAllOf.md @@ -1,4 +1,4 @@ -# Fastly.TlsCommon +# Fastly.TlsCommonResponseAllOf ## Properties @@ -8,7 +8,6 @@ Name | Type | Description | Notes **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_client_key** | **String** | The client private key used to make authenticated requests. Must be in PEM format. | [optional] [defaults to 'null'] **tls_cert_hostname** | **String** | The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). | [optional] [defaults to 'null'] -**use_tls** | **Number** | Whether to use TLS. | [optional] [one of: 0, 1] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/TlsCommonResponseAllOf1.md b/docs/TlsCommonResponseAllOf1.md new file mode 100644 index 000000000..7801bd291 --- /dev/null +++ b/docs/TlsCommonResponseAllOf1.md @@ -0,0 +1,10 @@ +# Fastly.TlsCommonResponseAllOf1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**use_tls** | **String** | Whether to use TLS. | [optional] [one of: "0", "1"] + + +[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/TlsSubscriptionResponseDataAllOf.md b/docs/TlsSubscriptionResponseDataAllOf.md deleted file mode 100644 index e45537f09..000000000 --- a/docs/TlsSubscriptionResponseDataAllOf.md +++ /dev/null @@ -1,11 +0,0 @@ -# Fastly.TlsSubscriptionResponseDataAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] [readonly] -**attributes** | [**TlsSubscriptionResponseAttributes**](TlsSubscriptionResponseAttributes.md) | | [optional] - - -[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/package.json b/package.json index a6413eacd..b525015ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fastly", - "version": "5.0.2", + "version": "6.0.0", "description": "A JavaScript client library for interacting with most facets of the Fastly API.", "license": "MIT", "main": "dist/index.js", diff --git a/sig.json b/sig.json index 50cf831f1..65857946f 100644 --- a/sig.json +++ b/sig.json @@ -1 +1 @@ -{"G": "59fc714d", "D": "3bd4fb97"} +{"G": "2914592f", "D": "7e4f4edd"} diff --git a/src/ApiClient.js b/src/ApiClient.js index 3dbbb1109..eaf60bf25 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -19,7 +19,7 @@ const DEFAULT_RATELIMIT = 1000; /** * @module ApiClient -* @version 5.0.2 +* @version 6.0.0 */ /** @@ -66,7 +66,7 @@ class ApiClient { * @default {} */ this.defaultHeaders = { - 'User-Agent': 'fastly-js/5.0.2' + 'User-Agent': 'fastly-js/6.0.0' }; /** diff --git a/src/api/AclApi.js b/src/api/AclApi.js index c97d92ea7..d3cbe0219 100644 --- a/src/api/AclApi.js +++ b/src/api/AclApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Acl service. * @module api/AclApi -* @version 5.0.2 +* @version 6.0.0 */ export default class AclApi { diff --git a/src/api/AclEntryApi.js b/src/api/AclEntryApi.js index 0ba760f44..75f436da1 100644 --- a/src/api/AclEntryApi.js +++ b/src/api/AclEntryApi.js @@ -20,7 +20,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * AclEntry service. * @module api/AclEntryApi -* @version 5.0.2 +* @version 6.0.0 */ export default class AclEntryApi { diff --git a/src/api/ApexRedirectApi.js b/src/api/ApexRedirectApi.js index 409b0f479..d562edc0f 100644 --- a/src/api/ApexRedirectApi.js +++ b/src/api/ApexRedirectApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * ApexRedirect service. * @module api/ApexRedirectApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ApexRedirectApi { diff --git a/src/api/AutomationTokensApi.js b/src/api/AutomationTokensApi.js index 8812ac82e..4f3bbce5f 100644 --- a/src/api/AutomationTokensApi.js +++ b/src/api/AutomationTokensApi.js @@ -21,7 +21,7 @@ import InlineResponse2001 from '../model/InlineResponse2001'; /** * AutomationTokens service. * @module api/AutomationTokensApi -* @version 5.0.2 +* @version 6.0.0 */ export default class AutomationTokensApi { diff --git a/src/api/BackendApi.js b/src/api/BackendApi.js index 62ccb5d12..106367f53 100644 --- a/src/api/BackendApi.js +++ b/src/api/BackendApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Backend service. * @module api/BackendApi -* @version 5.0.2 +* @version 6.0.0 */ export default class BackendApi { diff --git a/src/api/BillingAddressApi.js b/src/api/BillingAddressApi.js index a94b3eb51..694860947 100644 --- a/src/api/BillingAddressApi.js +++ b/src/api/BillingAddressApi.js @@ -20,7 +20,7 @@ import UpdateBillingAddressRequest from '../model/UpdateBillingAddressRequest'; /** * BillingAddress service. * @module api/BillingAddressApi -* @version 5.0.2 +* @version 6.0.0 */ export default class BillingAddressApi { diff --git a/src/api/BillingApi.js b/src/api/BillingApi.js index d4318999d..e8c156fee 100644 --- a/src/api/BillingApi.js +++ b/src/api/BillingApi.js @@ -18,7 +18,7 @@ import BillingResponse from '../model/BillingResponse'; /** * Billing service. * @module api/BillingApi -* @version 5.0.2 +* @version 6.0.0 */ export default class BillingApi { diff --git a/src/api/CacheSettingsApi.js b/src/api/CacheSettingsApi.js index a7e88ef6a..d957e166b 100644 --- a/src/api/CacheSettingsApi.js +++ b/src/api/CacheSettingsApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * CacheSettings service. * @module api/CacheSettingsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class CacheSettingsApi { @@ -46,8 +46,8 @@ export default class CacheSettingsApi { * @param {module:model/String} [options.action] - If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.name] - Name for the cache settings object. - * @param {Number} [options.stale_ttl] - 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'). - * @param {Number} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). + * @param {String} [options.stale_ttl] - 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'). + * @param {String} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CacheSettingResponse} and HTTP response */ createCacheSettingsWithHttpInfo(options = {}) { @@ -107,8 +107,8 @@ export default class CacheSettingsApi { * @param {module:model/String} [options.action] - If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.name] - Name for the cache settings object. - * @param {Number} [options.stale_ttl] - 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'). - * @param {Number} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). + * @param {String} [options.stale_ttl] - 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'). + * @param {String} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CacheSettingResponse} */ createCacheSettings(options = {}) { @@ -336,8 +336,8 @@ export default class CacheSettingsApi { * @param {module:model/String} [options.action] - If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.name] - Name for the cache settings object. - * @param {Number} [options.stale_ttl] - 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'). - * @param {Number} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). + * @param {String} [options.stale_ttl] - 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'). + * @param {String} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CacheSettingResponse} and HTTP response */ updateCacheSettingsWithHttpInfo(options = {}) { @@ -403,8 +403,8 @@ export default class CacheSettingsApi { * @param {module:model/String} [options.action] - If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.name] - Name for the cache settings object. - * @param {Number} [options.stale_ttl] - 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'). - * @param {Number} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). + * @param {String} [options.stale_ttl] - 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'). + * @param {String} [options.ttl] - Maximum time to consider the object fresh in the cache (the cache 'time to live'). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CacheSettingResponse} */ updateCacheSettings(options = {}) { diff --git a/src/api/ConditionApi.js b/src/api/ConditionApi.js index 93773c54c..65b474ee2 100644 --- a/src/api/ConditionApi.js +++ b/src/api/ConditionApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Condition service. * @module api/ConditionApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ConditionApi { diff --git a/src/api/ConfigStoreApi.js b/src/api/ConfigStoreApi.js index 4abae080b..123a4f3f1 100644 --- a/src/api/ConfigStoreApi.js +++ b/src/api/ConfigStoreApi.js @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * ConfigStore service. * @module api/ConfigStoreApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ConfigStoreApi { diff --git a/src/api/ConfigStoreItemApi.js b/src/api/ConfigStoreItemApi.js index 8ca7eca86..cff896681 100644 --- a/src/api/ConfigStoreItemApi.js +++ b/src/api/ConfigStoreItemApi.js @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * ConfigStoreItem service. * @module api/ConfigStoreItemApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ConfigStoreItemApi { diff --git a/src/api/ContactApi.js b/src/api/ContactApi.js index e96639d4f..0bf40b8ca 100644 --- a/src/api/ContactApi.js +++ b/src/api/ContactApi.js @@ -19,7 +19,7 @@ import SchemasContactResponse from '../model/SchemasContactResponse'; /** * Contact service. * @module api/ContactApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ContactApi { diff --git a/src/api/ContentApi.js b/src/api/ContentApi.js index 0f3a6d95e..3f0861590 100644 --- a/src/api/ContentApi.js +++ b/src/api/ContentApi.js @@ -17,7 +17,7 @@ import Content from '../model/Content'; /** * Content service. * @module api/ContentApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ContentApi { diff --git a/src/api/CustomerApi.js b/src/api/CustomerApi.js index cefc1a59a..eec094804 100644 --- a/src/api/CustomerApi.js +++ b/src/api/CustomerApi.js @@ -19,7 +19,7 @@ import SchemasUserResponse from '../model/SchemasUserResponse'; /** * Customer service. * @module api/CustomerApi -* @version 5.0.2 +* @version 6.0.0 */ export default class CustomerApi { diff --git a/src/api/DictionaryApi.js b/src/api/DictionaryApi.js index 3fded4202..9517bcdb6 100644 --- a/src/api/DictionaryApi.js +++ b/src/api/DictionaryApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Dictionary service. * @module api/DictionaryApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DictionaryApi { diff --git a/src/api/DictionaryInfoApi.js b/src/api/DictionaryInfoApi.js index 94999b9d3..cba69db3d 100644 --- a/src/api/DictionaryInfoApi.js +++ b/src/api/DictionaryInfoApi.js @@ -17,7 +17,7 @@ import DictionaryInfoResponse from '../model/DictionaryInfoResponse'; /** * DictionaryInfo service. * @module api/DictionaryInfoApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DictionaryInfoApi { diff --git a/src/api/DictionaryItemApi.js b/src/api/DictionaryItemApi.js index 402555cdb..243f3eaa9 100644 --- a/src/api/DictionaryItemApi.js +++ b/src/api/DictionaryItemApi.js @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * DictionaryItem service. * @module api/DictionaryItemApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DictionaryItemApi { diff --git a/src/api/DiffApi.js b/src/api/DiffApi.js index 9c20f9197..c9fb8b1d2 100644 --- a/src/api/DiffApi.js +++ b/src/api/DiffApi.js @@ -17,7 +17,7 @@ import DiffResponse from '../model/DiffResponse'; /** * Diff service. * @module api/DiffApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DiffApi { diff --git a/src/api/DirectorApi.js b/src/api/DirectorApi.js index 49451fa24..bc941356f 100644 --- a/src/api/DirectorApi.js +++ b/src/api/DirectorApi.js @@ -19,7 +19,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Director service. * @module api/DirectorApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DirectorApi { diff --git a/src/api/DirectorBackendApi.js b/src/api/DirectorBackendApi.js index 8a28f997c..fe17692f4 100644 --- a/src/api/DirectorBackendApi.js +++ b/src/api/DirectorBackendApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * DirectorBackend service. * @module api/DirectorBackendApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DirectorBackendApi { diff --git a/src/api/DomainApi.js b/src/api/DomainApi.js index 42534101f..d0dd3417b 100644 --- a/src/api/DomainApi.js +++ b/src/api/DomainApi.js @@ -12,14 +12,13 @@ import ApiClient from "../ApiClient"; -import DomainCheckItem from '../model/DomainCheckItem'; import DomainResponse from '../model/DomainResponse'; import InlineResponse200 from '../model/InlineResponse200'; /** * Domain service. * @module api/DomainApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DomainApi { @@ -45,7 +44,7 @@ export default class DomainApi { * @param {String} options.service_id - Alphanumeric string identifying the service. * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.domain_name - The name of the domain or domains associated with this service. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response */ checkDomainWithHttpInfo(options = {}) { let postBody = null; @@ -79,7 +78,7 @@ export default class DomainApi { let authNames = ['token']; let contentTypes = []; let accepts = ['application/json']; - let returnType = [DomainCheckItem]; + let returnType = [Object]; let basePaths = ['https://api.fastly.com']; let basePath = basePaths[0]; // by default use the first one in "servers" defined in OpenAPI if (typeof options['_base_path_index'] !== 'undefined') { @@ -102,7 +101,7 @@ export default class DomainApi { * @param {String} options.service_id - Alphanumeric string identifying the service. * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.domain_name - The name of the domain or domains associated with this service. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.} */ checkDomain(options = {}) { return this.checkDomainWithHttpInfo(options) diff --git a/src/api/DomainInspectorHistoricalApi.js b/src/api/DomainInspectorHistoricalApi.js index 9a27a8471..94f1b2ffb 100644 --- a/src/api/DomainInspectorHistoricalApi.js +++ b/src/api/DomainInspectorHistoricalApi.js @@ -17,7 +17,7 @@ import HistoricalDomainsResponse from '../model/HistoricalDomainsResponse'; /** * DomainInspectorHistorical service. * @module api/DomainInspectorHistoricalApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DomainInspectorHistoricalApi { diff --git a/src/api/DomainInspectorRealtimeApi.js b/src/api/DomainInspectorRealtimeApi.js index 28c24df75..492020c3e 100644 --- a/src/api/DomainInspectorRealtimeApi.js +++ b/src/api/DomainInspectorRealtimeApi.js @@ -17,7 +17,7 @@ import DomainInspector from '../model/DomainInspector'; /** * DomainInspectorRealtime service. * @module api/DomainInspectorRealtimeApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DomainInspectorRealtimeApi { diff --git a/src/api/DomainOwnershipsApi.js b/src/api/DomainOwnershipsApi.js index f8524d550..a38516563 100644 --- a/src/api/DomainOwnershipsApi.js +++ b/src/api/DomainOwnershipsApi.js @@ -17,7 +17,7 @@ import InlineResponse2002 from '../model/InlineResponse2002'; /** * DomainOwnerships service. * @module api/DomainOwnershipsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class DomainOwnershipsApi { diff --git a/src/api/EnabledProductsApi.js b/src/api/EnabledProductsApi.js index e83c6d2d8..807dfe595 100644 --- a/src/api/EnabledProductsApi.js +++ b/src/api/EnabledProductsApi.js @@ -17,7 +17,7 @@ import EnabledProductResponse from '../model/EnabledProductResponse'; /** * EnabledProducts service. * @module api/EnabledProductsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class EnabledProductsApi { diff --git a/src/api/EventsApi.js b/src/api/EventsApi.js index c916744ca..8902e7fc4 100644 --- a/src/api/EventsApi.js +++ b/src/api/EventsApi.js @@ -18,7 +18,7 @@ import EventsResponse from '../model/EventsResponse'; /** * Events service. * @module api/EventsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class EventsApi { diff --git a/src/api/GzipApi.js b/src/api/GzipApi.js index 7e0a79379..37b362fa1 100644 --- a/src/api/GzipApi.js +++ b/src/api/GzipApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Gzip service. * @module api/GzipApi -* @version 5.0.2 +* @version 6.0.0 */ export default class GzipApi { diff --git a/src/api/HeaderApi.js b/src/api/HeaderApi.js index 4a8bbd0ca..b40424fbe 100644 --- a/src/api/HeaderApi.js +++ b/src/api/HeaderApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Header service. * @module api/HeaderApi -* @version 5.0.2 +* @version 6.0.0 */ export default class HeaderApi { @@ -46,15 +46,15 @@ export default class HeaderApi { * @param {module:model/String} [options.action] - Accepts a string value. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.dst] - Header to set. - * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. * @param {String} [options.name] - A handle to refer to this Header object. - * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @param {String} [options.regex] - Regular expression to use. Only applies to `regex` and `regex_repeat` actions. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {String} [options.response_condition] - Optional name of a response condition to apply. * @param {String} [options.src] - Variable to be used as a source for the header content. Does not apply to `delete` action. * @param {String} [options.substitution] - Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. * @param {module:model/String} [options.type] - Accepts a string value. + * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. + * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HeaderResponse} and HTTP response */ createHeaderObjectWithHttpInfo(options = {}) { @@ -82,15 +82,15 @@ export default class HeaderApi { 'action': options['action'], 'cache_condition': options['cache_condition'], 'dst': options['dst'], - 'ignore_if_set': options['ignore_if_set'], 'name': options['name'], - 'priority': options['priority'], 'regex': options['regex'], 'request_condition': options['request_condition'], 'response_condition': options['response_condition'], 'src': options['src'], 'substitution': options['substitution'], - 'type': options['type'] + 'type': options['type'], + 'ignore_if_set': options['ignore_if_set'], + 'priority': options['priority'] }; let authNames = ['token']; @@ -121,15 +121,15 @@ export default class HeaderApi { * @param {module:model/String} [options.action] - Accepts a string value. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.dst] - Header to set. - * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. * @param {String} [options.name] - A handle to refer to this Header object. - * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @param {String} [options.regex] - Regular expression to use. Only applies to `regex` and `regex_repeat` actions. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {String} [options.response_condition] - Optional name of a response condition to apply. * @param {String} [options.src] - Variable to be used as a source for the header content. Does not apply to `delete` action. * @param {String} [options.substitution] - Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. * @param {module:model/String} [options.type] - Accepts a string value. + * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. + * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HeaderResponse} */ createHeaderObject(options = {}) { @@ -357,15 +357,15 @@ export default class HeaderApi { * @param {module:model/String} [options.action] - Accepts a string value. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.dst] - Header to set. - * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. * @param {String} [options.name] - A handle to refer to this Header object. - * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @param {String} [options.regex] - Regular expression to use. Only applies to `regex` and `regex_repeat` actions. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {String} [options.response_condition] - Optional name of a response condition to apply. * @param {String} [options.src] - Variable to be used as a source for the header content. Does not apply to `delete` action. * @param {String} [options.substitution] - Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. * @param {module:model/String} [options.type] - Accepts a string value. + * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. + * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HeaderResponse} and HTTP response */ updateHeaderObjectWithHttpInfo(options = {}) { @@ -398,15 +398,15 @@ export default class HeaderApi { 'action': options['action'], 'cache_condition': options['cache_condition'], 'dst': options['dst'], - 'ignore_if_set': options['ignore_if_set'], 'name': options['name'], - 'priority': options['priority'], 'regex': options['regex'], 'request_condition': options['request_condition'], 'response_condition': options['response_condition'], 'src': options['src'], 'substitution': options['substitution'], - 'type': options['type'] + 'type': options['type'], + 'ignore_if_set': options['ignore_if_set'], + 'priority': options['priority'] }; let authNames = ['token']; @@ -438,15 +438,15 @@ export default class HeaderApi { * @param {module:model/String} [options.action] - Accepts a string value. * @param {String} [options.cache_condition] - Name of the cache condition controlling when this configuration applies. * @param {String} [options.dst] - Header to set. - * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. * @param {String} [options.name] - A handle to refer to this Header object. - * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @param {String} [options.regex] - Regular expression to use. Only applies to `regex` and `regex_repeat` actions. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {String} [options.response_condition] - Optional name of a response condition to apply. * @param {String} [options.src] - Variable to be used as a source for the header content. Does not apply to `delete` action. * @param {String} [options.substitution] - Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. * @param {module:model/String} [options.type] - Accepts a string value. + * @param {Number} [options.ignore_if_set] - Don't add the header if it is added already. Only applies to 'set' action. + * @param {Number} [options.priority=100] - Priority determines execution order. Lower numbers execute first. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HeaderResponse} */ updateHeaderObject(options = {}) { diff --git a/src/api/HealthcheckApi.js b/src/api/HealthcheckApi.js index 9bffd74f8..951a0c37d 100644 --- a/src/api/HealthcheckApi.js +++ b/src/api/HealthcheckApi.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Healthcheck service. * @module api/HealthcheckApi -* @version 5.0.2 +* @version 6.0.0 */ export default class HealthcheckApi { diff --git a/src/api/HistoricalApi.js b/src/api/HistoricalApi.js index 48ed7d39d..6b8711e44 100644 --- a/src/api/HistoricalApi.js +++ b/src/api/HistoricalApi.js @@ -24,7 +24,7 @@ import HistoricalUsageServiceResponse from '../model/HistoricalUsageServiceRespo /** * Historical service. * @module api/HistoricalApi -* @version 5.0.2 +* @version 6.0.0 */ export default class HistoricalApi { diff --git a/src/api/Http3Api.js b/src/api/Http3Api.js index 55ac19cfe..db495b2fa 100644 --- a/src/api/Http3Api.js +++ b/src/api/Http3Api.js @@ -18,7 +18,7 @@ import InlineResponse200 from '../model/InlineResponse200'; /** * Http3 service. * @module api/Http3Api -* @version 5.0.2 +* @version 6.0.0 */ export default class Http3Api { diff --git a/src/api/IamPermissionsApi.js b/src/api/IamPermissionsApi.js index 46c3cb497..88289e944 100644 --- a/src/api/IamPermissionsApi.js +++ b/src/api/IamPermissionsApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * IamPermissions service. * @module api/IamPermissionsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class IamPermissionsApi { diff --git a/src/api/IamRolesApi.js b/src/api/IamRolesApi.js index 8085186c0..9fa45af58 100644 --- a/src/api/IamRolesApi.js +++ b/src/api/IamRolesApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * IamRoles service. * @module api/IamRolesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class IamRolesApi { diff --git a/src/api/IamServiceGroupsApi.js b/src/api/IamServiceGroupsApi.js index c1d5c52e8..8d62bfdac 100644 --- a/src/api/IamServiceGroupsApi.js +++ b/src/api/IamServiceGroupsApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * IamServiceGroups service. * @module api/IamServiceGroupsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class IamServiceGroupsApi { diff --git a/src/api/IamUserGroupsApi.js b/src/api/IamUserGroupsApi.js index 95937dbfa..7903ffe65 100644 --- a/src/api/IamUserGroupsApi.js +++ b/src/api/IamUserGroupsApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * IamUserGroups service. * @module api/IamUserGroupsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class IamUserGroupsApi { diff --git a/src/api/InvitationsApi.js b/src/api/InvitationsApi.js index 6788e3939..ad12dbbc8 100644 --- a/src/api/InvitationsApi.js +++ b/src/api/InvitationsApi.js @@ -19,7 +19,7 @@ import InvitationsResponse from '../model/InvitationsResponse'; /** * Invitations service. * @module api/InvitationsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class InvitationsApi { diff --git a/src/api/KvStoreApi.js b/src/api/KvStoreApi.js index e696c350f..c9e675f1a 100644 --- a/src/api/KvStoreApi.js +++ b/src/api/KvStoreApi.js @@ -19,7 +19,7 @@ import StoreResponse from '../model/StoreResponse'; /** * KvStore service. * @module api/KvStoreApi -* @version 5.0.2 +* @version 6.0.0 */ export default class KvStoreApi { diff --git a/src/api/KvStoreItemApi.js b/src/api/KvStoreItemApi.js index 7e4a5a541..d34c72cfb 100644 --- a/src/api/KvStoreItemApi.js +++ b/src/api/KvStoreItemApi.js @@ -17,7 +17,7 @@ import InlineResponse2004 from '../model/InlineResponse2004'; /** * KvStoreItem service. * @module api/KvStoreItemApi -* @version 5.0.2 +* @version 6.0.0 */ export default class KvStoreItemApi { diff --git a/src/api/LegacyWafConfigurationSetsApi.js b/src/api/LegacyWafConfigurationSetsApi.js index ffc9cfcc3..332fec16c 100644 --- a/src/api/LegacyWafConfigurationSetsApi.js +++ b/src/api/LegacyWafConfigurationSetsApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafConfigurationSets service. * @module api/LegacyWafConfigurationSetsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafConfigurationSetsApi { diff --git a/src/api/LegacyWafFirewallApi.js b/src/api/LegacyWafFirewallApi.js index 91fd03e0d..3be787e98 100644 --- a/src/api/LegacyWafFirewallApi.js +++ b/src/api/LegacyWafFirewallApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafFirewall service. * @module api/LegacyWafFirewallApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafFirewallApi { diff --git a/src/api/LegacyWafOwaspApi.js b/src/api/LegacyWafOwaspApi.js index 06db2be10..2038cfe15 100644 --- a/src/api/LegacyWafOwaspApi.js +++ b/src/api/LegacyWafOwaspApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafOwasp service. * @module api/LegacyWafOwaspApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafOwaspApi { diff --git a/src/api/LegacyWafRuleApi.js b/src/api/LegacyWafRuleApi.js index 70f891d00..e36907823 100644 --- a/src/api/LegacyWafRuleApi.js +++ b/src/api/LegacyWafRuleApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafRule service. * @module api/LegacyWafRuleApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafRuleApi { diff --git a/src/api/LegacyWafRuleStatusApi.js b/src/api/LegacyWafRuleStatusApi.js index 836a2a669..ca8e5a01e 100644 --- a/src/api/LegacyWafRuleStatusApi.js +++ b/src/api/LegacyWafRuleStatusApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafRuleStatus service. * @module api/LegacyWafRuleStatusApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafRuleStatusApi { diff --git a/src/api/LegacyWafRulesetApi.js b/src/api/LegacyWafRulesetApi.js index 2902432bc..6583cac99 100644 --- a/src/api/LegacyWafRulesetApi.js +++ b/src/api/LegacyWafRulesetApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafRuleset service. * @module api/LegacyWafRulesetApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafRulesetApi { diff --git a/src/api/LegacyWafTagApi.js b/src/api/LegacyWafTagApi.js index c8c0a2e96..2315a29b4 100644 --- a/src/api/LegacyWafTagApi.js +++ b/src/api/LegacyWafTagApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafTag service. * @module api/LegacyWafTagApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafTagApi { diff --git a/src/api/LegacyWafUpdateStatusApi.js b/src/api/LegacyWafUpdateStatusApi.js index 66bbad226..c969db757 100644 --- a/src/api/LegacyWafUpdateStatusApi.js +++ b/src/api/LegacyWafUpdateStatusApi.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * LegacyWafUpdateStatus service. * @module api/LegacyWafUpdateStatusApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LegacyWafUpdateStatusApi { diff --git a/src/api/LoggingAzureblobApi.js b/src/api/LoggingAzureblobApi.js index 0e8e9ef61..cb891a363 100644 --- a/src/api/LoggingAzureblobApi.js +++ b/src/api/LoggingAzureblobApi.js @@ -18,7 +18,7 @@ import LoggingAzureblobResponse from '../model/LoggingAzureblobResponse'; /** * LoggingAzureblob service. * @module api/LoggingAzureblobApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingAzureblobApi { @@ -45,14 +45,14 @@ export default class LoggingAzureblobApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.path='null'] - The path to upload logs to. * @param {String} [options.account_name] - The unique Azure Blob Storage namespace in which your data objects are stored. Required. * @param {String} [options.container] - The name of the Azure Blob Storage container in which to store logs. Required. @@ -85,14 +85,14 @@ export default class LoggingAzureblobApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'path': options['path'], 'account_name': options['account_name'], 'container': options['container'], @@ -128,14 +128,14 @@ export default class LoggingAzureblobApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.path='null'] - The path to upload logs to. * @param {String} [options.account_name] - The unique Azure Blob Storage namespace in which your data objects are stored. Required. * @param {String} [options.container] - The name of the Azure Blob Storage container in which to store logs. Required. @@ -368,14 +368,14 @@ export default class LoggingAzureblobApi { * @param {String} options.logging_azureblob_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.path='null'] - The path to upload logs to. * @param {String} [options.account_name] - The unique Azure Blob Storage namespace in which your data objects are stored. Required. * @param {String} [options.container] - The name of the Azure Blob Storage container in which to store logs. Required. @@ -413,14 +413,14 @@ export default class LoggingAzureblobApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'path': options['path'], 'account_name': options['account_name'], 'container': options['container'], @@ -457,14 +457,14 @@ export default class LoggingAzureblobApi { * @param {String} options.logging_azureblob_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.path='null'] - The path to upload logs to. * @param {String} [options.account_name] - The unique Azure Blob Storage namespace in which your data objects are stored. Required. * @param {String} [options.container] - The name of the Azure Blob Storage container in which to store logs. Required. diff --git a/src/api/LoggingBigqueryApi.js b/src/api/LoggingBigqueryApi.js index 4bc5c38b8..a86b30c84 100644 --- a/src/api/LoggingBigqueryApi.js +++ b/src/api/LoggingBigqueryApi.js @@ -18,7 +18,7 @@ import LoggingBigqueryResponse from '../model/LoggingBigqueryResponse'; /** * LoggingBigquery service. * @module api/LoggingBigqueryApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingBigqueryApi { @@ -45,9 +45,9 @@ export default class LoggingBigqueryApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name of the BigQuery logging object. Used as a primary key for API access. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -81,9 +81,9 @@ export default class LoggingBigqueryApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -120,9 +120,9 @@ export default class LoggingBigqueryApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name of the BigQuery logging object. Used as a primary key for API access. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -356,9 +356,9 @@ export default class LoggingBigqueryApi { * @param {String} options.logging_bigquery_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name of the BigQuery logging object. Used as a primary key for API access. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -397,9 +397,9 @@ export default class LoggingBigqueryApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -437,9 +437,9 @@ export default class LoggingBigqueryApi { * @param {String} options.logging_bigquery_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name of the BigQuery logging object. Used as a primary key for API access. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. diff --git a/src/api/LoggingCloudfilesApi.js b/src/api/LoggingCloudfilesApi.js index 7ea353c67..6b9d8ef66 100644 --- a/src/api/LoggingCloudfilesApi.js +++ b/src/api/LoggingCloudfilesApi.js @@ -18,7 +18,7 @@ import LoggingCloudfilesResponse from '../model/LoggingCloudfilesResponse'; /** * LoggingCloudfiles service. * @module api/LoggingCloudfilesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingCloudfilesApi { @@ -45,14 +45,14 @@ export default class LoggingCloudfilesApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your Cloud Files account access key. * @param {String} [options.bucket_name] - The name of your Cloud Files container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -85,14 +85,14 @@ export default class LoggingCloudfilesApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'bucket_name': options['bucket_name'], 'path': options['path'], @@ -128,14 +128,14 @@ export default class LoggingCloudfilesApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your Cloud Files account access key. * @param {String} [options.bucket_name] - The name of your Cloud Files container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -368,14 +368,14 @@ export default class LoggingCloudfilesApi { * @param {String} options.logging_cloudfiles_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your Cloud Files account access key. * @param {String} [options.bucket_name] - The name of your Cloud Files container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -413,14 +413,14 @@ export default class LoggingCloudfilesApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'bucket_name': options['bucket_name'], 'path': options['path'], @@ -457,14 +457,14 @@ export default class LoggingCloudfilesApi { * @param {String} options.logging_cloudfiles_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your Cloud Files account access key. * @param {String} [options.bucket_name] - The name of your Cloud Files container. * @param {String} [options.path='null'] - The path to upload logs to. diff --git a/src/api/LoggingDatadogApi.js b/src/api/LoggingDatadogApi.js index 840399c5a..2a971e2fa 100644 --- a/src/api/LoggingDatadogApi.js +++ b/src/api/LoggingDatadogApi.js @@ -18,7 +18,7 @@ import LoggingDatadogResponse from '../model/LoggingDatadogResponse'; /** * LoggingDatadog service. * @module api/LoggingDatadogApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingDatadogApi { @@ -45,9 +45,9 @@ export default class LoggingDatadogApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The API key from your Datadog account. Required. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingDatadogResponse} and HTTP response @@ -76,9 +76,9 @@ export default class LoggingDatadogApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'region': options['region'], 'token': options['token'] }; @@ -110,9 +110,9 @@ export default class LoggingDatadogApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The API key from your Datadog account. Required. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingDatadogResponse} @@ -341,9 +341,9 @@ export default class LoggingDatadogApi { * @param {String} options.logging_datadog_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The API key from your Datadog account. Required. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingDatadogResponse} and HTTP response @@ -377,9 +377,9 @@ export default class LoggingDatadogApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'region': options['region'], 'token': options['token'] }; @@ -412,9 +412,9 @@ export default class LoggingDatadogApi { * @param {String} options.logging_datadog_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The API key from your Datadog account. Required. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingDatadogResponse} diff --git a/src/api/LoggingDigitaloceanApi.js b/src/api/LoggingDigitaloceanApi.js index 977ab412d..2a1360ea9 100644 --- a/src/api/LoggingDigitaloceanApi.js +++ b/src/api/LoggingDigitaloceanApi.js @@ -18,7 +18,7 @@ import LoggingDigitaloceanResponse from '../model/LoggingDigitaloceanResponse'; /** * LoggingDigitalocean service. * @module api/LoggingDigitaloceanApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingDigitaloceanApi { @@ -45,14 +45,14 @@ export default class LoggingDigitaloceanApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.bucket_name] - The name of the DigitalOcean Space. * @param {String} [options.access_key] - Your DigitalOcean Spaces account access key. * @param {String} [options.secret_key] - Your DigitalOcean Spaces account secret key. @@ -85,14 +85,14 @@ export default class LoggingDigitaloceanApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'bucket_name': options['bucket_name'], 'access_key': options['access_key'], 'secret_key': options['secret_key'], @@ -128,14 +128,14 @@ export default class LoggingDigitaloceanApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.bucket_name] - The name of the DigitalOcean Space. * @param {String} [options.access_key] - Your DigitalOcean Spaces account access key. * @param {String} [options.secret_key] - Your DigitalOcean Spaces account secret key. @@ -368,14 +368,14 @@ export default class LoggingDigitaloceanApi { * @param {String} options.logging_digitalocean_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.bucket_name] - The name of the DigitalOcean Space. * @param {String} [options.access_key] - Your DigitalOcean Spaces account access key. * @param {String} [options.secret_key] - Your DigitalOcean Spaces account secret key. @@ -413,14 +413,14 @@ export default class LoggingDigitaloceanApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'bucket_name': options['bucket_name'], 'access_key': options['access_key'], 'secret_key': options['secret_key'], @@ -457,14 +457,14 @@ export default class LoggingDigitaloceanApi { * @param {String} options.logging_digitalocean_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.bucket_name] - The name of the DigitalOcean Space. * @param {String} [options.access_key] - Your DigitalOcean Spaces account access key. * @param {String} [options.secret_key] - Your DigitalOcean Spaces account secret key. diff --git a/src/api/LoggingElasticsearchApi.js b/src/api/LoggingElasticsearchApi.js index bab7fe327..41570756d 100644 --- a/src/api/LoggingElasticsearchApi.js +++ b/src/api/LoggingElasticsearchApi.js @@ -18,7 +18,7 @@ import LoggingElasticsearchResponse from '../model/LoggingElasticsearchResponse' /** * LoggingElasticsearch service. * @module api/LoggingElasticsearchApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingElasticsearchApi { @@ -45,9 +45,9 @@ export default class LoggingElasticsearchApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -85,9 +85,9 @@ export default class LoggingElasticsearchApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -128,9 +128,9 @@ export default class LoggingElasticsearchApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -368,9 +368,9 @@ export default class LoggingElasticsearchApi { * @param {String} options.logging_elasticsearch_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -413,9 +413,9 @@ export default class LoggingElasticsearchApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -457,9 +457,9 @@ export default class LoggingElasticsearchApi { * @param {String} options.logging_elasticsearch_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. diff --git a/src/api/LoggingFtpApi.js b/src/api/LoggingFtpApi.js index 99c7354f5..fbf8d5104 100644 --- a/src/api/LoggingFtpApi.js +++ b/src/api/LoggingFtpApi.js @@ -18,7 +18,7 @@ import LoggingFtpResponse from '../model/LoggingFtpResponse'; /** * LoggingFtp service. * @module api/LoggingFtpApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingFtpApi { @@ -45,22 +45,22 @@ export default class LoggingFtpApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - An hostname or IPv4 address. * @param {String} [options.hostname] - Hostname used. * @param {String} [options.ipv4] - IPv4 address of the host. * @param {String} [options.password] - The password for the server. For anonymous use an email address. * @param {String} [options.path] - The path to upload log files to. If the path ends in `/` then it is treated as a directory. - * @param {Number} [options.port=21] - The port number. * @param {String} [options.public_key='null'] - A PGP public key that Fastly will use to encrypt your log files before writing them to disk. * @param {String} [options.user] - The username for the server. Can be anonymous. + * @param {Number} [options.port=21] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingFtpResponse} and HTTP response */ createLogFtpWithHttpInfo(options = {}) { @@ -87,22 +87,22 @@ export default class LoggingFtpApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'address': options['address'], 'hostname': options['hostname'], 'ipv4': options['ipv4'], 'password': options['password'], 'path': options['path'], - 'port': options['port'], 'public_key': options['public_key'], - 'user': options['user'] + 'user': options['user'], + 'port': options['port'] }; let authNames = ['token']; @@ -132,22 +132,22 @@ export default class LoggingFtpApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - An hostname or IPv4 address. * @param {String} [options.hostname] - Hostname used. * @param {String} [options.ipv4] - IPv4 address of the host. * @param {String} [options.password] - The password for the server. For anonymous use an email address. * @param {String} [options.path] - The path to upload log files to. If the path ends in `/` then it is treated as a directory. - * @param {Number} [options.port=21] - The port number. * @param {String} [options.public_key='null'] - A PGP public key that Fastly will use to encrypt your log files before writing them to disk. * @param {String} [options.user] - The username for the server. Can be anonymous. + * @param {Number} [options.port=21] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingFtpResponse} */ createLogFtp(options = {}) { @@ -374,22 +374,22 @@ export default class LoggingFtpApi { * @param {String} options.logging_ftp_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - An hostname or IPv4 address. * @param {String} [options.hostname] - Hostname used. * @param {String} [options.ipv4] - IPv4 address of the host. * @param {String} [options.password] - The password for the server. For anonymous use an email address. * @param {String} [options.path] - The path to upload log files to. If the path ends in `/` then it is treated as a directory. - * @param {Number} [options.port=21] - The port number. * @param {String} [options.public_key='null'] - A PGP public key that Fastly will use to encrypt your log files before writing them to disk. * @param {String} [options.user] - The username for the server. Can be anonymous. + * @param {Number} [options.port=21] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingFtpResponse} and HTTP response */ updateLogFtpWithHttpInfo(options = {}) { @@ -421,22 +421,22 @@ export default class LoggingFtpApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'address': options['address'], 'hostname': options['hostname'], 'ipv4': options['ipv4'], 'password': options['password'], 'path': options['path'], - 'port': options['port'], 'public_key': options['public_key'], - 'user': options['user'] + 'user': options['user'], + 'port': options['port'] }; let authNames = ['token']; @@ -467,22 +467,22 @@ export default class LoggingFtpApi { * @param {String} options.logging_ftp_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - An hostname or IPv4 address. * @param {String} [options.hostname] - Hostname used. * @param {String} [options.ipv4] - IPv4 address of the host. * @param {String} [options.password] - The password for the server. For anonymous use an email address. * @param {String} [options.path] - The path to upload log files to. If the path ends in `/` then it is treated as a directory. - * @param {Number} [options.port=21] - The port number. * @param {String} [options.public_key='null'] - A PGP public key that Fastly will use to encrypt your log files before writing them to disk. * @param {String} [options.user] - The username for the server. Can be anonymous. + * @param {Number} [options.port=21] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingFtpResponse} */ updateLogFtp(options = {}) { diff --git a/src/api/LoggingGcsApi.js b/src/api/LoggingGcsApi.js index fbc173e71..abf6c8de6 100644 --- a/src/api/LoggingGcsApi.js +++ b/src/api/LoggingGcsApi.js @@ -18,7 +18,7 @@ import LoggingGcsResponse from '../model/LoggingGcsResponse'; /** * LoggingGcs service. * @module api/LoggingGcsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingGcsApi { @@ -45,14 +45,14 @@ export default class LoggingGcsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -86,14 +86,14 @@ export default class LoggingGcsApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -130,14 +130,14 @@ export default class LoggingGcsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -371,14 +371,14 @@ export default class LoggingGcsApi { * @param {String} options.logging_gcs_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -417,14 +417,14 @@ export default class LoggingGcsApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -462,14 +462,14 @@ export default class LoggingGcsApi { * @param {String} options.logging_gcs_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. diff --git a/src/api/LoggingHerokuApi.js b/src/api/LoggingHerokuApi.js index 53f2b83a4..eea50fc2d 100644 --- a/src/api/LoggingHerokuApi.js +++ b/src/api/LoggingHerokuApi.js @@ -18,7 +18,7 @@ import LoggingHerokuResponse from '../model/LoggingHerokuResponse'; /** * LoggingHeroku service. * @module api/LoggingHerokuApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingHerokuApi { @@ -45,9 +45,9 @@ export default class LoggingHerokuApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - 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)). * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHerokuResponse} and HTTP response @@ -76,9 +76,9 @@ export default class LoggingHerokuApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'url': options['url'] }; @@ -110,9 +110,9 @@ export default class LoggingHerokuApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - 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)). * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHerokuResponse} @@ -341,9 +341,9 @@ export default class LoggingHerokuApi { * @param {String} options.logging_heroku_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - 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)). * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHerokuResponse} and HTTP response @@ -377,9 +377,9 @@ export default class LoggingHerokuApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'url': options['url'] }; @@ -412,9 +412,9 @@ export default class LoggingHerokuApi { * @param {String} options.logging_heroku_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - 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)). * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHerokuResponse} diff --git a/src/api/LoggingHoneycombApi.js b/src/api/LoggingHoneycombApi.js index ec6a79f0e..acd18fad2 100644 --- a/src/api/LoggingHoneycombApi.js +++ b/src/api/LoggingHoneycombApi.js @@ -13,13 +13,12 @@ import ApiClient from "../ApiClient"; import InlineResponse200 from '../model/InlineResponse200'; -import LoggingHoneycomb from '../model/LoggingHoneycomb'; import LoggingHoneycombResponse from '../model/LoggingHoneycombResponse'; /** * LoggingHoneycomb service. * @module api/LoggingHoneycombApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingHoneycombApi { @@ -46,12 +45,12 @@ export default class LoggingHoneycombApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.dataset] - The Honeycomb Dataset you want to log to. * @param {String} [options.token] - The Write Key from the Account page of your Honeycomb account. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHoneycomb} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHoneycombResponse} and HTTP response */ createLogHoneycombWithHttpInfo(options = {}) { let postBody = null; @@ -77,9 +76,9 @@ export default class LoggingHoneycombApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'dataset': options['dataset'], 'token': options['token'] }; @@ -87,7 +86,7 @@ export default class LoggingHoneycombApi { let authNames = ['token']; let contentTypes = ['application/x-www-form-urlencoded']; let accepts = ['application/json']; - let returnType = LoggingHoneycomb; + let returnType = LoggingHoneycombResponse; let basePaths = ['https://api.fastly.com']; let basePath = basePaths[0]; // by default use the first one in "servers" defined in OpenAPI if (typeof options['_base_path_index'] !== 'undefined') { @@ -111,12 +110,12 @@ export default class LoggingHoneycombApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.dataset] - The Honeycomb Dataset you want to log to. * @param {String} [options.token] - The Write Key from the Account page of your Honeycomb account. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHoneycomb} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHoneycombResponse} */ createLogHoneycomb(options = {}) { return this.createLogHoneycombWithHttpInfo(options) @@ -203,7 +202,7 @@ export default class LoggingHoneycombApi { * @param {String} options.service_id - Alphanumeric string identifying the service. * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.logging_honeycomb_name - The name for the real-time logging configuration. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHoneycomb} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHoneycombResponse} and HTTP response */ getLogHoneycombWithHttpInfo(options = {}) { let postBody = null; @@ -237,7 +236,7 @@ export default class LoggingHoneycombApi { let authNames = ['token']; let contentTypes = []; let accepts = ['application/json']; - let returnType = LoggingHoneycomb; + let returnType = LoggingHoneycombResponse; let basePaths = ['https://api.fastly.com']; let basePath = basePaths[0]; // by default use the first one in "servers" defined in OpenAPI if (typeof options['_base_path_index'] !== 'undefined') { @@ -260,7 +259,7 @@ export default class LoggingHoneycombApi { * @param {String} options.service_id - Alphanumeric string identifying the service. * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.logging_honeycomb_name - The name for the real-time logging configuration. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHoneycomb} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHoneycombResponse} */ getLogHoneycomb(options = {}) { return this.getLogHoneycombWithHttpInfo(options) @@ -342,9 +341,9 @@ export default class LoggingHoneycombApi { * @param {String} options.logging_honeycomb_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.dataset] - The Honeycomb Dataset you want to log to. * @param {String} [options.token] - The Write Key from the Account page of your Honeycomb account. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingHoneycombResponse} and HTTP response @@ -378,9 +377,9 @@ export default class LoggingHoneycombApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'dataset': options['dataset'], 'token': options['token'] }; @@ -413,9 +412,9 @@ export default class LoggingHoneycombApi { * @param {String} options.logging_honeycomb_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.dataset] - The Honeycomb Dataset you want to log to. * @param {String} [options.token] - The Write Key from the Account page of your Honeycomb account. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingHoneycombResponse} diff --git a/src/api/LoggingHttpsApi.js b/src/api/LoggingHttpsApi.js index 44bc7fb3a..455351b98 100644 --- a/src/api/LoggingHttpsApi.js +++ b/src/api/LoggingHttpsApi.js @@ -19,7 +19,7 @@ import LoggingMessageType from '../model/LoggingMessageType'; /** * LoggingHttps service. * @module api/LoggingHttpsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingHttpsApi { @@ -46,9 +46,9 @@ export default class LoggingHttpsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -88,9 +88,9 @@ export default class LoggingHttpsApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -133,9 +133,9 @@ export default class LoggingHttpsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -375,9 +375,9 @@ export default class LoggingHttpsApi { * @param {String} options.logging_https_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -422,9 +422,9 @@ export default class LoggingHttpsApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -468,9 +468,9 @@ export default class LoggingHttpsApi { * @param {String} options.logging_https_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. diff --git a/src/api/LoggingKafkaApi.js b/src/api/LoggingKafkaApi.js index 896f215f8..439728dbe 100644 --- a/src/api/LoggingKafkaApi.js +++ b/src/api/LoggingKafkaApi.js @@ -14,12 +14,13 @@ import ApiClient from "../ApiClient"; import InlineResponse200 from '../model/InlineResponse200'; import LoggingKafkaResponse from '../model/LoggingKafkaResponse'; +import LoggingKafkaResponsePost from '../model/LoggingKafkaResponsePost'; import LoggingUseTls from '../model/LoggingUseTls'; /** * LoggingKafka service. * @module api/LoggingKafkaApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingKafkaApi { @@ -46,9 +47,9 @@ export default class LoggingKafkaApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -63,7 +64,7 @@ export default class LoggingKafkaApi { * @param {String} [options.user] - SASL user. * @param {String} [options.password] - SASL password. * @param {module:model/LoggingUseTls} [options.use_tls] - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingKafkaResponse} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingKafkaResponsePost} and HTTP response */ createLogKafkaWithHttpInfo(options = {}) { let postBody = null; @@ -89,9 +90,9 @@ export default class LoggingKafkaApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -111,7 +112,7 @@ export default class LoggingKafkaApi { let authNames = ['token']; let contentTypes = ['application/x-www-form-urlencoded']; let accepts = ['application/json']; - let returnType = LoggingKafkaResponse; + let returnType = LoggingKafkaResponsePost; let basePaths = ['https://api.fastly.com']; let basePath = basePaths[0]; // by default use the first one in "servers" defined in OpenAPI if (typeof options['_base_path_index'] !== 'undefined') { @@ -135,9 +136,9 @@ export default class LoggingKafkaApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -152,7 +153,7 @@ export default class LoggingKafkaApi { * @param {String} [options.user] - SASL user. * @param {String} [options.password] - SASL password. * @param {module:model/LoggingUseTls} [options.use_tls] - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingKafkaResponse} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingKafkaResponsePost} */ createLogKafka(options = {}) { return this.createLogKafkaWithHttpInfo(options) diff --git a/src/api/LoggingKinesisApi.js b/src/api/LoggingKinesisApi.js index 47632903e..9af104fbc 100644 --- a/src/api/LoggingKinesisApi.js +++ b/src/api/LoggingKinesisApi.js @@ -14,14 +14,13 @@ import ApiClient from "../ApiClient"; import AwsRegion from '../model/AwsRegion'; import InlineResponse200 from '../model/InlineResponse200'; -import LoggingFormatVersion from '../model/LoggingFormatVersion'; import LoggingKinesisResponse from '../model/LoggingKinesisResponse'; import LoggingPlacement from '../model/LoggingPlacement'; /** * LoggingKinesis service. * @module api/LoggingKinesisApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingKinesisApi { @@ -48,13 +47,13 @@ export default class LoggingKinesisApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/LoggingPlacement} [options.placement] - * @param {module:model/LoggingFormatVersion} [options.format_version] * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. * @param {String} [options.topic] - The Amazon Kinesis stream to send logs to. Required. * @param {module:model/AwsRegion} [options.region] * @param {String} [options.secret_key] - The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. * @param {String} [options.access_key] - The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. * @param {String} [options.iam_role] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingKinesisResponse} and HTTP response */ createLogKinesisWithHttpInfo(options = {}) { @@ -81,13 +80,13 @@ export default class LoggingKinesisApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'format': options['format'], 'topic': options['topic'], 'region': options['region'], 'secret_key': options['secret_key'], 'access_key': options['access_key'], - 'iam_role': options['iam_role'] + 'iam_role': options['iam_role'], + 'format_version': options['format_version'] }; let authNames = ['token']; @@ -117,13 +116,13 @@ export default class LoggingKinesisApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/LoggingPlacement} [options.placement] - * @param {module:model/LoggingFormatVersion} [options.format_version] * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest. * @param {String} [options.topic] - The Amazon Kinesis stream to send logs to. Required. * @param {module:model/AwsRegion} [options.region] * @param {String} [options.secret_key] - The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. * @param {String} [options.access_key] - The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified. * @param {String} [options.iam_role] - 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. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingKinesisResponse} */ createLogKinesis(options = {}) { diff --git a/src/api/LoggingLogentriesApi.js b/src/api/LoggingLogentriesApi.js index 6befc6d91..9595b8a9d 100644 --- a/src/api/LoggingLogentriesApi.js +++ b/src/api/LoggingLogentriesApi.js @@ -19,7 +19,7 @@ import LoggingUseTls from '../model/LoggingUseTls'; /** * LoggingLogentries service. * @module api/LoggingLogentriesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingLogentriesApi { @@ -46,9 +46,9 @@ export default class LoggingLogentriesApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {Number} [options.port=20000] - The port number. * @param {String} [options.token] - Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). * @param {module:model/LoggingUseTls} [options.use_tls] @@ -79,9 +79,9 @@ export default class LoggingLogentriesApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'port': options['port'], 'token': options['token'], 'use_tls': options['use_tls'], @@ -115,9 +115,9 @@ export default class LoggingLogentriesApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {Number} [options.port=20000] - The port number. * @param {String} [options.token] - Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). * @param {module:model/LoggingUseTls} [options.use_tls] @@ -348,9 +348,9 @@ export default class LoggingLogentriesApi { * @param {String} options.logging_logentries_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {Number} [options.port=20000] - The port number. * @param {String} [options.token] - Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). * @param {module:model/LoggingUseTls} [options.use_tls] @@ -386,9 +386,9 @@ export default class LoggingLogentriesApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'port': options['port'], 'token': options['token'], 'use_tls': options['use_tls'], @@ -423,9 +423,9 @@ export default class LoggingLogentriesApi { * @param {String} options.logging_logentries_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {Number} [options.port=20000] - The port number. * @param {String} [options.token] - Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)). * @param {module:model/LoggingUseTls} [options.use_tls] diff --git a/src/api/LoggingLogglyApi.js b/src/api/LoggingLogglyApi.js index fee71041e..99541dd04 100644 --- a/src/api/LoggingLogglyApi.js +++ b/src/api/LoggingLogglyApi.js @@ -18,7 +18,7 @@ import LoggingLogglyResponse from '../model/LoggingLogglyResponse'; /** * LoggingLoggly service. * @module api/LoggingLogglyApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingLogglyApi { @@ -45,9 +45,9 @@ export default class LoggingLogglyApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingLogglyResponse} and HTTP response */ @@ -75,9 +75,9 @@ export default class LoggingLogglyApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'] }; @@ -108,9 +108,9 @@ export default class LoggingLogglyApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingLogglyResponse} */ @@ -338,9 +338,9 @@ export default class LoggingLogglyApi { * @param {String} options.logging_loggly_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingLogglyResponse} and HTTP response */ @@ -373,9 +373,9 @@ export default class LoggingLogglyApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'] }; @@ -407,9 +407,9 @@ export default class LoggingLogglyApi { * @param {String} options.logging_loggly_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingLogglyResponse} */ diff --git a/src/api/LoggingLogshuttleApi.js b/src/api/LoggingLogshuttleApi.js index 49bdfd64d..a12d067c3 100644 --- a/src/api/LoggingLogshuttleApi.js +++ b/src/api/LoggingLogshuttleApi.js @@ -18,7 +18,7 @@ import LoggingLogshuttleResponse from '../model/LoggingLogshuttleResponse'; /** * LoggingLogshuttle service. * @module api/LoggingLogshuttleApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingLogshuttleApi { @@ -45,9 +45,9 @@ export default class LoggingLogshuttleApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The data authentication token associated with this endpoint. * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingLogshuttleResponse} and HTTP response @@ -76,9 +76,9 @@ export default class LoggingLogshuttleApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'url': options['url'] }; @@ -110,9 +110,9 @@ export default class LoggingLogshuttleApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The data authentication token associated with this endpoint. * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingLogshuttleResponse} @@ -341,9 +341,9 @@ export default class LoggingLogshuttleApi { * @param {String} options.logging_logshuttle_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The data authentication token associated with this endpoint. * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingLogshuttleResponse} and HTTP response @@ -377,9 +377,9 @@ export default class LoggingLogshuttleApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'url': options['url'] }; @@ -412,9 +412,9 @@ export default class LoggingLogshuttleApi { * @param {String} options.logging_logshuttle_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The data authentication token associated with this endpoint. * @param {String} [options.url] - The URL to stream logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingLogshuttleResponse} diff --git a/src/api/LoggingNewrelicApi.js b/src/api/LoggingNewrelicApi.js index 5dfc0618a..eae8e5659 100644 --- a/src/api/LoggingNewrelicApi.js +++ b/src/api/LoggingNewrelicApi.js @@ -18,7 +18,7 @@ import LoggingNewrelicResponse from '../model/LoggingNewrelicResponse'; /** * LoggingNewrelic service. * @module api/LoggingNewrelicApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingNewrelicApi { @@ -45,9 +45,9 @@ export default class LoggingNewrelicApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The Insert API key from the Account page of your New Relic account. Required. * @param {module:model/String} [options.region='US'] - The region to which to stream logs. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingNewrelicResponse} and HTTP response @@ -76,9 +76,9 @@ export default class LoggingNewrelicApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'region': options['region'] }; @@ -110,9 +110,9 @@ export default class LoggingNewrelicApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The Insert API key from the Account page of your New Relic account. Required. * @param {module:model/String} [options.region='US'] - The region to which to stream logs. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingNewrelicResponse} @@ -341,9 +341,9 @@ export default class LoggingNewrelicApi { * @param {String} options.logging_newrelic_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The Insert API key from the Account page of your New Relic account. Required. * @param {module:model/String} [options.region='US'] - The region to which to stream logs. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingNewrelicResponse} and HTTP response @@ -377,9 +377,9 @@ export default class LoggingNewrelicApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'token': options['token'], 'region': options['region'] }; @@ -412,9 +412,9 @@ export default class LoggingNewrelicApi { * @param {String} options.logging_newrelic_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.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"}'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.token] - The Insert API key from the Account page of your New Relic account. Required. * @param {module:model/String} [options.region='US'] - The region to which to stream logs. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingNewrelicResponse} diff --git a/src/api/LoggingOpenstackApi.js b/src/api/LoggingOpenstackApi.js index 9987d8654..1e036412a 100644 --- a/src/api/LoggingOpenstackApi.js +++ b/src/api/LoggingOpenstackApi.js @@ -18,7 +18,7 @@ import LoggingOpenstackResponse from '../model/LoggingOpenstackResponse'; /** * LoggingOpenstack service. * @module api/LoggingOpenstackApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingOpenstackApi { @@ -45,14 +45,14 @@ export default class LoggingOpenstackApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your OpenStack account access key. * @param {String} [options.bucket_name] - The name of your OpenStack container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -85,14 +85,14 @@ export default class LoggingOpenstackApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'bucket_name': options['bucket_name'], 'path': options['path'], @@ -128,14 +128,14 @@ export default class LoggingOpenstackApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your OpenStack account access key. * @param {String} [options.bucket_name] - The name of your OpenStack container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -368,14 +368,14 @@ export default class LoggingOpenstackApi { * @param {String} options.logging_openstack_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your OpenStack account access key. * @param {String} [options.bucket_name] - The name of your OpenStack container. * @param {String} [options.path='null'] - The path to upload logs to. @@ -413,14 +413,14 @@ export default class LoggingOpenstackApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'bucket_name': options['bucket_name'], 'path': options['path'], @@ -457,14 +457,14 @@ export default class LoggingOpenstackApi { * @param {String} options.logging_openstack_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - Your OpenStack account access key. * @param {String} [options.bucket_name] - The name of your OpenStack container. * @param {String} [options.path='null'] - The path to upload logs to. diff --git a/src/api/LoggingPapertrailApi.js b/src/api/LoggingPapertrailApi.js index d024dfc55..b7889acfe 100644 --- a/src/api/LoggingPapertrailApi.js +++ b/src/api/LoggingPapertrailApi.js @@ -18,7 +18,7 @@ import LoggingPapertrailResponse from '../model/LoggingPapertrailResponse'; /** * LoggingPapertrail service. * @module api/LoggingPapertrailApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingPapertrailApi { @@ -45,9 +45,9 @@ export default class LoggingPapertrailApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=514] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingPapertrailResponse} and HTTP response @@ -76,9 +76,9 @@ export default class LoggingPapertrailApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'address': options['address'], 'port': options['port'] }; @@ -110,9 +110,9 @@ export default class LoggingPapertrailApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=514] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingPapertrailResponse} @@ -341,9 +341,9 @@ export default class LoggingPapertrailApi { * @param {String} options.logging_papertrail_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=514] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingPapertrailResponse} and HTTP response @@ -377,9 +377,9 @@ export default class LoggingPapertrailApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'address': options['address'], 'port': options['port'] }; @@ -412,9 +412,9 @@ export default class LoggingPapertrailApi { * @param {String} options.logging_papertrail_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=514] - The port number. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingPapertrailResponse} diff --git a/src/api/LoggingPubsubApi.js b/src/api/LoggingPubsubApi.js index bc808cc23..ea6ea943d 100644 --- a/src/api/LoggingPubsubApi.js +++ b/src/api/LoggingPubsubApi.js @@ -18,7 +18,7 @@ import LoggingGooglePubsubResponse from '../model/LoggingGooglePubsubResponse'; /** * LoggingPubsub service. * @module api/LoggingPubsubApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingPubsubApi { @@ -45,9 +45,9 @@ export default class LoggingPubsubApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -79,9 +79,9 @@ export default class LoggingPubsubApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -116,9 +116,9 @@ export default class LoggingPubsubApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -350,9 +350,9 @@ export default class LoggingPubsubApi { * @param {String} options.logging_google_pubsub_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. @@ -389,9 +389,9 @@ export default class LoggingPubsubApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'user': options['user'], 'secret_key': options['secret_key'], 'account_name': options['account_name'], @@ -427,9 +427,9 @@ export default class LoggingPubsubApi { * @param {String} options.logging_google_pubsub_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.user] - 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. * @param {String} [options.secret_key] - Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. * @param {String} [options.account_name] - 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. diff --git a/src/api/LoggingS3Api.js b/src/api/LoggingS3Api.js index 99b65481d..f2e4bdbb4 100644 --- a/src/api/LoggingS3Api.js +++ b/src/api/LoggingS3Api.js @@ -18,7 +18,7 @@ import LoggingS3Response from '../model/LoggingS3Response'; /** * LoggingS3 service. * @module api/LoggingS3Api -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingS3Api { @@ -45,14 +45,14 @@ export default class LoggingS3Api { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - The access key for your S3 account. Not required if `iam_role` is provided. * @param {String} [options.acl] - 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. * @param {String} [options.bucket_name] - The bucket name for S3 account. @@ -90,14 +90,14 @@ export default class LoggingS3Api { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'acl': options['acl'], 'bucket_name': options['bucket_name'], @@ -138,14 +138,14 @@ export default class LoggingS3Api { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - The access key for your S3 account. Not required if `iam_role` is provided. * @param {String} [options.acl] - 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. * @param {String} [options.bucket_name] - The bucket name for S3 account. @@ -383,14 +383,14 @@ export default class LoggingS3Api { * @param {String} options.logging_s3_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - The access key for your S3 account. Not required if `iam_role` is provided. * @param {String} [options.acl] - 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. * @param {String} [options.bucket_name] - The bucket name for S3 account. @@ -433,14 +433,14 @@ export default class LoggingS3Api { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'access_key': options['access_key'], 'acl': options['acl'], 'bucket_name': options['bucket_name'], @@ -482,14 +482,14 @@ export default class LoggingS3Api { * @param {String} options.logging_s3_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.access_key] - The access key for your S3 account. Not required if `iam_role` is provided. * @param {String} [options.acl] - 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. * @param {String} [options.bucket_name] - The bucket name for S3 account. diff --git a/src/api/LoggingScalyrApi.js b/src/api/LoggingScalyrApi.js index 2b10a7db4..ea9973c01 100644 --- a/src/api/LoggingScalyrApi.js +++ b/src/api/LoggingScalyrApi.js @@ -18,7 +18,7 @@ import LoggingScalyrResponse from '../model/LoggingScalyrResponse'; /** * LoggingScalyr service. * @module api/LoggingScalyrApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingScalyrApi { @@ -45,9 +45,9 @@ export default class LoggingScalyrApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). * @param {String} [options.project_id='logplex'] - The name of the logfile within Scalyr. @@ -77,9 +77,9 @@ export default class LoggingScalyrApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'region': options['region'], 'token': options['token'], 'project_id': options['project_id'] @@ -112,9 +112,9 @@ export default class LoggingScalyrApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). * @param {String} [options.project_id='logplex'] - The name of the logfile within Scalyr. @@ -344,9 +344,9 @@ export default class LoggingScalyrApi { * @param {String} options.logging_scalyr_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). * @param {String} [options.project_id='logplex'] - The name of the logfile within Scalyr. @@ -381,9 +381,9 @@ export default class LoggingScalyrApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'region': options['region'], 'token': options['token'], 'project_id': options['project_id'] @@ -417,9 +417,9 @@ export default class LoggingScalyrApi { * @param {String} options.logging_scalyr_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.region='US'] - The region that log data will be sent to. * @param {String} [options.token] - The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)). * @param {String} [options.project_id='logplex'] - The name of the logfile within Scalyr. diff --git a/src/api/LoggingSftpApi.js b/src/api/LoggingSftpApi.js index 77e8f43bb..b6559bb3f 100644 --- a/src/api/LoggingSftpApi.js +++ b/src/api/LoggingSftpApi.js @@ -18,7 +18,7 @@ import LoggingSftpResponse from '../model/LoggingSftpResponse'; /** * LoggingSftp service. * @module api/LoggingSftpApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingSftpApi { @@ -45,14 +45,14 @@ export default class LoggingSftpApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=22] - The port number. * @param {String} [options.password] - The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. @@ -87,14 +87,14 @@ export default class LoggingSftpApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'address': options['address'], 'port': options['port'], 'password': options['password'], @@ -132,14 +132,14 @@ export default class LoggingSftpApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=22] - The port number. * @param {String} [options.password] - The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. @@ -374,14 +374,14 @@ export default class LoggingSftpApi { * @param {String} options.logging_sftp_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=22] - The port number. * @param {String} [options.password] - The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. @@ -421,14 +421,14 @@ export default class LoggingSftpApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'timestamp_format': options['timestamp_format'], + 'compression_codec': options['compression_codec'], 'period': options['period'], 'gzip_level': options['gzip_level'], - 'compression_codec': options['compression_codec'], 'address': options['address'], 'port': options['port'], 'password': options['password'], @@ -467,14 +467,14 @@ export default class LoggingSftpApi { * @param {String} options.logging_sftp_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/String} [options.message_type='classic'] - How the message should be formatted. * @param {String} [options.timestamp_format] - A timestamp format + * @param {module:model/String} [options.compression_codec] - 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. * @param {Number} [options.period=3600] - How frequently log files are finalized so they can be available for reading (in seconds). * @param {Number} [options.gzip_level=0] - 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. - * @param {module:model/String} [options.compression_codec] - 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. * @param {String} [options.address] - A hostname or IPv4 address. * @param {Number} [options.port=22] - The port number. * @param {String} [options.password] - The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference. diff --git a/src/api/LoggingSplunkApi.js b/src/api/LoggingSplunkApi.js index a2446d936..cac1b50b5 100644 --- a/src/api/LoggingSplunkApi.js +++ b/src/api/LoggingSplunkApi.js @@ -19,7 +19,7 @@ import LoggingUseTls from '../model/LoggingUseTls'; /** * LoggingSplunk service. * @module api/LoggingSplunkApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingSplunkApi { @@ -46,9 +46,9 @@ export default class LoggingSplunkApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -84,9 +84,9 @@ export default class LoggingSplunkApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -125,9 +125,9 @@ export default class LoggingSplunkApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -363,9 +363,9 @@ export default class LoggingSplunkApi { * @param {String} options.logging_splunk_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -406,9 +406,9 @@ export default class LoggingSplunkApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -448,9 +448,9 @@ export default class LoggingSplunkApi { * @param {String} options.logging_splunk_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. diff --git a/src/api/LoggingSumologicApi.js b/src/api/LoggingSumologicApi.js index 9897758e9..0e5aed334 100644 --- a/src/api/LoggingSumologicApi.js +++ b/src/api/LoggingSumologicApi.js @@ -19,7 +19,7 @@ import LoggingSumologicResponse from '../model/LoggingSumologicResponse'; /** * LoggingSumologic service. * @module api/LoggingSumologicApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingSumologicApi { @@ -46,9 +46,9 @@ export default class LoggingSumologicApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/LoggingMessageType} [options.message_type] * @param {String} [options.url] - The URL to post logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingSumologicResponse} and HTTP response @@ -77,9 +77,9 @@ export default class LoggingSumologicApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'url': options['url'] }; @@ -111,9 +111,9 @@ export default class LoggingSumologicApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/LoggingMessageType} [options.message_type] * @param {String} [options.url] - The URL to post logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingSumologicResponse} @@ -342,9 +342,9 @@ export default class LoggingSumologicApi { * @param {String} options.logging_sumologic_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/LoggingMessageType} [options.message_type] * @param {String} [options.url] - The URL to post logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LoggingSumologicResponse} and HTTP response @@ -378,9 +378,9 @@ export default class LoggingSumologicApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'message_type': options['message_type'], 'url': options['url'] }; @@ -413,9 +413,9 @@ export default class LoggingSumologicApi { * @param {String} options.logging_sumologic_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {module:model/LoggingMessageType} [options.message_type] * @param {String} [options.url] - The URL to post logs to. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LoggingSumologicResponse} diff --git a/src/api/LoggingSyslogApi.js b/src/api/LoggingSyslogApi.js index b14d0ead3..1f2680d5d 100644 --- a/src/api/LoggingSyslogApi.js +++ b/src/api/LoggingSyslogApi.js @@ -20,7 +20,7 @@ import LoggingUseTls from '../model/LoggingUseTls'; /** * LoggingSyslog service. * @module api/LoggingSyslogApi -* @version 5.0.2 +* @version 6.0.0 */ export default class LoggingSyslogApi { @@ -47,9 +47,9 @@ export default class LoggingSyslogApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -87,9 +87,9 @@ export default class LoggingSyslogApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -130,9 +130,9 @@ export default class LoggingSyslogApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -370,9 +370,9 @@ export default class LoggingSyslogApi { * @param {String} options.logging_syslog_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. @@ -415,9 +415,9 @@ export default class LoggingSyslogApi { let formParams = { 'name': options['name'], 'placement': options['placement'], - 'format_version': options['format_version'], 'response_condition': options['response_condition'], 'format': options['format'], + 'format_version': options['format_version'], 'tls_ca_cert': options['tls_ca_cert'], 'tls_client_cert': options['tls_client_cert'], 'tls_client_key': options['tls_client_key'], @@ -459,9 +459,9 @@ export default class LoggingSyslogApi { * @param {String} options.logging_syslog_name - The name for the real-time logging configuration. * @param {String} [options.name] - The name for the real-time logging configuration. * @param {module:model/String} [options.placement] - 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`. - * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.response_condition] - The name of an existing condition in the configured endpoint, or leave blank to always execute. * @param {String} [options.format='%h %l %u %t "%r" %>s %b'] - A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). + * @param {module:model/Number} [options.format_version=FormatVersionEnum.v2] - 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`. * @param {String} [options.tls_ca_cert='null'] - A secure certificate to authenticate a server with. Must be in PEM format. * @param {String} [options.tls_client_cert='null'] - The client certificate used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. diff --git a/src/api/MutualAuthenticationApi.js b/src/api/MutualAuthenticationApi.js index 6268f195a..06804fd3c 100644 --- a/src/api/MutualAuthenticationApi.js +++ b/src/api/MutualAuthenticationApi.js @@ -19,7 +19,7 @@ import MutualAuthenticationsResponse from '../model/MutualAuthenticationsRespons /** * MutualAuthentication service. * @module api/MutualAuthenticationApi -* @version 5.0.2 +* @version 6.0.0 */ export default class MutualAuthenticationApi { diff --git a/src/api/OriginInspectorHistoricalApi.js b/src/api/OriginInspectorHistoricalApi.js index 525723b73..735118682 100644 --- a/src/api/OriginInspectorHistoricalApi.js +++ b/src/api/OriginInspectorHistoricalApi.js @@ -17,7 +17,7 @@ import HistoricalOriginsResponse from '../model/HistoricalOriginsResponse'; /** * OriginInspectorHistorical service. * @module api/OriginInspectorHistoricalApi -* @version 5.0.2 +* @version 6.0.0 */ export default class OriginInspectorHistoricalApi { diff --git a/src/api/OriginInspectorRealtimeApi.js b/src/api/OriginInspectorRealtimeApi.js index a4ac65d41..f70690181 100644 --- a/src/api/OriginInspectorRealtimeApi.js +++ b/src/api/OriginInspectorRealtimeApi.js @@ -17,7 +17,7 @@ import OriginInspector from '../model/OriginInspector'; /** * OriginInspectorRealtime service. * @module api/OriginInspectorRealtimeApi -* @version 5.0.2 +* @version 6.0.0 */ export default class OriginInspectorRealtimeApi { diff --git a/src/api/PackageApi.js b/src/api/PackageApi.js index 111deccec..6ed2b2b8a 100644 --- a/src/api/PackageApi.js +++ b/src/api/PackageApi.js @@ -17,7 +17,7 @@ import PackageResponse from '../model/PackageResponse'; /** * Package service. * @module api/PackageApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PackageApi { diff --git a/src/api/PoolApi.js b/src/api/PoolApi.js index 9e56fae85..4a643af43 100644 --- a/src/api/PoolApi.js +++ b/src/api/PoolApi.js @@ -14,11 +14,12 @@ import ApiClient from "../ApiClient"; import InlineResponse200 from '../model/InlineResponse200'; import PoolResponse from '../model/PoolResponse'; +import PoolResponsePost from '../model/PoolResponsePost'; /** * Pool service. * @module api/PoolApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PoolApi { @@ -48,23 +49,29 @@ export default class PoolApi { * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_cert_hostname='null'] - The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). * @param {module:model/Number} [options.use_tls=0] - Whether to use TLS. + * @param {Date} [options.created_at] - Date and time in ISO 8601 format. + * @param {Date} [options.deleted_at] - Date and time in ISO 8601 format. + * @param {Date} [options.updated_at] - Date and time in ISO 8601 format. + * @param {String} [options.service_id2] + * @param {String} [options.version] * @param {String} [options.name] - Name for the Pool. * @param {String} [options.shield='null'] - 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. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. - * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. - * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. - * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. - * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. * @param {String} [options.tls_ciphers] - List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. * @param {String} [options.tls_sni_hostname] - SNI hostname. Optional. - * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @param {Number} [options.min_tls_version] - Minimum allowed TLS version on connections to this server. Optional. * @param {Number} [options.max_tls_version] - Maximum allowed TLS version on connections to this server. Optional. * @param {String} [options.healthcheck] - Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. * @param {String} [options.comment] - A freeform descriptive note. * @param {module:model/String} [options.type] - What type of load balance group to use. * @param {String} [options.override_host='null'] - 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. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PoolResponse} and HTTP response + * @param {Number} [options.between_bytes_timeout=10000] - 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`. + * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. + * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. + * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. + * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. + * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PoolResponsePost} and HTTP response */ createServerPoolWithHttpInfo(options = {}) { let postBody = null; @@ -93,28 +100,34 @@ export default class PoolApi { 'tls_client_key': options['tls_client_key'], 'tls_cert_hostname': options['tls_cert_hostname'], 'use_tls': options['use_tls'], + 'created_at': options['created_at'], + 'deleted_at': options['deleted_at'], + 'updated_at': options['updated_at'], + 'service_id': options['service_id2'], + 'version': options['version'], 'name': options['name'], 'shield': options['shield'], 'request_condition': options['request_condition'], - 'max_conn_default': options['max_conn_default'], - 'connect_timeout': options['connect_timeout'], - 'first_byte_timeout': options['first_byte_timeout'], - 'quorum': options['quorum'], 'tls_ciphers': options['tls_ciphers'], 'tls_sni_hostname': options['tls_sni_hostname'], - 'tls_check_cert': options['tls_check_cert'], 'min_tls_version': options['min_tls_version'], 'max_tls_version': options['max_tls_version'], 'healthcheck': options['healthcheck'], 'comment': options['comment'], 'type': options['type'], - 'override_host': options['override_host'] + 'override_host': options['override_host'], + 'between_bytes_timeout': options['between_bytes_timeout'], + 'connect_timeout': options['connect_timeout'], + 'first_byte_timeout': options['first_byte_timeout'], + 'max_conn_default': options['max_conn_default'], + 'quorum': options['quorum'], + 'tls_check_cert': options['tls_check_cert'] }; let authNames = ['token']; let contentTypes = ['application/x-www-form-urlencoded']; let accepts = ['application/json']; - let returnType = PoolResponse; + let returnType = PoolResponsePost; let basePaths = ['https://api.fastly.com']; let basePath = basePaths[0]; // by default use the first one in "servers" defined in OpenAPI if (typeof options['_base_path_index'] !== 'undefined') { @@ -141,23 +154,29 @@ export default class PoolApi { * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_cert_hostname='null'] - The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). * @param {module:model/Number} [options.use_tls=0] - Whether to use TLS. + * @param {Date} [options.created_at] - Date and time in ISO 8601 format. + * @param {Date} [options.deleted_at] - Date and time in ISO 8601 format. + * @param {Date} [options.updated_at] - Date and time in ISO 8601 format. + * @param {String} [options.service_id2] + * @param {String} [options.version] * @param {String} [options.name] - Name for the Pool. * @param {String} [options.shield='null'] - 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. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. - * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. - * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. - * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. - * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. * @param {String} [options.tls_ciphers] - List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. * @param {String} [options.tls_sni_hostname] - SNI hostname. Optional. - * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @param {Number} [options.min_tls_version] - Minimum allowed TLS version on connections to this server. Optional. * @param {Number} [options.max_tls_version] - Maximum allowed TLS version on connections to this server. Optional. * @param {String} [options.healthcheck] - Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. * @param {String} [options.comment] - A freeform descriptive note. * @param {module:model/String} [options.type] - What type of load balance group to use. * @param {String} [options.override_host='null'] - 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. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PoolResponse} + * @param {Number} [options.between_bytes_timeout=10000] - 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`. + * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. + * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. + * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. + * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. + * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PoolResponsePost} */ createServerPool(options = {}) { return this.createServerPoolWithHttpInfo(options) @@ -386,22 +405,28 @@ export default class PoolApi { * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_cert_hostname='null'] - The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). * @param {module:model/Number} [options.use_tls=UseTlsEnum.no_tls] - Whether to use TLS. + * @param {Date} [options.created_at] - Date and time in ISO 8601 format. + * @param {Date} [options.deleted_at] - Date and time in ISO 8601 format. + * @param {Date} [options.updated_at] - Date and time in ISO 8601 format. + * @param {String} [options.service_id2] + * @param {String} [options.version] * @param {String} [options.name] - Name for the Pool. * @param {String} [options.shield='null'] - 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. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. - * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. - * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. - * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. - * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. * @param {String} [options.tls_ciphers] - List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. * @param {String} [options.tls_sni_hostname] - SNI hostname. Optional. - * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @param {Number} [options.min_tls_version] - Minimum allowed TLS version on connections to this server. Optional. * @param {Number} [options.max_tls_version] - Maximum allowed TLS version on connections to this server. Optional. * @param {String} [options.healthcheck] - Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. * @param {String} [options.comment] - A freeform descriptive note. * @param {module:model/String} [options.type] - What type of load balance group to use. * @param {String} [options.override_host='null'] - 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. + * @param {Number} [options.between_bytes_timeout=10000] - 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`. + * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. + * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. + * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. + * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. + * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PoolResponse} and HTTP response */ updateServerPoolWithHttpInfo(options = {}) { @@ -436,22 +461,28 @@ export default class PoolApi { 'tls_client_key': options['tls_client_key'], 'tls_cert_hostname': options['tls_cert_hostname'], 'use_tls': options['use_tls'], + 'created_at': options['created_at'], + 'deleted_at': options['deleted_at'], + 'updated_at': options['updated_at'], + 'service_id': options['service_id2'], + 'version': options['version'], 'name': options['name'], 'shield': options['shield'], 'request_condition': options['request_condition'], - 'max_conn_default': options['max_conn_default'], - 'connect_timeout': options['connect_timeout'], - 'first_byte_timeout': options['first_byte_timeout'], - 'quorum': options['quorum'], 'tls_ciphers': options['tls_ciphers'], 'tls_sni_hostname': options['tls_sni_hostname'], - 'tls_check_cert': options['tls_check_cert'], 'min_tls_version': options['min_tls_version'], 'max_tls_version': options['max_tls_version'], 'healthcheck': options['healthcheck'], 'comment': options['comment'], 'type': options['type'], - 'override_host': options['override_host'] + 'override_host': options['override_host'], + 'between_bytes_timeout': options['between_bytes_timeout'], + 'connect_timeout': options['connect_timeout'], + 'first_byte_timeout': options['first_byte_timeout'], + 'max_conn_default': options['max_conn_default'], + 'quorum': options['quorum'], + 'tls_check_cert': options['tls_check_cert'] }; let authNames = ['token']; @@ -485,22 +516,28 @@ export default class PoolApi { * @param {String} [options.tls_client_key='null'] - The client private key used to make authenticated requests. Must be in PEM format. * @param {String} [options.tls_cert_hostname='null'] - The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN). * @param {module:model/Number} [options.use_tls=UseTlsEnum.no_tls] - Whether to use TLS. + * @param {Date} [options.created_at] - Date and time in ISO 8601 format. + * @param {Date} [options.deleted_at] - Date and time in ISO 8601 format. + * @param {Date} [options.updated_at] - Date and time in ISO 8601 format. + * @param {String} [options.service_id2] + * @param {String} [options.version] * @param {String} [options.name] - Name for the Pool. * @param {String} [options.shield='null'] - 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. * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. - * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. - * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. - * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. - * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. * @param {String} [options.tls_ciphers] - List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. * @param {String} [options.tls_sni_hostname] - SNI hostname. Optional. - * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @param {Number} [options.min_tls_version] - Minimum allowed TLS version on connections to this server. Optional. * @param {Number} [options.max_tls_version] - Maximum allowed TLS version on connections to this server. Optional. * @param {String} [options.healthcheck] - Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. * @param {String} [options.comment] - A freeform descriptive note. * @param {module:model/String} [options.type] - What type of load balance group to use. * @param {String} [options.override_host='null'] - 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. + * @param {Number} [options.between_bytes_timeout=10000] - 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`. + * @param {Number} [options.connect_timeout] - How long to wait for a timeout in milliseconds. Optional. + * @param {Number} [options.first_byte_timeout] - How long to wait for the first byte in milliseconds. Optional. + * @param {Number} [options.max_conn_default=200] - Maximum number of connections. Optional. + * @param {Number} [options.quorum=75] - Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up. + * @param {Number} [options.tls_check_cert] - Be strict on checking TLS certs. Optional. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PoolResponse} */ updateServerPool(options = {}) { diff --git a/src/api/PopApi.js b/src/api/PopApi.js index c45c8b226..63725768d 100644 --- a/src/api/PopApi.js +++ b/src/api/PopApi.js @@ -17,7 +17,7 @@ import Pop from '../model/Pop'; /** * Pop service. * @module api/PopApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PopApi { diff --git a/src/api/PublicIpListApi.js b/src/api/PublicIpListApi.js index 5815e449d..df7ff1317 100644 --- a/src/api/PublicIpListApi.js +++ b/src/api/PublicIpListApi.js @@ -17,7 +17,7 @@ import PublicIpList from '../model/PublicIpList'; /** * PublicIpList service. * @module api/PublicIpListApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PublicIpListApi { diff --git a/src/api/PublishApi.js b/src/api/PublishApi.js index b8fe75f69..62e7995c4 100644 --- a/src/api/PublishApi.js +++ b/src/api/PublishApi.js @@ -17,7 +17,7 @@ import PublishRequest from '../model/PublishRequest'; /** * Publish service. * @module api/PublishApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PublishApi { diff --git a/src/api/PurgeApi.js b/src/api/PurgeApi.js index b9cb36b71..2ec716a96 100644 --- a/src/api/PurgeApi.js +++ b/src/api/PurgeApi.js @@ -18,7 +18,7 @@ import PurgeResponse from '../model/PurgeResponse'; /** * Purge service. * @module api/PurgeApi -* @version 5.0.2 +* @version 6.0.0 */ export default class PurgeApi { diff --git a/src/api/RateLimiterApi.js b/src/api/RateLimiterApi.js index 0d2216bb7..f0872d857 100644 --- a/src/api/RateLimiterApi.js +++ b/src/api/RateLimiterApi.js @@ -18,7 +18,7 @@ import RateLimiterResponse from '../model/RateLimiterResponse'; /** * RateLimiter service. * @module api/RateLimiterApi -* @version 5.0.2 +* @version 6.0.0 */ export default class RateLimiterApi { diff --git a/src/api/RealtimeApi.js b/src/api/RealtimeApi.js index 819b9ac95..68c8651e5 100644 --- a/src/api/RealtimeApi.js +++ b/src/api/RealtimeApi.js @@ -17,7 +17,7 @@ import Realtime from '../model/Realtime'; /** * Realtime service. * @module api/RealtimeApi -* @version 5.0.2 +* @version 6.0.0 */ export default class RealtimeApi { diff --git a/src/api/RequestSettingsApi.js b/src/api/RequestSettingsApi.js index 0d8cae976..d773b2edd 100644 --- a/src/api/RequestSettingsApi.js +++ b/src/api/RequestSettingsApi.js @@ -18,7 +18,7 @@ import RequestSettingsResponse from '../model/RequestSettingsResponse'; /** * RequestSettings service. * @module api/RequestSettingsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class RequestSettingsApi { @@ -319,17 +319,17 @@ export default class RequestSettingsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.request_settings_name - Name for the request settings. * @param {module:model/String} [options.action] - Allows you to terminate request handling and immediately perform an action. - * @param {Number} [options.bypass_busy_wait] - Disable collapsed forwarding, so you don't wait for other objects to origin. * @param {String} [options.default_host] - Sets the host header. + * @param {String} [options.hash_keys] - Comma separated list of varnish request object fields that should be in the hash key. + * @param {String} [options.name] - Name for the request settings. + * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. + * @param {module:model/String} [options.xff] - Short for X-Forwarded-For. + * @param {Number} [options.bypass_busy_wait] - Disable collapsed forwarding, so you don't wait for other objects to origin. * @param {Number} [options.force_miss] - Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. * @param {Number} [options.force_ssl] - Forces the request use SSL (redirects a non-SSL to SSL). * @param {Number} [options.geo_headers] - Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. - * @param {String} [options.hash_keys] - Comma separated list of varnish request object fields that should be in the hash key. * @param {Number} [options.max_stale_age] - How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. - * @param {String} [options.name] - Name for the request settings. - * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {Number} [options.timer_support] - Injects the X-Timer info into the request for viewing origin fetch durations. - * @param {module:model/String} [options.xff] - Short for X-Forwarded-For. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RequestSettingsResponse} and HTTP response */ updateRequestSettingsWithHttpInfo(options = {}) { @@ -360,17 +360,17 @@ export default class RequestSettingsApi { }; let formParams = { 'action': options['action'], - 'bypass_busy_wait': options['bypass_busy_wait'], 'default_host': options['default_host'], + 'hash_keys': options['hash_keys'], + 'name': options['name'], + 'request_condition': options['request_condition'], + 'xff': options['xff'], + 'bypass_busy_wait': options['bypass_busy_wait'], 'force_miss': options['force_miss'], 'force_ssl': options['force_ssl'], 'geo_headers': options['geo_headers'], - 'hash_keys': options['hash_keys'], 'max_stale_age': options['max_stale_age'], - 'name': options['name'], - 'request_condition': options['request_condition'], - 'timer_support': options['timer_support'], - 'xff': options['xff'] + 'timer_support': options['timer_support'] }; let authNames = ['token']; @@ -400,17 +400,17 @@ export default class RequestSettingsApi { * @param {Number} options.version_id - Integer identifying a service version. * @param {String} options.request_settings_name - Name for the request settings. * @param {module:model/String} [options.action] - Allows you to terminate request handling and immediately perform an action. - * @param {Number} [options.bypass_busy_wait] - Disable collapsed forwarding, so you don't wait for other objects to origin. * @param {String} [options.default_host] - Sets the host header. + * @param {String} [options.hash_keys] - Comma separated list of varnish request object fields that should be in the hash key. + * @param {String} [options.name] - Name for the request settings. + * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. + * @param {module:model/String} [options.xff] - Short for X-Forwarded-For. + * @param {Number} [options.bypass_busy_wait] - Disable collapsed forwarding, so you don't wait for other objects to origin. * @param {Number} [options.force_miss] - Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable. * @param {Number} [options.force_ssl] - Forces the request use SSL (redirects a non-SSL to SSL). * @param {Number} [options.geo_headers] - Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers. - * @param {String} [options.hash_keys] - Comma separated list of varnish request object fields that should be in the hash key. * @param {Number} [options.max_stale_age] - How old an object is allowed to be to serve stale-if-error or stale-while-revalidate. - * @param {String} [options.name] - Name for the request settings. - * @param {String} [options.request_condition] - Condition which, if met, will select this configuration during a request. Optional. * @param {Number} [options.timer_support] - Injects the X-Timer info into the request for viewing origin fetch durations. - * @param {module:model/String} [options.xff] - Short for X-Forwarded-For. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RequestSettingsResponse} */ updateRequestSettings(options = {}) { diff --git a/src/api/ResourceApi.js b/src/api/ResourceApi.js index dd443b0b6..32a802457 100644 --- a/src/api/ResourceApi.js +++ b/src/api/ResourceApi.js @@ -18,7 +18,7 @@ import ResourceResponse from '../model/ResourceResponse'; /** * Resource service. * @module api/ResourceApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ResourceApi { diff --git a/src/api/ResponseObjectApi.js b/src/api/ResponseObjectApi.js index a67b57a22..999b59a1b 100644 --- a/src/api/ResponseObjectApi.js +++ b/src/api/ResponseObjectApi.js @@ -18,7 +18,7 @@ import ResponseObjectResponse from '../model/ResponseObjectResponse'; /** * ResponseObject service. * @module api/ResponseObjectApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ResponseObjectApi { diff --git a/src/api/SecretStoreApi.js b/src/api/SecretStoreApi.js index a81726f41..a74da718a 100644 --- a/src/api/SecretStoreApi.js +++ b/src/api/SecretStoreApi.js @@ -21,7 +21,7 @@ import SigningKey from '../model/SigningKey'; /** * SecretStore service. * @module api/SecretStoreApi -* @version 5.0.2 +* @version 6.0.0 */ export default class SecretStoreApi { diff --git a/src/api/SecretStoreItemApi.js b/src/api/SecretStoreItemApi.js index 777d65076..385d7219e 100644 --- a/src/api/SecretStoreItemApi.js +++ b/src/api/SecretStoreItemApi.js @@ -19,7 +19,7 @@ import SecretResponse from '../model/SecretResponse'; /** * SecretStoreItem service. * @module api/SecretStoreItemApi -* @version 5.0.2 +* @version 6.0.0 */ export default class SecretStoreItemApi { diff --git a/src/api/ServerApi.js b/src/api/ServerApi.js index bd2d7de38..402a06ebe 100644 --- a/src/api/ServerApi.js +++ b/src/api/ServerApi.js @@ -18,7 +18,7 @@ import ServerResponse from '../model/ServerResponse'; /** * Server service. * @module api/ServerApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ServerApi { diff --git a/src/api/ServiceApi.js b/src/api/ServiceApi.js index 0c5d3e60e..e1281e2be 100644 --- a/src/api/ServiceApi.js +++ b/src/api/ServiceApi.js @@ -21,7 +21,7 @@ import ServiceResponse from '../model/ServiceResponse'; /** * Service service. * @module api/ServiceApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ServiceApi { diff --git a/src/api/ServiceAuthorizationsApi.js b/src/api/ServiceAuthorizationsApi.js index 365b3fe0e..434431a80 100644 --- a/src/api/ServiceAuthorizationsApi.js +++ b/src/api/ServiceAuthorizationsApi.js @@ -20,7 +20,7 @@ import ServiceAuthorizationsResponse from '../model/ServiceAuthorizationsRespons /** * ServiceAuthorizations service. * @module api/ServiceAuthorizationsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class ServiceAuthorizationsApi { diff --git a/src/api/SettingsApi.js b/src/api/SettingsApi.js index 6546e8da9..951359607 100644 --- a/src/api/SettingsApi.js +++ b/src/api/SettingsApi.js @@ -17,7 +17,7 @@ import SettingsResponse from '../model/SettingsResponse'; /** * Settings service. * @module api/SettingsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class SettingsApi { diff --git a/src/api/SnippetApi.js b/src/api/SnippetApi.js index aac47091e..987bbcf4e 100644 --- a/src/api/SnippetApi.js +++ b/src/api/SnippetApi.js @@ -18,7 +18,7 @@ import SnippetResponse from '../model/SnippetResponse'; /** * Snippet service. * @module api/SnippetApi -* @version 5.0.2 +* @version 6.0.0 */ export default class SnippetApi { diff --git a/src/api/StarApi.js b/src/api/StarApi.js index fe154b013..c2ca5179a 100644 --- a/src/api/StarApi.js +++ b/src/api/StarApi.js @@ -19,7 +19,7 @@ import StarResponse from '../model/StarResponse'; /** * Star service. * @module api/StarApi -* @version 5.0.2 +* @version 6.0.0 */ export default class StarApi { diff --git a/src/api/StatsApi.js b/src/api/StatsApi.js index c2736507d..0cb66d900 100644 --- a/src/api/StatsApi.js +++ b/src/api/StatsApi.js @@ -17,7 +17,7 @@ import Stats from '../model/Stats'; /** * Stats service. * @module api/StatsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class StatsApi { diff --git a/src/api/SudoApi.js b/src/api/SudoApi.js index 8fb32a5ba..22f90ffdc 100644 --- a/src/api/SudoApi.js +++ b/src/api/SudoApi.js @@ -19,7 +19,7 @@ import SudoResponse from '../model/SudoResponse'; /** * Sudo service. * @module api/SudoApi -* @version 5.0.2 +* @version 6.0.0 */ export default class SudoApi { diff --git a/src/api/TlsActivationsApi.js b/src/api/TlsActivationsApi.js index 5ebef7d3d..c8d0341b0 100644 --- a/src/api/TlsActivationsApi.js +++ b/src/api/TlsActivationsApi.js @@ -19,7 +19,7 @@ import TlsActivationsResponse from '../model/TlsActivationsResponse'; /** * TlsActivations service. * @module api/TlsActivationsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsActivationsApi { diff --git a/src/api/TlsBulkCertificatesApi.js b/src/api/TlsBulkCertificatesApi.js index 55e252a2f..8f74a2208 100644 --- a/src/api/TlsBulkCertificatesApi.js +++ b/src/api/TlsBulkCertificatesApi.js @@ -19,7 +19,7 @@ import TlsBulkCertificatesResponse from '../model/TlsBulkCertificatesResponse'; /** * TlsBulkCertificates service. * @module api/TlsBulkCertificatesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsBulkCertificatesApi { diff --git a/src/api/TlsCertificatesApi.js b/src/api/TlsCertificatesApi.js index 276ff593e..e43e74a43 100644 --- a/src/api/TlsCertificatesApi.js +++ b/src/api/TlsCertificatesApi.js @@ -19,7 +19,7 @@ import TlsCertificatesResponse from '../model/TlsCertificatesResponse'; /** * TlsCertificates service. * @module api/TlsCertificatesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsCertificatesApi { diff --git a/src/api/TlsConfigurationsApi.js b/src/api/TlsConfigurationsApi.js index 50c1d0300..49e1e43f6 100644 --- a/src/api/TlsConfigurationsApi.js +++ b/src/api/TlsConfigurationsApi.js @@ -19,7 +19,7 @@ import TlsConfigurationsResponse from '../model/TlsConfigurationsResponse'; /** * TlsConfigurations service. * @module api/TlsConfigurationsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsConfigurationsApi { diff --git a/src/api/TlsDomainsApi.js b/src/api/TlsDomainsApi.js index 83754f102..bc6a1887b 100644 --- a/src/api/TlsDomainsApi.js +++ b/src/api/TlsDomainsApi.js @@ -17,7 +17,7 @@ import TlsDomainsResponse from '../model/TlsDomainsResponse'; /** * TlsDomains service. * @module api/TlsDomainsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsDomainsApi { diff --git a/src/api/TlsPrivateKeysApi.js b/src/api/TlsPrivateKeysApi.js index ebc829365..149520252 100644 --- a/src/api/TlsPrivateKeysApi.js +++ b/src/api/TlsPrivateKeysApi.js @@ -19,7 +19,7 @@ import TlsPrivateKeysResponse from '../model/TlsPrivateKeysResponse'; /** * TlsPrivateKeys service. * @module api/TlsPrivateKeysApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsPrivateKeysApi { diff --git a/src/api/TlsSubscriptionsApi.js b/src/api/TlsSubscriptionsApi.js index af0c1f8d5..eb92dba08 100644 --- a/src/api/TlsSubscriptionsApi.js +++ b/src/api/TlsSubscriptionsApi.js @@ -19,7 +19,7 @@ import TlsSubscriptionsResponse from '../model/TlsSubscriptionsResponse'; /** * TlsSubscriptions service. * @module api/TlsSubscriptionsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TlsSubscriptionsApi { diff --git a/src/api/TokensApi.js b/src/api/TokensApi.js index 4395ae86c..4b3fdc0fe 100644 --- a/src/api/TokensApi.js +++ b/src/api/TokensApi.js @@ -20,7 +20,7 @@ import TokenResponse from '../model/TokenResponse'; /** * Tokens service. * @module api/TokensApi -* @version 5.0.2 +* @version 6.0.0 */ export default class TokensApi { diff --git a/src/api/UserApi.js b/src/api/UserApi.js index ab9e1caaf..d5ff9c712 100644 --- a/src/api/UserApi.js +++ b/src/api/UserApi.js @@ -19,7 +19,7 @@ import UserResponse from '../model/UserResponse'; /** * User service. * @module api/UserApi -* @version 5.0.2 +* @version 6.0.0 */ export default class UserApi { diff --git a/src/api/VclApi.js b/src/api/VclApi.js index 22f9384ba..1ade5fccc 100644 --- a/src/api/VclApi.js +++ b/src/api/VclApi.js @@ -22,7 +22,7 @@ import VclSyntaxHighlightingResponse from '../model/VclSyntaxHighlightingRespons /** * Vcl service. * @module api/VclApi -* @version 5.0.2 +* @version 6.0.0 */ export default class VclApi { diff --git a/src/api/VclDiffApi.js b/src/api/VclDiffApi.js index d09c6729c..97bc6c81a 100644 --- a/src/api/VclDiffApi.js +++ b/src/api/VclDiffApi.js @@ -17,7 +17,7 @@ import VclDiff from '../model/VclDiff'; /** * VclDiff service. * @module api/VclDiffApi -* @version 5.0.2 +* @version 6.0.0 */ export default class VclDiffApi { diff --git a/src/api/VersionApi.js b/src/api/VersionApi.js index 92c10c9da..e07306926 100644 --- a/src/api/VersionApi.js +++ b/src/api/VersionApi.js @@ -20,7 +20,7 @@ import VersionResponse from '../model/VersionResponse'; /** * Version service. * @module api/VersionApi -* @version 5.0.2 +* @version 6.0.0 */ export default class VersionApi { diff --git a/src/api/WafActiveRulesApi.js b/src/api/WafActiveRulesApi.js index dc558f817..139303f20 100644 --- a/src/api/WafActiveRulesApi.js +++ b/src/api/WafActiveRulesApi.js @@ -22,7 +22,7 @@ import WafActiveRulesResponse from '../model/WafActiveRulesResponse'; /** * WafActiveRules service. * @module api/WafActiveRulesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafActiveRulesApi { diff --git a/src/api/WafExclusionsApi.js b/src/api/WafExclusionsApi.js index 190c8a4de..c8e43a2dd 100644 --- a/src/api/WafExclusionsApi.js +++ b/src/api/WafExclusionsApi.js @@ -19,7 +19,7 @@ import WafExclusionsResponse from '../model/WafExclusionsResponse'; /** * WafExclusions service. * @module api/WafExclusionsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafExclusionsApi { diff --git a/src/api/WafFirewallVersionsApi.js b/src/api/WafFirewallVersionsApi.js index 56f62fc81..800ad0e73 100644 --- a/src/api/WafFirewallVersionsApi.js +++ b/src/api/WafFirewallVersionsApi.js @@ -19,7 +19,7 @@ import WafFirewallVersionsResponse from '../model/WafFirewallVersionsResponse'; /** * WafFirewallVersions service. * @module api/WafFirewallVersionsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafFirewallVersionsApi { diff --git a/src/api/WafFirewallsApi.js b/src/api/WafFirewallsApi.js index b672e61bc..7705fc3e9 100644 --- a/src/api/WafFirewallsApi.js +++ b/src/api/WafFirewallsApi.js @@ -19,7 +19,7 @@ import WafFirewallsResponse from '../model/WafFirewallsResponse'; /** * WafFirewalls service. * @module api/WafFirewallsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafFirewallsApi { diff --git a/src/api/WafRuleRevisionsApi.js b/src/api/WafRuleRevisionsApi.js index 3fe70bae1..bd53333a1 100644 --- a/src/api/WafRuleRevisionsApi.js +++ b/src/api/WafRuleRevisionsApi.js @@ -18,7 +18,7 @@ import WafRuleRevisionsResponse from '../model/WafRuleRevisionsResponse'; /** * WafRuleRevisions service. * @module api/WafRuleRevisionsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafRuleRevisionsApi { diff --git a/src/api/WafRulesApi.js b/src/api/WafRulesApi.js index c6540c7d3..3d578f2cc 100644 --- a/src/api/WafRulesApi.js +++ b/src/api/WafRulesApi.js @@ -18,7 +18,7 @@ import WafRulesResponse from '../model/WafRulesResponse'; /** * WafRules service. * @module api/WafRulesApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafRulesApi { diff --git a/src/api/WafTagsApi.js b/src/api/WafTagsApi.js index 83bacff03..b6b523a6c 100644 --- a/src/api/WafTagsApi.js +++ b/src/api/WafTagsApi.js @@ -17,7 +17,7 @@ import WafTagsResponse from '../model/WafTagsResponse'; /** * WafTags service. * @module api/WafTagsApi -* @version 5.0.2 +* @version 6.0.0 */ export default class WafTagsApi { diff --git a/src/index.js b/src/index.js index fc8b421f1..28b81378e 100644 --- a/src/index.js +++ b/src/index.js @@ -91,7 +91,6 @@ import DirectorBackend from './model/DirectorBackend'; import DirectorBackendAllOf from './model/DirectorBackendAllOf'; import DirectorResponse from './model/DirectorResponse'; import Domain from './model/Domain'; -import DomainCheckItem from './model/DomainCheckItem'; import DomainInspector from './model/DomainInspector'; import DomainInspectorEntry from './model/DomainInspectorEntry'; import DomainInspectorEntryDimensions from './model/DomainInspectorEntryDimensions'; @@ -113,6 +112,7 @@ import Gzip from './model/Gzip'; import GzipResponse from './model/GzipResponse'; import Header from './model/Header'; import HeaderResponse from './model/HeaderResponse'; +import HeaderResponseAdditional from './model/HeaderResponseAdditional'; import Healthcheck from './model/Healthcheck'; import HealthcheckResponse from './model/HealthcheckResponse'; import Historical from './model/Historical'; @@ -193,88 +193,73 @@ import LegacyWafUpdateStatus from './model/LegacyWafUpdateStatus'; import LineItemData from './model/LineItemData'; import LineItemDataReadOnlyInvoiceId from './model/LineItemDataReadOnlyInvoiceId'; import LoggingAddressAndPort from './model/LoggingAddressAndPort'; -import LoggingAzureblob from './model/LoggingAzureblob'; -import LoggingAzureblobAllOf from './model/LoggingAzureblobAllOf'; +import LoggingAzureblobAdditional from './model/LoggingAzureblobAdditional'; import LoggingAzureblobResponse from './model/LoggingAzureblobResponse'; -import LoggingBigquery from './model/LoggingBigquery'; -import LoggingBigqueryAllOf from './model/LoggingBigqueryAllOf'; +import LoggingBigqueryAdditional from './model/LoggingBigqueryAdditional'; import LoggingBigqueryResponse from './model/LoggingBigqueryResponse'; -import LoggingCloudfiles from './model/LoggingCloudfiles'; -import LoggingCloudfilesAllOf from './model/LoggingCloudfilesAllOf'; +import LoggingCloudfilesAdditional from './model/LoggingCloudfilesAdditional'; import LoggingCloudfilesResponse from './model/LoggingCloudfilesResponse'; import LoggingCommon from './model/LoggingCommon'; -import LoggingDatadog from './model/LoggingDatadog'; -import LoggingDatadogAllOf from './model/LoggingDatadogAllOf'; +import LoggingCommonResponse from './model/LoggingCommonResponse'; +import LoggingCommonResponseAllOf from './model/LoggingCommonResponseAllOf'; +import LoggingCommonResponseAllOf1 from './model/LoggingCommonResponseAllOf1'; +import LoggingDatadogAdditional from './model/LoggingDatadogAdditional'; import LoggingDatadogResponse from './model/LoggingDatadogResponse'; -import LoggingDigitalocean from './model/LoggingDigitalocean'; -import LoggingDigitaloceanAllOf from './model/LoggingDigitaloceanAllOf'; +import LoggingDigitaloceanAdditional from './model/LoggingDigitaloceanAdditional'; import LoggingDigitaloceanResponse from './model/LoggingDigitaloceanResponse'; -import LoggingElasticsearch from './model/LoggingElasticsearch'; -import LoggingElasticsearchAllOf from './model/LoggingElasticsearchAllOf'; +import LoggingElasticsearchAdditional from './model/LoggingElasticsearchAdditional'; import LoggingElasticsearchResponse from './model/LoggingElasticsearchResponse'; -import LoggingFormatVersion from './model/LoggingFormatVersion'; -import LoggingFtp from './model/LoggingFtp'; -import LoggingFtpAllOf from './model/LoggingFtpAllOf'; +import LoggingFormatVersionInteger from './model/LoggingFormatVersionInteger'; +import LoggingFormatVersionString from './model/LoggingFormatVersionString'; +import LoggingFtpAdditional from './model/LoggingFtpAdditional'; import LoggingFtpResponse from './model/LoggingFtpResponse'; -import LoggingGcs from './model/LoggingGcs'; -import LoggingGcsAllOf from './model/LoggingGcsAllOf'; +import LoggingFtpResponseAllOf from './model/LoggingFtpResponseAllOf'; +import LoggingGcsAdditional from './model/LoggingGcsAdditional'; import LoggingGcsCommon from './model/LoggingGcsCommon'; import LoggingGcsResponse from './model/LoggingGcsResponse'; import LoggingGenericCommon from './model/LoggingGenericCommon'; -import LoggingGooglePubsub from './model/LoggingGooglePubsub'; -import LoggingGooglePubsubAllOf from './model/LoggingGooglePubsubAllOf'; +import LoggingGenericCommonResponse from './model/LoggingGenericCommonResponse'; +import LoggingGenericCommonResponseAllOf from './model/LoggingGenericCommonResponseAllOf'; +import LoggingGenericCommonResponseAllOf1 from './model/LoggingGenericCommonResponseAllOf1'; +import LoggingGooglePubsubAdditional from './model/LoggingGooglePubsubAdditional'; import LoggingGooglePubsubResponse from './model/LoggingGooglePubsubResponse'; -import LoggingHeroku from './model/LoggingHeroku'; -import LoggingHerokuAllOf from './model/LoggingHerokuAllOf'; +import LoggingHerokuAdditional from './model/LoggingHerokuAdditional'; import LoggingHerokuResponse from './model/LoggingHerokuResponse'; -import LoggingHoneycomb from './model/LoggingHoneycomb'; -import LoggingHoneycombAllOf from './model/LoggingHoneycombAllOf'; +import LoggingHoneycombAdditional from './model/LoggingHoneycombAdditional'; import LoggingHoneycombResponse from './model/LoggingHoneycombResponse'; -import LoggingHttps from './model/LoggingHttps'; -import LoggingHttpsAllOf from './model/LoggingHttpsAllOf'; +import LoggingHttpsAdditional from './model/LoggingHttpsAdditional'; import LoggingHttpsResponse from './model/LoggingHttpsResponse'; -import LoggingKafka from './model/LoggingKafka'; -import LoggingKafkaAllOf from './model/LoggingKafkaAllOf'; +import LoggingKafkaAdditional from './model/LoggingKafkaAdditional'; import LoggingKafkaResponse from './model/LoggingKafkaResponse'; -import LoggingKinesis from './model/LoggingKinesis'; +import LoggingKafkaResponsePost from './model/LoggingKafkaResponsePost'; +import LoggingKinesisAdditional from './model/LoggingKinesisAdditional'; import LoggingKinesisResponse from './model/LoggingKinesisResponse'; -import LoggingLogentries from './model/LoggingLogentries'; -import LoggingLogentriesAllOf from './model/LoggingLogentriesAllOf'; +import LoggingLogentriesAdditional from './model/LoggingLogentriesAdditional'; import LoggingLogentriesResponse from './model/LoggingLogentriesResponse'; -import LoggingLoggly from './model/LoggingLoggly'; -import LoggingLogglyAllOf from './model/LoggingLogglyAllOf'; +import LoggingLogglyAdditional from './model/LoggingLogglyAdditional'; import LoggingLogglyResponse from './model/LoggingLogglyResponse'; -import LoggingLogshuttle from './model/LoggingLogshuttle'; -import LoggingLogshuttleAllOf from './model/LoggingLogshuttleAllOf'; +import LoggingLogshuttleAdditional from './model/LoggingLogshuttleAdditional'; import LoggingLogshuttleResponse from './model/LoggingLogshuttleResponse'; import LoggingMessageType from './model/LoggingMessageType'; -import LoggingNewrelic from './model/LoggingNewrelic'; -import LoggingNewrelicAllOf from './model/LoggingNewrelicAllOf'; +import LoggingNewrelicAdditional from './model/LoggingNewrelicAdditional'; import LoggingNewrelicResponse from './model/LoggingNewrelicResponse'; -import LoggingOpenstack from './model/LoggingOpenstack'; -import LoggingOpenstackAllOf from './model/LoggingOpenstackAllOf'; +import LoggingOpenstackAdditional from './model/LoggingOpenstackAdditional'; import LoggingOpenstackResponse from './model/LoggingOpenstackResponse'; -import LoggingPapertrail from './model/LoggingPapertrail'; import LoggingPapertrailResponse from './model/LoggingPapertrailResponse'; import LoggingPlacement from './model/LoggingPlacement'; import LoggingRequestCapsCommon from './model/LoggingRequestCapsCommon'; -import LoggingS3 from './model/LoggingS3'; -import LoggingS3AllOf from './model/LoggingS3AllOf'; +import LoggingS3Additional from './model/LoggingS3Additional'; import LoggingS3Response from './model/LoggingS3Response'; -import LoggingScalyr from './model/LoggingScalyr'; -import LoggingScalyrAllOf from './model/LoggingScalyrAllOf'; +import LoggingScalyrAdditional from './model/LoggingScalyrAdditional'; import LoggingScalyrResponse from './model/LoggingScalyrResponse'; -import LoggingSftp from './model/LoggingSftp'; -import LoggingSftpAllOf from './model/LoggingSftpAllOf'; +import LoggingSftpAdditional from './model/LoggingSftpAdditional'; import LoggingSftpResponse from './model/LoggingSftpResponse'; -import LoggingSplunk from './model/LoggingSplunk'; -import LoggingSplunkAllOf from './model/LoggingSplunkAllOf'; +import LoggingSftpResponseAllOf from './model/LoggingSftpResponseAllOf'; +import LoggingSplunkAdditional from './model/LoggingSplunkAdditional'; import LoggingSplunkResponse from './model/LoggingSplunkResponse'; -import LoggingSumologic from './model/LoggingSumologic'; -import LoggingSumologicAllOf from './model/LoggingSumologicAllOf'; +import LoggingSumologicAdditional from './model/LoggingSumologicAdditional'; import LoggingSumologicResponse from './model/LoggingSumologicResponse'; -import LoggingSyslog from './model/LoggingSyslog'; -import LoggingSyslogAllOf from './model/LoggingSyslogAllOf'; +import LoggingSyslogAdditional from './model/LoggingSyslogAdditional'; import LoggingSyslogResponse from './model/LoggingSyslogResponse'; import LoggingTlsCommon from './model/LoggingTlsCommon'; import LoggingUseTls from './model/LoggingUseTls'; @@ -309,10 +294,12 @@ import PaginationCursorMeta from './model/PaginationCursorMeta'; import PaginationLinks from './model/PaginationLinks'; import PaginationMeta from './model/PaginationMeta'; import Permission from './model/Permission'; -import Pool from './model/Pool'; -import PoolAllOf from './model/PoolAllOf'; +import PoolAdditional from './model/PoolAdditional'; import PoolResponse from './model/PoolResponse'; import PoolResponseAllOf from './model/PoolResponseAllOf'; +import PoolResponseCommon from './model/PoolResponseCommon'; +import PoolResponsePost from './model/PoolResponsePost'; +import PoolResponsePostAllOf from './model/PoolResponsePostAllOf'; import Pop from './model/Pop'; import PopCoordinates from './model/PopCoordinates'; import PublicIpList from './model/PublicIpList'; @@ -427,8 +414,9 @@ import RelationshipsForWafActiveRule from './model/RelationshipsForWafActiveRule import RelationshipsForWafExclusion from './model/RelationshipsForWafExclusion'; import RelationshipsForWafFirewallVersion from './model/RelationshipsForWafFirewallVersion'; import RelationshipsForWafRule from './model/RelationshipsForWafRule'; -import RequestSettings from './model/RequestSettings'; +import RequestSettingsAdditional from './model/RequestSettingsAdditional'; import RequestSettingsResponse from './model/RequestSettingsResponse'; +import RequestSettingsResponseAllOf from './model/RequestSettingsResponseAllOf'; import Resource from './model/Resource'; import ResourceResponse from './model/ResourceResponse'; import ResourceResponseAllOf from './model/ResourceResponseAllOf'; @@ -469,6 +457,7 @@ import ServiceCreateAllOf from './model/ServiceCreateAllOf'; import ServiceDetail from './model/ServiceDetail'; import ServiceDetailAllOf from './model/ServiceDetailAllOf'; import ServiceIdAndVersion from './model/ServiceIdAndVersion'; +import ServiceIdAndVersionString from './model/ServiceIdAndVersionString'; import ServiceInvitation from './model/ServiceInvitation'; import ServiceInvitationData from './model/ServiceInvitationData'; import ServiceInvitationDataAttributes from './model/ServiceInvitationDataAttributes'; @@ -528,7 +517,9 @@ import TlsCertificateResponseData from './model/TlsCertificateResponseData'; import TlsCertificateResponseDataAllOf from './model/TlsCertificateResponseDataAllOf'; import TlsCertificatesResponse from './model/TlsCertificatesResponse'; import TlsCertificatesResponseAllOf from './model/TlsCertificatesResponseAllOf'; -import TlsCommon from './model/TlsCommon'; +import TlsCommonResponse from './model/TlsCommonResponse'; +import TlsCommonResponseAllOf from './model/TlsCommonResponseAllOf'; +import TlsCommonResponseAllOf1 from './model/TlsCommonResponseAllOf1'; import TlsConfiguration from './model/TlsConfiguration'; import TlsConfigurationData from './model/TlsConfigurationData'; import TlsConfigurationDataAttributes from './model/TlsConfigurationDataAttributes'; @@ -559,7 +550,6 @@ import TlsSubscriptionResponse from './model/TlsSubscriptionResponse'; import TlsSubscriptionResponseAttributes from './model/TlsSubscriptionResponseAttributes'; import TlsSubscriptionResponseAttributesAllOf from './model/TlsSubscriptionResponseAttributesAllOf'; import TlsSubscriptionResponseData from './model/TlsSubscriptionResponseData'; -import TlsSubscriptionResponseDataAllOf from './model/TlsSubscriptionResponseDataAllOf'; import TlsSubscriptionsResponse from './model/TlsSubscriptionsResponse'; import TlsSubscriptionsResponseAllOf from './model/TlsSubscriptionsResponseAllOf'; import Token from './model/Token'; @@ -829,7 +819,7 @@ function authenticate (key) { * *

* @module index -* @version 5.0.2 +* @version 6.0.0 */ export { /** @@ -1312,12 +1302,6 @@ export { */ Domain, - /** - * The DomainCheckItem model constructor. - * @property {module:model/DomainCheckItem} - */ - DomainCheckItem, - /** * The DomainInspector model constructor. * @property {module:model/DomainInspector} @@ -1444,6 +1428,12 @@ export { */ HeaderResponse, + /** + * The HeaderResponseAdditional model constructor. + * @property {module:model/HeaderResponseAdditional} + */ + HeaderResponseAdditional, + /** * The Healthcheck model constructor. * @property {module:model/Healthcheck} @@ -1925,16 +1915,10 @@ export { LoggingAddressAndPort, /** - * The LoggingAzureblob model constructor. - * @property {module:model/LoggingAzureblob} - */ - LoggingAzureblob, - - /** - * The LoggingAzureblobAllOf model constructor. - * @property {module:model/LoggingAzureblobAllOf} + * The LoggingAzureblobAdditional model constructor. + * @property {module:model/LoggingAzureblobAdditional} */ - LoggingAzureblobAllOf, + LoggingAzureblobAdditional, /** * The LoggingAzureblobResponse model constructor. @@ -1943,16 +1927,10 @@ export { LoggingAzureblobResponse, /** - * The LoggingBigquery model constructor. - * @property {module:model/LoggingBigquery} + * The LoggingBigqueryAdditional model constructor. + * @property {module:model/LoggingBigqueryAdditional} */ - LoggingBigquery, - - /** - * The LoggingBigqueryAllOf model constructor. - * @property {module:model/LoggingBigqueryAllOf} - */ - LoggingBigqueryAllOf, + LoggingBigqueryAdditional, /** * The LoggingBigqueryResponse model constructor. @@ -1961,16 +1939,10 @@ export { LoggingBigqueryResponse, /** - * The LoggingCloudfiles model constructor. - * @property {module:model/LoggingCloudfiles} + * The LoggingCloudfilesAdditional model constructor. + * @property {module:model/LoggingCloudfilesAdditional} */ - LoggingCloudfiles, - - /** - * The LoggingCloudfilesAllOf model constructor. - * @property {module:model/LoggingCloudfilesAllOf} - */ - LoggingCloudfilesAllOf, + LoggingCloudfilesAdditional, /** * The LoggingCloudfilesResponse model constructor. @@ -1985,52 +1957,52 @@ export { LoggingCommon, /** - * The LoggingDatadog model constructor. - * @property {module:model/LoggingDatadog} + * The LoggingCommonResponse model constructor. + * @property {module:model/LoggingCommonResponse} */ - LoggingDatadog, + LoggingCommonResponse, /** - * The LoggingDatadogAllOf model constructor. - * @property {module:model/LoggingDatadogAllOf} + * The LoggingCommonResponseAllOf model constructor. + * @property {module:model/LoggingCommonResponseAllOf} */ - LoggingDatadogAllOf, + LoggingCommonResponseAllOf, /** - * The LoggingDatadogResponse model constructor. - * @property {module:model/LoggingDatadogResponse} + * The LoggingCommonResponseAllOf1 model constructor. + * @property {module:model/LoggingCommonResponseAllOf1} */ - LoggingDatadogResponse, + LoggingCommonResponseAllOf1, /** - * The LoggingDigitalocean model constructor. - * @property {module:model/LoggingDigitalocean} + * The LoggingDatadogAdditional model constructor. + * @property {module:model/LoggingDatadogAdditional} */ - LoggingDigitalocean, + LoggingDatadogAdditional, /** - * The LoggingDigitaloceanAllOf model constructor. - * @property {module:model/LoggingDigitaloceanAllOf} + * The LoggingDatadogResponse model constructor. + * @property {module:model/LoggingDatadogResponse} */ - LoggingDigitaloceanAllOf, + LoggingDatadogResponse, /** - * The LoggingDigitaloceanResponse model constructor. - * @property {module:model/LoggingDigitaloceanResponse} + * The LoggingDigitaloceanAdditional model constructor. + * @property {module:model/LoggingDigitaloceanAdditional} */ - LoggingDigitaloceanResponse, + LoggingDigitaloceanAdditional, /** - * The LoggingElasticsearch model constructor. - * @property {module:model/LoggingElasticsearch} + * The LoggingDigitaloceanResponse model constructor. + * @property {module:model/LoggingDigitaloceanResponse} */ - LoggingElasticsearch, + LoggingDigitaloceanResponse, /** - * The LoggingElasticsearchAllOf model constructor. - * @property {module:model/LoggingElasticsearchAllOf} + * The LoggingElasticsearchAdditional model constructor. + * @property {module:model/LoggingElasticsearchAdditional} */ - LoggingElasticsearchAllOf, + LoggingElasticsearchAdditional, /** * The LoggingElasticsearchResponse model constructor. @@ -2039,22 +2011,22 @@ export { LoggingElasticsearchResponse, /** - * The LoggingFormatVersion model constructor. - * @property {module:model/LoggingFormatVersion} + * The LoggingFormatVersionInteger model constructor. + * @property {module:model/LoggingFormatVersionInteger} */ - LoggingFormatVersion, + LoggingFormatVersionInteger, /** - * The LoggingFtp model constructor. - * @property {module:model/LoggingFtp} + * The LoggingFormatVersionString model constructor. + * @property {module:model/LoggingFormatVersionString} */ - LoggingFtp, + LoggingFormatVersionString, /** - * The LoggingFtpAllOf model constructor. - * @property {module:model/LoggingFtpAllOf} + * The LoggingFtpAdditional model constructor. + * @property {module:model/LoggingFtpAdditional} */ - LoggingFtpAllOf, + LoggingFtpAdditional, /** * The LoggingFtpResponse model constructor. @@ -2063,16 +2035,16 @@ export { LoggingFtpResponse, /** - * The LoggingGcs model constructor. - * @property {module:model/LoggingGcs} + * The LoggingFtpResponseAllOf model constructor. + * @property {module:model/LoggingFtpResponseAllOf} */ - LoggingGcs, + LoggingFtpResponseAllOf, /** - * The LoggingGcsAllOf model constructor. - * @property {module:model/LoggingGcsAllOf} + * The LoggingGcsAdditional model constructor. + * @property {module:model/LoggingGcsAdditional} */ - LoggingGcsAllOf, + LoggingGcsAdditional, /** * The LoggingGcsCommon model constructor. @@ -2093,52 +2065,52 @@ export { LoggingGenericCommon, /** - * The LoggingGooglePubsub model constructor. - * @property {module:model/LoggingGooglePubsub} + * The LoggingGenericCommonResponse model constructor. + * @property {module:model/LoggingGenericCommonResponse} */ - LoggingGooglePubsub, + LoggingGenericCommonResponse, /** - * The LoggingGooglePubsubAllOf model constructor. - * @property {module:model/LoggingGooglePubsubAllOf} + * The LoggingGenericCommonResponseAllOf model constructor. + * @property {module:model/LoggingGenericCommonResponseAllOf} */ - LoggingGooglePubsubAllOf, + LoggingGenericCommonResponseAllOf, /** - * The LoggingGooglePubsubResponse model constructor. - * @property {module:model/LoggingGooglePubsubResponse} + * The LoggingGenericCommonResponseAllOf1 model constructor. + * @property {module:model/LoggingGenericCommonResponseAllOf1} */ - LoggingGooglePubsubResponse, + LoggingGenericCommonResponseAllOf1, /** - * The LoggingHeroku model constructor. - * @property {module:model/LoggingHeroku} + * The LoggingGooglePubsubAdditional model constructor. + * @property {module:model/LoggingGooglePubsubAdditional} */ - LoggingHeroku, + LoggingGooglePubsubAdditional, /** - * The LoggingHerokuAllOf model constructor. - * @property {module:model/LoggingHerokuAllOf} + * The LoggingGooglePubsubResponse model constructor. + * @property {module:model/LoggingGooglePubsubResponse} */ - LoggingHerokuAllOf, + LoggingGooglePubsubResponse, /** - * The LoggingHerokuResponse model constructor. - * @property {module:model/LoggingHerokuResponse} + * The LoggingHerokuAdditional model constructor. + * @property {module:model/LoggingHerokuAdditional} */ - LoggingHerokuResponse, + LoggingHerokuAdditional, /** - * The LoggingHoneycomb model constructor. - * @property {module:model/LoggingHoneycomb} + * The LoggingHerokuResponse model constructor. + * @property {module:model/LoggingHerokuResponse} */ - LoggingHoneycomb, + LoggingHerokuResponse, /** - * The LoggingHoneycombAllOf model constructor. - * @property {module:model/LoggingHoneycombAllOf} + * The LoggingHoneycombAdditional model constructor. + * @property {module:model/LoggingHoneycombAdditional} */ - LoggingHoneycombAllOf, + LoggingHoneycombAdditional, /** * The LoggingHoneycombResponse model constructor. @@ -2147,16 +2119,10 @@ export { LoggingHoneycombResponse, /** - * The LoggingHttps model constructor. - * @property {module:model/LoggingHttps} + * The LoggingHttpsAdditional model constructor. + * @property {module:model/LoggingHttpsAdditional} */ - LoggingHttps, - - /** - * The LoggingHttpsAllOf model constructor. - * @property {module:model/LoggingHttpsAllOf} - */ - LoggingHttpsAllOf, + LoggingHttpsAdditional, /** * The LoggingHttpsResponse model constructor. @@ -2165,16 +2131,10 @@ export { LoggingHttpsResponse, /** - * The LoggingKafka model constructor. - * @property {module:model/LoggingKafka} - */ - LoggingKafka, - - /** - * The LoggingKafkaAllOf model constructor. - * @property {module:model/LoggingKafkaAllOf} + * The LoggingKafkaAdditional model constructor. + * @property {module:model/LoggingKafkaAdditional} */ - LoggingKafkaAllOf, + LoggingKafkaAdditional, /** * The LoggingKafkaResponse model constructor. @@ -2183,28 +2143,28 @@ export { LoggingKafkaResponse, /** - * The LoggingKinesis model constructor. - * @property {module:model/LoggingKinesis} + * The LoggingKafkaResponsePost model constructor. + * @property {module:model/LoggingKafkaResponsePost} */ - LoggingKinesis, + LoggingKafkaResponsePost, /** - * The LoggingKinesisResponse model constructor. - * @property {module:model/LoggingKinesisResponse} + * The LoggingKinesisAdditional model constructor. + * @property {module:model/LoggingKinesisAdditional} */ - LoggingKinesisResponse, + LoggingKinesisAdditional, /** - * The LoggingLogentries model constructor. - * @property {module:model/LoggingLogentries} + * The LoggingKinesisResponse model constructor. + * @property {module:model/LoggingKinesisResponse} */ - LoggingLogentries, + LoggingKinesisResponse, /** - * The LoggingLogentriesAllOf model constructor. - * @property {module:model/LoggingLogentriesAllOf} + * The LoggingLogentriesAdditional model constructor. + * @property {module:model/LoggingLogentriesAdditional} */ - LoggingLogentriesAllOf, + LoggingLogentriesAdditional, /** * The LoggingLogentriesResponse model constructor. @@ -2213,16 +2173,10 @@ export { LoggingLogentriesResponse, /** - * The LoggingLoggly model constructor. - * @property {module:model/LoggingLoggly} - */ - LoggingLoggly, - - /** - * The LoggingLogglyAllOf model constructor. - * @property {module:model/LoggingLogglyAllOf} + * The LoggingLogglyAdditional model constructor. + * @property {module:model/LoggingLogglyAdditional} */ - LoggingLogglyAllOf, + LoggingLogglyAdditional, /** * The LoggingLogglyResponse model constructor. @@ -2231,16 +2185,10 @@ export { LoggingLogglyResponse, /** - * The LoggingLogshuttle model constructor. - * @property {module:model/LoggingLogshuttle} + * The LoggingLogshuttleAdditional model constructor. + * @property {module:model/LoggingLogshuttleAdditional} */ - LoggingLogshuttle, - - /** - * The LoggingLogshuttleAllOf model constructor. - * @property {module:model/LoggingLogshuttleAllOf} - */ - LoggingLogshuttleAllOf, + LoggingLogshuttleAdditional, /** * The LoggingLogshuttleResponse model constructor. @@ -2255,16 +2203,10 @@ export { LoggingMessageType, /** - * The LoggingNewrelic model constructor. - * @property {module:model/LoggingNewrelic} + * The LoggingNewrelicAdditional model constructor. + * @property {module:model/LoggingNewrelicAdditional} */ - LoggingNewrelic, - - /** - * The LoggingNewrelicAllOf model constructor. - * @property {module:model/LoggingNewrelicAllOf} - */ - LoggingNewrelicAllOf, + LoggingNewrelicAdditional, /** * The LoggingNewrelicResponse model constructor. @@ -2273,16 +2215,10 @@ export { LoggingNewrelicResponse, /** - * The LoggingOpenstack model constructor. - * @property {module:model/LoggingOpenstack} - */ - LoggingOpenstack, - - /** - * The LoggingOpenstackAllOf model constructor. - * @property {module:model/LoggingOpenstackAllOf} + * The LoggingOpenstackAdditional model constructor. + * @property {module:model/LoggingOpenstackAdditional} */ - LoggingOpenstackAllOf, + LoggingOpenstackAdditional, /** * The LoggingOpenstackResponse model constructor. @@ -2290,12 +2226,6 @@ export { */ LoggingOpenstackResponse, - /** - * The LoggingPapertrail model constructor. - * @property {module:model/LoggingPapertrail} - */ - LoggingPapertrail, - /** * The LoggingPapertrailResponse model constructor. * @property {module:model/LoggingPapertrailResponse} @@ -2315,16 +2245,10 @@ export { LoggingRequestCapsCommon, /** - * The LoggingS3 model constructor. - * @property {module:model/LoggingS3} + * The LoggingS3Additional model constructor. + * @property {module:model/LoggingS3Additional} */ - LoggingS3, - - /** - * The LoggingS3AllOf model constructor. - * @property {module:model/LoggingS3AllOf} - */ - LoggingS3AllOf, + LoggingS3Additional, /** * The LoggingS3Response model constructor. @@ -2333,16 +2257,10 @@ export { LoggingS3Response, /** - * The LoggingScalyr model constructor. - * @property {module:model/LoggingScalyr} - */ - LoggingScalyr, - - /** - * The LoggingScalyrAllOf model constructor. - * @property {module:model/LoggingScalyrAllOf} + * The LoggingScalyrAdditional model constructor. + * @property {module:model/LoggingScalyrAdditional} */ - LoggingScalyrAllOf, + LoggingScalyrAdditional, /** * The LoggingScalyrResponse model constructor. @@ -2351,16 +2269,10 @@ export { LoggingScalyrResponse, /** - * The LoggingSftp model constructor. - * @property {module:model/LoggingSftp} - */ - LoggingSftp, - - /** - * The LoggingSftpAllOf model constructor. - * @property {module:model/LoggingSftpAllOf} + * The LoggingSftpAdditional model constructor. + * @property {module:model/LoggingSftpAdditional} */ - LoggingSftpAllOf, + LoggingSftpAdditional, /** * The LoggingSftpResponse model constructor. @@ -2369,16 +2281,16 @@ export { LoggingSftpResponse, /** - * The LoggingSplunk model constructor. - * @property {module:model/LoggingSplunk} + * The LoggingSftpResponseAllOf model constructor. + * @property {module:model/LoggingSftpResponseAllOf} */ - LoggingSplunk, + LoggingSftpResponseAllOf, /** - * The LoggingSplunkAllOf model constructor. - * @property {module:model/LoggingSplunkAllOf} + * The LoggingSplunkAdditional model constructor. + * @property {module:model/LoggingSplunkAdditional} */ - LoggingSplunkAllOf, + LoggingSplunkAdditional, /** * The LoggingSplunkResponse model constructor. @@ -2387,16 +2299,10 @@ export { LoggingSplunkResponse, /** - * The LoggingSumologic model constructor. - * @property {module:model/LoggingSumologic} + * The LoggingSumologicAdditional model constructor. + * @property {module:model/LoggingSumologicAdditional} */ - LoggingSumologic, - - /** - * The LoggingSumologicAllOf model constructor. - * @property {module:model/LoggingSumologicAllOf} - */ - LoggingSumologicAllOf, + LoggingSumologicAdditional, /** * The LoggingSumologicResponse model constructor. @@ -2405,16 +2311,10 @@ export { LoggingSumologicResponse, /** - * The LoggingSyslog model constructor. - * @property {module:model/LoggingSyslog} - */ - LoggingSyslog, - - /** - * The LoggingSyslogAllOf model constructor. - * @property {module:model/LoggingSyslogAllOf} + * The LoggingSyslogAdditional model constructor. + * @property {module:model/LoggingSyslogAdditional} */ - LoggingSyslogAllOf, + LoggingSyslogAdditional, /** * The LoggingSyslogResponse model constructor. @@ -2621,16 +2521,10 @@ export { Permission, /** - * The Pool model constructor. - * @property {module:model/Pool} + * The PoolAdditional model constructor. + * @property {module:model/PoolAdditional} */ - Pool, - - /** - * The PoolAllOf model constructor. - * @property {module:model/PoolAllOf} - */ - PoolAllOf, + PoolAdditional, /** * The PoolResponse model constructor. @@ -2644,6 +2538,24 @@ export { */ PoolResponseAllOf, + /** + * The PoolResponseCommon model constructor. + * @property {module:model/PoolResponseCommon} + */ + PoolResponseCommon, + + /** + * The PoolResponsePost model constructor. + * @property {module:model/PoolResponsePost} + */ + PoolResponsePost, + + /** + * The PoolResponsePostAllOf model constructor. + * @property {module:model/PoolResponsePostAllOf} + */ + PoolResponsePostAllOf, + /** * The Pop model constructor. * @property {module:model/Pop} @@ -3329,10 +3241,10 @@ export { RelationshipsForWafRule, /** - * The RequestSettings model constructor. - * @property {module:model/RequestSettings} + * The RequestSettingsAdditional model constructor. + * @property {module:model/RequestSettingsAdditional} */ - RequestSettings, + RequestSettingsAdditional, /** * The RequestSettingsResponse model constructor. @@ -3340,6 +3252,12 @@ export { */ RequestSettingsResponse, + /** + * The RequestSettingsResponseAllOf model constructor. + * @property {module:model/RequestSettingsResponseAllOf} + */ + RequestSettingsResponseAllOf, + /** * The Resource model constructor. * @property {module:model/Resource} @@ -3580,6 +3498,12 @@ export { */ ServiceIdAndVersion, + /** + * The ServiceIdAndVersionString model constructor. + * @property {module:model/ServiceIdAndVersionString} + */ + ServiceIdAndVersionString, + /** * The ServiceInvitation model constructor. * @property {module:model/ServiceInvitation} @@ -3935,10 +3859,22 @@ export { TlsCertificatesResponseAllOf, /** - * The TlsCommon model constructor. - * @property {module:model/TlsCommon} + * The TlsCommonResponse model constructor. + * @property {module:model/TlsCommonResponse} + */ + TlsCommonResponse, + + /** + * The TlsCommonResponseAllOf model constructor. + * @property {module:model/TlsCommonResponseAllOf} */ - TlsCommon, + TlsCommonResponseAllOf, + + /** + * The TlsCommonResponseAllOf1 model constructor. + * @property {module:model/TlsCommonResponseAllOf1} + */ + TlsCommonResponseAllOf1, /** * The TlsConfiguration model constructor. @@ -4120,12 +4056,6 @@ export { */ TlsSubscriptionResponseData, - /** - * The TlsSubscriptionResponseDataAllOf model constructor. - * @property {module:model/TlsSubscriptionResponseDataAllOf} - */ - TlsSubscriptionResponseDataAllOf, - /** * The TlsSubscriptionsResponse model constructor. * @property {module:model/TlsSubscriptionsResponse} diff --git a/src/model/Acl.js b/src/model/Acl.js index d442fb155..a215dfef3 100644 --- a/src/model/Acl.js +++ b/src/model/Acl.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The Acl model module. * @module model/Acl - * @version 5.0.2 + * @version 6.0.0 */ class Acl { /** diff --git a/src/model/AclEntry.js b/src/model/AclEntry.js index 629b81d1e..fbafd1f60 100644 --- a/src/model/AclEntry.js +++ b/src/model/AclEntry.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The AclEntry model module. * @module model/AclEntry - * @version 5.0.2 + * @version 6.0.0 */ class AclEntry { /** diff --git a/src/model/AclEntryResponse.js b/src/model/AclEntryResponse.js index 452ff1cd9..4a4df74ad 100644 --- a/src/model/AclEntryResponse.js +++ b/src/model/AclEntryResponse.js @@ -18,7 +18,7 @@ import Timestamps from './Timestamps'; /** * The AclEntryResponse model module. * @module model/AclEntryResponse - * @version 5.0.2 + * @version 6.0.0 */ class AclEntryResponse { /** diff --git a/src/model/AclEntryResponseAllOf.js b/src/model/AclEntryResponseAllOf.js index d1996b8cf..776352a18 100644 --- a/src/model/AclEntryResponseAllOf.js +++ b/src/model/AclEntryResponseAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The AclEntryResponseAllOf model module. * @module model/AclEntryResponseAllOf - * @version 5.0.2 + * @version 6.0.0 */ class AclEntryResponseAllOf { /** diff --git a/src/model/AclResponse.js b/src/model/AclResponse.js index 55bf6f9a0..2c4672594 100644 --- a/src/model/AclResponse.js +++ b/src/model/AclResponse.js @@ -18,7 +18,7 @@ import Timestamps from './Timestamps'; /** * The AclResponse model module. * @module model/AclResponse - * @version 5.0.2 + * @version 6.0.0 */ class AclResponse { /** diff --git a/src/model/AclResponseAllOf.js b/src/model/AclResponseAllOf.js index 18740f577..242f8bb2f 100644 --- a/src/model/AclResponseAllOf.js +++ b/src/model/AclResponseAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The AclResponseAllOf model module. * @module model/AclResponseAllOf - * @version 5.0.2 + * @version 6.0.0 */ class AclResponseAllOf { /** diff --git a/src/model/ApexRedirect.js b/src/model/ApexRedirect.js index 26d304fb6..d835d2da1 100644 --- a/src/model/ApexRedirect.js +++ b/src/model/ApexRedirect.js @@ -18,7 +18,7 @@ import Timestamps from './Timestamps'; /** * The ApexRedirect model module. * @module model/ApexRedirect - * @version 5.0.2 + * @version 6.0.0 */ class ApexRedirect { /** diff --git a/src/model/ApexRedirectAllOf.js b/src/model/ApexRedirectAllOf.js index b29d1e7f6..8ebc63bf1 100644 --- a/src/model/ApexRedirectAllOf.js +++ b/src/model/ApexRedirectAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The ApexRedirectAllOf model module. * @module model/ApexRedirectAllOf - * @version 5.0.2 + * @version 6.0.0 */ class ApexRedirectAllOf { /** diff --git a/src/model/AutomationToken.js b/src/model/AutomationToken.js index dfdb62345..c152fcae4 100644 --- a/src/model/AutomationToken.js +++ b/src/model/AutomationToken.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The AutomationToken model module. * @module model/AutomationToken - * @version 5.0.2 + * @version 6.0.0 */ class AutomationToken { /** diff --git a/src/model/AutomationTokenCreateRequest.js b/src/model/AutomationTokenCreateRequest.js index bb18cf7cf..21fefb6d1 100644 --- a/src/model/AutomationTokenCreateRequest.js +++ b/src/model/AutomationTokenCreateRequest.js @@ -16,7 +16,7 @@ import AutomationTokenCreateRequestAttributes from './AutomationTokenCreateReque /** * The AutomationTokenCreateRequest model module. * @module model/AutomationTokenCreateRequest - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenCreateRequest { /** diff --git a/src/model/AutomationTokenCreateRequestAttributes.js b/src/model/AutomationTokenCreateRequestAttributes.js index 7ca5278b2..349f3355a 100644 --- a/src/model/AutomationTokenCreateRequestAttributes.js +++ b/src/model/AutomationTokenCreateRequestAttributes.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The AutomationTokenCreateRequestAttributes model module. * @module model/AutomationTokenCreateRequestAttributes - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenCreateRequestAttributes { /** diff --git a/src/model/AutomationTokenCreateResponse.js b/src/model/AutomationTokenCreateResponse.js index 17a601bb2..12f73e38d 100644 --- a/src/model/AutomationTokenCreateResponse.js +++ b/src/model/AutomationTokenCreateResponse.js @@ -21,7 +21,7 @@ import Timestamps from './Timestamps'; /** * The AutomationTokenCreateResponse model module. * @module model/AutomationTokenCreateResponse - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenCreateResponse { /** diff --git a/src/model/AutomationTokenCreateResponseAllOf.js b/src/model/AutomationTokenCreateResponseAllOf.js index cd86a1d9f..8305f2093 100644 --- a/src/model/AutomationTokenCreateResponseAllOf.js +++ b/src/model/AutomationTokenCreateResponseAllOf.js @@ -18,7 +18,7 @@ import ReadOnlyUserId from './ReadOnlyUserId'; /** * The AutomationTokenCreateResponseAllOf model module. * @module model/AutomationTokenCreateResponseAllOf - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenCreateResponseAllOf { /** diff --git a/src/model/AutomationTokenResponse.js b/src/model/AutomationTokenResponse.js index 2d6ef212c..4248ed911 100644 --- a/src/model/AutomationTokenResponse.js +++ b/src/model/AutomationTokenResponse.js @@ -20,7 +20,7 @@ import Timestamps from './Timestamps'; /** * The AutomationTokenResponse model module. * @module model/AutomationTokenResponse - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenResponse { /** diff --git a/src/model/AutomationTokenResponseAllOf.js b/src/model/AutomationTokenResponseAllOf.js index 91c8fd4a7..145624c44 100644 --- a/src/model/AutomationTokenResponseAllOf.js +++ b/src/model/AutomationTokenResponseAllOf.js @@ -17,7 +17,7 @@ import ReadOnlyId from './ReadOnlyId'; /** * The AutomationTokenResponseAllOf model module. * @module model/AutomationTokenResponseAllOf - * @version 5.0.2 + * @version 6.0.0 */ class AutomationTokenResponseAllOf { /** diff --git a/src/model/Backend.js b/src/model/Backend.js index cc6d7023a..69b59a254 100644 --- a/src/model/Backend.js +++ b/src/model/Backend.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The Backend model module. * @module model/Backend - * @version 5.0.2 + * @version 6.0.0 */ class Backend { /** diff --git a/src/model/BackendResponse.js b/src/model/BackendResponse.js index 87babca52..74c33fde3 100644 --- a/src/model/BackendResponse.js +++ b/src/model/BackendResponse.js @@ -19,7 +19,7 @@ import Timestamps from './Timestamps'; /** * The BackendResponse model module. * @module model/BackendResponse - * @version 5.0.2 + * @version 6.0.0 */ class BackendResponse { /** diff --git a/src/model/BackendResponseAllOf.js b/src/model/BackendResponseAllOf.js index bc05eeff0..5a77e3a5e 100644 --- a/src/model/BackendResponseAllOf.js +++ b/src/model/BackendResponseAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BackendResponseAllOf model module. * @module model/BackendResponseAllOf - * @version 5.0.2 + * @version 6.0.0 */ class BackendResponseAllOf { /** diff --git a/src/model/Batch.js b/src/model/Batch.js index 7858a3e09..3b02bcbdd 100644 --- a/src/model/Batch.js +++ b/src/model/Batch.js @@ -16,7 +16,7 @@ import BatchErrors from './BatchErrors'; /** * The Batch model module. * @module model/Batch - * @version 5.0.2 + * @version 6.0.0 */ class Batch { /** diff --git a/src/model/BatchErrors.js b/src/model/BatchErrors.js index d89f55365..77bb60b48 100644 --- a/src/model/BatchErrors.js +++ b/src/model/BatchErrors.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BatchErrors model module. * @module model/BatchErrors - * @version 5.0.2 + * @version 6.0.0 */ class BatchErrors { /** diff --git a/src/model/Billing.js b/src/model/Billing.js index f9cb234f8..8ba49f51a 100644 --- a/src/model/Billing.js +++ b/src/model/Billing.js @@ -17,7 +17,7 @@ import BillingTotal from './BillingTotal'; /** * The Billing model module. * @module model/Billing - * @version 5.0.2 + * @version 6.0.0 */ class Billing { /** diff --git a/src/model/BillingAddressAttributes.js b/src/model/BillingAddressAttributes.js index 9325c185c..292ccc0f6 100644 --- a/src/model/BillingAddressAttributes.js +++ b/src/model/BillingAddressAttributes.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BillingAddressAttributes model module. * @module model/BillingAddressAttributes - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressAttributes { /** diff --git a/src/model/BillingAddressRequest.js b/src/model/BillingAddressRequest.js index a31133771..86c8ef319 100644 --- a/src/model/BillingAddressRequest.js +++ b/src/model/BillingAddressRequest.js @@ -16,7 +16,7 @@ import BillingAddressRequestData from './BillingAddressRequestData'; /** * The BillingAddressRequest model module. * @module model/BillingAddressRequest - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressRequest { /** diff --git a/src/model/BillingAddressRequestData.js b/src/model/BillingAddressRequestData.js index 32cfea169..1f48ac416 100644 --- a/src/model/BillingAddressRequestData.js +++ b/src/model/BillingAddressRequestData.js @@ -17,7 +17,7 @@ import TypeBillingAddress from './TypeBillingAddress'; /** * The BillingAddressRequestData model module. * @module model/BillingAddressRequestData - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressRequestData { /** diff --git a/src/model/BillingAddressResponse.js b/src/model/BillingAddressResponse.js index e8363c8cb..4f4111ae4 100644 --- a/src/model/BillingAddressResponse.js +++ b/src/model/BillingAddressResponse.js @@ -16,7 +16,7 @@ import BillingAddressResponseData from './BillingAddressResponseData'; /** * The BillingAddressResponse model module. * @module model/BillingAddressResponse - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressResponse { /** diff --git a/src/model/BillingAddressResponseData.js b/src/model/BillingAddressResponseData.js index 0ac505ce9..2f02cc136 100644 --- a/src/model/BillingAddressResponseData.js +++ b/src/model/BillingAddressResponseData.js @@ -18,7 +18,7 @@ import TypeBillingAddress from './TypeBillingAddress'; /** * The BillingAddressResponseData model module. * @module model/BillingAddressResponseData - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressResponseData { /** diff --git a/src/model/BillingAddressVerificationErrorResponse.js b/src/model/BillingAddressVerificationErrorResponse.js index f38aa8341..43d77eb98 100644 --- a/src/model/BillingAddressVerificationErrorResponse.js +++ b/src/model/BillingAddressVerificationErrorResponse.js @@ -16,7 +16,7 @@ import BillingAddressVerificationErrorResponseErrors from './BillingAddressVerif /** * The BillingAddressVerificationErrorResponse model module. * @module model/BillingAddressVerificationErrorResponse - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressVerificationErrorResponse { /** diff --git a/src/model/BillingAddressVerificationErrorResponseErrors.js b/src/model/BillingAddressVerificationErrorResponseErrors.js index 9e107ad1b..422b1a979 100644 --- a/src/model/BillingAddressVerificationErrorResponseErrors.js +++ b/src/model/BillingAddressVerificationErrorResponseErrors.js @@ -16,7 +16,7 @@ import BillingAddressAttributes from './BillingAddressAttributes'; /** * The BillingAddressVerificationErrorResponseErrors model module. * @module model/BillingAddressVerificationErrorResponseErrors - * @version 5.0.2 + * @version 6.0.0 */ class BillingAddressVerificationErrorResponseErrors { /** diff --git a/src/model/BillingEstimateLines.js b/src/model/BillingEstimateLines.js index 59c4a6cbc..9939e266b 100644 --- a/src/model/BillingEstimateLines.js +++ b/src/model/BillingEstimateLines.js @@ -16,7 +16,7 @@ import BillingEstimateLinesLineItems from './BillingEstimateLinesLineItems'; /** * The BillingEstimateLines model module. * @module model/BillingEstimateLines - * @version 5.0.2 + * @version 6.0.0 */ class BillingEstimateLines { /** diff --git a/src/model/BillingEstimateLinesLineItems.js b/src/model/BillingEstimateLinesLineItems.js index e89349e32..f7e690c51 100644 --- a/src/model/BillingEstimateLinesLineItems.js +++ b/src/model/BillingEstimateLinesLineItems.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BillingEstimateLinesLineItems model module. * @module model/BillingEstimateLinesLineItems - * @version 5.0.2 + * @version 6.0.0 */ class BillingEstimateLinesLineItems { /** diff --git a/src/model/BillingEstimateResponse.js b/src/model/BillingEstimateResponse.js index bd0efa215..392919d50 100644 --- a/src/model/BillingEstimateResponse.js +++ b/src/model/BillingEstimateResponse.js @@ -20,7 +20,7 @@ import BillingTotal from './BillingTotal'; /** * The BillingEstimateResponse model module. * @module model/BillingEstimateResponse - * @version 5.0.2 + * @version 6.0.0 */ class BillingEstimateResponse { /** diff --git a/src/model/BillingResponse.js b/src/model/BillingResponse.js index 9119fde61..385468231 100644 --- a/src/model/BillingResponse.js +++ b/src/model/BillingResponse.js @@ -20,7 +20,7 @@ import BillingTotal from './BillingTotal'; /** * The BillingResponse model module. * @module model/BillingResponse - * @version 5.0.2 + * @version 6.0.0 */ class BillingResponse { /** diff --git a/src/model/BillingResponseItemItemsData.js b/src/model/BillingResponseItemItemsData.js index aa13c1f36..409d34178 100644 --- a/src/model/BillingResponseItemItemsData.js +++ b/src/model/BillingResponseItemItemsData.js @@ -16,7 +16,7 @@ import BillingResponseLineItem from './BillingResponseLineItem'; /** * The BillingResponseItemItemsData model module. * @module model/BillingResponseItemItemsData - * @version 5.0.2 + * @version 6.0.0 */ class BillingResponseItemItemsData { /** diff --git a/src/model/BillingResponseLineItem.js b/src/model/BillingResponseLineItem.js index a550411dc..eb2d247e4 100644 --- a/src/model/BillingResponseLineItem.js +++ b/src/model/BillingResponseLineItem.js @@ -18,7 +18,7 @@ import Timestamps from './Timestamps'; /** * The BillingResponseLineItem model module. * @module model/BillingResponseLineItem - * @version 5.0.2 + * @version 6.0.0 */ class BillingResponseLineItem { /** diff --git a/src/model/BillingStatus.js b/src/model/BillingStatus.js index a891e1e1b..edefa4d68 100644 --- a/src/model/BillingStatus.js +++ b/src/model/BillingStatus.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BillingStatus model module. * @module model/BillingStatus - * @version 5.0.2 + * @version 6.0.0 */ class BillingStatus { /** diff --git a/src/model/BillingTotal.js b/src/model/BillingTotal.js index 266ab4698..621a13b82 100644 --- a/src/model/BillingTotal.js +++ b/src/model/BillingTotal.js @@ -16,7 +16,7 @@ import BillingTotalExtras from './BillingTotalExtras'; /** * The BillingTotal model module. * @module model/BillingTotal - * @version 5.0.2 + * @version 6.0.0 */ class BillingTotal { /** diff --git a/src/model/BillingTotalExtras.js b/src/model/BillingTotalExtras.js index 9b235cb35..327aae64d 100644 --- a/src/model/BillingTotalExtras.js +++ b/src/model/BillingTotalExtras.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BillingTotalExtras model module. * @module model/BillingTotalExtras - * @version 5.0.2 + * @version 6.0.0 */ class BillingTotalExtras { /** diff --git a/src/model/BulkUpdateAclEntriesRequest.js b/src/model/BulkUpdateAclEntriesRequest.js index 0977bff1f..07e2dd00d 100644 --- a/src/model/BulkUpdateAclEntriesRequest.js +++ b/src/model/BulkUpdateAclEntriesRequest.js @@ -16,7 +16,7 @@ import BulkUpdateAclEntry from './BulkUpdateAclEntry'; /** * The BulkUpdateAclEntriesRequest model module. * @module model/BulkUpdateAclEntriesRequest - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateAclEntriesRequest { /** diff --git a/src/model/BulkUpdateAclEntry.js b/src/model/BulkUpdateAclEntry.js index 9de2d716b..ff9bbf3c6 100644 --- a/src/model/BulkUpdateAclEntry.js +++ b/src/model/BulkUpdateAclEntry.js @@ -17,7 +17,7 @@ import BulkUpdateAclEntryAllOf from './BulkUpdateAclEntryAllOf'; /** * The BulkUpdateAclEntry model module. * @module model/BulkUpdateAclEntry - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateAclEntry { /** diff --git a/src/model/BulkUpdateAclEntryAllOf.js b/src/model/BulkUpdateAclEntryAllOf.js index bc9b899ac..11caf3929 100644 --- a/src/model/BulkUpdateAclEntryAllOf.js +++ b/src/model/BulkUpdateAclEntryAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BulkUpdateAclEntryAllOf model module. * @module model/BulkUpdateAclEntryAllOf - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateAclEntryAllOf { /** diff --git a/src/model/BulkUpdateConfigStoreItem.js b/src/model/BulkUpdateConfigStoreItem.js index af25acf4a..8d094b35d 100644 --- a/src/model/BulkUpdateConfigStoreItem.js +++ b/src/model/BulkUpdateConfigStoreItem.js @@ -17,7 +17,7 @@ import ConfigStoreItem from './ConfigStoreItem'; /** * The BulkUpdateConfigStoreItem model module. * @module model/BulkUpdateConfigStoreItem - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateConfigStoreItem { /** diff --git a/src/model/BulkUpdateConfigStoreItemAllOf.js b/src/model/BulkUpdateConfigStoreItemAllOf.js index c1c4a6122..5d2817e2d 100644 --- a/src/model/BulkUpdateConfigStoreItemAllOf.js +++ b/src/model/BulkUpdateConfigStoreItemAllOf.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The BulkUpdateConfigStoreItemAllOf model module. * @module model/BulkUpdateConfigStoreItemAllOf - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateConfigStoreItemAllOf { /** diff --git a/src/model/BulkUpdateConfigStoreListRequest.js b/src/model/BulkUpdateConfigStoreListRequest.js index db5786c58..32c9ca9e2 100644 --- a/src/model/BulkUpdateConfigStoreListRequest.js +++ b/src/model/BulkUpdateConfigStoreListRequest.js @@ -16,7 +16,7 @@ import BulkUpdateConfigStoreItem from './BulkUpdateConfigStoreItem'; /** * The BulkUpdateConfigStoreListRequest model module. * @module model/BulkUpdateConfigStoreListRequest - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateConfigStoreListRequest { /** diff --git a/src/model/BulkUpdateDictionaryItem.js b/src/model/BulkUpdateDictionaryItem.js index 841266d74..74596fa6d 100644 --- a/src/model/BulkUpdateDictionaryItem.js +++ b/src/model/BulkUpdateDictionaryItem.js @@ -17,7 +17,7 @@ import DictionaryItem from './DictionaryItem'; /** * The BulkUpdateDictionaryItem model module. * @module model/BulkUpdateDictionaryItem - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateDictionaryItem { /** diff --git a/src/model/BulkUpdateDictionaryListRequest.js b/src/model/BulkUpdateDictionaryListRequest.js index edf91730b..0388d05eb 100644 --- a/src/model/BulkUpdateDictionaryListRequest.js +++ b/src/model/BulkUpdateDictionaryListRequest.js @@ -16,7 +16,7 @@ import BulkUpdateDictionaryItem from './BulkUpdateDictionaryItem'; /** * The BulkUpdateDictionaryListRequest model module. * @module model/BulkUpdateDictionaryListRequest - * @version 5.0.2 + * @version 6.0.0 */ class BulkUpdateDictionaryListRequest { /** diff --git a/src/model/BulkWafActiveRules.js b/src/model/BulkWafActiveRules.js index 0671404b7..f6ff3c8d2 100644 --- a/src/model/BulkWafActiveRules.js +++ b/src/model/BulkWafActiveRules.js @@ -16,7 +16,7 @@ import WafActiveRuleData from './WafActiveRuleData'; /** * The BulkWafActiveRules model module. * @module model/BulkWafActiveRules - * @version 5.0.2 + * @version 6.0.0 */ class BulkWafActiveRules { /** diff --git a/src/model/CacheSetting.js b/src/model/CacheSetting.js index dd878c7d2..fdd839b3d 100644 --- a/src/model/CacheSetting.js +++ b/src/model/CacheSetting.js @@ -15,7 +15,7 @@ import ApiClient from '../ApiClient'; /** * The CacheSetting model module. * @module model/CacheSetting - * @version 5.0.2 + * @version 6.0.0 */ class CacheSetting { /** @@ -56,10 +56,10 @@ class CacheSetting { 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'); } } return obj; @@ -88,13 +88,13 @@ 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; diff --git a/src/model/CacheSettingResponse.js b/src/model/CacheSettingResponse.js index 2efaf492f..074d689f8 100644 --- a/src/model/CacheSettingResponse.js +++ b/src/model/CacheSettingResponse.js @@ -12,24 +12,24 @@ import ApiClient from '../ApiClient'; import CacheSetting from './CacheSetting'; -import ServiceIdAndVersion from './ServiceIdAndVersion'; +import ServiceIdAndVersionString from './ServiceIdAndVersionString'; import Timestamps from './Timestamps'; /** * The CacheSettingResponse model module. * @module model/CacheSettingResponse - * @version 5.0.2 + * @version 6.0.0 */ class CacheSettingResponse { /** * Constructs a new 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 { /**