Skip to content

Commit

Permalink
fix naming (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewab authored Aug 12, 2024
1 parent a693591 commit 789bfd4
Show file tree
Hide file tree
Showing 16 changed files with 368 additions and 234 deletions.
4 changes: 2 additions & 2 deletions anycast/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ docs/AnycastConfigResponse.md
docs/AnycastVersion.md
docs/BgpConfig.md
docs/BgpNeighbor.md
docs/BufFieldMask.md
docs/GetAnycastConfigListResponse.md
docs/OnPremAnycastManagerAPI.md
docs/OnpremHost.md
docs/OnpremHostRef.md
docs/OnpremHostResponse.md
docs/OspfConfig.md
docs/Ospfv3Config.md
docs/ProtobufFieldMask.md
docs/ServiceConfig.md
docs/ServiceConfigObject.md
docs/ServiceStatusCode.md
Expand All @@ -26,13 +26,13 @@ model_anycast_config_response.go
model_anycast_version.go
model_bgp_config.go
model_bgp_neighbor.go
model_buf_field_mask.go
model_get_anycast_config_list_response.go
model_onprem_host.go
model_onprem_host_ref.go
model_onprem_host_response.go
model_ospf_config.go
model_ospfv3_config.go
model_protobuf_field_mask.go
model_service_config.go
model_service_config_object.go
model_service_status_code.go
Expand Down
2 changes: 1 addition & 1 deletion anycast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ Class | Method | HTTP request | Description
- [AnycastVersion](docs/AnycastVersion.md)
- [BgpConfig](docs/BgpConfig.md)
- [BgpNeighbor](docs/BgpNeighbor.md)
- [BufFieldMask](docs/BufFieldMask.md)
- [GetAnycastConfigListResponse](docs/GetAnycastConfigListResponse.md)
- [OnpremHost](docs/OnpremHost.md)
- [OnpremHostRef](docs/OnpremHostRef.md)
- [OnpremHostResponse](docs/OnpremHostResponse.md)
- [OspfConfig](docs/OspfConfig.md)
- [Ospfv3Config](docs/Ospfv3Config.md)
- [ProtobufFieldMask](docs/ProtobufFieldMask.md)
- [ServiceConfig](docs/ServiceConfig.md)
- [ServiceConfigObject](docs/ServiceConfigObject.md)
- [ServiceStatusCode](docs/ServiceStatusCode.md)
Expand Down
8 changes: 4 additions & 4 deletions anycast/docs/AnycastConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**AnycastIpv6Address** | Pointer to **string** | | [optional]
**CreatedAt** | Pointer to **time.Time** | | [optional]
**Description** | Pointer to **string** | | [optional]
**Fields** | Pointer to [**BufFieldMask**](BufFieldMask.md) | | [optional]
**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional]
**Id** | Pointer to **int64** | | [optional] [readonly]
**IsConfigured** | Pointer to **bool** | | [optional]
**Name** | Pointer to **string** | | [optional]
Expand Down Expand Up @@ -165,20 +165,20 @@ HasDescription returns a boolean if a field has been set.

### GetFields

`func (o *AnycastConfig) GetFields() BufFieldMask`
`func (o *AnycastConfig) GetFields() ProtobufFieldMask`

GetFields returns the Fields field if non-nil, zero value otherwise.

### GetFieldsOk

`func (o *AnycastConfig) GetFieldsOk() (*BufFieldMask, bool)`
`func (o *AnycastConfig) GetFieldsOk() (*ProtobufFieldMask, bool)`

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

### SetFields

`func (o *AnycastConfig) SetFields(v BufFieldMask)`
`func (o *AnycastConfig) SetFields(v ProtobufFieldMask)`

SetFields sets Fields field to given value.

Expand Down
8 changes: 4 additions & 4 deletions anycast/docs/BgpConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Asn** | Pointer to **int64** | | [optional]
**AsnText** | Pointer to **string** | Examples: ASDOT ASPLAIN INTEGER VALID/INVALID 0.1 1 1 Valid 1 1 1 Valid 65535 65535 65535 Valid 0.65535 65535 65535 Valid 1.0 65536 65536 Valid 1.1 65537 65537 Valid 1.65535 131071 131071 Valid 65535.0 4294901760 4294901760 Valid 65535.1 4294901761 4294901761 Valid 65535.65535 4294967295 4294967295 Valid 0.65536 Invalid 65535.655536 Invalid 65536.0 Invalid 65536.65535 Invalid 4294967296 Invalid | [optional]
**Fields** | Pointer to [**BufFieldMask**](BufFieldMask.md) | | [optional]
**Fields** | Pointer to [**ProtobufFieldMask**](ProtobufFieldMask.md) | | [optional]
**HolddownSecs** | Pointer to **int64** | | [optional]
**KeepAliveSecs** | Pointer to **int64** | | [optional]
**LinkDetect** | Pointer to **bool** | | [optional]
Expand Down Expand Up @@ -84,20 +84,20 @@ HasAsnText returns a boolean if a field has been set.

### GetFields

`func (o *BgpConfig) GetFields() BufFieldMask`
`func (o *BgpConfig) GetFields() ProtobufFieldMask`

GetFields returns the Fields field if non-nil, zero value otherwise.

### GetFieldsOk

`func (o *BgpConfig) GetFieldsOk() (*BufFieldMask, bool)`
`func (o *BgpConfig) GetFieldsOk() (*ProtobufFieldMask, bool)`

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

### SetFields

`func (o *BgpConfig) SetFields(v BufFieldMask)`
`func (o *BgpConfig) SetFields(v ProtobufFieldMask)`

SetFields sets Fields field to given value.

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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Paths** | Pointer to **[]string** | The set of field mask paths. | [optional]

## Methods

### NewProtobufFieldMask

`func NewProtobufFieldMask() *ProtobufFieldMask`

NewProtobufFieldMask instantiates a new ProtobufFieldMask 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

### NewProtobufFieldMaskWithDefaults

`func NewProtobufFieldMaskWithDefaults() *ProtobufFieldMask`

NewProtobufFieldMaskWithDefaults instantiates a new ProtobufFieldMask 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

### GetPaths

`func (o *ProtobufFieldMask) GetPaths() []string`

GetPaths returns the Paths field if non-nil, zero value otherwise.

### GetPathsOk

`func (o *ProtobufFieldMask) GetPathsOk() (*[]string, bool)`

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

### SetPaths

`func (o *ProtobufFieldMask) SetPaths(v []string)`

SetPaths sets Paths field to given value.

### HasPaths

`func (o *ProtobufFieldMask) HasPaths() bool`

HasPaths returns a boolean if a field has been set.


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


12 changes: 6 additions & 6 deletions anycast/model_anycast_config.go

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

22 changes: 11 additions & 11 deletions anycast/model_bgp_config.go

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

Loading

0 comments on commit 789bfd4

Please sign in to comment.