Skip to content

Commit

Permalink
Generated v1.0.0-beta.33
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 8, 2024
1 parent 979d199 commit ccd0769
Show file tree
Hide file tree
Showing 34 changed files with 1,755 additions and 380 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [v1.0.0-beta.33](https://github.com/fastly/fastly-go/releases/tag/release/v1.0.0-beta.33) (2024-08-08)

**Bug fixes:**

- fix(billing): Adjust type of regional data to help the generator
- fix(billing): Correct type of invoice_id field

## [v1.0.0-beta.32](https://github.com/fastly/fastly-go/releases/tag/release/v1.0.0-beta.32) (2024-08-04)

**Enhancements:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add the following to your project's `go.mod`:

```go.mod
require (
github.com/fastly/fastly-go 1.0.0-beta.32
github.com/fastly/fastly-go 1.0.0-beta.33
)
```

Expand Down
34 changes: 4 additions & 30 deletions docs/Billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**EndTime** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**StartTime** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**InvoiceID** | Pointer to **string** | | [optional] [readonly]
**CustomerID** | Pointer to **string** | | [optional] [readonly]
**VendorState** | Pointer to **string** | The current state of our third-party billing vendor. One of `up` or `down`. | [optional] [readonly]
**Status** | Pointer to [**BillingStatus**](BillingStatus.md) | | [optional]
**Total** | Pointer to [**BillingTotal**](BillingTotal.md) | | [optional]
**Regions** | Pointer to **map[string]map[string]map[string]any** | Breakdown of regional data for products that are region based. | [optional]
**Regions** | Pointer to [**map[string]BillingRegions**](BillingRegions.md) | Breakdown of regional data for products that are region based. | [optional]

## Methods

Expand Down Expand Up @@ -102,31 +101,6 @@ HasStartTime returns a boolean if a field has been set.
`func (o *Billing) UnsetStartTime()`

UnsetStartTime ensures that no value is present for StartTime, not even an explicit nil
### GetInvoiceID

`func (o *Billing) GetInvoiceID() string`

GetInvoiceID returns the InvoiceID field if non-nil, zero value otherwise.

### GetInvoiceIDOk

`func (o *Billing) GetInvoiceIDOk() (*string, bool)`

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

### SetInvoiceID

`func (o *Billing) SetInvoiceID(v string)`

SetInvoiceID sets InvoiceID field to given value.

### HasInvoiceID

`func (o *Billing) HasInvoiceID() bool`

HasInvoiceID returns a boolean if a field has been set.

### GetCustomerID

`func (o *Billing) GetCustomerID() string`
Expand Down Expand Up @@ -229,20 +203,20 @@ HasTotal returns a boolean if a field has been set.

### GetRegions

`func (o *Billing) GetRegions() map[string]map[string]map[string]any`
`func (o *Billing) GetRegions() map[string]BillingRegions`

GetRegions returns the Regions field if non-nil, zero value otherwise.

### GetRegionsOk

`func (o *Billing) GetRegionsOk() (*map[string]map[string]map[string]any, bool)`
`func (o *Billing) GetRegionsOk() (*map[string]BillingRegions, bool)`

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

### SetRegions

`func (o *Billing) SetRegions(v map[string]map[string]map[string]any)`
`func (o *Billing) SetRegions(v map[string]BillingRegions)`

SetRegions sets Regions field to given value.

Expand Down
4 changes: 2 additions & 2 deletions docs/BillingAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import (

func main() {
customerID := "customerId_example" // string | Alphanumeric string identifying the customer.
invoiceID := "invoiceId_example" // string | Alphanumeric string identifying the invoice.
invoiceID := int32(4183280) // int32 |

cfg := fastly.NewConfiguration()
apiClient := fastly.NewAPIClient(cfg)
Expand All @@ -122,7 +122,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**customerID** | **string** | Alphanumeric string identifying the customer. |
**invoiceID** | **string** | Alphanumeric string identifying the invoice. |
**invoiceID** | **int32** | |

### Other Parameters

Expand Down
80 changes: 80 additions & 0 deletions docs/BillingBandwidth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# BillingBandwidth

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Total** | Pointer to **float32** | | [optional]
**Tiers** | Pointer to [**[]BillingBandwidthTiers**](BillingBandwidthTiers.md) | | [optional]

## Methods

### NewBillingBandwidth

`func NewBillingBandwidth() *BillingBandwidth`

NewBillingBandwidth instantiates a new BillingBandwidth object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewBillingBandwidthWithDefaults

`func NewBillingBandwidthWithDefaults() *BillingBandwidth`

NewBillingBandwidthWithDefaults instantiates a new BillingBandwidth 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

### GetTotal

`func (o *BillingBandwidth) GetTotal() float32`

GetTotal returns the Total field if non-nil, zero value otherwise.

### GetTotalOk

`func (o *BillingBandwidth) GetTotalOk() (*float32, bool)`

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

### SetTotal

`func (o *BillingBandwidth) SetTotal(v float32)`

SetTotal sets Total field to given value.

### HasTotal

`func (o *BillingBandwidth) HasTotal() bool`

HasTotal returns a boolean if a field has been set.

### GetTiers

`func (o *BillingBandwidth) GetTiers() []BillingBandwidthTiers`

GetTiers returns the Tiers field if non-nil, zero value otherwise.

### GetTiersOk

`func (o *BillingBandwidth) GetTiersOk() (*[]BillingBandwidthTiers, bool)`

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

### SetTiers

`func (o *BillingBandwidth) SetTiers(v []BillingBandwidthTiers)`

SetTiers sets Tiers field to given value.

### HasTiers

`func (o *BillingBandwidth) HasTiers() bool`

HasTiers returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
158 changes: 158 additions & 0 deletions docs/BillingBandwidthTiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# BillingBandwidthTiers

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | | [optional]
**Units** | Pointer to **float32** | | [optional]
**Price** | Pointer to **float32** | | [optional]
**DiscountedPrice** | Pointer to **float32** | | [optional]
**Total** | Pointer to **float32** | | [optional]

## Methods

### NewBillingBandwidthTiers

`func NewBillingBandwidthTiers() *BillingBandwidthTiers`

NewBillingBandwidthTiers instantiates a new BillingBandwidthTiers object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewBillingBandwidthTiersWithDefaults

`func NewBillingBandwidthTiersWithDefaults() *BillingBandwidthTiers`

NewBillingBandwidthTiersWithDefaults instantiates a new BillingBandwidthTiers 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

### GetName

`func (o *BillingBandwidthTiers) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *BillingBandwidthTiers) GetNameOk() (*string, bool)`

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

### SetName

`func (o *BillingBandwidthTiers) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *BillingBandwidthTiers) HasName() bool`

HasName returns a boolean if a field has been set.

### GetUnits

`func (o *BillingBandwidthTiers) GetUnits() float32`

GetUnits returns the Units field if non-nil, zero value otherwise.

### GetUnitsOk

`func (o *BillingBandwidthTiers) GetUnitsOk() (*float32, bool)`

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

### SetUnits

`func (o *BillingBandwidthTiers) SetUnits(v float32)`

SetUnits sets Units field to given value.

### HasUnits

`func (o *BillingBandwidthTiers) HasUnits() bool`

HasUnits returns a boolean if a field has been set.

### GetPrice

`func (o *BillingBandwidthTiers) GetPrice() float32`

GetPrice returns the Price field if non-nil, zero value otherwise.

### GetPriceOk

`func (o *BillingBandwidthTiers) GetPriceOk() (*float32, bool)`

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

### SetPrice

`func (o *BillingBandwidthTiers) SetPrice(v float32)`

SetPrice sets Price field to given value.

### HasPrice

`func (o *BillingBandwidthTiers) HasPrice() bool`

HasPrice returns a boolean if a field has been set.

### GetDiscountedPrice

`func (o *BillingBandwidthTiers) GetDiscountedPrice() float32`

GetDiscountedPrice returns the DiscountedPrice field if non-nil, zero value otherwise.

### GetDiscountedPriceOk

`func (o *BillingBandwidthTiers) GetDiscountedPriceOk() (*float32, bool)`

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

### SetDiscountedPrice

`func (o *BillingBandwidthTiers) SetDiscountedPrice(v float32)`

SetDiscountedPrice sets DiscountedPrice field to given value.

### HasDiscountedPrice

`func (o *BillingBandwidthTiers) HasDiscountedPrice() bool`

HasDiscountedPrice returns a boolean if a field has been set.

### GetTotal

`func (o *BillingBandwidthTiers) GetTotal() float32`

GetTotal returns the Total field if non-nil, zero value otherwise.

### GetTotalOk

`func (o *BillingBandwidthTiers) GetTotalOk() (*float32, bool)`

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

### SetTotal

`func (o *BillingBandwidthTiers) SetTotal(v float32)`

SetTotal sets Total field to given value.

### HasTotal

`func (o *BillingBandwidthTiers) HasTotal() bool`

HasTotal returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
Loading

0 comments on commit ccd0769

Please sign in to comment.