Skip to content

Commit

Permalink
sync: generate client with 2024-07-01 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 1, 2024
1 parent 7e84409 commit a801b92
Show file tree
Hide file tree
Showing 17 changed files with 671 additions and 165 deletions.
1 change: 0 additions & 1 deletion services/metalv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,6 @@ Class | Method | HTTP request | Description
- [PlanSpecs](docs/PlanSpecs.md)
- [PlanSpecsCpusInner](docs/PlanSpecsCpusInner.md)
- [PlanSpecsDrivesInner](docs/PlanSpecsDrivesInner.md)
- [PlanSpecsDrivesInnerCategory](docs/PlanSpecsDrivesInnerCategory.md)
- [PlanSpecsFeatures](docs/PlanSpecsFeatures.md)
- [PlanSpecsMemory](docs/PlanSpecsMemory.md)
- [PlanSpecsNicsInner](docs/PlanSpecsNicsInner.md)
Expand Down
4 changes: 4 additions & 0 deletions services/metalv1/api_emails.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/metalv1/docs/CreateMetalGatewayRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**IpReservationId** | **string** | The UUID an a VRF IP Reservation that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the VRF IP Reservation and the Virtual Network must reside in the same Metro. |
**PrivateIpv4SubnetSize** | Pointer to **int32** | The subnet size (8, 16, 32, 64, or 128) of the private IPv4 reservation that will be created for the metal gateway. This field is required unless a project IP reservation was specified. Please keep in mind that the number of private metal gateway ranges are limited per project. If you would like to increase the limit per project, please contact support for assistance. | [optional]
**VirtualNetworkId** | **string** | THe UUID of a Metro Virtual Network that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the Virtual Network and the VRF IP Reservation must reside in the same metro. In the case of the IP reservation being an IPv6 based VRF IP Reservation, the Virtual Network must not already have an associated IPv6 based VRF IP Reservation. There can be exactly one IPv6 based VRF IP Reservation associated to a Virtual Network. |
**VirtualNetworkId** | **string** | The UUID of a Metro Virtual Network that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the Virtual Network and the VRF IP Reservation must reside in the same metro. In the case of the IP reservation being an IPv6 based VRF IP Reservation, the Virtual Network must not already have an associated IPv6 based VRF IP Reservation. There can be exactly one IPv6 based VRF IP Reservation associated to a Virtual Network. |

## Methods

Expand Down
182 changes: 182 additions & 0 deletions services/metalv1/docs/OperatingSystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BuildDate** | Pointer to **string** | The date on which the current OS image was build and released | [optional]
**DeprecationDate** | Pointer to **string** | The date when the OS is deprecated | [optional]
**Distro** | Pointer to **string** | | [optional]
**DistroLabel** | Pointer to **string** | | [optional]
**EndOfLifeDate** | Pointer to **string** | The OS no longer receives any updates and may be disabled at any time | [optional]
**EndOfServiceDate** | Pointer to **string** | When the OS is nearing end of life, typically 30 days before end of life | [optional]
**Id** | Pointer to **string** | | [optional]
**Licensed** | Pointer to **bool** | Licenced OS is priced according to pricing property | [optional]
**LifecycleState** | Pointer to **string** | Where in the support lifecycle the OS is | [optional]
**Name** | Pointer to **string** | | [optional]
**Preinstallable** | Pointer to **bool** | Servers can be already preinstalled with OS in order to shorten provision time. | [optional]
**Pricing** | Pointer to **map[string]interface{}** | This object contains price per time unit and optional multiplier value if licence price depends on hardware plan or components (e.g. number of cores) | [optional]
**ProvisionableOn** | Pointer to **[]string** | | [optional]
**ReleaseDate** | Pointer to **string** | The date when the OS was released | [optional]
**ReleaseNotes** | Pointer to **string** | The current release notes for this OS image, typically in Markdown format | [optional]
**Slug** | Pointer to **string** | | [optional]
**Version** | Pointer to **string** | | [optional]
**DefaultOperatingSystem** | Pointer to **bool** | Default operating system for the distro. | [optional] [readonly]
Expand All @@ -35,6 +42,56 @@ NewOperatingSystemWithDefaults instantiates a new OperatingSystem object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetBuildDate

`func (o *OperatingSystem) GetBuildDate() string`

GetBuildDate returns the BuildDate field if non-nil, zero value otherwise.

### GetBuildDateOk

`func (o *OperatingSystem) GetBuildDateOk() (*string, bool)`

GetBuildDateOk returns a tuple with the BuildDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetBuildDate

`func (o *OperatingSystem) SetBuildDate(v string)`

SetBuildDate sets BuildDate field to given value.

### HasBuildDate

`func (o *OperatingSystem) HasBuildDate() bool`

HasBuildDate returns a boolean if a field has been set.

### GetDeprecationDate

`func (o *OperatingSystem) GetDeprecationDate() string`

GetDeprecationDate returns the DeprecationDate field if non-nil, zero value otherwise.

### GetDeprecationDateOk

`func (o *OperatingSystem) GetDeprecationDateOk() (*string, bool)`

GetDeprecationDateOk returns a tuple with the DeprecationDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetDeprecationDate

`func (o *OperatingSystem) SetDeprecationDate(v string)`

SetDeprecationDate sets DeprecationDate field to given value.

### HasDeprecationDate

`func (o *OperatingSystem) HasDeprecationDate() bool`

HasDeprecationDate returns a boolean if a field has been set.

### GetDistro

`func (o *OperatingSystem) GetDistro() string`
Expand Down Expand Up @@ -85,6 +142,56 @@ SetDistroLabel sets DistroLabel field to given value.

HasDistroLabel returns a boolean if a field has been set.

### GetEndOfLifeDate

`func (o *OperatingSystem) GetEndOfLifeDate() string`

GetEndOfLifeDate returns the EndOfLifeDate field if non-nil, zero value otherwise.

### GetEndOfLifeDateOk

`func (o *OperatingSystem) GetEndOfLifeDateOk() (*string, bool)`

GetEndOfLifeDateOk returns a tuple with the EndOfLifeDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetEndOfLifeDate

`func (o *OperatingSystem) SetEndOfLifeDate(v string)`

SetEndOfLifeDate sets EndOfLifeDate field to given value.

### HasEndOfLifeDate

`func (o *OperatingSystem) HasEndOfLifeDate() bool`

HasEndOfLifeDate returns a boolean if a field has been set.

### GetEndOfServiceDate

`func (o *OperatingSystem) GetEndOfServiceDate() string`

GetEndOfServiceDate returns the EndOfServiceDate field if non-nil, zero value otherwise.

### GetEndOfServiceDateOk

`func (o *OperatingSystem) GetEndOfServiceDateOk() (*string, bool)`

GetEndOfServiceDateOk returns a tuple with the EndOfServiceDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetEndOfServiceDate

`func (o *OperatingSystem) SetEndOfServiceDate(v string)`

SetEndOfServiceDate sets EndOfServiceDate field to given value.

### HasEndOfServiceDate

`func (o *OperatingSystem) HasEndOfServiceDate() bool`

HasEndOfServiceDate returns a boolean if a field has been set.

### GetId

`func (o *OperatingSystem) GetId() string`
Expand Down Expand Up @@ -135,6 +242,31 @@ SetLicensed sets Licensed field to given value.

HasLicensed returns a boolean if a field has been set.

### GetLifecycleState

`func (o *OperatingSystem) GetLifecycleState() string`

GetLifecycleState returns the LifecycleState field if non-nil, zero value otherwise.

### GetLifecycleStateOk

`func (o *OperatingSystem) GetLifecycleStateOk() (*string, bool)`

GetLifecycleStateOk returns a tuple with the LifecycleState field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetLifecycleState

`func (o *OperatingSystem) SetLifecycleState(v string)`

SetLifecycleState sets LifecycleState field to given value.

### HasLifecycleState

`func (o *OperatingSystem) HasLifecycleState() bool`

HasLifecycleState returns a boolean if a field has been set.

### GetName

`func (o *OperatingSystem) GetName() string`
Expand Down Expand Up @@ -235,6 +367,56 @@ SetProvisionableOn sets ProvisionableOn field to given value.

HasProvisionableOn returns a boolean if a field has been set.

### GetReleaseDate

`func (o *OperatingSystem) GetReleaseDate() string`

GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise.

### GetReleaseDateOk

`func (o *OperatingSystem) GetReleaseDateOk() (*string, bool)`

GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetReleaseDate

`func (o *OperatingSystem) SetReleaseDate(v string)`

SetReleaseDate sets ReleaseDate field to given value.

### HasReleaseDate

`func (o *OperatingSystem) HasReleaseDate() bool`

HasReleaseDate returns a boolean if a field has been set.

### GetReleaseNotes

`func (o *OperatingSystem) GetReleaseNotes() string`

GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise.

### GetReleaseNotesOk

`func (o *OperatingSystem) GetReleaseNotesOk() (*string, bool)`

GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetReleaseNotes

`func (o *OperatingSystem) SetReleaseNotes(v string)`

SetReleaseNotes sets ReleaseNotes field to given value.

### HasReleaseNotes

`func (o *OperatingSystem) HasReleaseNotes() bool`

HasReleaseNotes returns a boolean if a field has been set.

### GetSlug

`func (o *OperatingSystem) GetSlug() string`
Expand Down
10 changes: 5 additions & 5 deletions services/metalv1/docs/PlanSpecsDrivesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Count** | Pointer to **int32** | | [optional]
**Type** | Pointer to **string** | | [optional]
**Type** | Pointer to **string** | Values may include 'HDD', 'SSD', 'NVME' | [optional]
**Size** | Pointer to **string** | | [optional]
**Category** | Pointer to [**PlanSpecsDrivesInnerCategory**](PlanSpecsDrivesInnerCategory.md) | | [optional]
**Category** | Pointer to **string** | Values may include 'boot', 'cache', 'storage' | [optional]

## Methods

Expand Down Expand Up @@ -105,20 +105,20 @@ HasSize returns a boolean if a field has been set.

### GetCategory

`func (o *PlanSpecsDrivesInner) GetCategory() PlanSpecsDrivesInnerCategory`
`func (o *PlanSpecsDrivesInner) GetCategory() string`

GetCategory returns the Category field if non-nil, zero value otherwise.

### GetCategoryOk

`func (o *PlanSpecsDrivesInner) GetCategoryOk() (*PlanSpecsDrivesInnerCategory, bool)`
`func (o *PlanSpecsDrivesInner) GetCategoryOk() (*string, bool)`

GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCategory

`func (o *PlanSpecsDrivesInner) SetCategory(v PlanSpecsDrivesInnerCategory)`
`func (o *PlanSpecsDrivesInner) SetCategory(v string)`

SetCategory sets Category field to given value.

Expand Down
15 changes: 0 additions & 15 deletions services/metalv1/docs/PlanSpecsDrivesInnerCategory.md

This file was deleted.

2 changes: 1 addition & 1 deletion services/metalv1/docs/PlanSpecsNicsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Count** | Pointer to **int32** | | [optional]
**Type** | Pointer to **string** | | [optional]
**Type** | Pointer to **string** | Values may include '1Gbps', '10Gbps', '25Gbps' | [optional]

## Methods

Expand Down
52 changes: 52 additions & 0 deletions services/metalv1/docs/VirtualCircuit.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ Name | Type | Description | Notes
**CreatedAt** | Pointer to **time.Time** | | [optional]
**UpdatedAt** | Pointer to **time.Time** | | [optional]
**CustomerIp** | Pointer to **string** | An IPv4 address from the subnet that will be used on the Customer side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Metal IP. By default, the last usable IP address in the subnet will be used. | [optional]
**CustomerIpv6** | Pointer to **string** | An IPv6 address from the subnet IPv6 that will be used on the Customer side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet IPv6 as the Metal IPv6. By default, the last usable IP address in the subnet IPv6 will be used. | [optional]
**Md5** | Pointer to **string** | The MD5 password for the BGP peering in plaintext (not a checksum). | [optional]
**MetalIp** | Pointer to **string** | An IPv4 address from the subnet that will be used on the Metal side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Customer IP. By default, the first usable IP address in the subnet will be used. | [optional]
**MetalIpv6** | Pointer to **string** | An IPv6 address from the subnet IPv6 that will be used on the Metal side. This parameter is optional, but if supplied, we will use the other usable IPv6 address in the subnet IPv6 as the Customer IP. By default, the first usable IPv6 address in the subnet IPv6 will be used. | [optional]
**PeerAsn** | Pointer to **int64** | The peer ASN that will be used with the VRF on the Virtual Circuit. | [optional]
**Subnet** | Pointer to **string** | The /30 or /31 IPv4 subnet of one of the VRF IP Blocks that will be used with the VRF for the Virtual Circuit. This subnet does not have to be an existing VRF IP reservation, as we will create the VRF IP reservation on creation if it does not exist. The Metal IP and Customer IP must be IPs from this subnet. For /30 subnets, the network and broadcast IPs cannot be used as the Metal or Customer IP. | [optional]
**SubnetIpv6** | Pointer to **string** | The /126 or /127 IPv6 subnet of one of the VRF IP Blocks that will be used with the VRF for the Virtual Circuit. This subnet does not have to be an existing VRF IP reservation, as we will create the VRF IP reservation on creation if it does not exist. The Metal IPv6 and Customer IPv6 must be IPs from this subnet. For /126 subnets, the network and broadcast IPs cannot be used as the Metal IPv6 or Customer IPv6. The subnet specified must be contained within an already-defined IP Range for the VRF. | [optional]
Expand Down Expand Up @@ -508,6 +510,31 @@ SetCustomerIp sets CustomerIp field to given value.

HasCustomerIp returns a boolean if a field has been set.

### GetCustomerIpv6

`func (o *VirtualCircuit) GetCustomerIpv6() string`

GetCustomerIpv6 returns the CustomerIpv6 field if non-nil, zero value otherwise.

### GetCustomerIpv6Ok

`func (o *VirtualCircuit) GetCustomerIpv6Ok() (*string, bool)`

GetCustomerIpv6Ok returns a tuple with the CustomerIpv6 field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCustomerIpv6

`func (o *VirtualCircuit) SetCustomerIpv6(v string)`

SetCustomerIpv6 sets CustomerIpv6 field to given value.

### HasCustomerIpv6

`func (o *VirtualCircuit) HasCustomerIpv6() bool`

HasCustomerIpv6 returns a boolean if a field has been set.

### GetMd5

`func (o *VirtualCircuit) GetMd5() string`
Expand Down Expand Up @@ -558,6 +585,31 @@ SetMetalIp sets MetalIp field to given value.

HasMetalIp returns a boolean if a field has been set.

### GetMetalIpv6

`func (o *VirtualCircuit) GetMetalIpv6() string`

GetMetalIpv6 returns the MetalIpv6 field if non-nil, zero value otherwise.

### GetMetalIpv6Ok

`func (o *VirtualCircuit) GetMetalIpv6Ok() (*string, bool)`

GetMetalIpv6Ok returns a tuple with the MetalIpv6 field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMetalIpv6

`func (o *VirtualCircuit) SetMetalIpv6(v string)`

SetMetalIpv6 sets MetalIpv6 field to given value.

### HasMetalIpv6

`func (o *VirtualCircuit) HasMetalIpv6() bool`

HasMetalIpv6 returns a boolean if a field has been set.

### GetPeerAsn

`func (o *VirtualCircuit) GetPeerAsn() int64`
Expand Down
Loading

0 comments on commit a801b92

Please sign in to comment.