fastly 3.0.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -12
- data/Gemfile.lock +55 -0
- data/LICENSE +14 -13
- data/README.md +545 -219
- data/RELEASE.md +1 -1
- data/Rakefile +1 -52
- data/SECURITY.md +9 -0
- data/docs/Acl.md +10 -0
- data/docs/AclApi.md +224 -0
- data/docs/AclEntry.md +13 -0
- data/docs/AclEntryApi.md +98 -0
- data/docs/AclEntryResponse.md +19 -0
- data/docs/AclEntryResponseAllOf.md +12 -0
- data/docs/AclResponse.md +16 -0
- data/docs/AclResponseAllOf.md +10 -0
- data/docs/ApexRedirect.md +17 -0
- data/docs/ApexRedirectAllOf.md +12 -0
- data/docs/ApexRedirectApi.md +184 -0
- data/docs/AutomationToken.md +14 -0
- data/docs/AutomationTokenCreateRequest.md +10 -0
- data/docs/AutomationTokenCreateRequestAttributes.md +15 -0
- data/docs/AutomationTokenCreateResponse.md +24 -0
- data/docs/AutomationTokenCreateResponseAllOf.md +17 -0
- data/docs/AutomationTokenResponse.md +23 -0
- data/docs/AutomationTokenResponseAllOf.md +18 -0
- data/docs/AutomationTokensApi.md +209 -0
- data/docs/AwsRegion.md +9 -0
- data/docs/Backend.md +39 -0
- data/docs/BackendApi.md +340 -0
- data/docs/BackendResponse.md +45 -0
- data/docs/BackendResponseAllOf.md +10 -0
- data/docs/Billing.md +17 -0
- data/docs/BillingAddressApi.md +169 -0
- data/docs/BillingAddressAttributes.md +17 -0
- data/docs/BillingAddressRequest.md +11 -0
- data/docs/BillingAddressRequestData.md +11 -0
- data/docs/BillingAddressResponse.md +10 -0
- data/docs/BillingAddressResponseData.md +13 -0
- data/docs/BillingAddressVerificationErrorResponse.md +10 -0
- data/docs/BillingAddressVerificationErrorResponseErrors.md +14 -0
- data/docs/BillingApi.md +136 -0
- data/docs/BillingEstimateResponse.md +18 -0
- data/docs/BillingEstimateResponseAllOf.md +10 -0
- data/docs/BillingEstimateResponseAllOfLine.md +18 -0
- data/docs/BillingEstimateResponseAllOfLines.md +10 -0
- data/docs/BillingResponse.md +18 -0
- data/docs/BillingResponseAllOf.md +10 -0
- data/docs/BillingResponseLineItem.md +29 -0
- data/docs/BillingResponseLineItemAllOf.md +26 -0
- data/docs/BillingStatus.md +11 -0
- data/docs/BillingTotal.md +25 -0
- data/docs/BillingTotalExtras.md +12 -0
- data/docs/BulkUpdateAclEntriesRequest.md +10 -0
- data/docs/BulkUpdateAclEntry.md +15 -0
- data/docs/BulkUpdateAclEntryAllOf.md +11 -0
- data/docs/BulkUpdateDictionaryItem.md +12 -0
- data/docs/BulkUpdateDictionaryItemAllOf.md +10 -0
- data/docs/BulkUpdateDictionaryListRequest.md +10 -0
- data/docs/BulkWafActiveRules.md +10 -0
- data/docs/CacheSetting.md +14 -0
- data/docs/CacheSettingResponse.md +19 -0
- data/docs/CacheSettingsApi.md +240 -0
- data/docs/Condition.md +16 -0
- data/docs/ConditionApi.md +248 -0
- data/docs/ConditionResponse.md +19 -0
- data/docs/Contact.md +15 -0
- data/docs/ContactApi.md +92 -0
- data/docs/ContactResponse.md +19 -0
- data/docs/ContactResponseAllOf.md +10 -0
- data/docs/Content.md +15 -0
- data/docs/Customer.md +33 -0
- data/docs/CustomerApi.md +247 -0
- data/docs/CustomerResponse.md +37 -0
- data/docs/CustomerResponseAllOf.md +10 -0
- data/docs/Dictionary.md +11 -0
- data/docs/DictionaryApi.md +228 -0
- data/docs/DictionaryInfoApi.md +56 -0
- data/docs/DictionaryInfoResponse.md +12 -0
- data/docs/DictionaryItem.md +11 -0
- data/docs/DictionaryItemApi.md +282 -0
- data/docs/DictionaryItemResponse.md +16 -0
- data/docs/DictionaryItemResponseAllOf.md +11 -0
- data/docs/DictionaryResponse.md +17 -0
- data/docs/DictionaryResponseAllOf.md +10 -0
- data/docs/DiffApi.md +58 -0
- data/docs/DiffResponse.md +13 -0
- data/docs/Director.md +17 -0
- data/docs/DirectorApi.md +194 -0
- data/docs/DirectorBackend.md +16 -0
- data/docs/DirectorBackendAllOf.md +11 -0
- data/docs/DirectorBackendApi.md +146 -0
- data/docs/DirectorResponse.md +22 -0
- data/docs/Domain.md +11 -0
- data/docs/DomainApi.md +310 -0
- data/docs/DomainCheckItem.md +11 -0
- data/docs/DomainResponse.md +16 -0
- data/docs/EnabledProduct.md +12 -0
- data/docs/EnabledProductLinks.md +11 -0
- data/docs/EnabledProductProduct.md +11 -0
- data/docs/EnabledProductsApi.md +133 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseData.md +11 -0
- data/docs/Event.md +12 -0
- data/docs/EventAttributes.md +19 -0
- data/docs/EventResponse.md +10 -0
- data/docs/EventsApi.md +104 -0
- data/docs/EventsResponse.md +12 -0
- data/docs/EventsResponseAllOf.md +10 -0
- data/docs/GenericTokenError.md +10 -0
- data/docs/Gzip.md +13 -0
- data/docs/GzipApi.md +236 -0
- data/docs/GzipResponse.md +18 -0
- data/docs/Header.md +21 -0
- data/docs/HeaderApi.md +268 -0
- data/docs/HeaderResponse.md +26 -0
- data/docs/Healthcheck.md +22 -0
- data/docs/HealthcheckApi.md +272 -0
- data/docs/HealthcheckResponse.md +27 -0
- data/docs/Historical.md +12 -0
- data/docs/HistoricalAggregateResponse.md +13 -0
- data/docs/HistoricalAggregateResponseAllOf.md +10 -0
- data/docs/HistoricalApi.md +397 -0
- data/docs/HistoricalFieldAggregateResponse.md +13 -0
- data/docs/HistoricalFieldAggregateResponseAllOf.md +10 -0
- data/docs/HistoricalFieldResponse.md +13 -0
- data/docs/HistoricalFieldResponseAllOf.md +10 -0
- data/docs/HistoricalMeta.md +13 -0
- data/docs/HistoricalRegionsResponse.md +13 -0
- data/docs/HistoricalRegionsResponseAllOf.md +10 -0
- data/docs/HistoricalResponse.md +13 -0
- data/docs/HistoricalResponseAllOf.md +10 -0
- data/docs/HistoricalUsageAggregateResponse.md +13 -0
- data/docs/HistoricalUsageMonthResponse.md +13 -0
- data/docs/HistoricalUsageMonthResponseAllOf.md +10 -0
- data/docs/HistoricalUsageMonthResponseAllOfData.md +12 -0
- data/docs/HistoricalUsageResults.md +12 -0
- data/docs/HistoricalUsageServiceResponse.md +13 -0
- data/docs/HistoricalUsageServiceResponseAllOf.md +10 -0
- data/docs/Http3.md +15 -0
- data/docs/Http3AllOf.md +10 -0
- data/docs/Http3Api.md +146 -0
- data/docs/HttpResponseFormat.md +14 -0
- data/docs/HttpStreamFormat.md +11 -0
- data/docs/IamPermission.md +16 -0
- data/docs/IamPermissionsApi.md +47 -0
- data/docs/IamRole.md +17 -0
- data/docs/IamRoleAllOf.md +15 -0
- data/docs/IamRolesApi.md +167 -0
- data/docs/IamServiceGroup.md +16 -0
- data/docs/IamServiceGroupAllOf.md +14 -0
- data/docs/IamServiceGroupsApi.md +171 -0
- data/docs/IamUserGroup.md +17 -0
- data/docs/IamUserGroupAllOf.md +15 -0
- data/docs/IamUserGroupsApi.md +255 -0
- data/docs/IncludedWithWafActiveRuleItem.md +13 -0
- data/docs/IncludedWithWafExclusionItem.md +12 -0
- data/docs/IncludedWithWafFirewallVersionItem.md +10 -0
- data/docs/IncludedWithWafRuleItem.md +12 -0
- data/docs/InlineObject.md +10 -0
- data/docs/InlineObject1.md +10 -0
- data/docs/InlineResponse200.md +10 -0
- data/docs/InlineResponse2001.md +10 -0
- data/docs/Invitation.md +10 -0
- data/docs/InvitationData.md +12 -0
- data/docs/InvitationDataAttributes.md +13 -0
- data/docs/InvitationResponse.md +10 -0
- data/docs/InvitationResponseAllOf.md +10 -0
- data/docs/InvitationResponseData.md +13 -0
- data/docs/InvitationResponseDataAllOf.md +12 -0
- data/docs/InvitationsApi.md +129 -0
- data/docs/InvitationsResponse.md +12 -0
- data/docs/InvitationsResponseAllOf.md +10 -0
- data/docs/LoggingAddressAndPort.md +11 -0
- data/docs/LoggingAzureblob.md +25 -0
- data/docs/LoggingAzureblobAllOf.md +15 -0
- data/docs/LoggingAzureblobApi.md +284 -0
- data/docs/LoggingAzureblobResponse.md +30 -0
- data/docs/LoggingBigquery.md +21 -0
- data/docs/LoggingBigqueryAllOf.md +15 -0
- data/docs/LoggingBigqueryApi.md +268 -0
- data/docs/LoggingBigqueryResponse.md +26 -0
- data/docs/LoggingCloudfiles.md +25 -0
- data/docs/LoggingCloudfilesAllOf.md +15 -0
- data/docs/LoggingCloudfilesApi.md +284 -0
- data/docs/LoggingCloudfilesResponse.md +30 -0
- data/docs/LoggingCommon.md +14 -0
- data/docs/LoggingDatadog.md +16 -0
- data/docs/LoggingDatadogAllOf.md +12 -0
- data/docs/LoggingDatadogApi.md +248 -0
- data/docs/LoggingDatadogResponse.md +21 -0
- data/docs/LoggingDigitalocean.md +25 -0
- data/docs/LoggingDigitaloceanAllOf.md +15 -0
- data/docs/LoggingDigitaloceanApi.md +284 -0
- data/docs/LoggingDigitaloceanResponse.md +30 -0
- data/docs/LoggingElasticsearch.md +25 -0
- data/docs/LoggingElasticsearchAllOf.md +15 -0
- data/docs/LoggingElasticsearchApi.md +284 -0
- data/docs/LoggingElasticsearchResponse.md +30 -0
- data/docs/LoggingFormatVersion.md +9 -0
- data/docs/LoggingFtp.md +27 -0
- data/docs/LoggingFtpAllOf.md +17 -0
- data/docs/LoggingFtpApi.md +292 -0
- data/docs/LoggingFtpResponse.md +32 -0
- data/docs/LoggingGcs.md +26 -0
- data/docs/LoggingGcsAllOf.md +13 -0
- data/docs/LoggingGcsApi.md +288 -0
- data/docs/LoggingGcsCommon.md +12 -0
- data/docs/LoggingGcsResponse.md +31 -0
- data/docs/LoggingGenericCommon.md +14 -0
- data/docs/LoggingGooglePubsub.md +19 -0
- data/docs/LoggingGooglePubsubAllOf.md +12 -0
- data/docs/LoggingGooglePubsubResponse.md +24 -0
- data/docs/LoggingHeroku.md +16 -0
- data/docs/LoggingHerokuAllOf.md +11 -0
- data/docs/LoggingHerokuApi.md +248 -0
- data/docs/LoggingHerokuResponse.md +21 -0
- data/docs/LoggingHoneycomb.md +16 -0
- data/docs/LoggingHoneycombAllOf.md +12 -0
- data/docs/LoggingHoneycombApi.md +248 -0
- data/docs/LoggingHoneycombResponse.md +21 -0
- data/docs/LoggingHttps.md +27 -0
- data/docs/LoggingHttpsAllOf.md +19 -0
- data/docs/LoggingHttpsApi.md +292 -0
- data/docs/LoggingHttpsResponse.md +32 -0
- data/docs/LoggingKafka.md +28 -0
- data/docs/LoggingKafkaAllOf.md +19 -0
- data/docs/LoggingKafkaApi.md +216 -0
- data/docs/LoggingKafkaResponse.md +33 -0
- data/docs/LoggingKinesis.md +18 -0
- data/docs/LoggingKinesisApi.md +196 -0
- data/docs/LoggingKinesisResponse.md +23 -0
- data/docs/LoggingLogentries.md +18 -0
- data/docs/LoggingLogentriesAllOf.md +13 -0
- data/docs/LoggingLogentriesApi.md +256 -0
- data/docs/LoggingLogentriesResponse.md +23 -0
- data/docs/LoggingLoggly.md +15 -0
- data/docs/LoggingLogglyAllOf.md +10 -0
- data/docs/LoggingLogglyApi.md +244 -0
- data/docs/LoggingLogglyResponse.md +20 -0
- data/docs/LoggingLogshuttle.md +16 -0
- data/docs/LoggingLogshuttleAllOf.md +11 -0
- data/docs/LoggingLogshuttleApi.md +248 -0
- data/docs/LoggingLogshuttleResponse.md +21 -0
- data/docs/LoggingMessageType.md +9 -0
- data/docs/LoggingNewrelic.md +16 -0
- data/docs/LoggingNewrelicAllOf.md +12 -0
- data/docs/LoggingNewrelicApi.md +248 -0
- data/docs/LoggingNewrelicResponse.md +21 -0
- data/docs/LoggingOpenstack.md +25 -0
- data/docs/LoggingOpenstackAllOf.md +15 -0
- data/docs/LoggingOpenstackApi.md +284 -0
- data/docs/LoggingOpenstackResponse.md +30 -0
- data/docs/LoggingPapertrail.md +16 -0
- data/docs/LoggingPapertrailApi.md +248 -0
- data/docs/LoggingPapertrailResponse.md +21 -0
- data/docs/LoggingPlacement.md +9 -0
- data/docs/LoggingPubsubApi.md +260 -0
- data/docs/LoggingRequestCapsCommon.md +11 -0
- data/docs/LoggingS3.md +30 -0
- data/docs/LoggingS3AllOf.md +20 -0
- data/docs/LoggingS3Api.md +304 -0
- data/docs/LoggingS3Response.md +35 -0
- data/docs/LoggingScalyr.md +17 -0
- data/docs/LoggingScalyrAllOf.md +12 -0
- data/docs/LoggingScalyrApi.md +252 -0
- data/docs/LoggingScalyrResponse.md +22 -0
- data/docs/LoggingSftp.md +27 -0
- data/docs/LoggingSftpAllOf.md +16 -0
- data/docs/LoggingSftpApi.md +292 -0
- data/docs/LoggingSftpResponse.md +32 -0
- data/docs/LoggingSplunk.md +23 -0
- data/docs/LoggingSplunkAllOf.md +12 -0
- data/docs/LoggingSplunkApi.md +276 -0
- data/docs/LoggingSplunkResponse.md +28 -0
- data/docs/LoggingSumologic.md +16 -0
- data/docs/LoggingSumologicAllOf.md +11 -0
- data/docs/LoggingSumologicApi.md +248 -0
- data/docs/LoggingSumologicResponse.md +21 -0
- data/docs/LoggingSyslog.md +25 -0
- data/docs/LoggingSyslogAllOf.md +14 -0
- data/docs/LoggingSyslogApi.md +284 -0
- data/docs/LoggingSyslogResponse.md +30 -0
- data/docs/LoggingTlsCommon.md +13 -0
- data/docs/LoggingUseTls.md +9 -0
- data/docs/MutualAuthentication.md +10 -0
- data/docs/MutualAuthenticationApi.md +207 -0
- data/docs/MutualAuthenticationData.md +12 -0
- data/docs/MutualAuthenticationDataAttributes.md +12 -0
- data/docs/MutualAuthenticationResponse.md +10 -0
- data/docs/MutualAuthenticationResponseAttributes.md +13 -0
- data/docs/MutualAuthenticationResponseAttributesAllOf.md +10 -0
- data/docs/MutualAuthenticationResponseData.md +13 -0
- data/docs/MutualAuthenticationResponseDataAllOf.md +11 -0
- data/docs/MutualAuthenticationsResponse.md +12 -0
- data/docs/MutualAuthenticationsResponseAllOf.md +10 -0
- data/docs/Package.md +10 -0
- data/docs/PackageApi.md +98 -0
- data/docs/PackageMetadata.md +15 -0
- data/docs/PackageResponse.md +16 -0
- data/docs/PackageResponseAllOf.md +10 -0
- data/docs/Pagination.md +11 -0
- data/docs/PaginationLinks.md +13 -0
- data/docs/PaginationMeta.md +13 -0
- data/docs/Permission.md +9 -0
- data/docs/Pool.md +30 -0
- data/docs/PoolAllOf.md +25 -0
- data/docs/PoolApi.md +304 -0
- data/docs/PoolResponse.md +36 -0
- data/docs/PoolResponseAllOf.md +10 -0
- data/docs/Pop.md +14 -0
- data/docs/PopApi.md +47 -0
- data/docs/PopCoordinates.md +13 -0
- data/docs/PublicIpList.md +11 -0
- data/docs/PublicIpListApi.md +47 -0
- data/docs/PublishApi.md +54 -0
- data/docs/PublishItem.md +13 -0
- data/docs/PublishItemFormats.md +12 -0
- data/docs/PublishRequest.md +10 -0
- data/docs/PurgeApi.md +178 -0
- data/docs/PurgeKeys.md +10 -0
- data/docs/PurgeResponse.md +11 -0
- data/docs/RateLimiter.md +21 -0
- data/docs/RateLimiterApi.md +130 -0
- data/docs/RateLimiterResponse.md +27 -0
- data/docs/RateLimiterResponse1.md +12 -0
- data/docs/RateLimiterResponseAllOf.md +10 -0
- data/docs/Realtime.md +12 -0
- data/docs/RealtimeApi.md +132 -0
- data/docs/RealtimeEntry.md +12 -0
- data/docs/RealtimeMeasurements.md +218 -0
- data/docs/RelationshipCommonName.md +10 -0
- data/docs/RelationshipCustomer.md +10 -0
- data/docs/RelationshipCustomerCustomer.md +10 -0
- data/docs/RelationshipMemberCustomer.md +11 -0
- data/docs/RelationshipMemberMutualAuthentication.md +11 -0
- data/docs/RelationshipMemberService.md +11 -0
- data/docs/RelationshipMemberServiceInvitation.md +11 -0
- data/docs/RelationshipMemberTlsActivation.md +11 -0
- data/docs/RelationshipMemberTlsBulkCertificate.md +11 -0
- data/docs/RelationshipMemberTlsCertificate.md +11 -0
- data/docs/RelationshipMemberTlsConfiguration.md +11 -0
- data/docs/RelationshipMemberTlsDnsRecord.md +11 -0
- data/docs/RelationshipMemberTlsDomain.md +11 -0
- data/docs/RelationshipMemberTlsPrivateKey.md +11 -0
- data/docs/RelationshipMemberTlsSubscription.md +11 -0
- data/docs/RelationshipMemberWafActiveRule.md +11 -0
- data/docs/RelationshipMemberWafFirewall.md +11 -0
- data/docs/RelationshipMemberWafFirewallVersion.md +11 -0
- data/docs/RelationshipMemberWafRule.md +11 -0
- data/docs/RelationshipMemberWafRuleRevision.md +11 -0
- data/docs/RelationshipMemberWafTag.md +11 -0
- data/docs/RelationshipMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthenticationMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthentications.md +10 -0
- data/docs/RelationshipMutualAuthenticationsMutualAuthentications.md +10 -0
- data/docs/RelationshipService.md +10 -0
- data/docs/RelationshipServiceInvitations.md +10 -0
- data/docs/RelationshipServiceInvitationsCreate.md +10 -0
- data/docs/RelationshipServiceInvitationsCreateServiceInvitations.md +10 -0
- data/docs/RelationshipServiceInvitationsServiceInvitations.md +10 -0
- data/docs/RelationshipServices.md +10 -0
- data/docs/RelationshipServicesServices.md +10 -0
- data/docs/RelationshipTlsActivation.md +10 -0
- data/docs/RelationshipTlsActivationTlsActivation.md +10 -0
- data/docs/RelationshipTlsActivations.md +10 -0
- data/docs/RelationshipTlsBulkCertificate.md +10 -0
- data/docs/RelationshipTlsBulkCertificateTlsBulkCertificate.md +10 -0
- data/docs/RelationshipTlsBulkCertificates.md +10 -0
- data/docs/RelationshipTlsCertificate.md +10 -0
- data/docs/RelationshipTlsCertificateTlsCertificate.md +10 -0
- data/docs/RelationshipTlsCertificates.md +10 -0
- data/docs/RelationshipTlsCertificatesTlsCertificates.md +10 -0
- data/docs/RelationshipTlsConfiguration.md +10 -0
- data/docs/RelationshipTlsConfigurationTlsConfiguration.md +10 -0
- data/docs/RelationshipTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsConfigurationsTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsDnsRecord.md +10 -0
- data/docs/RelationshipTlsDnsRecordDnsRecord.md +10 -0
- data/docs/RelationshipTlsDnsRecords.md +10 -0
- data/docs/RelationshipTlsDomain.md +10 -0
- data/docs/RelationshipTlsDomainTlsDomain.md +10 -0
- data/docs/RelationshipTlsDomains.md +10 -0
- data/docs/RelationshipTlsDomainsTlsDomains.md +10 -0
- data/docs/RelationshipTlsPrivateKey.md +10 -0
- data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +10 -0
- data/docs/RelationshipTlsPrivateKeys.md +10 -0
- data/docs/RelationshipTlsPrivateKeysTlsPrivateKeys.md +10 -0
- data/docs/RelationshipTlsSubscription.md +10 -0
- data/docs/RelationshipTlsSubscriptionTlsSubscription.md +10 -0
- data/docs/RelationshipTlsSubscriptions.md +10 -0
- data/docs/RelationshipUser.md +10 -0
- data/docs/RelationshipUserUser.md +10 -0
- data/docs/RelationshipWafActiveRules.md +10 -0
- data/docs/RelationshipWafActiveRulesWafActiveRules.md +10 -0
- data/docs/RelationshipWafFirewall.md +10 -0
- data/docs/RelationshipWafFirewallVersion.md +10 -0
- data/docs/RelationshipWafFirewallVersionWafFirewallVersion.md +10 -0
- data/docs/RelationshipWafFirewallVersions.md +10 -0
- data/docs/RelationshipWafFirewallWafFirewall.md +10 -0
- data/docs/RelationshipWafRule.md +10 -0
- data/docs/RelationshipWafRuleRevision.md +10 -0
- data/docs/RelationshipWafRuleRevisionWafRuleRevisions.md +10 -0
- data/docs/RelationshipWafRuleRevisions.md +10 -0
- data/docs/RelationshipWafRuleWafRule.md +10 -0
- data/docs/RelationshipWafRules.md +10 -0
- data/docs/RelationshipWafTags.md +10 -0
- data/docs/RelationshipWafTagsWafTags.md +10 -0
- data/docs/RelationshipsForInvitation.md +11 -0
- data/docs/RelationshipsForMutualAuthentication.md +10 -0
- data/docs/RelationshipsForStar.md +11 -0
- data/docs/RelationshipsForTlsActivation.md +10 -0
- data/docs/RelationshipsForTlsBulkCertificate.md +11 -0
- data/docs/RelationshipsForTlsConfiguration.md +10 -0
- data/docs/RelationshipsForTlsCsr.md +10 -0
- data/docs/RelationshipsForTlsDomain.md +11 -0
- data/docs/RelationshipsForTlsPrivateKey.md +11 -0
- data/docs/RelationshipsForTlsSubscription.md +12 -0
- data/docs/RelationshipsForWafActiveRule.md +11 -0
- data/docs/RelationshipsForWafExclusion.md +11 -0
- data/docs/RelationshipsForWafFirewallVersion.md +11 -0
- data/docs/RelationshipsForWafRule.md +11 -0
- data/docs/RequestSettings.md +21 -0
- data/docs/RequestSettingsApi.md +204 -0
- data/docs/RequestSettingsResponse.md +26 -0
- data/docs/Resource.md +10 -0
- data/docs/ResourceApi.md +226 -0
- data/docs/ResourceCreate.md +11 -0
- data/docs/ResourceCreateAllOf.md +10 -0
- data/docs/ResourceResponse.md +19 -0
- data/docs/ResourceResponseAllOf.md +14 -0
- data/docs/ResponseObject.md +16 -0
- data/docs/ResponseObjectApi.md +138 -0
- data/docs/ResponseObjectResponse.md +21 -0
- data/docs/Results.md +216 -0
- data/docs/RoleUser.md +9 -0
- data/docs/SchemasContactResponse.md +19 -0
- data/docs/SchemasSnippetResponse.md +20 -0
- data/docs/SchemasUserResponse.md +23 -0
- data/docs/SchemasVclResponse.md +17 -0
- data/docs/SchemasVersion.md +16 -0
- data/docs/SchemasVersionResponse.md +20 -0
- data/docs/SchemasWafFirewallVersion.md +10 -0
- data/docs/SchemasWafFirewallVersionData.md +11 -0
- data/docs/Server.md +16 -0
- data/docs/ServerApi.md +248 -0
- data/docs/ServerResponse.md +22 -0
- data/docs/ServerResponseAllOf.md +12 -0
- data/docs/Service.md +12 -0
- data/docs/ServiceApi.md +338 -0
- data/docs/ServiceAuthorization.md +10 -0
- data/docs/ServiceAuthorizationData.md +12 -0
- data/docs/ServiceAuthorizationDataAttributes.md +10 -0
- data/docs/ServiceAuthorizationDataRelationships.md +11 -0
- data/docs/ServiceAuthorizationDataRelationshipsUser.md +10 -0
- data/docs/ServiceAuthorizationDataRelationshipsUserData.md +11 -0
- data/docs/ServiceAuthorizationResponse.md +10 -0
- data/docs/ServiceAuthorizationResponseData.md +13 -0
- data/docs/ServiceAuthorizationResponseDataAllOf.md +11 -0
- data/docs/ServiceAuthorizationsApi.md +207 -0
- data/docs/ServiceAuthorizationsResponse.md +12 -0
- data/docs/ServiceAuthorizationsResponseAllOf.md +10 -0
- data/docs/ServiceCreate.md +13 -0
- data/docs/ServiceCreateAllOf.md +10 -0
- data/docs/ServiceDetail.md +22 -0
- data/docs/ServiceDetailAllOf.md +11 -0
- data/docs/ServiceIdAndVersion.md +11 -0
- data/docs/ServiceInvitation.md +10 -0
- data/docs/ServiceInvitationData.md +12 -0
- data/docs/ServiceInvitationDataAttributes.md +10 -0
- data/docs/ServiceInvitationDataRelationships.md +10 -0
- data/docs/ServiceInvitationResponse.md +10 -0
- data/docs/ServiceInvitationResponseAllOf.md +10 -0
- data/docs/ServiceInvitationResponseAllOfData.md +11 -0
- data/docs/ServiceListResponse.md +19 -0
- data/docs/ServiceListResponseAllOf.md +12 -0
- data/docs/ServiceResponse.md +20 -0
- data/docs/ServiceResponseAllOf.md +13 -0
- data/docs/ServiceVersionDetail.md +34 -0
- data/docs/ServiceVersionDetailOrNull.md +34 -0
- data/docs/Settings.md +13 -0
- data/docs/SettingsApi.md +54 -0
- data/docs/SettingsResponse.md +15 -0
- data/docs/Snippet.md +14 -0
- data/docs/SnippetApi.md +278 -0
- data/docs/SnippetResponse.md +20 -0
- data/docs/SnippetResponseAllOf.md +10 -0
- data/docs/Star.md +10 -0
- data/docs/StarApi.md +160 -0
- data/docs/StarData.md +11 -0
- data/docs/StarResponse.md +10 -0
- data/docs/StarResponseAllOf.md +10 -0
- data/docs/Stats.md +10 -0
- data/docs/StatsApi.md +60 -0
- data/docs/Timestamps.md +12 -0
- data/docs/TimestampsNoDelete.md +11 -0
- data/docs/TlsActivation.md +10 -0
- data/docs/TlsActivationData.md +11 -0
- data/docs/TlsActivationResponse.md +10 -0
- data/docs/TlsActivationResponseData.md +13 -0
- data/docs/TlsActivationResponseDataAllOf.md +11 -0
- data/docs/TlsActivationsApi.md +217 -0
- data/docs/TlsActivationsResponse.md +12 -0
- data/docs/TlsActivationsResponseAllOf.md +10 -0
- data/docs/TlsBulkCertificate.md +10 -0
- data/docs/TlsBulkCertificateData.md +12 -0
- data/docs/TlsBulkCertificateDataAttributes.md +12 -0
- data/docs/TlsBulkCertificateResponse.md +10 -0
- data/docs/TlsBulkCertificateResponseAttributes.md +15 -0
- data/docs/TlsBulkCertificateResponseAttributesAllOf.md +12 -0
- data/docs/TlsBulkCertificateResponseData.md +13 -0
- data/docs/TlsBulkCertificateResponseDataAllOf.md +11 -0
- data/docs/TlsBulkCertificatesApi.md +211 -0
- data/docs/TlsBulkCertificatesResponse.md +12 -0
- data/docs/TlsBulkCertificatesResponseAllOf.md +10 -0
- data/docs/TlsCertificate.md +10 -0
- data/docs/TlsCertificateData.md +12 -0
- data/docs/TlsCertificateDataAttributes.md +11 -0
- data/docs/TlsCertificateResponse.md +10 -0
- data/docs/TlsCertificateResponseAttributes.md +19 -0
- data/docs/TlsCertificateResponseAttributesAllOf.md +16 -0
- data/docs/TlsCertificateResponseData.md +13 -0
- data/docs/TlsCertificateResponseDataAllOf.md +11 -0
- data/docs/TlsCertificatesApi.md +215 -0
- data/docs/TlsCertificatesResponse.md +12 -0
- data/docs/TlsCertificatesResponseAllOf.md +10 -0
- data/docs/TlsCommon.md +14 -0
- data/docs/TlsConfiguration.md +10 -0
- data/docs/TlsConfigurationData.md +12 -0
- data/docs/TlsConfigurationDataAttributes.md +10 -0
- data/docs/TlsConfigurationResponse.md +10 -0
- data/docs/TlsConfigurationResponseAttributes.md +16 -0
- data/docs/TlsConfigurationResponseAttributesAllOf.md +13 -0
- data/docs/TlsConfigurationResponseData.md +13 -0
- data/docs/TlsConfigurationResponseDataAllOf.md +11 -0
- data/docs/TlsConfigurationsApi.md +138 -0
- data/docs/TlsConfigurationsResponse.md +12 -0
- data/docs/TlsConfigurationsResponseAllOf.md +10 -0
- data/docs/TlsCsr.md +10 -0
- data/docs/TlsCsrData.md +12 -0
- data/docs/TlsCsrDataAttributes.md +19 -0
- data/docs/TlsCsrResponse.md +10 -0
- data/docs/TlsCsrResponseAttributes.md +10 -0
- data/docs/TlsCsrResponseData.md +13 -0
- data/docs/TlsCsrsApi.md +52 -0
- data/docs/TlsDnsRecord.md +12 -0
- data/docs/TlsDomainData.md +12 -0
- data/docs/TlsDomainsApi.md +64 -0
- data/docs/TlsDomainsResponse.md +12 -0
- data/docs/TlsDomainsResponseAllOf.md +10 -0
- data/docs/TlsPrivateKey.md +10 -0
- data/docs/TlsPrivateKeyData.md +12 -0
- data/docs/TlsPrivateKeyDataAttributes.md +11 -0
- data/docs/TlsPrivateKeyResponse.md +10 -0
- data/docs/TlsPrivateKeyResponseAttributes.md +17 -0
- data/docs/TlsPrivateKeyResponseAttributesAllOf.md +14 -0
- data/docs/TlsPrivateKeyResponseData.md +12 -0
- data/docs/TlsPrivateKeysApi.md +169 -0
- data/docs/TlsPrivateKeysResponse.md +12 -0
- data/docs/TlsPrivateKeysResponseAllOf.md +10 -0
- data/docs/TlsSubscription.md +10 -0
- data/docs/TlsSubscriptionData.md +12 -0
- data/docs/TlsSubscriptionDataAttributes.md +10 -0
- data/docs/TlsSubscriptionResponse.md +10 -0
- data/docs/TlsSubscriptionResponseAttributes.md +13 -0
- data/docs/TlsSubscriptionResponseAttributesAllOf.md +10 -0
- data/docs/TlsSubscriptionResponseData.md +11 -0
- data/docs/TlsSubscriptionResponseDataAllOf.md +11 -0
- data/docs/TlsSubscriptionsApi.md +306 -0
- data/docs/TlsSubscriptionsResponse.md +12 -0
- data/docs/TlsSubscriptionsResponseAllOf.md +10 -0
- data/docs/Token.md +12 -0
- data/docs/TokenCreatedResponse.md +22 -0
- data/docs/TokenCreatedResponseAllOf.md +10 -0
- data/docs/TokenResponse.md +21 -0
- data/docs/TokenResponseAllOf.md +16 -0
- data/docs/TokensApi.md +187 -0
- data/docs/TypeBillingAddress.md +9 -0
- data/docs/TypeContact.md +9 -0
- data/docs/TypeCustomer.md +9 -0
- data/docs/TypeEvent.md +9 -0
- data/docs/TypeInvitation.md +9 -0
- data/docs/TypeMutualAuthentication.md +9 -0
- data/docs/TypeResource.md +9 -0
- data/docs/TypeService.md +9 -0
- data/docs/TypeServiceAuthorization.md +9 -0
- data/docs/TypeServiceInvitation.md +9 -0
- data/docs/TypeStar.md +9 -0
- data/docs/TypeTlsActivation.md +9 -0
- data/docs/TypeTlsBulkCertificate.md +9 -0
- data/docs/TypeTlsCertificate.md +9 -0
- data/docs/TypeTlsConfiguration.md +9 -0
- data/docs/TypeTlsCsr.md +9 -0
- data/docs/TypeTlsDnsRecord.md +9 -0
- data/docs/TypeTlsDomain.md +9 -0
- data/docs/TypeTlsPrivateKey.md +9 -0
- data/docs/TypeTlsSubscription.md +9 -0
- data/docs/TypeUser.md +9 -0
- data/docs/TypeWafActiveRule.md +9 -0
- data/docs/TypeWafExclusion.md +9 -0
- data/docs/TypeWafFirewall.md +9 -0
- data/docs/TypeWafFirewallVersion.md +9 -0
- data/docs/TypeWafRule.md +9 -0
- data/docs/TypeWafRuleRevision.md +9 -0
- data/docs/TypeWafTag.md +9 -0
- data/docs/UpdateBillingAddressRequest.md +11 -0
- data/docs/UpdateBillingAddressRequestData.md +12 -0
- data/docs/User.md +17 -0
- data/docs/UserApi.md +307 -0
- data/docs/UserResponse.md +23 -0
- data/docs/UserResponseAllOf.md +12 -0
- data/docs/ValidatorResult.md +14 -0
- data/docs/ValidatorResultMessages.md +13 -0
- data/docs/Vcl.md +12 -0
- data/docs/VclApi.md +556 -0
- data/docs/VclDiff.md +13 -0
- data/docs/VclDiffApi.md +58 -0
- data/docs/VclResponse.md +17 -0
- data/docs/Version.md +16 -0
- data/docs/VersionApi.md +384 -0
- data/docs/VersionCreateResponse.md +11 -0
- data/docs/VersionDetail.md +23 -0
- data/docs/VersionDetailSettings.md +13 -0
- data/docs/VersionResponse.md +20 -0
- data/docs/VersionResponseAllOf.md +10 -0
- data/docs/WafActiveRule.md +10 -0
- data/docs/WafActiveRuleCreationResponse.md +49 -0
- data/docs/WafActiveRuleData.md +12 -0
- data/docs/WafActiveRuleDataAttributes.md +12 -0
- data/docs/WafActiveRuleResponse.md +10 -0
- data/docs/WafActiveRuleResponseData.md +13 -0
- data/docs/WafActiveRuleResponseDataAllOf.md +12 -0
- data/docs/WafActiveRuleResponseDataAttributes.md +14 -0
- data/docs/WafActiveRuleResponseDataAttributesAllOf.md +11 -0
- data/docs/WafActiveRuleResponseDataRelationships.md +11 -0
- data/docs/WafActiveRulesApi.md +323 -0
- data/docs/WafActiveRulesResponse.md +13 -0
- data/docs/WafActiveRulesResponseAllOf.md +11 -0
- data/docs/WafExclusion.md +10 -0
- data/docs/WafExclusionData.md +12 -0
- data/docs/WafExclusionDataAttributes.md +15 -0
- data/docs/WafExclusionResponse.md +10 -0
- data/docs/WafExclusionResponseData.md +13 -0
- data/docs/WafExclusionResponseDataAllOf.md +12 -0
- data/docs/WafExclusionResponseDataAttributes.md +18 -0
- data/docs/WafExclusionResponseDataAttributesAllOf.md +15 -0
- data/docs/WafExclusionResponseDataRelationships.md +11 -0
- data/docs/WafExclusionsApi.md +235 -0
- data/docs/WafExclusionsResponse.md +13 -0
- data/docs/WafExclusionsResponseAllOf.md +11 -0
- data/docs/WafFirewall.md +10 -0
- data/docs/WafFirewallData.md +11 -0
- data/docs/WafFirewallDataAttributes.md +13 -0
- data/docs/WafFirewallResponse.md +11 -0
- data/docs/WafFirewallResponseData.md +13 -0
- data/docs/WafFirewallResponseDataAllOf.md +12 -0
- data/docs/WafFirewallResponseDataAttributes.md +21 -0
- data/docs/WafFirewallResponseDataAttributesAllOf.md +18 -0
- data/docs/WafFirewallVersion.md +10 -0
- data/docs/WafFirewallVersionData.md +11 -0
- data/docs/WafFirewallVersionDataAttributes.md +40 -0
- data/docs/WafFirewallVersionResponse.md +11 -0
- data/docs/WafFirewallVersionResponseData.md +13 -0
- data/docs/WafFirewallVersionResponseDataAllOf.md +12 -0
- data/docs/WafFirewallVersionResponseDataAttributes.md +24 -0
- data/docs/WafFirewallVersionResponseDataAttributesAllOf.md +21 -0
- data/docs/WafFirewallVersionsApi.md +262 -0
- data/docs/WafFirewallVersionsResponse.md +13 -0
- data/docs/WafFirewallVersionsResponseAllOf.md +11 -0
- data/docs/WafFirewallsApi.md +219 -0
- data/docs/WafFirewallsResponse.md +13 -0
- data/docs/WafFirewallsResponseAllOf.md +11 -0
- data/docs/WafRule.md +12 -0
- data/docs/WafRuleAttributes.md +12 -0
- data/docs/WafRuleResponse.md +11 -0
- data/docs/WafRuleResponseData.md +13 -0
- data/docs/WafRuleResponseDataAllOf.md +10 -0
- data/docs/WafRuleRevision.md +12 -0
- data/docs/WafRuleRevisionAttributes.md +17 -0
- data/docs/WafRuleRevisionOrLatest.md +49 -0
- data/docs/WafRuleRevisionResponse.md +11 -0
- data/docs/WafRuleRevisionResponseData.md +13 -0
- data/docs/WafRuleRevisionResponseDataAllOf.md +10 -0
- data/docs/WafRuleRevisionsApi.md +100 -0
- data/docs/WafRuleRevisionsResponse.md +13 -0
- data/docs/WafRuleRevisionsResponseAllOf.md +11 -0
- data/docs/WafRulesApi.md +104 -0
- data/docs/WafRulesResponse.md +13 -0
- data/docs/WafRulesResponseAllOf.md +11 -0
- data/docs/WafTag.md +12 -0
- data/docs/WafTagAttributes.md +10 -0
- data/docs/WafTagsApi.md +58 -0
- data/docs/WafTagsResponse.md +13 -0
- data/docs/WafTagsResponseAllOf.md +11 -0
- data/docs/WafTagsResponseDataItem.md +13 -0
- data/docs/WsMessageFormat.md +11 -0
- data/fastly.gemspec +28 -14
- data/lib/fastly/api/acl_api.rb +407 -0
- data/lib/fastly/api/acl_entry_api.rb +174 -0
- data/lib/fastly/api/apex_redirect_api.rb +320 -0
- data/lib/fastly/api/automation_tokens_api.rb +340 -0
- data/lib/fastly/api/backend_api.rb +581 -0
- data/lib/fastly/api/billing_address_api.rb +284 -0
- data/lib/fastly/api/billing_api.rb +229 -0
- data/lib/fastly/api/cache_settings_api.rb +439 -0
- data/lib/fastly/api/condition_api.rb +451 -0
- data/lib/fastly/api/contact_api.rb +153 -0
- data/lib/fastly/api/customer_api.rb +409 -0
- data/lib/fastly/api/dictionary_api.rb +413 -0
- data/lib/fastly/api/dictionary_info_api.rb +97 -0
- data/lib/fastly/api/dictionary_item_api.rb +525 -0
- data/lib/fastly/api/diff_api.rb +104 -0
- data/lib/fastly/api/director_api.rb +355 -0
- data/lib/fastly/api/director_backend_api.rb +272 -0
- data/lib/fastly/api/domain_api.rb +560 -0
- data/lib/fastly/api/enabled_products_api.rb +228 -0
- data/lib/fastly/api/events_api.rb +175 -0
- data/lib/fastly/api/gzip_api.rb +425 -0
- data/lib/fastly/api/header_api.rb +489 -0
- data/lib/fastly/api/healthcheck_api.rb +479 -0
- data/lib/fastly/api/historical_api.rb +673 -0
- data/lib/fastly/api/http3_api.rb +257 -0
- data/lib/fastly/api/iam_permissions_api.rb +76 -0
- data/lib/fastly/api/iam_roles_api.rb +277 -0
- data/lib/fastly/api/iam_service_groups_api.rb +291 -0
- data/lib/fastly/api/iam_user_groups_api.rb +445 -0
- data/lib/fastly/api/invitations_api.rb +214 -0
- data/lib/fastly/api/logging_azureblob_api.rb +537 -0
- data/lib/fastly/api/logging_bigquery_api.rb +489 -0
- data/lib/fastly/api/logging_cloudfiles_api.rb +537 -0
- data/lib/fastly/api/logging_datadog_api.rb +467 -0
- data/lib/fastly/api/logging_digitalocean_api.rb +529 -0
- data/lib/fastly/api/logging_elasticsearch_api.rb +513 -0
- data/lib/fastly/api/logging_ftp_api.rb +541 -0
- data/lib/fastly/api/logging_gcs_api.rb +535 -0
- data/lib/fastly/api/logging_heroku_api.rb +459 -0
- data/lib/fastly/api/logging_honeycomb_api.rb +459 -0
- data/lib/fastly/api/logging_https_api.rb +541 -0
- data/lib/fastly/api/logging_kafka_api.rb +396 -0
- data/lib/fastly/api/logging_kinesis_api.rb +346 -0
- data/lib/fastly/api/logging_logentries_api.rb +479 -0
- data/lib/fastly/api/logging_loggly_api.rb +453 -0
- data/lib/fastly/api/logging_logshuttle_api.rb +459 -0
- data/lib/fastly/api/logging_newrelic_api.rb +467 -0
- data/lib/fastly/api/logging_openstack_api.rb +529 -0
- data/lib/fastly/api/logging_papertrail_api.rb +459 -0
- data/lib/fastly/api/logging_pubsub_api.rb +477 -0
- data/lib/fastly/api/logging_s3_api.rb +559 -0
- data/lib/fastly/api/logging_scalyr_api.rb +473 -0
- data/lib/fastly/api/logging_sftp_api.rb +541 -0
- data/lib/fastly/api/logging_splunk_api.rb +501 -0
- data/lib/fastly/api/logging_sumologic_api.rb +459 -0
- data/lib/fastly/api/logging_syslog_api.rb +513 -0
- data/lib/fastly/api/mutual_authentication_api.rb +347 -0
- data/lib/fastly/api/package_api.rb +171 -0
- data/lib/fastly/api/pool_api.rb +559 -0
- data/lib/fastly/api/pop_api.rb +76 -0
- data/lib/fastly/api/public_ip_list_api.rb +76 -0
- data/lib/fastly/api/publish_api.rb +90 -0
- data/lib/fastly/api/purge_api.rb +298 -0
- data/lib/fastly/api/rate_limiter_api.rb +216 -0
- data/lib/fastly/api/realtime_api.rb +223 -0
- data/lib/fastly/api/request_settings_api.rb +370 -0
- data/lib/fastly/api/resource_api.rb +410 -0
- data/lib/fastly/api/response_object_api.rb +244 -0
- data/lib/fastly/api/server_api.rb +459 -0
- data/lib/fastly/api/service_api.rb +577 -0
- data/lib/fastly/api/service_authorizations_api.rb +347 -0
- data/lib/fastly/api/settings_api.rb +90 -0
- data/lib/fastly/api/snippet_api.rb +510 -0
- data/lib/fastly/api/star_api.rb +263 -0
- data/lib/fastly/api/stats_api.rb +95 -0
- data/lib/fastly/api/tls_activations_api.rb +362 -0
- data/lib/fastly/api/tls_bulk_certificates_api.rb +357 -0
- data/lib/fastly/api/tls_certificates_api.rb +363 -0
- data/lib/fastly/api/tls_configurations_api.rb +232 -0
- data/lib/fastly/api/tls_csrs_api.rb +83 -0
- data/lib/fastly/api/tls_domains_api.rb +109 -0
- data/lib/fastly/api/tls_private_keys_api.rb +280 -0
- data/lib/fastly/api/tls_subscriptions_api.rb +527 -0
- data/lib/fastly/api/tokens_api.rb +314 -0
- data/lib/fastly/api/user_api.rb +509 -0
- data/lib/fastly/api/vcl_api.rb +1006 -0
- data/lib/fastly/api/vcl_diff_api.rb +104 -0
- data/lib/fastly/api/version_api.rb +662 -0
- data/lib/fastly/api/waf_active_rules_api.rb +592 -0
- data/lib/fastly/api/waf_exclusions_api.rb +433 -0
- data/lib/fastly/api/waf_firewall_versions_api.rb +460 -0
- data/lib/fastly/api/waf_firewalls_api.rb +377 -0
- data/lib/fastly/api/waf_rule_revisions_api.rb +177 -0
- data/lib/fastly/api/waf_rules_api.rb +171 -0
- data/lib/fastly/api/waf_tags_api.rb +100 -0
- data/lib/fastly/api_client.rb +404 -0
- data/lib/fastly/api_error.rb +55 -0
- data/lib/fastly/configuration.rb +319 -0
- data/lib/fastly/models/acl.rb +217 -0
- data/lib/fastly/models/acl_entry.rb +285 -0
- data/lib/fastly/models/acl_entry_response.rb +354 -0
- data/lib/fastly/models/acl_entry_response_all_of.rb +234 -0
- data/lib/fastly/models/acl_response.rb +287 -0
- data/lib/fastly/models/acl_response_all_of.rb +216 -0
- data/lib/fastly/models/apex_redirect.rb +363 -0
- data/lib/fastly/models/apex_redirect_all_of.rb +303 -0
- data/lib/fastly/models/automation_token.rb +307 -0
- data/lib/fastly/models/automation_token_create_request.rb +216 -0
- data/lib/fastly/models/automation_token_create_request_attributes.rb +317 -0
- data/lib/fastly/models/automation_token_create_response.rb +416 -0
- data/lib/fastly/models/automation_token_create_response_all_of.rb +285 -0
- data/lib/fastly/models/automation_token_response.rb +394 -0
- data/lib/fastly/models/automation_token_response_all_of.rb +295 -0
- data/lib/fastly/models/aws_region.rb +56 -0
- data/lib/fastly/models/backend.rb +527 -0
- data/lib/fastly/models/backend_response.rb +598 -0
- data/lib/fastly/models/backend_response_all_of.rb +217 -0
- data/lib/fastly/models/billing.rb +287 -0
- data/lib/fastly/models/billing_address_attributes.rb +325 -0
- data/lib/fastly/models/billing_address_request.rb +226 -0
- data/lib/fastly/models/billing_address_request_data.rb +227 -0
- data/lib/fastly/models/billing_address_response.rb +216 -0
- data/lib/fastly/models/billing_address_response_data.rb +246 -0
- data/lib/fastly/models/billing_address_verification_error_response.rb +218 -0
- data/lib/fastly/models/billing_address_verification_error_response_errors.rb +275 -0
- data/lib/fastly/models/billing_estimate_response.rb +306 -0
- data/lib/fastly/models/billing_estimate_response_all_of.rb +218 -0
- data/lib/fastly/models/billing_estimate_response_all_of_line.rb +288 -0
- data/lib/fastly/models/billing_estimate_response_all_of_lines.rb +216 -0
- data/lib/fastly/models/billing_response.rb +306 -0
- data/lib/fastly/models/billing_response_all_of.rb +218 -0
- data/lib/fastly/models/billing_response_line_item.rb +406 -0
- data/lib/fastly/models/billing_response_line_item_all_of.rb +365 -0
- data/lib/fastly/models/billing_status.rb +260 -0
- data/lib/fastly/models/billing_total.rb +371 -0
- data/lib/fastly/models/billing_total_extras.rb +237 -0
- data/lib/fastly/models/bulk_update_acl_entries_request.rb +218 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +323 -0
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +259 -0
- data/lib/fastly/models/bulk_update_dictionary_item.rb +278 -0
- data/lib/fastly/models/bulk_update_dictionary_item_all_of.rb +250 -0
- data/lib/fastly/models/bulk_update_dictionary_list_request.rb +218 -0
- data/lib/fastly/models/bulk_waf_active_rules.rb +218 -0
- data/lib/fastly/models/cache_setting.rb +293 -0
- data/lib/fastly/models/cache_setting_response.rb +353 -0
- data/lib/fastly/models/condition.rb +313 -0
- data/lib/fastly/models/condition_response.rb +354 -0
- data/lib/fastly/models/contact.rb +306 -0
- data/lib/fastly/models/contact_response.rb +357 -0
- data/lib/fastly/models/contact_response_all_of.rb +216 -0
- data/lib/fastly/models/content.rb +261 -0
- data/lib/fastly/models/customer.rb +488 -0
- data/lib/fastly/models/customer_response.rb +539 -0
- data/lib/fastly/models/customer_response_all_of.rb +216 -0
- data/lib/fastly/models/dictionary.rb +229 -0
- data/lib/fastly/models/dictionary_info_response.rb +237 -0
- data/lib/fastly/models/dictionary_item.rb +227 -0
- data/lib/fastly/models/dictionary_item_response.rb +287 -0
- data/lib/fastly/models/dictionary_item_response_all_of.rb +225 -0
- data/lib/fastly/models/dictionary_response.rb +299 -0
- data/lib/fastly/models/dictionary_response_all_of.rb +216 -0
- data/lib/fastly/models/diff_response.rb +247 -0
- data/lib/fastly/models/director.rb +357 -0
- data/lib/fastly/models/director_backend.rb +287 -0
- data/lib/fastly/models/director_backend_all_of.rb +227 -0
- data/lib/fastly/models/director_response.rb +417 -0
- data/lib/fastly/models/domain.rb +228 -0
- data/lib/fastly/models/domain_check_item.rb +249 -0
- data/lib/fastly/models/domain_response.rb +288 -0
- data/lib/fastly/models/enabled_product.rb +234 -0
- data/lib/fastly/models/enabled_product_links.rb +225 -0
- data/lib/fastly/models/enabled_product_product.rb +225 -0
- data/lib/fastly/models/error_response.rb +218 -0
- data/lib/fastly/models/error_response_data.rb +225 -0
- data/lib/fastly/models/event.rb +236 -0
- data/lib/fastly/models/event_attributes.rb +338 -0
- data/lib/fastly/models/event_response.rb +216 -0
- data/lib/fastly/models/events_response.rb +244 -0
- data/lib/fastly/models/events_response_all_of.rb +218 -0
- data/lib/fastly/models/generic_token_error.rb +216 -0
- data/lib/fastly/models/gzip.rb +250 -0
- data/lib/fastly/models/gzip_response.rb +310 -0
- data/lib/fastly/models/header.rb +381 -0
- data/lib/fastly/models/header_response.rb +441 -0
- data/lib/fastly/models/healthcheck.rb +340 -0
- data/lib/fastly/models/healthcheck_response.rb +400 -0
- data/lib/fastly/models/historical.rb +237 -0
- data/lib/fastly/models/historical_aggregate_response.rb +256 -0
- data/lib/fastly/models/historical_aggregate_response_all_of.rb +218 -0
- data/lib/fastly/models/historical_field_aggregate_response.rb +256 -0
- data/lib/fastly/models/historical_field_aggregate_response_all_of.rb +218 -0
- data/lib/fastly/models/historical_field_response.rb +256 -0
- data/lib/fastly/models/historical_field_response_all_of.rb +218 -0
- data/lib/fastly/models/historical_meta.rb +244 -0
- data/lib/fastly/models/historical_regions_response.rb +256 -0
- data/lib/fastly/models/historical_regions_response_all_of.rb +218 -0
- data/lib/fastly/models/historical_response.rb +257 -0
- data/lib/fastly/models/historical_response_all_of.rb +219 -0
- data/lib/fastly/models/historical_usage_aggregate_response.rb +254 -0
- data/lib/fastly/models/historical_usage_month_response.rb +254 -0
- data/lib/fastly/models/historical_usage_month_response_all_of.rb +216 -0
- data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +236 -0
- data/lib/fastly/models/historical_usage_results.rb +234 -0
- data/lib/fastly/models/historical_usage_service_response.rb +254 -0
- data/lib/fastly/models/historical_usage_service_response_all_of.rb +216 -0
- data/lib/fastly/models/http3.rb +292 -0
- data/lib/fastly/models/http3_all_of.rb +232 -0
- data/lib/fastly/models/http_response_format.rb +262 -0
- data/lib/fastly/models/http_stream_format.rb +228 -0
- data/lib/fastly/models/iam_permission.rb +277 -0
- data/lib/fastly/models/iam_role.rb +297 -0
- data/lib/fastly/models/iam_role_all_of.rb +267 -0
- data/lib/fastly/models/iam_service_group.rb +287 -0
- data/lib/fastly/models/iam_service_group_all_of.rb +257 -0
- data/lib/fastly/models/iam_user_group.rb +297 -0
- data/lib/fastly/models/iam_user_group_all_of.rb +267 -0
- data/lib/fastly/models/included_with_waf_active_rule_item.rb +266 -0
- data/lib/fastly/models/included_with_waf_exclusion_item.rb +257 -0
- data/lib/fastly/models/included_with_waf_firewall_version_item.rb +236 -0
- data/lib/fastly/models/included_with_waf_rule_item.rb +257 -0
- data/lib/fastly/models/inline_object.rb +221 -0
- data/lib/fastly/models/inline_object1.rb +221 -0
- data/lib/fastly/models/inline_response200.rb +217 -0
- data/lib/fastly/models/inline_response2001.rb +219 -0
- data/lib/fastly/models/invitation.rb +216 -0
- data/lib/fastly/models/invitation_data.rb +236 -0
- data/lib/fastly/models/invitation_data_attributes.rb +280 -0
- data/lib/fastly/models/invitation_response.rb +224 -0
- data/lib/fastly/models/invitation_response_all_of.rb +216 -0
- data/lib/fastly/models/invitation_response_data.rb +253 -0
- data/lib/fastly/models/invitation_response_data_all_of.rb +234 -0
- data/lib/fastly/models/invitations_response.rb +244 -0
- data/lib/fastly/models/invitations_response_all_of.rb +218 -0
- data/lib/fastly/models/logging_address_and_port.rb +229 -0
- data/lib/fastly/models/logging_azureblob.rb +480 -0
- data/lib/fastly/models/logging_azureblob_all_of.rb +288 -0
- data/lib/fastly/models/logging_azureblob_response.rb +531 -0
- data/lib/fastly/models/logging_bigquery.rb +387 -0
- data/lib/fastly/models/logging_bigquery_all_of.rb +268 -0
- data/lib/fastly/models/logging_bigquery_response.rb +438 -0
- data/lib/fastly/models/logging_cloudfiles.rb +478 -0
- data/lib/fastly/models/logging_cloudfiles_all_of.rb +308 -0
- data/lib/fastly/models/logging_cloudfiles_response.rb +529 -0
- data/lib/fastly/models/logging_common.rb +309 -0
- data/lib/fastly/models/logging_datadog.rb +351 -0
- data/lib/fastly/models/logging_datadog_all_of.rb +275 -0
- data/lib/fastly/models/logging_datadog_response.rb +403 -0
- data/lib/fastly/models/logging_digitalocean.rb +467 -0
- data/lib/fastly/models/logging_digitalocean_all_of.rb +275 -0
- data/lib/fastly/models/logging_digitalocean_response.rb +518 -0
- data/lib/fastly/models/logging_elasticsearch.rb +446 -0
- data/lib/fastly/models/logging_elasticsearch_all_of.rb +270 -0
- data/lib/fastly/models/logging_elasticsearch_response.rb +496 -0
- data/lib/fastly/models/logging_format_version.rb +35 -0
- data/lib/fastly/models/logging_ftp.rb +484 -0
- data/lib/fastly/models/logging_ftp_all_of.rb +292 -0
- data/lib/fastly/models/logging_ftp_response.rb +535 -0
- data/lib/fastly/models/logging_gcs.rb +473 -0
- data/lib/fastly/models/logging_gcs_all_of.rb +250 -0
- data/lib/fastly/models/logging_gcs_common.rb +237 -0
- data/lib/fastly/models/logging_gcs_response.rb +523 -0
- data/lib/fastly/models/logging_generic_common.rb +310 -0
- data/lib/fastly/models/logging_google_pubsub.rb +368 -0
- data/lib/fastly/models/logging_google_pubsub_all_of.rb +239 -0
- data/lib/fastly/models/logging_google_pubsub_response.rb +419 -0
- data/lib/fastly/models/logging_heroku.rb +337 -0
- data/lib/fastly/models/logging_heroku_all_of.rb +227 -0
- data/lib/fastly/models/logging_heroku_response.rb +389 -0
- data/lib/fastly/models/logging_honeycomb.rb +335 -0
- data/lib/fastly/models/logging_honeycomb_all_of.rb +237 -0
- data/lib/fastly/models/logging_honeycomb_response.rb +387 -0
- data/lib/fastly/models/logging_https.rb +501 -0
- data/lib/fastly/models/logging_https_all_of.rb +371 -0
- data/lib/fastly/models/logging_https_response.rb +551 -0
- data/lib/fastly/models/logging_kafka.rb +512 -0
- data/lib/fastly/models/logging_kafka_all_of.rb +371 -0
- data/lib/fastly/models/logging_kafka_response.rb +563 -0
- data/lib/fastly/models/logging_kinesis.rb +302 -0
- data/lib/fastly/models/logging_kinesis_response.rb +362 -0
- data/lib/fastly/models/logging_logentries.rb +372 -0
- data/lib/fastly/models/logging_logentries_all_of.rb +284 -0
- data/lib/fastly/models/logging_logentries_response.rb +424 -0
- data/lib/fastly/models/logging_loggly.rb +327 -0
- data/lib/fastly/models/logging_loggly_all_of.rb +217 -0
- data/lib/fastly/models/logging_loggly_response.rb +379 -0
- data/lib/fastly/models/logging_logshuttle.rb +338 -0
- data/lib/fastly/models/logging_logshuttle_all_of.rb +228 -0
- data/lib/fastly/models/logging_logshuttle_response.rb +390 -0
- data/lib/fastly/models/logging_message_type.rb +37 -0
- data/lib/fastly/models/logging_newrelic.rb +351 -0
- data/lib/fastly/models/logging_newrelic_all_of.rb +275 -0
- data/lib/fastly/models/logging_newrelic_response.rb +403 -0
- data/lib/fastly/models/logging_openstack.rb +465 -0
- data/lib/fastly/models/logging_openstack_all_of.rb +273 -0
- data/lib/fastly/models/logging_openstack_response.rb +516 -0
- data/lib/fastly/models/logging_papertrail.rb +339 -0
- data/lib/fastly/models/logging_papertrail_response.rb +391 -0
- data/lib/fastly/models/logging_placement.rb +36 -0
- data/lib/fastly/models/logging_request_caps_common.rb +231 -0
- data/lib/fastly/models/logging_s3.rb +527 -0
- data/lib/fastly/models/logging_s3_all_of.rb +335 -0
- data/lib/fastly/models/logging_s3_response.rb +578 -0
- data/lib/fastly/models/logging_scalyr.rb +363 -0
- data/lib/fastly/models/logging_scalyr_all_of.rb +275 -0
- data/lib/fastly/models/logging_scalyr_response.rb +415 -0
- data/lib/fastly/models/logging_sftp.rb +491 -0
- data/lib/fastly/models/logging_sftp_all_of.rb +288 -0
- data/lib/fastly/models/logging_sftp_response.rb +541 -0
- data/lib/fastly/models/logging_splunk.rb +426 -0
- data/lib/fastly/models/logging_splunk_all_of.rb +238 -0
- data/lib/fastly/models/logging_splunk_response.rb +476 -0
- data/lib/fastly/models/logging_sumologic.rb +338 -0
- data/lib/fastly/models/logging_sumologic_all_of.rb +228 -0
- data/lib/fastly/models/logging_sumologic_response.rb +390 -0
- data/lib/fastly/models/logging_syslog.rb +449 -0
- data/lib/fastly/models/logging_syslog_all_of.rb +263 -0
- data/lib/fastly/models/logging_syslog_response.rb +499 -0
- data/lib/fastly/models/logging_tls_common.rb +259 -0
- data/lib/fastly/models/logging_use_tls.rb +35 -0
- data/lib/fastly/models/mutual_authentication.rb +216 -0
- data/lib/fastly/models/mutual_authentication_data.rb +236 -0
- data/lib/fastly/models/mutual_authentication_data_attributes.rb +237 -0
- data/lib/fastly/models/mutual_authentication_response.rb +216 -0
- data/lib/fastly/models/mutual_authentication_response_attributes.rb +258 -0
- data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +217 -0
- data/lib/fastly/models/mutual_authentication_response_data.rb +253 -0
- data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +225 -0
- data/lib/fastly/models/mutual_authentications_response.rb +244 -0
- data/lib/fastly/models/mutual_authentications_response_all_of.rb +218 -0
- data/lib/fastly/models/package.rb +216 -0
- data/lib/fastly/models/package_metadata.rb +270 -0
- data/lib/fastly/models/package_response.rb +287 -0
- data/lib/fastly/models/package_response_all_of.rb +217 -0
- data/lib/fastly/models/pagination.rb +225 -0
- data/lib/fastly/models/pagination_links.rb +251 -0
- data/lib/fastly/models/pagination_meta.rb +273 -0
- data/lib/fastly/models/permission.rb +37 -0
- data/lib/fastly/models/pool.rb +527 -0
- data/lib/fastly/models/pool_all_of.rb +443 -0
- data/lib/fastly/models/pool_response.rb +589 -0
- data/lib/fastly/models/pool_response_all_of.rb +216 -0
- data/lib/fastly/models/pop.rb +252 -0
- data/lib/fastly/models/pop_coordinates.rb +243 -0
- data/lib/fastly/models/public_ip_list.rb +231 -0
- data/lib/fastly/models/publish_item.rb +257 -0
- data/lib/fastly/models/publish_item_formats.rb +235 -0
- data/lib/fastly/models/publish_request.rb +225 -0
- data/lib/fastly/models/purge_keys.rb +219 -0
- data/lib/fastly/models/purge_response.rb +225 -0
- data/lib/fastly/models/rate_limiter.rb +536 -0
- data/lib/fastly/models/rate_limiter_response.rb +607 -0
- data/lib/fastly/models/rate_limiter_response1.rb +292 -0
- data/lib/fastly/models/rate_limiter_response_all_of.rb +217 -0
- data/lib/fastly/models/realtime.rb +239 -0
- data/lib/fastly/models/realtime_entry.rb +243 -0
- data/lib/fastly/models/realtime_measurements.rb +2298 -0
- data/lib/fastly/models/relationship_common_name.rb +216 -0
- data/lib/fastly/models/relationship_customer.rb +216 -0
- data/lib/fastly/models/relationship_customer_customer.rb +218 -0
- data/lib/fastly/models/relationship_member_customer.rb +227 -0
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +227 -0
- data/lib/fastly/models/relationship_member_service.rb +227 -0
- data/lib/fastly/models/relationship_member_service_invitation.rb +228 -0
- data/lib/fastly/models/relationship_member_tls_activation.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_certificate.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_configuration.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_domain.rb +228 -0
- data/lib/fastly/models/relationship_member_tls_private_key.rb +227 -0
- data/lib/fastly/models/relationship_member_tls_subscription.rb +227 -0
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +227 -0
- data/lib/fastly/models/relationship_member_waf_firewall.rb +227 -0
- data/lib/fastly/models/relationship_member_waf_firewall_version.rb +228 -0
- data/lib/fastly/models/relationship_member_waf_rule.rb +227 -0
- data/lib/fastly/models/relationship_member_waf_rule_revision.rb +228 -0
- data/lib/fastly/models/relationship_member_waf_tag.rb +228 -0
- data/lib/fastly/models/relationship_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +218 -0
- data/lib/fastly/models/relationship_service.rb +216 -0
- data/lib/fastly/models/relationship_service_invitations.rb +216 -0
- data/lib/fastly/models/relationship_service_invitations_create.rb +216 -0
- data/lib/fastly/models/relationship_service_invitations_create_service_invitations.rb +218 -0
- data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +218 -0
- data/lib/fastly/models/relationship_services.rb +216 -0
- data/lib/fastly/models/relationship_services_services.rb +218 -0
- data/lib/fastly/models/relationship_tls_activation.rb +216 -0
- data/lib/fastly/models/relationship_tls_activation_tls_activation.rb +218 -0
- data/lib/fastly/models/relationship_tls_activations.rb +216 -0
- data/lib/fastly/models/relationship_tls_bulk_certificate.rb +216 -0
- data/lib/fastly/models/relationship_tls_bulk_certificate_tls_bulk_certificate.rb +218 -0
- data/lib/fastly/models/relationship_tls_bulk_certificates.rb +216 -0
- data/lib/fastly/models/relationship_tls_certificate.rb +216 -0
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +216 -0
- data/lib/fastly/models/relationship_tls_certificates.rb +216 -0
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +218 -0
- data/lib/fastly/models/relationship_tls_configuration.rb +216 -0
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +216 -0
- data/lib/fastly/models/relationship_tls_configurations.rb +216 -0
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +218 -0
- data/lib/fastly/models/relationship_tls_dns_record.rb +216 -0
- data/lib/fastly/models/relationship_tls_dns_record_dns_record.rb +218 -0
- data/lib/fastly/models/relationship_tls_dns_records.rb +216 -0
- data/lib/fastly/models/relationship_tls_domain.rb +216 -0
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +216 -0
- data/lib/fastly/models/relationship_tls_domains.rb +216 -0
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +218 -0
- data/lib/fastly/models/relationship_tls_private_key.rb +216 -0
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +216 -0
- data/lib/fastly/models/relationship_tls_private_keys.rb +216 -0
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +218 -0
- data/lib/fastly/models/relationship_tls_subscription.rb +216 -0
- data/lib/fastly/models/relationship_tls_subscription_tls_subscription.rb +218 -0
- data/lib/fastly/models/relationship_tls_subscriptions.rb +216 -0
- data/lib/fastly/models/relationship_user.rb +216 -0
- data/lib/fastly/models/relationship_user_user.rb +216 -0
- data/lib/fastly/models/relationship_waf_active_rules.rb +216 -0
- data/lib/fastly/models/relationship_waf_active_rules_waf_active_rules.rb +218 -0
- data/lib/fastly/models/relationship_waf_firewall.rb +216 -0
- data/lib/fastly/models/relationship_waf_firewall_version.rb +216 -0
- data/lib/fastly/models/relationship_waf_firewall_version_waf_firewall_version.rb +218 -0
- data/lib/fastly/models/relationship_waf_firewall_versions.rb +216 -0
- data/lib/fastly/models/relationship_waf_firewall_waf_firewall.rb +218 -0
- data/lib/fastly/models/relationship_waf_rule.rb +216 -0
- data/lib/fastly/models/relationship_waf_rule_revision.rb +216 -0
- data/lib/fastly/models/relationship_waf_rule_revision_waf_rule_revisions.rb +218 -0
- data/lib/fastly/models/relationship_waf_rule_revisions.rb +216 -0
- data/lib/fastly/models/relationship_waf_rule_waf_rule.rb +218 -0
- data/lib/fastly/models/relationship_waf_rules.rb +216 -0
- data/lib/fastly/models/relationship_waf_tags.rb +216 -0
- data/lib/fastly/models/relationship_waf_tags_waf_tags.rb +218 -0
- data/lib/fastly/models/relationships_for_invitation.rb +245 -0
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +235 -0
- data/lib/fastly/models/relationships_for_star.rb +233 -0
- data/lib/fastly/models/relationships_for_tls_activation.rb +216 -0
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +245 -0
- data/lib/fastly/models/relationships_for_tls_configuration.rb +236 -0
- data/lib/fastly/models/relationships_for_tls_csr.rb +235 -0
- data/lib/fastly/models/relationships_for_tls_domain.rb +246 -0
- data/lib/fastly/models/relationships_for_tls_private_key.rb +245 -0
- data/lib/fastly/models/relationships_for_tls_subscription.rb +256 -0
- data/lib/fastly/models/relationships_for_waf_active_rule.rb +245 -0
- data/lib/fastly/models/relationships_for_waf_exclusion.rb +245 -0
- data/lib/fastly/models/relationships_for_waf_firewall_version.rb +245 -0
- data/lib/fastly/models/relationships_for_waf_rule.rb +245 -0
- data/lib/fastly/models/request_settings.rb +377 -0
- data/lib/fastly/models/request_settings_response.rb +437 -0
- data/lib/fastly/models/resource.rb +217 -0
- data/lib/fastly/models/resource_create.rb +235 -0
- data/lib/fastly/models/resource_create_all_of.rb +217 -0
- data/lib/fastly/models/resource_response.rb +320 -0
- data/lib/fastly/models/resource_response_all_of.rb +258 -0
- data/lib/fastly/models/response_object.rb +284 -0
- data/lib/fastly/models/response_object_response.rb +344 -0
- data/lib/fastly/models/results.rb +2279 -0
- data/lib/fastly/models/role_user.rb +37 -0
- data/lib/fastly/models/schemas_contact_response.rb +357 -0
- data/lib/fastly/models/schemas_snippet_response.rb +375 -0
- data/lib/fastly/models/schemas_user_response.rb +355 -0
- data/lib/fastly/models/schemas_vcl_response.rb +297 -0
- data/lib/fastly/models/schemas_version.rb +286 -0
- data/lib/fastly/models/schemas_version_response.rb +337 -0
- data/lib/fastly/models/schemas_waf_firewall_version.rb +216 -0
- data/lib/fastly/models/schemas_waf_firewall_version_data.rb +227 -0
- data/lib/fastly/models/server.rb +313 -0
- data/lib/fastly/models/server_response.rb +382 -0
- data/lib/fastly/models/server_response_all_of.rb +234 -0
- data/lib/fastly/models/service.rb +238 -0
- data/lib/fastly/models/service_authorization.rb +216 -0
- data/lib/fastly/models/service_authorization_data.rb +236 -0
- data/lib/fastly/models/service_authorization_data_attributes.rb +218 -0
- data/lib/fastly/models/service_authorization_data_relationships.rb +225 -0
- data/lib/fastly/models/service_authorization_data_relationships_user.rb +217 -0
- data/lib/fastly/models/service_authorization_data_relationships_user_data.rb +227 -0
- data/lib/fastly/models/service_authorization_response.rb +216 -0
- data/lib/fastly/models/service_authorization_response_data.rb +253 -0
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +225 -0
- data/lib/fastly/models/service_authorizations_response.rb +244 -0
- data/lib/fastly/models/service_authorizations_response_all_of.rb +218 -0
- data/lib/fastly/models/service_create.rb +290 -0
- data/lib/fastly/models/service_create_all_of.rb +251 -0
- data/lib/fastly/models/service_detail.rb +383 -0
- data/lib/fastly/models/service_detail_all_of.rb +226 -0
- data/lib/fastly/models/service_id_and_version.rb +225 -0
- data/lib/fastly/models/service_invitation.rb +216 -0
- data/lib/fastly/models/service_invitation_data.rb +236 -0
- data/lib/fastly/models/service_invitation_data_attributes.rb +253 -0
- data/lib/fastly/models/service_invitation_data_relationships.rb +217 -0
- data/lib/fastly/models/service_invitation_response.rb +224 -0
- data/lib/fastly/models/service_invitation_response_all_of.rb +216 -0
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +225 -0
- data/lib/fastly/models/service_list_response.rb +355 -0
- data/lib/fastly/models/service_list_response_all_of.rb +238 -0
- data/lib/fastly/models/service_response.rb +365 -0
- data/lib/fastly/models/service_response_all_of.rb +248 -0
- data/lib/fastly/models/service_version_detail.rb +501 -0
- data/lib/fastly/models/service_version_detail_or_null.rb +501 -0
- data/lib/fastly/models/settings.rb +251 -0
- data/lib/fastly/models/settings_response.rb +277 -0
- data/lib/fastly/models/snippet.rb +305 -0
- data/lib/fastly/models/snippet_response.rb +375 -0
- data/lib/fastly/models/snippet_response_all_of.rb +216 -0
- data/lib/fastly/models/star.rb +216 -0
- data/lib/fastly/models/star_data.rb +227 -0
- data/lib/fastly/models/star_response.rb +225 -0
- data/lib/fastly/models/star_response_all_of.rb +217 -0
- data/lib/fastly/models/stats.rb +218 -0
- data/lib/fastly/models/timestamps.rb +240 -0
- data/lib/fastly/models/timestamps_no_delete.rb +229 -0
- data/lib/fastly/models/tls_activation.rb +216 -0
- data/lib/fastly/models/tls_activation_data.rb +227 -0
- data/lib/fastly/models/tls_activation_response.rb +216 -0
- data/lib/fastly/models/tls_activation_response_data.rb +253 -0
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +225 -0
- data/lib/fastly/models/tls_activations_response.rb +244 -0
- data/lib/fastly/models/tls_activations_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_bulk_certificate.rb +216 -0
- data/lib/fastly/models/tls_bulk_certificate_data.rb +236 -0
- data/lib/fastly/models/tls_bulk_certificate_data_attributes.rb +239 -0
- data/lib/fastly/models/tls_bulk_certificate_response.rb +216 -0
- data/lib/fastly/models/tls_bulk_certificate_response_attributes.rb +278 -0
- data/lib/fastly/models/tls_bulk_certificate_response_attributes_all_of.rb +237 -0
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +253 -0
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +225 -0
- data/lib/fastly/models/tls_bulk_certificates_response.rb +244 -0
- data/lib/fastly/models/tls_bulk_certificates_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_certificate.rb +216 -0
- data/lib/fastly/models/tls_certificate_data.rb +236 -0
- data/lib/fastly/models/tls_certificate_data_attributes.rb +227 -0
- data/lib/fastly/models/tls_certificate_response.rb +216 -0
- data/lib/fastly/models/tls_certificate_response_attributes.rb +318 -0
- data/lib/fastly/models/tls_certificate_response_attributes_all_of.rb +277 -0
- data/lib/fastly/models/tls_certificate_response_data.rb +253 -0
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +225 -0
- data/lib/fastly/models/tls_certificates_response.rb +244 -0
- data/lib/fastly/models/tls_certificates_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_common.rb +305 -0
- data/lib/fastly/models/tls_configuration.rb +216 -0
- data/lib/fastly/models/tls_configuration_data.rb +236 -0
- data/lib/fastly/models/tls_configuration_data_attributes.rb +217 -0
- data/lib/fastly/models/tls_configuration_response.rb +216 -0
- data/lib/fastly/models/tls_configuration_response_attributes.rb +292 -0
- data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +251 -0
- data/lib/fastly/models/tls_configuration_response_data.rb +253 -0
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +225 -0
- data/lib/fastly/models/tls_configurations_response.rb +244 -0
- data/lib/fastly/models/tls_configurations_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_csr.rb +216 -0
- data/lib/fastly/models/tls_csr_data.rb +236 -0
- data/lib/fastly/models/tls_csr_data_attributes.rb +314 -0
- data/lib/fastly/models/tls_csr_response.rb +216 -0
- data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
- data/lib/fastly/models/tls_csr_response_data.rb +245 -0
- data/lib/fastly/models/tls_dns_record.rb +237 -0
- data/lib/fastly/models/tls_domain_data.rb +237 -0
- data/lib/fastly/models/tls_domains_response.rb +244 -0
- data/lib/fastly/models/tls_domains_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_private_key.rb +216 -0
- data/lib/fastly/models/tls_private_key_data.rb +236 -0
- data/lib/fastly/models/tls_private_key_data_attributes.rb +227 -0
- data/lib/fastly/models/tls_private_key_response.rb +216 -0
- data/lib/fastly/models/tls_private_key_response_attributes.rb +298 -0
- data/lib/fastly/models/tls_private_key_response_attributes_all_of.rb +257 -0
- data/lib/fastly/models/tls_private_key_response_data.rb +236 -0
- data/lib/fastly/models/tls_private_keys_response.rb +244 -0
- data/lib/fastly/models/tls_private_keys_response_all_of.rb +218 -0
- data/lib/fastly/models/tls_subscription.rb +216 -0
- data/lib/fastly/models/tls_subscription_data.rb +236 -0
- data/lib/fastly/models/tls_subscription_data_attributes.rb +251 -0
- data/lib/fastly/models/tls_subscription_response.rb +216 -0
- data/lib/fastly/models/tls_subscription_response_attributes.rb +292 -0
- data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +251 -0
- data/lib/fastly/models/tls_subscription_response_data.rb +232 -0
- data/lib/fastly/models/tls_subscription_response_data_all_of.rb +225 -0
- data/lib/fastly/models/tls_subscriptions_response.rb +244 -0
- data/lib/fastly/models/tls_subscriptions_response_all_of.rb +218 -0
- data/lib/fastly/models/token.rb +275 -0
- data/lib/fastly/models/token_created_response.rb +383 -0
- data/lib/fastly/models/token_created_response_all_of.rb +217 -0
- data/lib/fastly/models/token_response.rb +374 -0
- data/lib/fastly/models/token_response_all_of.rb +275 -0
- data/lib/fastly/models/type_billing_address.rb +34 -0
- data/lib/fastly/models/type_contact.rb +34 -0
- data/lib/fastly/models/type_customer.rb +34 -0
- data/lib/fastly/models/type_event.rb +34 -0
- data/lib/fastly/models/type_invitation.rb +34 -0
- data/lib/fastly/models/type_mutual_authentication.rb +34 -0
- data/lib/fastly/models/type_resource.rb +34 -0
- data/lib/fastly/models/type_service.rb +34 -0
- data/lib/fastly/models/type_service_authorization.rb +34 -0
- data/lib/fastly/models/type_service_invitation.rb +34 -0
- data/lib/fastly/models/type_star.rb +34 -0
- data/lib/fastly/models/type_tls_activation.rb +34 -0
- data/lib/fastly/models/type_tls_bulk_certificate.rb +34 -0
- data/lib/fastly/models/type_tls_certificate.rb +34 -0
- data/lib/fastly/models/type_tls_configuration.rb +34 -0
- data/lib/fastly/models/type_tls_csr.rb +34 -0
- data/lib/fastly/models/type_tls_dns_record.rb +34 -0
- data/lib/fastly/models/type_tls_domain.rb +34 -0
- data/lib/fastly/models/type_tls_private_key.rb +34 -0
- data/lib/fastly/models/type_tls_subscription.rb +34 -0
- data/lib/fastly/models/type_user.rb +34 -0
- data/lib/fastly/models/type_waf_active_rule.rb +34 -0
- data/lib/fastly/models/type_waf_exclusion.rb +34 -0
- data/lib/fastly/models/type_waf_firewall.rb +34 -0
- data/lib/fastly/models/type_waf_firewall_version.rb +34 -0
- data/lib/fastly/models/type_waf_rule.rb +34 -0
- data/lib/fastly/models/type_waf_rule_revision.rb +34 -0
- data/lib/fastly/models/type_waf_tag.rb +34 -0
- data/lib/fastly/models/update_billing_address_request.rb +226 -0
- data/lib/fastly/models/update_billing_address_request_data.rb +237 -0
- data/lib/fastly/models/user.rb +285 -0
- data/lib/fastly/models/user_response.rb +355 -0
- data/lib/fastly/models/user_response_all_of.rb +235 -0
- data/lib/fastly/models/validator_result.rb +294 -0
- data/lib/fastly/models/validator_result_messages.rb +265 -0
- data/lib/fastly/models/vcl.rb +237 -0
- data/lib/fastly/models/vcl_diff.rb +281 -0
- data/lib/fastly/models/vcl_response.rb +297 -0
- data/lib/fastly/models/version.rb +286 -0
- data/lib/fastly/models/version_create_response.rb +225 -0
- data/lib/fastly/models/version_detail.rb +372 -0
- data/lib/fastly/models/version_detail_settings.rb +252 -0
- data/lib/fastly/models/version_response.rb +337 -0
- data/lib/fastly/models/version_response_all_of.rb +216 -0
- data/lib/fastly/models/waf_active_rule.rb +216 -0
- data/lib/fastly/models/waf_active_rule_creation_response.rb +103 -0
- data/lib/fastly/models/waf_active_rule_data.rb +236 -0
- data/lib/fastly/models/waf_active_rule_data_attributes.rb +270 -0
- data/lib/fastly/models/waf_active_rule_response.rb +216 -0
- data/lib/fastly/models/waf_active_rule_response_data.rb +253 -0
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +234 -0
- data/lib/fastly/models/waf_active_rule_response_data_attributes.rb +268 -0
- data/lib/fastly/models/waf_active_rule_response_data_attributes_all_of.rb +227 -0
- data/lib/fastly/models/waf_active_rule_response_data_relationships.rb +245 -0
- data/lib/fastly/models/waf_active_rules_response.rb +255 -0
- data/lib/fastly/models/waf_active_rules_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_exclusion.rb +216 -0
- data/lib/fastly/models/waf_exclusion_data.rb +236 -0
- data/lib/fastly/models/waf_exclusion_data_attributes.rb +316 -0
- data/lib/fastly/models/waf_exclusion_response.rb +216 -0
- data/lib/fastly/models/waf_exclusion_response_data.rb +254 -0
- data/lib/fastly/models/waf_exclusion_response_data_all_of.rb +235 -0
- data/lib/fastly/models/waf_exclusion_response_data_attributes.rb +357 -0
- data/lib/fastly/models/waf_exclusion_response_data_attributes_all_of.rb +316 -0
- data/lib/fastly/models/waf_exclusion_response_data_relationships.rb +245 -0
- data/lib/fastly/models/waf_exclusions_response.rb +255 -0
- data/lib/fastly/models/waf_exclusions_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_firewall.rb +216 -0
- data/lib/fastly/models/waf_firewall_data.rb +227 -0
- data/lib/fastly/models/waf_firewall_data_attributes.rb +248 -0
- data/lib/fastly/models/waf_firewall_response.rb +227 -0
- data/lib/fastly/models/waf_firewall_response_data.rb +253 -0
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +234 -0
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +337 -0
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +296 -0
- data/lib/fastly/models/waf_firewall_version.rb +216 -0
- data/lib/fastly/models/waf_firewall_version_data.rb +227 -0
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +551 -0
- data/lib/fastly/models/waf_firewall_version_response.rb +227 -0
- data/lib/fastly/models/waf_firewall_version_response_data.rb +254 -0
- data/lib/fastly/models/waf_firewall_version_response_data_all_of.rb +235 -0
- data/lib/fastly/models/waf_firewall_version_response_data_attributes.rb +403 -0
- data/lib/fastly/models/waf_firewall_version_response_data_attributes_all_of.rb +362 -0
- data/lib/fastly/models/waf_firewall_versions_response.rb +255 -0
- data/lib/fastly/models/waf_firewall_versions_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_firewalls_response.rb +255 -0
- data/lib/fastly/models/waf_firewalls_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_rule.rb +236 -0
- data/lib/fastly/models/waf_rule_attributes.rb +283 -0
- data/lib/fastly/models/waf_rule_response.rb +227 -0
- data/lib/fastly/models/waf_rule_response_data.rb +253 -0
- data/lib/fastly/models/waf_rule_response_data_all_of.rb +216 -0
- data/lib/fastly/models/waf_rule_revision.rb +237 -0
- data/lib/fastly/models/waf_rule_revision_attributes.rb +321 -0
- data/lib/fastly/models/waf_rule_revision_or_latest.rb +103 -0
- data/lib/fastly/models/waf_rule_revision_response.rb +227 -0
- data/lib/fastly/models/waf_rule_revision_response_data.rb +254 -0
- data/lib/fastly/models/waf_rule_revision_response_data_all_of.rb +216 -0
- data/lib/fastly/models/waf_rule_revisions_response.rb +255 -0
- data/lib/fastly/models/waf_rule_revisions_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_rules_response.rb +255 -0
- data/lib/fastly/models/waf_rules_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_tag.rb +237 -0
- data/lib/fastly/models/waf_tag_attributes.rb +216 -0
- data/lib/fastly/models/waf_tags_response.rb +255 -0
- data/lib/fastly/models/waf_tags_response_all_of.rb +229 -0
- data/lib/fastly/models/waf_tags_response_data_item.rb +254 -0
- data/lib/fastly/models/ws_message_format.rb +228 -0
- data/lib/fastly/version.rb +8 -167
- data/lib/fastly.rb +717 -754
- data/pkg/fastly-4.0.0.gem +0 -0
- data/sig.json +1 -0
- metadata +1420 -95
- data/.env.example +0 -3
- data/.gitignore +0 -9
- data/.rubocop.yml +0 -35
- data/.travis.yml +0 -13
- data/Appraisals +0 -3
- data/bin/fastly_create_domain +0 -67
- data/bin/fastly_upload_vcl +0 -68
- data/gemfiles/HEAD.gemfile +0 -16
- data/lib/fastly/acl.rb +0 -62
- data/lib/fastly/acl_entry.rb +0 -61
- data/lib/fastly/backend.rb +0 -156
- data/lib/fastly/base.rb +0 -64
- data/lib/fastly/belongs_to_service_and_version.rb +0 -51
- data/lib/fastly/big_query_logging.rb +0 -90
- data/lib/fastly/cache_setting.rb +0 -45
- data/lib/fastly/client.rb +0 -169
- data/lib/fastly/condition.rb +0 -40
- data/lib/fastly/customer.rb +0 -78
- data/lib/fastly/dictionary.rb +0 -41
- data/lib/fastly/dictionary_item.rb +0 -40
- data/lib/fastly/director.rb +0 -63
- data/lib/fastly/domain.rb +0 -29
- data/lib/fastly/dynamic_snippet.rb +0 -31
- data/lib/fastly/fetcher.rb +0 -51
- data/lib/fastly/gcs_logging.rb +0 -111
- data/lib/fastly/gem_version.rb +0 -4
- data/lib/fastly/gzip.rb +0 -38
- data/lib/fastly/header.rb +0 -87
- data/lib/fastly/healthcheck.rb +0 -84
- data/lib/fastly/invoice.rb +0 -120
- data/lib/fastly/match.rb +0 -77
- data/lib/fastly/papertrail_logging.rb +0 -63
- data/lib/fastly/request_setting.rb +0 -89
- data/lib/fastly/response_object.rb +0 -53
- data/lib/fastly/s3_logging.rb +0 -101
- data/lib/fastly/service.rb +0 -107
- data/lib/fastly/settings.rb +0 -73
- data/lib/fastly/snippet.rb +0 -53
- data/lib/fastly/sumologic_logging.rb +0 -96
- data/lib/fastly/syslog.rb +0 -111
- data/lib/fastly/token.rb +0 -40
- data/lib/fastly/user.rb +0 -60
- data/lib/fastly/util.rb +0 -10
- data/lib/fastly/vcl.rb +0 -50
- data/test/admin_test.rb +0 -37
- data/test/api_key_test.rb +0 -81
- data/test/common.rb +0 -226
- data/test/fastly/acl_entry_test.rb +0 -110
- data/test/fastly/acl_test.rb +0 -163
- data/test/fastly/client_test.rb +0 -136
- data/test/fastly/customer_test.rb +0 -48
- data/test/fastly/dictionary_test.rb +0 -53
- data/test/fastly/sumologic_logging_test.rb +0 -44
- data/test/fastly/syslog_test.rb +0 -51
- data/test/fastly/token_test.rb +0 -127
- data/test/fastly/util_test.rb +0 -21
- data/test/full_login_test.rb +0 -92
- data/test/helper.rb +0 -40
- data/test/missing_api_key_test.rb +0 -28
- data/test/stats_test.rb +0 -75
- data/test/test_helper.rb +0 -4
- data/test/token_test.rb +0 -64
@@ -0,0 +1,1006 @@
|
|
1
|
+
=begin
|
2
|
+
#Fastly API
|
3
|
+
|
4
|
+
#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/)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: oss@fastly.com
|
8
|
+
|
9
|
+
=end
|
10
|
+
|
11
|
+
require 'cgi'
|
12
|
+
|
13
|
+
module Fastly
|
14
|
+
class VclApi
|
15
|
+
attr_accessor :api_client
|
16
|
+
|
17
|
+
def initialize(api_client = ApiClient.default)
|
18
|
+
@api_client = api_client
|
19
|
+
end
|
20
|
+
# Create a custom VCL file
|
21
|
+
# Upload a VCL for a particular service and version.
|
22
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
23
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
24
|
+
# @option opts [String] :content The VCL code to be included.
|
25
|
+
# @option opts [Boolean] :main Set to `true` when this is the main VCL, otherwise `false`.
|
26
|
+
# @option opts [String] :name The name of this VCL.
|
27
|
+
# @return [VclResponse]
|
28
|
+
def create_custom_vcl(opts = {})
|
29
|
+
data, _status_code, _headers = create_custom_vcl_with_http_info(opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Create a custom VCL file
|
34
|
+
# Upload a VCL for a particular service and version.
|
35
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
36
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
37
|
+
# @option opts [String] :content The VCL code to be included.
|
38
|
+
# @option opts [Boolean] :main Set to `true` when this is the main VCL, otherwise `false`.
|
39
|
+
# @option opts [String] :name The name of this VCL.
|
40
|
+
# @return [Array<(VclResponse, Integer, Hash)>] VclResponse data, response status code and response headers
|
41
|
+
def create_custom_vcl_with_http_info(opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: VclApi.create_custom_vcl ...'
|
44
|
+
end
|
45
|
+
# unbox the parameters from the hash
|
46
|
+
service_id = opts[:'service_id']
|
47
|
+
version_id = opts[:'version_id']
|
48
|
+
# verify the required parameter 'service_id' is set
|
49
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
50
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.create_custom_vcl"
|
51
|
+
end
|
52
|
+
# verify the required parameter 'version_id' is set
|
53
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
54
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.create_custom_vcl"
|
55
|
+
end
|
56
|
+
# resource path
|
57
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
58
|
+
|
59
|
+
# query parameters
|
60
|
+
query_params = opts[:query_params] || {}
|
61
|
+
|
62
|
+
# header parameters
|
63
|
+
header_params = opts[:header_params] || {}
|
64
|
+
# HTTP header 'Accept' (if needed)
|
65
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
66
|
+
# HTTP header 'Content-Type'
|
67
|
+
content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
68
|
+
if !content_type.nil?
|
69
|
+
header_params['Content-Type'] = content_type
|
70
|
+
end
|
71
|
+
|
72
|
+
# form parameters
|
73
|
+
form_params = opts[:form_params] || {}
|
74
|
+
form_params['content'] = opts[:'content'] if !opts[:'content'].nil?
|
75
|
+
form_params['main'] = opts[:'main'] if !opts[:'main'].nil?
|
76
|
+
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
77
|
+
|
78
|
+
# http body (model)
|
79
|
+
post_body = opts[:debug_body]
|
80
|
+
|
81
|
+
# return_type
|
82
|
+
return_type = opts[:debug_return_type] || 'VclResponse'
|
83
|
+
|
84
|
+
# auth_names
|
85
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
86
|
+
|
87
|
+
new_options = opts.merge(
|
88
|
+
:operation => :"VclApi.create_custom_vcl",
|
89
|
+
:header_params => header_params,
|
90
|
+
:query_params => query_params,
|
91
|
+
:form_params => form_params,
|
92
|
+
:body => post_body,
|
93
|
+
:auth_names => auth_names,
|
94
|
+
:return_type => return_type
|
95
|
+
)
|
96
|
+
|
97
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
98
|
+
if @api_client.config.debugging
|
99
|
+
@api_client.config.logger.debug "API called: VclApi#create_custom_vcl\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
100
|
+
end
|
101
|
+
return data, status_code, headers
|
102
|
+
end
|
103
|
+
|
104
|
+
# Delete a custom VCL file
|
105
|
+
# Delete the uploaded VCL for a particular service and version.
|
106
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
107
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
108
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
109
|
+
# @return [InlineResponse200]
|
110
|
+
def delete_custom_vcl(opts = {})
|
111
|
+
data, _status_code, _headers = delete_custom_vcl_with_http_info(opts)
|
112
|
+
data
|
113
|
+
end
|
114
|
+
|
115
|
+
# Delete a custom VCL file
|
116
|
+
# Delete the uploaded VCL for a particular service and version.
|
117
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
118
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
119
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
120
|
+
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
121
|
+
def delete_custom_vcl_with_http_info(opts = {})
|
122
|
+
if @api_client.config.debugging
|
123
|
+
@api_client.config.logger.debug 'Calling API: VclApi.delete_custom_vcl ...'
|
124
|
+
end
|
125
|
+
# unbox the parameters from the hash
|
126
|
+
service_id = opts[:'service_id']
|
127
|
+
version_id = opts[:'version_id']
|
128
|
+
vcl_name = opts[:'vcl_name']
|
129
|
+
# verify the required parameter 'service_id' is set
|
130
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
131
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.delete_custom_vcl"
|
132
|
+
end
|
133
|
+
# verify the required parameter 'version_id' is set
|
134
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
135
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.delete_custom_vcl"
|
136
|
+
end
|
137
|
+
# verify the required parameter 'vcl_name' is set
|
138
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
139
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.delete_custom_vcl"
|
140
|
+
end
|
141
|
+
# resource path
|
142
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
143
|
+
|
144
|
+
# query parameters
|
145
|
+
query_params = opts[:query_params] || {}
|
146
|
+
|
147
|
+
# header parameters
|
148
|
+
header_params = opts[:header_params] || {}
|
149
|
+
# HTTP header 'Accept' (if needed)
|
150
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
151
|
+
|
152
|
+
# form parameters
|
153
|
+
form_params = opts[:form_params] || {}
|
154
|
+
|
155
|
+
# http body (model)
|
156
|
+
post_body = opts[:debug_body]
|
157
|
+
|
158
|
+
# return_type
|
159
|
+
return_type = opts[:debug_return_type] || 'InlineResponse200'
|
160
|
+
|
161
|
+
# auth_names
|
162
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
163
|
+
|
164
|
+
new_options = opts.merge(
|
165
|
+
:operation => :"VclApi.delete_custom_vcl",
|
166
|
+
:header_params => header_params,
|
167
|
+
:query_params => query_params,
|
168
|
+
:form_params => form_params,
|
169
|
+
:body => post_body,
|
170
|
+
:auth_names => auth_names,
|
171
|
+
:return_type => return_type
|
172
|
+
)
|
173
|
+
|
174
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
175
|
+
if @api_client.config.debugging
|
176
|
+
@api_client.config.logger.debug "API called: VclApi#delete_custom_vcl\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
177
|
+
end
|
178
|
+
return data, status_code, headers
|
179
|
+
end
|
180
|
+
|
181
|
+
# Get a custom VCL file
|
182
|
+
# Get the uploaded VCL for a particular service and version.
|
183
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
184
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
185
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
186
|
+
# @option opts [String] :no_content Omit VCL content. (default to '0')
|
187
|
+
# @return [VclResponse]
|
188
|
+
def get_custom_vcl(opts = {})
|
189
|
+
data, _status_code, _headers = get_custom_vcl_with_http_info(opts)
|
190
|
+
data
|
191
|
+
end
|
192
|
+
|
193
|
+
# Get a custom VCL file
|
194
|
+
# Get the uploaded VCL for a particular service and version.
|
195
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
196
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
197
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
198
|
+
# @option opts [String] :no_content Omit VCL content. (default to '0')
|
199
|
+
# @return [Array<(VclResponse, Integer, Hash)>] VclResponse data, response status code and response headers
|
200
|
+
def get_custom_vcl_with_http_info(opts = {})
|
201
|
+
if @api_client.config.debugging
|
202
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl ...'
|
203
|
+
end
|
204
|
+
# unbox the parameters from the hash
|
205
|
+
service_id = opts[:'service_id']
|
206
|
+
version_id = opts[:'version_id']
|
207
|
+
vcl_name = opts[:'vcl_name']
|
208
|
+
# verify the required parameter 'service_id' is set
|
209
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
210
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl"
|
211
|
+
end
|
212
|
+
# verify the required parameter 'version_id' is set
|
213
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
214
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl"
|
215
|
+
end
|
216
|
+
# verify the required parameter 'vcl_name' is set
|
217
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
218
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.get_custom_vcl"
|
219
|
+
end
|
220
|
+
# resource path
|
221
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
222
|
+
|
223
|
+
# query parameters
|
224
|
+
query_params = opts[:query_params] || {}
|
225
|
+
query_params[:'no_content'] = opts[:'no_content'] if !opts[:'no_content'].nil?
|
226
|
+
|
227
|
+
# header parameters
|
228
|
+
header_params = opts[:header_params] || {}
|
229
|
+
# HTTP header 'Accept' (if needed)
|
230
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
231
|
+
|
232
|
+
# form parameters
|
233
|
+
form_params = opts[:form_params] || {}
|
234
|
+
|
235
|
+
# http body (model)
|
236
|
+
post_body = opts[:debug_body]
|
237
|
+
|
238
|
+
# return_type
|
239
|
+
return_type = opts[:debug_return_type] || 'VclResponse'
|
240
|
+
|
241
|
+
# auth_names
|
242
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
243
|
+
|
244
|
+
new_options = opts.merge(
|
245
|
+
:operation => :"VclApi.get_custom_vcl",
|
246
|
+
:header_params => header_params,
|
247
|
+
:query_params => query_params,
|
248
|
+
:form_params => form_params,
|
249
|
+
:body => post_body,
|
250
|
+
:auth_names => auth_names,
|
251
|
+
:return_type => return_type
|
252
|
+
)
|
253
|
+
|
254
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
255
|
+
if @api_client.config.debugging
|
256
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
257
|
+
end
|
258
|
+
return data, status_code, headers
|
259
|
+
end
|
260
|
+
|
261
|
+
# Get boilerplate VCL
|
262
|
+
# Return boilerplate VCL with the service's TTL from the [settings](/reference/api/vcl-services/settings/).
|
263
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
264
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
265
|
+
# @return [String]
|
266
|
+
def get_custom_vcl_boilerplate(opts = {})
|
267
|
+
data, _status_code, _headers = get_custom_vcl_boilerplate_with_http_info(opts)
|
268
|
+
data
|
269
|
+
end
|
270
|
+
|
271
|
+
# Get boilerplate VCL
|
272
|
+
# Return boilerplate VCL with the service's TTL from the [settings](/reference/api/vcl-services/settings/).
|
273
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
274
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
275
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
276
|
+
def get_custom_vcl_boilerplate_with_http_info(opts = {})
|
277
|
+
if @api_client.config.debugging
|
278
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl_boilerplate ...'
|
279
|
+
end
|
280
|
+
# unbox the parameters from the hash
|
281
|
+
service_id = opts[:'service_id']
|
282
|
+
version_id = opts[:'version_id']
|
283
|
+
# verify the required parameter 'service_id' is set
|
284
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
285
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl_boilerplate"
|
286
|
+
end
|
287
|
+
# verify the required parameter 'version_id' is set
|
288
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
289
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl_boilerplate"
|
290
|
+
end
|
291
|
+
# resource path
|
292
|
+
local_var_path = '/service/{service_id}/version/{version_id}/boilerplate'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
293
|
+
|
294
|
+
# query parameters
|
295
|
+
query_params = opts[:query_params] || {}
|
296
|
+
|
297
|
+
# header parameters
|
298
|
+
header_params = opts[:header_params] || {}
|
299
|
+
# HTTP header 'Accept' (if needed)
|
300
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
301
|
+
|
302
|
+
# form parameters
|
303
|
+
form_params = opts[:form_params] || {}
|
304
|
+
|
305
|
+
# http body (model)
|
306
|
+
post_body = opts[:debug_body]
|
307
|
+
|
308
|
+
# return_type
|
309
|
+
return_type = opts[:debug_return_type] || 'String'
|
310
|
+
|
311
|
+
# auth_names
|
312
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
313
|
+
|
314
|
+
new_options = opts.merge(
|
315
|
+
:operation => :"VclApi.get_custom_vcl_boilerplate",
|
316
|
+
:header_params => header_params,
|
317
|
+
:query_params => query_params,
|
318
|
+
:form_params => form_params,
|
319
|
+
:body => post_body,
|
320
|
+
:auth_names => auth_names,
|
321
|
+
:return_type => return_type
|
322
|
+
)
|
323
|
+
|
324
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
325
|
+
if @api_client.config.debugging
|
326
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl_boilerplate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
327
|
+
end
|
328
|
+
return data, status_code, headers
|
329
|
+
end
|
330
|
+
|
331
|
+
# Get the generated VCL for a service
|
332
|
+
# Display the generated VCL for a particular service and version.
|
333
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
334
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
335
|
+
# @return [VclResponse]
|
336
|
+
def get_custom_vcl_generated(opts = {})
|
337
|
+
data, _status_code, _headers = get_custom_vcl_generated_with_http_info(opts)
|
338
|
+
data
|
339
|
+
end
|
340
|
+
|
341
|
+
# Get the generated VCL for a service
|
342
|
+
# Display the generated VCL for a particular service and version.
|
343
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
344
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
345
|
+
# @return [Array<(VclResponse, Integer, Hash)>] VclResponse data, response status code and response headers
|
346
|
+
def get_custom_vcl_generated_with_http_info(opts = {})
|
347
|
+
if @api_client.config.debugging
|
348
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl_generated ...'
|
349
|
+
end
|
350
|
+
# unbox the parameters from the hash
|
351
|
+
service_id = opts[:'service_id']
|
352
|
+
version_id = opts[:'version_id']
|
353
|
+
# verify the required parameter 'service_id' is set
|
354
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
355
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl_generated"
|
356
|
+
end
|
357
|
+
# verify the required parameter 'version_id' is set
|
358
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
359
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl_generated"
|
360
|
+
end
|
361
|
+
# resource path
|
362
|
+
local_var_path = '/service/{service_id}/version/{version_id}/generated_vcl'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
363
|
+
|
364
|
+
# query parameters
|
365
|
+
query_params = opts[:query_params] || {}
|
366
|
+
|
367
|
+
# header parameters
|
368
|
+
header_params = opts[:header_params] || {}
|
369
|
+
# HTTP header 'Accept' (if needed)
|
370
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
371
|
+
|
372
|
+
# form parameters
|
373
|
+
form_params = opts[:form_params] || {}
|
374
|
+
|
375
|
+
# http body (model)
|
376
|
+
post_body = opts[:debug_body]
|
377
|
+
|
378
|
+
# return_type
|
379
|
+
return_type = opts[:debug_return_type] || 'VclResponse'
|
380
|
+
|
381
|
+
# auth_names
|
382
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
383
|
+
|
384
|
+
new_options = opts.merge(
|
385
|
+
:operation => :"VclApi.get_custom_vcl_generated",
|
386
|
+
:header_params => header_params,
|
387
|
+
:query_params => query_params,
|
388
|
+
:form_params => form_params,
|
389
|
+
:body => post_body,
|
390
|
+
:auth_names => auth_names,
|
391
|
+
:return_type => return_type
|
392
|
+
)
|
393
|
+
|
394
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
395
|
+
if @api_client.config.debugging
|
396
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl_generated\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
397
|
+
end
|
398
|
+
return data, status_code, headers
|
399
|
+
end
|
400
|
+
|
401
|
+
# Get the generated VCL with syntax highlighting
|
402
|
+
# Display the content of generated VCL with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
|
403
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
404
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
405
|
+
# @return [nil]
|
406
|
+
def get_custom_vcl_generated_highlighted(opts = {})
|
407
|
+
get_custom_vcl_generated_highlighted_with_http_info(opts)
|
408
|
+
nil
|
409
|
+
end
|
410
|
+
|
411
|
+
# Get the generated VCL with syntax highlighting
|
412
|
+
# Display the content of generated VCL with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
|
413
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
414
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
415
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
416
|
+
def get_custom_vcl_generated_highlighted_with_http_info(opts = {})
|
417
|
+
if @api_client.config.debugging
|
418
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl_generated_highlighted ...'
|
419
|
+
end
|
420
|
+
# unbox the parameters from the hash
|
421
|
+
service_id = opts[:'service_id']
|
422
|
+
version_id = opts[:'version_id']
|
423
|
+
# verify the required parameter 'service_id' is set
|
424
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
425
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl_generated_highlighted"
|
426
|
+
end
|
427
|
+
# verify the required parameter 'version_id' is set
|
428
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
429
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl_generated_highlighted"
|
430
|
+
end
|
431
|
+
# resource path
|
432
|
+
local_var_path = '/service/{service_id}/version/{version_id}/generated_vcl/content'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
433
|
+
|
434
|
+
# query parameters
|
435
|
+
query_params = opts[:query_params] || {}
|
436
|
+
|
437
|
+
# header parameters
|
438
|
+
header_params = opts[:header_params] || {}
|
439
|
+
# HTTP header 'Accept' (if needed)
|
440
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
441
|
+
|
442
|
+
# form parameters
|
443
|
+
form_params = opts[:form_params] || {}
|
444
|
+
|
445
|
+
# http body (model)
|
446
|
+
post_body = opts[:debug_body]
|
447
|
+
|
448
|
+
# return_type
|
449
|
+
return_type = opts[:debug_return_type]
|
450
|
+
|
451
|
+
# auth_names
|
452
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
453
|
+
|
454
|
+
new_options = opts.merge(
|
455
|
+
:operation => :"VclApi.get_custom_vcl_generated_highlighted",
|
456
|
+
:header_params => header_params,
|
457
|
+
:query_params => query_params,
|
458
|
+
:form_params => form_params,
|
459
|
+
:body => post_body,
|
460
|
+
:auth_names => auth_names,
|
461
|
+
:return_type => return_type
|
462
|
+
)
|
463
|
+
|
464
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
465
|
+
if @api_client.config.debugging
|
466
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl_generated_highlighted\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
467
|
+
end
|
468
|
+
return data, status_code, headers
|
469
|
+
end
|
470
|
+
|
471
|
+
# Get a custom VCL file with syntax highlighting
|
472
|
+
# Get the uploaded VCL for a particular service and version with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
|
473
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
474
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
475
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
476
|
+
# @return [nil]
|
477
|
+
def get_custom_vcl_highlighted(opts = {})
|
478
|
+
get_custom_vcl_highlighted_with_http_info(opts)
|
479
|
+
nil
|
480
|
+
end
|
481
|
+
|
482
|
+
# Get a custom VCL file with syntax highlighting
|
483
|
+
# Get the uploaded VCL for a particular service and version with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
|
484
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
485
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
486
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
487
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
488
|
+
def get_custom_vcl_highlighted_with_http_info(opts = {})
|
489
|
+
if @api_client.config.debugging
|
490
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl_highlighted ...'
|
491
|
+
end
|
492
|
+
# unbox the parameters from the hash
|
493
|
+
service_id = opts[:'service_id']
|
494
|
+
version_id = opts[:'version_id']
|
495
|
+
vcl_name = opts[:'vcl_name']
|
496
|
+
# verify the required parameter 'service_id' is set
|
497
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
498
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl_highlighted"
|
499
|
+
end
|
500
|
+
# verify the required parameter 'version_id' is set
|
501
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
502
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl_highlighted"
|
503
|
+
end
|
504
|
+
# verify the required parameter 'vcl_name' is set
|
505
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
506
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.get_custom_vcl_highlighted"
|
507
|
+
end
|
508
|
+
# resource path
|
509
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}/content'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
510
|
+
|
511
|
+
# query parameters
|
512
|
+
query_params = opts[:query_params] || {}
|
513
|
+
|
514
|
+
# header parameters
|
515
|
+
header_params = opts[:header_params] || {}
|
516
|
+
# HTTP header 'Accept' (if needed)
|
517
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
518
|
+
|
519
|
+
# form parameters
|
520
|
+
form_params = opts[:form_params] || {}
|
521
|
+
|
522
|
+
# http body (model)
|
523
|
+
post_body = opts[:debug_body]
|
524
|
+
|
525
|
+
# return_type
|
526
|
+
return_type = opts[:debug_return_type]
|
527
|
+
|
528
|
+
# auth_names
|
529
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
530
|
+
|
531
|
+
new_options = opts.merge(
|
532
|
+
:operation => :"VclApi.get_custom_vcl_highlighted",
|
533
|
+
:header_params => header_params,
|
534
|
+
:query_params => query_params,
|
535
|
+
:form_params => form_params,
|
536
|
+
:body => post_body,
|
537
|
+
:auth_names => auth_names,
|
538
|
+
:return_type => return_type
|
539
|
+
)
|
540
|
+
|
541
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
542
|
+
if @api_client.config.debugging
|
543
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl_highlighted\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
544
|
+
end
|
545
|
+
return data, status_code, headers
|
546
|
+
end
|
547
|
+
|
548
|
+
# Download a custom VCL file
|
549
|
+
# Download the specified VCL.
|
550
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
551
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
552
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
553
|
+
# @return [String]
|
554
|
+
def get_custom_vcl_raw(opts = {})
|
555
|
+
data, _status_code, _headers = get_custom_vcl_raw_with_http_info(opts)
|
556
|
+
data
|
557
|
+
end
|
558
|
+
|
559
|
+
# Download a custom VCL file
|
560
|
+
# Download the specified VCL.
|
561
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
562
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
563
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
564
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
565
|
+
def get_custom_vcl_raw_with_http_info(opts = {})
|
566
|
+
if @api_client.config.debugging
|
567
|
+
@api_client.config.logger.debug 'Calling API: VclApi.get_custom_vcl_raw ...'
|
568
|
+
end
|
569
|
+
# unbox the parameters from the hash
|
570
|
+
service_id = opts[:'service_id']
|
571
|
+
version_id = opts[:'version_id']
|
572
|
+
vcl_name = opts[:'vcl_name']
|
573
|
+
# verify the required parameter 'service_id' is set
|
574
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
575
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.get_custom_vcl_raw"
|
576
|
+
end
|
577
|
+
# verify the required parameter 'version_id' is set
|
578
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
579
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.get_custom_vcl_raw"
|
580
|
+
end
|
581
|
+
# verify the required parameter 'vcl_name' is set
|
582
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
583
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.get_custom_vcl_raw"
|
584
|
+
end
|
585
|
+
# resource path
|
586
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}/download'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
587
|
+
|
588
|
+
# query parameters
|
589
|
+
query_params = opts[:query_params] || {}
|
590
|
+
|
591
|
+
# header parameters
|
592
|
+
header_params = opts[:header_params] || {}
|
593
|
+
# HTTP header 'Accept' (if needed)
|
594
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
595
|
+
|
596
|
+
# form parameters
|
597
|
+
form_params = opts[:form_params] || {}
|
598
|
+
|
599
|
+
# http body (model)
|
600
|
+
post_body = opts[:debug_body]
|
601
|
+
|
602
|
+
# return_type
|
603
|
+
return_type = opts[:debug_return_type] || 'String'
|
604
|
+
|
605
|
+
# auth_names
|
606
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
607
|
+
|
608
|
+
new_options = opts.merge(
|
609
|
+
:operation => :"VclApi.get_custom_vcl_raw",
|
610
|
+
:header_params => header_params,
|
611
|
+
:query_params => query_params,
|
612
|
+
:form_params => form_params,
|
613
|
+
:body => post_body,
|
614
|
+
:auth_names => auth_names,
|
615
|
+
:return_type => return_type
|
616
|
+
)
|
617
|
+
|
618
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
619
|
+
if @api_client.config.debugging
|
620
|
+
@api_client.config.logger.debug "API called: VclApi#get_custom_vcl_raw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
621
|
+
end
|
622
|
+
return data, status_code, headers
|
623
|
+
end
|
624
|
+
|
625
|
+
# Lint (validate) VCL using a default set of flags.
|
626
|
+
# This endpoint validates the submitted VCL against a default set of enabled flags. Consider using the `/service/{service_id}/lint` operation to validate VCL in the context of a specific service.
|
627
|
+
# @option opts [InlineObject1] :inline_object1 (required)
|
628
|
+
# @return [ValidatorResult]
|
629
|
+
def lint_vcl_default(opts = {})
|
630
|
+
data, _status_code, _headers = lint_vcl_default_with_http_info(opts)
|
631
|
+
data
|
632
|
+
end
|
633
|
+
|
634
|
+
# Lint (validate) VCL using a default set of flags.
|
635
|
+
# This endpoint validates the submitted VCL against a default set of enabled flags. Consider using the `/service/{service_id}/lint` operation to validate VCL in the context of a specific service.
|
636
|
+
# @option opts [InlineObject1] :inline_object1 (required)
|
637
|
+
# @return [Array<(ValidatorResult, Integer, Hash)>] ValidatorResult data, response status code and response headers
|
638
|
+
def lint_vcl_default_with_http_info(opts = {})
|
639
|
+
if @api_client.config.debugging
|
640
|
+
@api_client.config.logger.debug 'Calling API: VclApi.lint_vcl_default ...'
|
641
|
+
end
|
642
|
+
# unbox the parameters from the hash
|
643
|
+
inline_object1 = opts[:'inline_object1']
|
644
|
+
# verify the required parameter 'inline_object1' is set
|
645
|
+
if @api_client.config.client_side_validation && inline_object1.nil?
|
646
|
+
fail ArgumentError, "Missing the required parameter 'inline_object1' when calling VclApi.lint_vcl_default"
|
647
|
+
end
|
648
|
+
# resource path
|
649
|
+
local_var_path = '/vcl_lint'
|
650
|
+
|
651
|
+
# query parameters
|
652
|
+
query_params = opts[:query_params] || {}
|
653
|
+
|
654
|
+
# header parameters
|
655
|
+
header_params = opts[:header_params] || {}
|
656
|
+
# HTTP header 'Accept' (if needed)
|
657
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
658
|
+
# HTTP header 'Content-Type'
|
659
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
660
|
+
if !content_type.nil?
|
661
|
+
header_params['Content-Type'] = content_type
|
662
|
+
end
|
663
|
+
|
664
|
+
# form parameters
|
665
|
+
form_params = opts[:form_params] || {}
|
666
|
+
|
667
|
+
# http body (model)
|
668
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(inline_object1)
|
669
|
+
|
670
|
+
# return_type
|
671
|
+
return_type = opts[:debug_return_type] || 'ValidatorResult'
|
672
|
+
|
673
|
+
# auth_names
|
674
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
675
|
+
|
676
|
+
new_options = opts.merge(
|
677
|
+
:operation => :"VclApi.lint_vcl_default",
|
678
|
+
:header_params => header_params,
|
679
|
+
:query_params => query_params,
|
680
|
+
:form_params => form_params,
|
681
|
+
:body => post_body,
|
682
|
+
:auth_names => auth_names,
|
683
|
+
:return_type => return_type
|
684
|
+
)
|
685
|
+
|
686
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
687
|
+
if @api_client.config.debugging
|
688
|
+
@api_client.config.logger.debug "API called: VclApi#lint_vcl_default\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
689
|
+
end
|
690
|
+
return data, status_code, headers
|
691
|
+
end
|
692
|
+
|
693
|
+
# Lint (validate) VCL using flags set for the service.
|
694
|
+
# Services may have flags set by a Fastly employee or by the purchase of products as addons to the service, which modify the way VCL is interpreted by that service. This endpoint validates the submitted VCL in the context of the specified service.
|
695
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
696
|
+
# @option opts [InlineObject] :inline_object (required)
|
697
|
+
# @return [ValidatorResult]
|
698
|
+
def lint_vcl_for_service(opts = {})
|
699
|
+
data, _status_code, _headers = lint_vcl_for_service_with_http_info(opts)
|
700
|
+
data
|
701
|
+
end
|
702
|
+
|
703
|
+
# Lint (validate) VCL using flags set for the service.
|
704
|
+
# Services may have flags set by a Fastly employee or by the purchase of products as addons to the service, which modify the way VCL is interpreted by that service. This endpoint validates the submitted VCL in the context of the specified service.
|
705
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
706
|
+
# @option opts [InlineObject] :inline_object (required)
|
707
|
+
# @return [Array<(ValidatorResult, Integer, Hash)>] ValidatorResult data, response status code and response headers
|
708
|
+
def lint_vcl_for_service_with_http_info(opts = {})
|
709
|
+
if @api_client.config.debugging
|
710
|
+
@api_client.config.logger.debug 'Calling API: VclApi.lint_vcl_for_service ...'
|
711
|
+
end
|
712
|
+
# unbox the parameters from the hash
|
713
|
+
service_id = opts[:'service_id']
|
714
|
+
inline_object = opts[:'inline_object']
|
715
|
+
# verify the required parameter 'service_id' is set
|
716
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
717
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.lint_vcl_for_service"
|
718
|
+
end
|
719
|
+
# verify the required parameter 'inline_object' is set
|
720
|
+
if @api_client.config.client_side_validation && inline_object.nil?
|
721
|
+
fail ArgumentError, "Missing the required parameter 'inline_object' when calling VclApi.lint_vcl_for_service"
|
722
|
+
end
|
723
|
+
# resource path
|
724
|
+
local_var_path = '/service/{service_id}/lint'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s))
|
725
|
+
|
726
|
+
# query parameters
|
727
|
+
query_params = opts[:query_params] || {}
|
728
|
+
|
729
|
+
# header parameters
|
730
|
+
header_params = opts[:header_params] || {}
|
731
|
+
# HTTP header 'Accept' (if needed)
|
732
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
733
|
+
# HTTP header 'Content-Type'
|
734
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
735
|
+
if !content_type.nil?
|
736
|
+
header_params['Content-Type'] = content_type
|
737
|
+
end
|
738
|
+
|
739
|
+
# form parameters
|
740
|
+
form_params = opts[:form_params] || {}
|
741
|
+
|
742
|
+
# http body (model)
|
743
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(inline_object)
|
744
|
+
|
745
|
+
# return_type
|
746
|
+
return_type = opts[:debug_return_type] || 'ValidatorResult'
|
747
|
+
|
748
|
+
# auth_names
|
749
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
750
|
+
|
751
|
+
new_options = opts.merge(
|
752
|
+
:operation => :"VclApi.lint_vcl_for_service",
|
753
|
+
:header_params => header_params,
|
754
|
+
:query_params => query_params,
|
755
|
+
:form_params => form_params,
|
756
|
+
:body => post_body,
|
757
|
+
:auth_names => auth_names,
|
758
|
+
:return_type => return_type
|
759
|
+
)
|
760
|
+
|
761
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
762
|
+
if @api_client.config.debugging
|
763
|
+
@api_client.config.logger.debug "API called: VclApi#lint_vcl_for_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
764
|
+
end
|
765
|
+
return data, status_code, headers
|
766
|
+
end
|
767
|
+
|
768
|
+
# List custom VCL files
|
769
|
+
# List the uploaded VCLs for a particular service and version.
|
770
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
771
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
772
|
+
# @return [Array<VclResponse>]
|
773
|
+
def list_custom_vcl(opts = {})
|
774
|
+
data, _status_code, _headers = list_custom_vcl_with_http_info(opts)
|
775
|
+
data
|
776
|
+
end
|
777
|
+
|
778
|
+
# List custom VCL files
|
779
|
+
# List the uploaded VCLs for a particular service and version.
|
780
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
781
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
782
|
+
# @return [Array<(Array<VclResponse>, Integer, Hash)>] Array<VclResponse> data, response status code and response headers
|
783
|
+
def list_custom_vcl_with_http_info(opts = {})
|
784
|
+
if @api_client.config.debugging
|
785
|
+
@api_client.config.logger.debug 'Calling API: VclApi.list_custom_vcl ...'
|
786
|
+
end
|
787
|
+
# unbox the parameters from the hash
|
788
|
+
service_id = opts[:'service_id']
|
789
|
+
version_id = opts[:'version_id']
|
790
|
+
# verify the required parameter 'service_id' is set
|
791
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
792
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.list_custom_vcl"
|
793
|
+
end
|
794
|
+
# verify the required parameter 'version_id' is set
|
795
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
796
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.list_custom_vcl"
|
797
|
+
end
|
798
|
+
# resource path
|
799
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s))
|
800
|
+
|
801
|
+
# query parameters
|
802
|
+
query_params = opts[:query_params] || {}
|
803
|
+
|
804
|
+
# header parameters
|
805
|
+
header_params = opts[:header_params] || {}
|
806
|
+
# HTTP header 'Accept' (if needed)
|
807
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
808
|
+
|
809
|
+
# form parameters
|
810
|
+
form_params = opts[:form_params] || {}
|
811
|
+
|
812
|
+
# http body (model)
|
813
|
+
post_body = opts[:debug_body]
|
814
|
+
|
815
|
+
# return_type
|
816
|
+
return_type = opts[:debug_return_type] || 'Array<VclResponse>'
|
817
|
+
|
818
|
+
# auth_names
|
819
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
820
|
+
|
821
|
+
new_options = opts.merge(
|
822
|
+
:operation => :"VclApi.list_custom_vcl",
|
823
|
+
:header_params => header_params,
|
824
|
+
:query_params => query_params,
|
825
|
+
:form_params => form_params,
|
826
|
+
:body => post_body,
|
827
|
+
:auth_names => auth_names,
|
828
|
+
:return_type => return_type
|
829
|
+
)
|
830
|
+
|
831
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
832
|
+
if @api_client.config.debugging
|
833
|
+
@api_client.config.logger.debug "API called: VclApi#list_custom_vcl\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
834
|
+
end
|
835
|
+
return data, status_code, headers
|
836
|
+
end
|
837
|
+
|
838
|
+
# Set a custom VCL file as main
|
839
|
+
# Set the specified VCL as the main.
|
840
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
841
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
842
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
843
|
+
# @return [VclResponse]
|
844
|
+
def set_custom_vcl_main(opts = {})
|
845
|
+
data, _status_code, _headers = set_custom_vcl_main_with_http_info(opts)
|
846
|
+
data
|
847
|
+
end
|
848
|
+
|
849
|
+
# Set a custom VCL file as main
|
850
|
+
# Set the specified VCL as the main.
|
851
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
852
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
853
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
854
|
+
# @return [Array<(VclResponse, Integer, Hash)>] VclResponse data, response status code and response headers
|
855
|
+
def set_custom_vcl_main_with_http_info(opts = {})
|
856
|
+
if @api_client.config.debugging
|
857
|
+
@api_client.config.logger.debug 'Calling API: VclApi.set_custom_vcl_main ...'
|
858
|
+
end
|
859
|
+
# unbox the parameters from the hash
|
860
|
+
service_id = opts[:'service_id']
|
861
|
+
version_id = opts[:'version_id']
|
862
|
+
vcl_name = opts[:'vcl_name']
|
863
|
+
# verify the required parameter 'service_id' is set
|
864
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
865
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.set_custom_vcl_main"
|
866
|
+
end
|
867
|
+
# verify the required parameter 'version_id' is set
|
868
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
869
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.set_custom_vcl_main"
|
870
|
+
end
|
871
|
+
# verify the required parameter 'vcl_name' is set
|
872
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
873
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.set_custom_vcl_main"
|
874
|
+
end
|
875
|
+
# resource path
|
876
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}/main'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
877
|
+
|
878
|
+
# query parameters
|
879
|
+
query_params = opts[:query_params] || {}
|
880
|
+
|
881
|
+
# header parameters
|
882
|
+
header_params = opts[:header_params] || {}
|
883
|
+
# HTTP header 'Accept' (if needed)
|
884
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
885
|
+
|
886
|
+
# form parameters
|
887
|
+
form_params = opts[:form_params] || {}
|
888
|
+
|
889
|
+
# http body (model)
|
890
|
+
post_body = opts[:debug_body]
|
891
|
+
|
892
|
+
# return_type
|
893
|
+
return_type = opts[:debug_return_type] || 'VclResponse'
|
894
|
+
|
895
|
+
# auth_names
|
896
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
897
|
+
|
898
|
+
new_options = opts.merge(
|
899
|
+
:operation => :"VclApi.set_custom_vcl_main",
|
900
|
+
:header_params => header_params,
|
901
|
+
:query_params => query_params,
|
902
|
+
:form_params => form_params,
|
903
|
+
:body => post_body,
|
904
|
+
:auth_names => auth_names,
|
905
|
+
:return_type => return_type
|
906
|
+
)
|
907
|
+
|
908
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
909
|
+
if @api_client.config.debugging
|
910
|
+
@api_client.config.logger.debug "API called: VclApi#set_custom_vcl_main\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
911
|
+
end
|
912
|
+
return data, status_code, headers
|
913
|
+
end
|
914
|
+
|
915
|
+
# Update a custom VCL file
|
916
|
+
# Update the uploaded VCL for a particular service and version.
|
917
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
918
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
919
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
920
|
+
# @option opts [String] :content The VCL code to be included.
|
921
|
+
# @option opts [Boolean] :main Set to `true` when this is the main VCL, otherwise `false`.
|
922
|
+
# @option opts [String] :name The name of this VCL.
|
923
|
+
# @return [VclResponse]
|
924
|
+
def update_custom_vcl(opts = {})
|
925
|
+
data, _status_code, _headers = update_custom_vcl_with_http_info(opts)
|
926
|
+
data
|
927
|
+
end
|
928
|
+
|
929
|
+
# Update a custom VCL file
|
930
|
+
# Update the uploaded VCL for a particular service and version.
|
931
|
+
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
932
|
+
# @option opts [Integer] :version_id Integer identifying a service version. (required)
|
933
|
+
# @option opts [String] :vcl_name The name of this VCL. (required)
|
934
|
+
# @option opts [String] :content The VCL code to be included.
|
935
|
+
# @option opts [Boolean] :main Set to `true` when this is the main VCL, otherwise `false`.
|
936
|
+
# @option opts [String] :name The name of this VCL.
|
937
|
+
# @return [Array<(VclResponse, Integer, Hash)>] VclResponse data, response status code and response headers
|
938
|
+
def update_custom_vcl_with_http_info(opts = {})
|
939
|
+
if @api_client.config.debugging
|
940
|
+
@api_client.config.logger.debug 'Calling API: VclApi.update_custom_vcl ...'
|
941
|
+
end
|
942
|
+
# unbox the parameters from the hash
|
943
|
+
service_id = opts[:'service_id']
|
944
|
+
version_id = opts[:'version_id']
|
945
|
+
vcl_name = opts[:'vcl_name']
|
946
|
+
# verify the required parameter 'service_id' is set
|
947
|
+
if @api_client.config.client_side_validation && service_id.nil?
|
948
|
+
fail ArgumentError, "Missing the required parameter 'service_id' when calling VclApi.update_custom_vcl"
|
949
|
+
end
|
950
|
+
# verify the required parameter 'version_id' is set
|
951
|
+
if @api_client.config.client_side_validation && version_id.nil?
|
952
|
+
fail ArgumentError, "Missing the required parameter 'version_id' when calling VclApi.update_custom_vcl"
|
953
|
+
end
|
954
|
+
# verify the required parameter 'vcl_name' is set
|
955
|
+
if @api_client.config.client_side_validation && vcl_name.nil?
|
956
|
+
fail ArgumentError, "Missing the required parameter 'vcl_name' when calling VclApi.update_custom_vcl"
|
957
|
+
end
|
958
|
+
# resource path
|
959
|
+
local_var_path = '/service/{service_id}/version/{version_id}/vcl/{vcl_name}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s)).sub('{' + 'version_id' + '}', CGI.escape(version_id.to_s)).sub('{' + 'vcl_name' + '}', CGI.escape(vcl_name.to_s))
|
960
|
+
|
961
|
+
# query parameters
|
962
|
+
query_params = opts[:query_params] || {}
|
963
|
+
|
964
|
+
# header parameters
|
965
|
+
header_params = opts[:header_params] || {}
|
966
|
+
# HTTP header 'Accept' (if needed)
|
967
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
968
|
+
# HTTP header 'Content-Type'
|
969
|
+
content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
970
|
+
if !content_type.nil?
|
971
|
+
header_params['Content-Type'] = content_type
|
972
|
+
end
|
973
|
+
|
974
|
+
# form parameters
|
975
|
+
form_params = opts[:form_params] || {}
|
976
|
+
form_params['content'] = opts[:'content'] if !opts[:'content'].nil?
|
977
|
+
form_params['main'] = opts[:'main'] if !opts[:'main'].nil?
|
978
|
+
form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
|
979
|
+
|
980
|
+
# http body (model)
|
981
|
+
post_body = opts[:debug_body]
|
982
|
+
|
983
|
+
# return_type
|
984
|
+
return_type = opts[:debug_return_type] || 'VclResponse'
|
985
|
+
|
986
|
+
# auth_names
|
987
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
988
|
+
|
989
|
+
new_options = opts.merge(
|
990
|
+
:operation => :"VclApi.update_custom_vcl",
|
991
|
+
:header_params => header_params,
|
992
|
+
:query_params => query_params,
|
993
|
+
:form_params => form_params,
|
994
|
+
:body => post_body,
|
995
|
+
:auth_names => auth_names,
|
996
|
+
:return_type => return_type
|
997
|
+
)
|
998
|
+
|
999
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1000
|
+
if @api_client.config.debugging
|
1001
|
+
@api_client.config.logger.debug "API called: VclApi#update_custom_vcl\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1002
|
+
end
|
1003
|
+
return data, status_code, headers
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
end
|