fastly 4.0.0.alpha4 → 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.lock +1 -1
- data/README.md +100 -21
- data/docs/AclEntry.md +1 -1
- data/docs/AclEntryApi.md +0 -176
- data/docs/AclEntryResponse.md +1 -1
- data/docs/ApexRedirectApi.md +4 -4
- 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 +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/Billing.md +2 -1
- data/docs/BillingAddressRequest.md +1 -0
- data/docs/BillingAddressVerificationErrorResponse.md +10 -0
- data/docs/BillingAddressVerificationErrorResponseErrors.md +14 -0
- data/docs/BillingEstimateResponse.md +2 -1
- data/docs/BillingResponse.md +2 -1
- data/docs/BulkUpdateAclEntry.md +1 -1
- data/docs/ConditionApi.md +4 -4
- 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/EventAttributes.md +1 -0
- data/docs/EventsApi.md +4 -2
- data/docs/HeaderApi.md +4 -4
- data/docs/Healthcheck.md +5 -4
- data/docs/HealthcheckApi.md +46 -42
- data/docs/HealthcheckResponse.md +5 -4
- data/docs/Http3Api.md +4 -4
- data/docs/HttpResponseFormat.md +14 -0
- data/docs/HttpStreamFormat.md +11 -0
- data/docs/InlineObject.md +10 -0
- data/docs/InlineObject1.md +10 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/LoggingAzureblob.md +3 -3
- data/docs/LoggingAzureblobApi.md +12 -12
- data/docs/LoggingAzureblobResponse.md +3 -3
- data/docs/LoggingBigquery.md +4 -3
- data/docs/LoggingBigqueryApi.md +16 -12
- data/docs/LoggingBigqueryResponse.md +4 -3
- data/docs/LoggingCloudfiles.md +3 -3
- data/docs/LoggingCloudfilesApi.md +12 -12
- data/docs/LoggingCloudfilesResponse.md +3 -3
- data/docs/LoggingCommon.md +1 -1
- data/docs/LoggingDatadog.md +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +1 -1
- data/docs/LoggingDigitalocean.md +3 -3
- data/docs/LoggingDigitaloceanApi.md +12 -12
- data/docs/LoggingDigitaloceanResponse.md +3 -3
- data/docs/LoggingElasticsearch.md +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +1 -1
- data/docs/LoggingFtp.md +3 -3
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +3 -3
- data/docs/LoggingGcs.md +7 -5
- data/docs/LoggingGcsAllOf.md +1 -0
- data/docs/LoggingGcsApi.md +32 -24
- data/docs/LoggingGcsCommon.md +3 -2
- data/docs/LoggingGcsResponse.md +7 -5
- data/docs/LoggingGenericCommon.md +2 -2
- data/docs/LoggingGooglePubsub.md +4 -3
- data/docs/LoggingGooglePubsubResponse.md +4 -3
- data/docs/LoggingHeroku.md +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +1 -1
- data/docs/LoggingHoneycomb.md +1 -1
- data/docs/LoggingHoneycombApi.md +4 -4
- data/docs/LoggingHoneycombResponse.md +1 -1
- data/docs/LoggingHttps.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingKafka.md +1 -1
- data/docs/LoggingKafkaApi.md +2 -2
- data/docs/LoggingKafkaResponse.md +1 -1
- data/docs/LoggingKinesis.md +1 -1
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentries.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/LoggingLoggly.md +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +1 -1
- data/docs/LoggingLogshuttle.md +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +1 -1
- data/docs/LoggingNewrelic.md +2 -2
- data/docs/LoggingNewrelicAllOf.md +1 -1
- data/docs/LoggingNewrelicApi.md +8 -8
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingOpenstack.md +3 -3
- data/docs/LoggingOpenstackApi.md +12 -12
- data/docs/LoggingOpenstackResponse.md +3 -3
- data/docs/LoggingPapertrail.md +1 -1
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +1 -1
- data/docs/LoggingPubsubApi.md +16 -12
- data/docs/LoggingS3.md +3 -3
- data/docs/LoggingS3Api.md +12 -12
- data/docs/LoggingS3Response.md +3 -3
- data/docs/LoggingScalyr.md +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +1 -1
- data/docs/LoggingSftp.md +4 -4
- data/docs/LoggingSftpAllOf.md +1 -1
- data/docs/LoggingSftpApi.md +16 -16
- data/docs/LoggingSftpResponse.md +4 -4
- data/docs/LoggingSplunk.md +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +1 -1
- data/docs/LoggingSumologic.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslog.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- 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/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 +9 -9
- data/docs/RealtimeMeasurements.md +23 -0
- data/docs/RelationshipCommonName.md +1 -1
- data/docs/RelationshipMemberMutualAuthentication.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 +1 -1
- data/docs/RelationshipServices.md +1 -1
- data/docs/{RelationshipServiceService.md → RelationshipServicesServices.md} +1 -1
- data/docs/RelationshipTlsCertificateTlsCertificate.md +1 -1
- data/docs/RelationshipTlsCertificates.md +1 -1
- data/docs/RelationshipTlsCertificatesTlsCertificates.md +10 -0
- data/docs/RelationshipTlsConfigurationTlsConfiguration.md +1 -1
- data/docs/RelationshipTlsConfigurations.md +1 -1
- data/docs/RelationshipTlsConfigurationsTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsDomainTlsDomain.md +1 -1
- data/docs/RelationshipTlsDomains.md +1 -1
- data/docs/RelationshipTlsDomainsTlsDomains.md +10 -0
- data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +1 -1
- data/docs/RelationshipTlsPrivateKeys.md +1 -1
- data/docs/RelationshipTlsPrivateKeysTlsPrivateKeys.md +10 -0
- data/docs/RelationshipUserUser.md +1 -1
- data/docs/RelationshipsForMutualAuthentication.md +10 -0
- data/docs/RelationshipsForStar.md +1 -1
- data/docs/RelationshipsForTlsBulkCertificate.md +2 -2
- data/docs/RelationshipsForTlsConfiguration.md +1 -1
- data/docs/RelationshipsForTlsCsr.md +10 -0
- data/docs/RelationshipsForTlsPrivateKey.md +1 -1
- data/docs/RelationshipsForTlsSubscription.md +2 -2
- data/docs/Results.md +24 -1
- data/docs/SchemasUserResponse.md +2 -2
- data/docs/Service.md +1 -1
- data/docs/ServiceApi.md +4 -4
- data/docs/ServiceAuthorizationData.md +1 -1
- data/docs/ServiceAuthorizationDataRelationships.md +11 -0
- data/docs/ServiceAuthorizationDataRelationshipsUser.md +10 -0
- data/docs/{RelationshipUserUserData.md → ServiceAuthorizationDataRelationshipsUserData.md} +1 -1
- data/docs/ServiceAuthorizationResponseData.md +1 -1
- data/docs/ServiceCreate.md +1 -1
- data/docs/ServiceDetail.md +1 -1
- data/docs/ServiceInvitationData.md +1 -1
- data/docs/ServiceInvitationDataRelationships.md +10 -0
- data/docs/ServiceListResponse.md +1 -1
- data/docs/ServiceResponse.md +1 -1
- data/docs/ServiceVersionDetail.md +1 -1
- data/docs/ServiceVersionDetailOrNull.md +1 -1
- 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/TypeMutualAuthentication.md +9 -0
- data/docs/TypeTlsCsr.md +9 -0
- data/docs/UpdateBillingAddressRequest.md +1 -0
- data/docs/User.md +1 -1
- data/docs/UserApi.md +4 -4
- data/docs/UserResponse.md +2 -2
- data/docs/UserResponseAllOf.md +1 -1
- data/docs/ValidatorResult.md +14 -0
- data/docs/ValidatorResultMessages.md +13 -0
- data/docs/VclApi.md +78 -0
- data/docs/VersionDetail.md +1 -1
- data/docs/VersionDetailSettings.md +13 -0
- data/docs/WafFirewallVersionDataAttributes.md +1 -1
- data/docs/WsMessageFormat.md +11 -0
- data/lib/fastly/api/acl_entry_api.rb +0 -332
- data/lib/fastly/api/automation_tokens_api.rb +340 -0
- data/lib/fastly/api/backend_api.rb +6 -0
- data/lib/fastly/api/cache_settings_api.rb +2 -2
- data/lib/fastly/api/enabled_products_api.rb +228 -0
- data/lib/fastly/api/events_api.rb +6 -3
- data/lib/fastly/api/healthcheck_api.rb +48 -42
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +18 -12
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +4 -4
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +4 -4
- data/lib/fastly/api/logging_ftp_api.rb +12 -12
- data/lib/fastly/api/logging_gcs_api.rb +32 -20
- data/lib/fastly/api/logging_heroku_api.rb +4 -4
- data/lib/fastly/api/logging_honeycomb_api.rb +4 -4
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_kafka_api.rb +2 -2
- data/lib/fastly/api/logging_kinesis_api.rb +2 -6
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/logging_loggly_api.rb +4 -4
- data/lib/fastly/api/logging_logshuttle_api.rb +4 -4
- data/lib/fastly/api/logging_newrelic_api.rb +8 -8
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +4 -4
- data/lib/fastly/api/logging_pubsub_api.rb +18 -12
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +4 -4
- data/lib/fastly/api/logging_sftp_api.rb +16 -16
- data/lib/fastly/api/logging_splunk_api.rb +4 -4
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/mutual_authentication_api.rb +347 -0
- data/lib/fastly/api/publish_api.rb +90 -0
- data/lib/fastly/api/purge_api.rb +14 -15
- data/lib/fastly/api/service_api.rb +4 -4
- data/lib/fastly/api/{domain_ownerships_api.rb → tls_csrs_api.rb} +24 -17
- data/lib/fastly/api/user_api.rb +4 -4
- data/lib/fastly/api/vcl_api.rb +143 -0
- data/lib/fastly/api_client.rb +16 -0
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -4
- data/lib/fastly/models/acl_entry_response_all_of.rb +0 -3
- data/lib/fastly/models/acl_response.rb +0 -3
- data/lib/fastly/models/acl_response_all_of.rb +0 -1
- data/lib/fastly/models/apex_redirect.rb +0 -2
- 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 +12 -1
- data/lib/fastly/models/backend_response.rb +12 -3
- data/lib/fastly/models/billing.rb +12 -3
- data/lib/fastly/models/billing_address_attributes.rb +4 -1
- data/lib/fastly/models/billing_address_request.rb +11 -1
- 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 +12 -3
- data/lib/fastly/models/billing_response.rb +12 -3
- data/lib/fastly/models/billing_response_line_item.rb +0 -1
- data/lib/fastly/models/billing_response_line_item_all_of.rb +0 -1
- data/lib/fastly/models/billing_status.rb +0 -1
- data/lib/fastly/models/billing_total.rb +1 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -2
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +0 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +2 -4
- data/lib/fastly/models/condition.rb +0 -1
- data/lib/fastly/models/condition_response.rb +0 -1
- data/lib/fastly/models/contact_response.rb +0 -1
- data/lib/fastly/models/contact_response_all_of.rb +0 -1
- data/lib/fastly/models/customer_response.rb +0 -1
- data/lib/fastly/models/customer_response_all_of.rb +0 -1
- data/lib/fastly/models/dictionary_item_response.rb +0 -2
- data/lib/fastly/models/dictionary_item_response_all_of.rb +0 -2
- data/lib/fastly/models/dictionary_response.rb +0 -3
- data/lib/fastly/models/dictionary_response_all_of.rb +0 -1
- data/lib/fastly/models/director_backend.rb +0 -2
- data/lib/fastly/models/director_response.rb +0 -2
- data/lib/fastly/models/domain_response.rb +0 -2
- 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 +0 -1
- data/lib/fastly/models/event_attributes.rb +13 -7
- data/lib/fastly/models/gzip_response.rb +0 -2
- data/lib/fastly/models/header_response.rb +0 -2
- data/lib/fastly/models/healthcheck.rb +17 -5
- data/lib/fastly/models/healthcheck_response.rb +17 -7
- data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +0 -1
- data/lib/fastly/models/http3.rb +0 -2
- data/lib/fastly/models/http_response_format.rb +262 -0
- data/lib/fastly/models/http_stream_format.rb +228 -0
- data/lib/fastly/models/inline_object.rb +221 -0
- data/lib/fastly/models/inline_object1.rb +221 -0
- data/lib/fastly/models/inline_response2001.rb +10 -8
- data/lib/fastly/models/invitation_response_data.rb +0 -1
- data/lib/fastly/models/invitation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/logging_azureblob.rb +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +3 -5
- data/lib/fastly/models/logging_bigquery.rb +14 -4
- data/lib/fastly/models/logging_bigquery_response.rb +14 -6
- data/lib/fastly/models/logging_cloudfiles.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -5
- data/lib/fastly/models/logging_common.rb +1 -1
- data/lib/fastly/models/logging_datadog.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +1 -3
- data/lib/fastly/models/logging_digitalocean.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -5
- data/lib/fastly/models/logging_elasticsearch.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +1 -3
- data/lib/fastly/models/logging_ftp.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -5
- data/lib/fastly/models/logging_gcs.rb +30 -11
- data/lib/fastly/models/logging_gcs_all_of.rb +15 -6
- data/lib/fastly/models/logging_gcs_common.rb +16 -6
- data/lib/fastly/models/logging_gcs_response.rb +26 -9
- data/lib/fastly/models/logging_generic_common.rb +2 -2
- data/lib/fastly/models/logging_google_pubsub.rb +14 -4
- data/lib/fastly/models/logging_google_pubsub_response.rb +14 -6
- data/lib/fastly/models/logging_heroku.rb +1 -1
- data/lib/fastly/models/logging_heroku_response.rb +1 -3
- data/lib/fastly/models/logging_honeycomb.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +1 -3
- data/lib/fastly/models/logging_https.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -3
- data/lib/fastly/models/logging_kafka.rb +1 -1
- data/lib/fastly/models/logging_kafka_response.rb +1 -3
- data/lib/fastly/models/logging_kinesis.rb +1 -36
- data/lib/fastly/models/logging_kinesis_response.rb +1 -38
- data/lib/fastly/models/logging_logentries.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -3
- data/lib/fastly/models/logging_loggly.rb +1 -1
- data/lib/fastly/models/logging_loggly_response.rb +1 -3
- data/lib/fastly/models/logging_logshuttle.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_response.rb +1 -3
- data/lib/fastly/models/logging_newrelic.rb +4 -3
- data/lib/fastly/models/logging_newrelic_all_of.rb +3 -2
- data/lib/fastly/models/logging_newrelic_response.rb +4 -5
- data/lib/fastly/models/logging_openstack.rb +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +3 -5
- data/lib/fastly/models/logging_papertrail.rb +1 -1
- data/lib/fastly/models/logging_papertrail_response.rb +1 -3
- data/lib/fastly/models/logging_s3.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -5
- data/lib/fastly/models/logging_scalyr.rb +1 -1
- data/lib/fastly/models/logging_scalyr_response.rb +1 -3
- data/lib/fastly/models/logging_sftp.rb +6 -5
- data/lib/fastly/models/logging_sftp_all_of.rb +3 -2
- data/lib/fastly/models/logging_sftp_response.rb +6 -7
- data/lib/fastly/models/logging_splunk.rb +1 -1
- data/lib/fastly/models/logging_splunk_response.rb +1 -3
- data/lib/fastly/models/logging_sumologic.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -3
- data/lib/fastly/models/logging_syslog.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -3
- 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_response.rb +0 -2
- data/lib/fastly/models/pool_response.rb +0 -3
- data/lib/fastly/models/pool_response_all_of.rb +0 -1
- 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_response.rb +0 -1
- data/lib/fastly/models/rate_limiter_response.rb +0 -2
- data/lib/fastly/models/realtime.rb +0 -1
- data/lib/fastly/models/realtime_entry.rb +3 -2
- data/lib/fastly/models/realtime_measurements.rb +234 -4
- data/lib/fastly/models/relationship_common_name.rb +1 -1
- data/lib/fastly/models/relationship_member_customer.rb +0 -1
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +227 -0
- data/lib/fastly/models/relationship_member_service.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_activation.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_configuration.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_private_key.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_subscription.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_firewall.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_rule.rb +0 -1
- 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 +1 -1
- data/lib/fastly/models/relationship_services.rb +1 -1
- data/lib/fastly/models/{relationship_service_service.rb → relationship_services_services.rb} +3 -3
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +2 -4
- data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +218 -0
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +2 -4
- data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +218 -0
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +2 -4
- data/lib/fastly/models/relationship_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +218 -0
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +2 -4
- data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +218 -0
- data/lib/fastly/models/relationship_user_user.rb +1 -1
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +235 -0
- data/lib/fastly/models/relationships_for_star.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +2 -2
- data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_csr.rb +235 -0
- data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_subscription.rb +2 -2
- data/lib/fastly/models/request_settings_response.rb +0 -2
- data/lib/fastly/models/response_object_response.rb +0 -2
- data/lib/fastly/models/results.rb +235 -5
- data/lib/fastly/models/schemas_contact_response.rb +0 -1
- data/lib/fastly/models/schemas_snippet_response.rb +0 -3
- data/lib/fastly/models/schemas_user_response.rb +0 -3
- data/lib/fastly/models/schemas_vcl_response.rb +0 -2
- data/lib/fastly/models/schemas_version_response.rb +0 -1
- data/lib/fastly/models/server_response.rb +0 -3
- data/lib/fastly/models/server_response_all_of.rb +0 -3
- data/lib/fastly/models/service.rb +1 -1
- data/lib/fastly/models/service_authorization_data.rb +1 -2
- 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/{relationship_user_user_data.rb → service_authorization_data_relationships_user_data.rb} +3 -4
- data/lib/fastly/models/service_authorization_response_data.rb +1 -3
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +0 -1
- data/lib/fastly/models/service_create.rb +1 -1
- data/lib/fastly/models/service_detail.rb +2 -2
- data/lib/fastly/models/service_detail_all_of.rb +1 -0
- data/lib/fastly/models/service_id_and_version.rb +0 -2
- data/lib/fastly/models/service_invitation_data.rb +1 -3
- data/lib/fastly/models/service_invitation_data_relationships.rb +217 -0
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +0 -1
- data/lib/fastly/models/service_list_response.rb +1 -2
- data/lib/fastly/models/service_list_response_all_of.rb +0 -1
- data/lib/fastly/models/service_response.rb +1 -2
- data/lib/fastly/models/service_response_all_of.rb +0 -1
- data/lib/fastly/models/service_version_detail.rb +1 -4
- data/lib/fastly/models/service_version_detail_or_null.rb +5 -20
- data/lib/fastly/models/settings_response.rb +0 -2
- data/lib/fastly/models/snippet_response.rb +0 -3
- data/lib/fastly/models/snippet_response_all_of.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +0 -1
- 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_private_key_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data_all_of.rb +0 -1
- data/lib/fastly/models/token_created_response.rb +0 -2
- data/lib/fastly/models/token_response.rb +0 -2
- data/lib/fastly/models/token_response_all_of.rb +0 -2
- data/lib/fastly/models/type_mutual_authentication.rb +34 -0
- data/lib/fastly/models/type_tls_csr.rb +34 -0
- data/lib/fastly/models/update_billing_address_request.rb +11 -1
- data/lib/fastly/models/user.rb +0 -1
- data/lib/fastly/models/user_response.rb +0 -3
- data/lib/fastly/models/user_response_all_of.rb +0 -2
- data/lib/fastly/models/validator_result.rb +294 -0
- data/lib/fastly/models/validator_result_messages.rb +265 -0
- data/lib/fastly/models/vcl_response.rb +0 -2
- data/lib/fastly/models/version_create_response.rb +0 -2
- data/lib/fastly/models/version_detail.rb +1 -3
- data/lib/fastly/models/version_detail_settings.rb +252 -0
- data/lib/fastly/models/version_response.rb +0 -1
- data/lib/fastly/models/version_response_all_of.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -2
- data/lib/fastly/models/waf_rule.rb +0 -1
- data/lib/fastly/models/waf_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_tag_attributes.rb +0 -1
- data/lib/fastly/models/ws_message_format.rb +228 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +65 -5
- data/pkg/fastly-4.0.0.gem +0 -0
- data/sig.json +1 -0
- metadata +137 -15
- data/docs/ContentApi.md +0 -52
- data/docs/DocsApi.md +0 -123
- data/docs/DomainOwnershipsApi.md +0 -47
- data/lib/fastly/api/content_api.rb +0 -79
- data/lib/fastly/api/docs_api.rb +0 -210
@@ -0,0 +1,275 @@
|
|
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 'date'
|
12
|
+
require 'time'
|
13
|
+
|
14
|
+
module Fastly
|
15
|
+
class BillingAddressVerificationErrorResponseErrors
|
16
|
+
# The error type.
|
17
|
+
attr_accessor :type
|
18
|
+
|
19
|
+
attr_accessor :title
|
20
|
+
|
21
|
+
attr_accessor :detail
|
22
|
+
|
23
|
+
attr_accessor :status
|
24
|
+
|
25
|
+
attr_accessor :candidates
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'type' => :'type',
|
31
|
+
:'title' => :'title',
|
32
|
+
:'detail' => :'detail',
|
33
|
+
:'status' => :'status',
|
34
|
+
:'candidates' => :'candidates'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Returns all the JSON keys this model knows about
|
39
|
+
def self.acceptable_attributes
|
40
|
+
attribute_map.values
|
41
|
+
end
|
42
|
+
|
43
|
+
# Attribute type mapping.
|
44
|
+
def self.fastly_types
|
45
|
+
{
|
46
|
+
:'type' => :'String',
|
47
|
+
:'title' => :'String',
|
48
|
+
:'detail' => :'String',
|
49
|
+
:'status' => :'Float',
|
50
|
+
:'candidates' => :'Array<BillingAddressAttributes>'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# List of attributes with nullable: true
|
55
|
+
def self.fastly_nullable
|
56
|
+
Set.new([
|
57
|
+
])
|
58
|
+
end
|
59
|
+
|
60
|
+
# Initializes the object
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
62
|
+
def initialize(attributes = {})
|
63
|
+
if (!attributes.is_a?(Hash))
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::BillingAddressVerificationErrorResponseErrors` initialize method"
|
65
|
+
end
|
66
|
+
|
67
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::BillingAddressVerificationErrorResponseErrors`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
71
|
+
end
|
72
|
+
h[k.to_sym] = v
|
73
|
+
}
|
74
|
+
|
75
|
+
if attributes.key?(:'type')
|
76
|
+
self.type = attributes[:'type']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'title')
|
80
|
+
self.title = attributes[:'title']
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.key?(:'detail')
|
84
|
+
self.detail = attributes[:'detail']
|
85
|
+
end
|
86
|
+
|
87
|
+
if attributes.key?(:'status')
|
88
|
+
self.status = attributes[:'status']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.key?(:'candidates')
|
92
|
+
if (value = attributes[:'candidates']).is_a?(Array)
|
93
|
+
self.candidates = value
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
99
|
+
# @return Array for valid properties with the reasons
|
100
|
+
def list_invalid_properties
|
101
|
+
invalid_properties = Array.new
|
102
|
+
if @type.nil?
|
103
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
104
|
+
end
|
105
|
+
|
106
|
+
if @title.nil?
|
107
|
+
invalid_properties.push('invalid value for "title", title cannot be nil.')
|
108
|
+
end
|
109
|
+
|
110
|
+
if @detail.nil?
|
111
|
+
invalid_properties.push('invalid value for "detail", detail cannot be nil.')
|
112
|
+
end
|
113
|
+
|
114
|
+
if @status.nil?
|
115
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
116
|
+
end
|
117
|
+
|
118
|
+
invalid_properties
|
119
|
+
end
|
120
|
+
|
121
|
+
# Check to see if the all the properties in the model are valid
|
122
|
+
# @return true if the model is valid
|
123
|
+
def valid?
|
124
|
+
return false if @type.nil?
|
125
|
+
return false if @title.nil?
|
126
|
+
return false if @detail.nil?
|
127
|
+
return false if @status.nil?
|
128
|
+
true
|
129
|
+
end
|
130
|
+
|
131
|
+
# Checks equality by comparing each attribute.
|
132
|
+
# @param [Object] Object to be compared
|
133
|
+
def ==(o)
|
134
|
+
return true if self.equal?(o)
|
135
|
+
self.class == o.class &&
|
136
|
+
type == o.type &&
|
137
|
+
title == o.title &&
|
138
|
+
detail == o.detail &&
|
139
|
+
status == o.status &&
|
140
|
+
candidates == o.candidates
|
141
|
+
end
|
142
|
+
|
143
|
+
# @see the `==` method
|
144
|
+
# @param [Object] Object to be compared
|
145
|
+
def eql?(o)
|
146
|
+
self == o
|
147
|
+
end
|
148
|
+
|
149
|
+
# Calculates hash code according to all attributes.
|
150
|
+
# @return [Integer] Hash code
|
151
|
+
def hash
|
152
|
+
[type, title, detail, status, candidates].hash
|
153
|
+
end
|
154
|
+
|
155
|
+
# Builds the object from hash
|
156
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
157
|
+
# @return [Object] Returns the model itself
|
158
|
+
def self.build_from_hash(attributes)
|
159
|
+
new.build_from_hash(attributes)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Builds the object from hash
|
163
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
164
|
+
# @return [Object] Returns the model itself
|
165
|
+
def build_from_hash(attributes)
|
166
|
+
return nil unless attributes.is_a?(Hash)
|
167
|
+
self.class.fastly_types.each_pair do |key, type|
|
168
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
|
169
|
+
self.send("#{key}=", nil)
|
170
|
+
elsif type =~ /\AArray<(.*)>/i
|
171
|
+
# check to ensure the input is an array given that the attribute
|
172
|
+
# is documented as an array but the input is not
|
173
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
174
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
175
|
+
end
|
176
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
177
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
self
|
182
|
+
end
|
183
|
+
|
184
|
+
# Deserializes the data based on type
|
185
|
+
# @param string type Data type
|
186
|
+
# @param string value Value to be deserialized
|
187
|
+
# @return [Object] Deserialized data
|
188
|
+
def _deserialize(type, value)
|
189
|
+
case type.to_sym
|
190
|
+
when :Time
|
191
|
+
Time.parse(value)
|
192
|
+
when :Date
|
193
|
+
Date.parse(value)
|
194
|
+
when :String
|
195
|
+
value.to_s
|
196
|
+
when :Integer
|
197
|
+
value.to_i
|
198
|
+
when :Float
|
199
|
+
value.to_f
|
200
|
+
when :Boolean
|
201
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
202
|
+
true
|
203
|
+
else
|
204
|
+
false
|
205
|
+
end
|
206
|
+
when :Object
|
207
|
+
# generic object (usually a Hash), return directly
|
208
|
+
value
|
209
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
210
|
+
inner_type = Regexp.last_match[:inner_type]
|
211
|
+
value.map { |v| _deserialize(inner_type, v) }
|
212
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
213
|
+
k_type = Regexp.last_match[:k_type]
|
214
|
+
v_type = Regexp.last_match[:v_type]
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each do |k, v|
|
217
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
218
|
+
end
|
219
|
+
end
|
220
|
+
else # model
|
221
|
+
# models (e.g. Pet) or oneOf
|
222
|
+
klass = Fastly.const_get(type)
|
223
|
+
klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
# Returns the string representation of the object
|
228
|
+
# @return [String] String presentation of the object
|
229
|
+
def to_s
|
230
|
+
to_hash.to_s
|
231
|
+
end
|
232
|
+
|
233
|
+
# to_body is an alias to to_hash (backward compatibility)
|
234
|
+
# @return [Hash] Returns the object in the form of hash
|
235
|
+
def to_body
|
236
|
+
to_hash
|
237
|
+
end
|
238
|
+
|
239
|
+
# Returns the object in the form of hash
|
240
|
+
# @return [Hash] Returns the object in the form of hash
|
241
|
+
def to_hash
|
242
|
+
hash = {}
|
243
|
+
self.class.attribute_map.each_pair do |attr, param|
|
244
|
+
value = self.send(attr)
|
245
|
+
if value.nil?
|
246
|
+
is_nullable = self.class.fastly_nullable.include?(attr)
|
247
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
248
|
+
end
|
249
|
+
|
250
|
+
hash[param] = _to_hash(value)
|
251
|
+
end
|
252
|
+
hash
|
253
|
+
end
|
254
|
+
|
255
|
+
# Outputs non-array value in the form of hash
|
256
|
+
# For object, use to_hash. Otherwise, just return the value
|
257
|
+
# @param [Object] value Any valid value
|
258
|
+
# @return [Hash] Returns the value in the form of hash
|
259
|
+
def _to_hash(value)
|
260
|
+
if value.is_a?(Array)
|
261
|
+
value.compact.map { |v| _to_hash(v) }
|
262
|
+
elsif value.is_a?(Hash)
|
263
|
+
{}.tap do |hash|
|
264
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
265
|
+
end
|
266
|
+
elsif value.respond_to? :to_hash
|
267
|
+
value.to_hash
|
268
|
+
else
|
269
|
+
value
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
end
|
274
|
+
|
275
|
+
end
|
@@ -23,10 +23,14 @@ module Fastly
|
|
23
23
|
|
24
24
|
attr_accessor :customer_id
|
25
25
|
|
26
|
+
# The current state of our third-party billing vendor. One of `up` or `down`.
|
27
|
+
attr_accessor :vendor_state
|
28
|
+
|
26
29
|
attr_accessor :status
|
27
30
|
|
28
31
|
attr_accessor :total
|
29
32
|
|
33
|
+
# Breakdown of regional data for products that are region based.
|
30
34
|
attr_accessor :regions
|
31
35
|
|
32
36
|
attr_accessor :lines
|
@@ -38,6 +42,7 @@ module Fastly
|
|
38
42
|
:'start_time' => :'start_time',
|
39
43
|
:'invoice_id' => :'invoice_id',
|
40
44
|
:'customer_id' => :'customer_id',
|
45
|
+
:'vendor_state' => :'vendor_state',
|
41
46
|
:'status' => :'status',
|
42
47
|
:'total' => :'total',
|
43
48
|
:'regions' => :'regions',
|
@@ -57,6 +62,7 @@ module Fastly
|
|
57
62
|
:'start_time' => :'Time',
|
58
63
|
:'invoice_id' => :'String',
|
59
64
|
:'customer_id' => :'String',
|
65
|
+
:'vendor_state' => :'String',
|
60
66
|
:'status' => :'BillingStatus',
|
61
67
|
:'total' => :'BillingTotal',
|
62
68
|
:'regions' => :'Hash<String, Hash<String, Object>>',
|
@@ -69,8 +75,6 @@ module Fastly
|
|
69
75
|
Set.new([
|
70
76
|
:'end_time',
|
71
77
|
:'start_time',
|
72
|
-
:'invoice_id',
|
73
|
-
:'customer_id',
|
74
78
|
])
|
75
79
|
end
|
76
80
|
|
@@ -113,6 +117,10 @@ module Fastly
|
|
113
117
|
self.customer_id = attributes[:'customer_id']
|
114
118
|
end
|
115
119
|
|
120
|
+
if attributes.key?(:'vendor_state')
|
121
|
+
self.vendor_state = attributes[:'vendor_state']
|
122
|
+
end
|
123
|
+
|
116
124
|
if attributes.key?(:'status')
|
117
125
|
self.status = attributes[:'status']
|
118
126
|
end
|
@@ -156,6 +164,7 @@ module Fastly
|
|
156
164
|
start_time == o.start_time &&
|
157
165
|
invoice_id == o.invoice_id &&
|
158
166
|
customer_id == o.customer_id &&
|
167
|
+
vendor_state == o.vendor_state &&
|
159
168
|
status == o.status &&
|
160
169
|
total == o.total &&
|
161
170
|
regions == o.regions &&
|
@@ -171,7 +180,7 @@ module Fastly
|
|
171
180
|
# Calculates hash code according to all attributes.
|
172
181
|
# @return [Integer] Hash code
|
173
182
|
def hash
|
174
|
-
[end_time, start_time, invoice_id, customer_id, status, total, regions, lines].hash
|
183
|
+
[end_time, start_time, invoice_id, customer_id, vendor_state, status, total, regions, lines].hash
|
175
184
|
end
|
176
185
|
|
177
186
|
# Builds the object from hash
|
@@ -23,10 +23,14 @@ module Fastly
|
|
23
23
|
|
24
24
|
attr_accessor :customer_id
|
25
25
|
|
26
|
+
# The current state of our third-party billing vendor. One of `up` or `down`.
|
27
|
+
attr_accessor :vendor_state
|
28
|
+
|
26
29
|
attr_accessor :status
|
27
30
|
|
28
31
|
attr_accessor :total
|
29
32
|
|
33
|
+
# Breakdown of regional data for products that are region based.
|
30
34
|
attr_accessor :regions
|
31
35
|
|
32
36
|
attr_accessor :line_items
|
@@ -38,6 +42,7 @@ module Fastly
|
|
38
42
|
:'start_time' => :'start_time',
|
39
43
|
:'invoice_id' => :'invoice_id',
|
40
44
|
:'customer_id' => :'customer_id',
|
45
|
+
:'vendor_state' => :'vendor_state',
|
41
46
|
:'status' => :'status',
|
42
47
|
:'total' => :'total',
|
43
48
|
:'regions' => :'regions',
|
@@ -57,6 +62,7 @@ module Fastly
|
|
57
62
|
:'start_time' => :'Time',
|
58
63
|
:'invoice_id' => :'String',
|
59
64
|
:'customer_id' => :'String',
|
65
|
+
:'vendor_state' => :'String',
|
60
66
|
:'status' => :'BillingStatus',
|
61
67
|
:'total' => :'BillingTotal',
|
62
68
|
:'regions' => :'Hash<String, Hash<String, Object>>',
|
@@ -69,8 +75,6 @@ module Fastly
|
|
69
75
|
Set.new([
|
70
76
|
:'end_time',
|
71
77
|
:'start_time',
|
72
|
-
:'invoice_id',
|
73
|
-
:'customer_id',
|
74
78
|
])
|
75
79
|
end
|
76
80
|
|
@@ -113,6 +117,10 @@ module Fastly
|
|
113
117
|
self.customer_id = attributes[:'customer_id']
|
114
118
|
end
|
115
119
|
|
120
|
+
if attributes.key?(:'vendor_state')
|
121
|
+
self.vendor_state = attributes[:'vendor_state']
|
122
|
+
end
|
123
|
+
|
116
124
|
if attributes.key?(:'status')
|
117
125
|
self.status = attributes[:'status']
|
118
126
|
end
|
@@ -156,6 +164,7 @@ module Fastly
|
|
156
164
|
start_time == o.start_time &&
|
157
165
|
invoice_id == o.invoice_id &&
|
158
166
|
customer_id == o.customer_id &&
|
167
|
+
vendor_state == o.vendor_state &&
|
159
168
|
status == o.status &&
|
160
169
|
total == o.total &&
|
161
170
|
regions == o.regions &&
|
@@ -171,7 +180,7 @@ module Fastly
|
|
171
180
|
# Calculates hash code according to all attributes.
|
172
181
|
# @return [Integer] Hash code
|
173
182
|
def hash
|
174
|
-
[end_time, start_time, invoice_id, customer_id, status, total, regions, line_items].hash
|
183
|
+
[end_time, start_time, invoice_id, customer_id, vendor_state, status, total, regions, line_items].hash
|
175
184
|
end
|
176
185
|
|
177
186
|
# Builds the object from hash
|
@@ -22,7 +22,7 @@ module Fastly
|
|
22
22
|
# An IP address.
|
23
23
|
attr_accessor :ip
|
24
24
|
|
25
|
-
# Number of bits for the subnet mask applied to the IP address.
|
25
|
+
# Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
|
26
26
|
attr_accessor :subnet
|
27
27
|
|
28
28
|
attr_accessor :op
|
@@ -85,7 +85,6 @@ module Fastly
|
|
85
85
|
Set.new([
|
86
86
|
:'comment',
|
87
87
|
:'subnet',
|
88
|
-
:'id'
|
89
88
|
])
|
90
89
|
end
|
91
90
|
|
@@ -131,7 +131,7 @@ module Fastly
|
|
131
131
|
# Check to see if the all the properties in the model are valid
|
132
132
|
# @return true if the model is valid
|
133
133
|
def valid?
|
134
|
-
action_validator = EnumAttributeValidator.new('String', ["pass", "
|
134
|
+
action_validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
|
135
135
|
return false unless action_validator.valid?(@action)
|
136
136
|
true
|
137
137
|
end
|
@@ -139,7 +139,7 @@ module Fastly
|
|
139
139
|
# Custom attribute writer method checking allowed values (enum).
|
140
140
|
# @param [Object] action Object to be assigned
|
141
141
|
def action=(action)
|
142
|
-
validator = EnumAttributeValidator.new('String', ["pass", "
|
142
|
+
validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
|
143
143
|
unless validator.valid?(action)
|
144
144
|
fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
|
145
145
|
end
|
@@ -105,8 +105,6 @@ module Fastly
|
|
105
105
|
Set.new([
|
106
106
|
:'action',
|
107
107
|
:'cache_condition',
|
108
|
-
:'service_id',
|
109
|
-
:'version',
|
110
108
|
:'created_at',
|
111
109
|
:'deleted_at',
|
112
110
|
:'updated_at'
|
@@ -188,7 +186,7 @@ module Fastly
|
|
188
186
|
# Check to see if the all the properties in the model are valid
|
189
187
|
# @return true if the model is valid
|
190
188
|
def valid?
|
191
|
-
action_validator = EnumAttributeValidator.new('String', ["pass", "
|
189
|
+
action_validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
|
192
190
|
return false unless action_validator.valid?(@action)
|
193
191
|
true
|
194
192
|
end
|
@@ -196,7 +194,7 @@ module Fastly
|
|
196
194
|
# Custom attribute writer method checking allowed values (enum).
|
197
195
|
# @param [Object] action Object to be assigned
|
198
196
|
def action=(action)
|
199
|
-
validator = EnumAttributeValidator.new('String', ["pass", "
|
197
|
+
validator = EnumAttributeValidator.new('String', ["pass", "cache", "restart"])
|
200
198
|
unless validator.valid?(action)
|
201
199
|
fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
|
202
200
|
end
|