hcloud-rust v0.20.0
Update to current state of Hetzner's API description. This release includes a lot of braking changes derived from changes in the API.
Changes in the release:
- BREAKING: Field
change_floating_ip_protection_request
ofChangeFloatingIpProtectionParams
is nowbody: Option<models::Protection>
. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpParams
is renamed toChangeReverseDnsRecordsForFloatingIpParams
. - BREAKING: Field
change_reverse_dns_entry_for_floating_ip_request
ofChangeReverseDnsRecordsForFloatingIpParams
is nowbody: Option<models::DnsPtr>
. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpError
is renamed toChangeReverseDnsRecordsForFloatingIpError
. - BREAKING: Function
change_reverse_dns_entry_for_floating_ip
is renamed tochange_reverse_dns_records_for_floating_ip
. - BREAKING: Field
id
ofGetLoadBalancerTypeParams
is now of typei64
. - BREAKING: Field
id
ofGetServerTypeParams
is now of typei64
. - BREAKING: Field
meta
ofApplyToResourcesResponse
is removed. - BREAKING: Field
server
ofAssignFloatingIpToServerRequest
is now optional. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpResponse
is renamed toChangeReverseDnsRecordsForFloatingIpResponse
. - BREAKING: Field
apply_to
ofCreateFirewallRequest
is now of typeOption<Vec<models::FirewallResource>>
. - BREAKING: Fields
description
andserver
ofCreateFloatingIpRequest
are now optional and nullable. - BREAKING: Field
rules
ofFirewall
is now of typeVec<models::RuleResponse>
. - BREAKING: Field
meta
of list responses is no longer optional. - BREAKING: Field
traffic
ofListPricesResponsePricing
is now of typeOption<serde_json::Value>
(always returningNone
according to API spec). - BREAKING: Field
prices
ofListPricesResponsePricingPrimaryIps
is now of typeVec<models::PricePerTimeWithoutTraffic>
(asPricePerTime
now contains traffic information which is not available for primary IPs). - BREAKING:
MetricsTimeSeriesValue
is now anenum
type. - BREAKING: Struct
PricePerTime
now contains fieldsincluded_traffic
andprice_per_tb_traffic
. - BREAKING: Field
meta
ofRemoveFromResourcesResponse
is removed. - BREAKING: Fields
description
ofReplaceFloatingIpRequest
are now optional and nullable. - BREAKING: Field
port
ofRule
are now optional and nullable. - BREAKING: Field
server_type
ofServer
is now of typeBox<models::ServerType>
. - BREAKING: Field
included_traffic:
ofServerType
is now optional (always returningNone
according to API spec). - BREAKING: Field
meta
ofSetRulesResponse
is removed. - BREAKING: Model types now implement
Display
instead ofToString
. - Update crate dependencies
- Use OpenAPI Generator version 7.7.0 for code generation
- Doc: Substantial docstring updates