Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use 'int' for integer types #86

Merged
merged 1 commit into from
Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ require (
github.com/pkg/errors v0.9.1
github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada // indirect
github.com/stretchr/testify v1.7.0
golang.org/x/tools v0.1.3 // indirect
golang.org/x/tools v0.1.4 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,8 @@ golang.org/x/tools v0.1.2 h1:kRBLX7v7Af8W7Gdbbc908OJcdgtK8bOz9Uaj8/F1ACA=
golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.3 h1:L69ShwSZEyCsLKoAxDKeMvLDZkumEe8gXUZAjab0tX8=
golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.4 h1:cVngSRcfgyZCzys3KYOpCFa+4dqX/Oub9tAq00ttGVs=
golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
8 changes: 4 additions & 4 deletions rest/accounts/v1/api_default.go

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

4 changes: 2 additions & 2 deletions rest/accounts/v1/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Other parameters are passed through a pointer to a ListCredentialAwsParams struc

Name | Type | Description
------------- | ------------- | -------------
**PageSize** | **int32** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
**PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.

### Return type

Expand Down Expand Up @@ -398,7 +398,7 @@ Other parameters are passed through a pointer to a ListCredentialPublicKeyParams

Name | Type | Description
------------- | ------------- | -------------
**PageSize** | **int32** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
**PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.

### Return type

Expand Down
4 changes: 2 additions & 2 deletions rest/accounts/v1/docs/ListCredentialAwsResponseMeta.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
**FirstPageUrl** | **string** | |[optional]
**Key** | **string** | |[optional]
**NextPageUrl** | **string** | |[optional]
**Page** | **int32** | |[optional]
**PageSize** | **int32** | |[optional]
**Page** | **int** | |[optional]
**PageSize** | **int** | |[optional]
**PreviousPageUrl** | **string** | |[optional]
**Url** | **string** | |[optional]

Expand Down
4 changes: 2 additions & 2 deletions rest/accounts/v1/model_list_credential_aws_response_meta.go

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

380 changes: 190 additions & 190 deletions rest/api/v2010/api_default.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010AccountCallCallFeedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**DateCreated** | Pointer to **string** | The date this resource was created |
**DateUpdated** | Pointer to **string** | The date this resource was last updated |
**Issues** | Pointer to **[]string** | Issues experienced during the call |
**QualityScore** | Pointer to **int32** | 1 to 5 quality score |
**QualityScore** | Pointer to **int** | 1 to 5 quality score |
**Sid** | Pointer to **string** | A string that uniquely identifies this feedback resource |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/docs/ApiV2010AccountCallCallFeedbackSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountSid** | Pointer to **string** | The unique sid that identifies this account |
**CallCount** | Pointer to **int32** | The total number of calls |
**CallFeedbackCount** | Pointer to **int32** | The total number of calls with a feedback entry |
**CallCount** | Pointer to **int** | The total number of calls |
**CallFeedbackCount** | Pointer to **int** | The total number of calls with a feedback entry |
**DateCreated** | Pointer to **string** | The date this resource was created |
**DateUpdated** | Pointer to **string** | The date this resource was last updated |
**EndDate** | Pointer to **string** | The latest feedback entry date in the summary |
Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/docs/ApiV2010AccountCallCallRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Name | Type | Description | Notes
**AccountSid** | Pointer to **string** | The SID of the Account that created the resource |
**ApiVersion** | Pointer to **string** | The API version used to make the recording |
**CallSid** | Pointer to **string** | The SID of the Call the resource is associated with |
**Channels** | Pointer to **int32** | The number of channels in the final recording file |
**Channels** | Pointer to **int** | The number of channels in the final recording file |
**ConferenceSid** | Pointer to **string** | The Conference SID that identifies the conference associated with the recording |
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
**Duration** | Pointer to **string** | The length of the recording in seconds |
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
**ErrorCode** | Pointer to **int32** | More information about why the recording is missing, if status is `absent`. |
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
**Price** | Pointer to **float32** | The one-time cost of creating the recording. |
**PriceUnit** | Pointer to **string** | The currency used in the price property. |
**Sid** | Pointer to **string** | The unique string that identifies the resource |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Name | Type | Description | Notes
**AccountSid** | Pointer to **string** | The SID of the Account that created the resource |
**ApiVersion** | Pointer to **string** | The API version used to create the recording |
**CallSid** | Pointer to **string** | The SID of the Call the resource is associated with |
**Channels** | Pointer to **int32** | The number of channels in the final recording file as an integer |
**Channels** | Pointer to **int** | The number of channels in the final recording file as an integer |
**ConferenceSid** | Pointer to **string** | The Conference SID that identifies the conference associated with the recording |
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
**Duration** | Pointer to **string** | The length of the recording in seconds |
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
**ErrorCode** | Pointer to **int32** | More information about why the recording is missing, if status is `absent`. |
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
**Price** | Pointer to **float32** | The one-time cost of creating the recording. |
**PriceUnit** | Pointer to **string** | The currency used in the price property. |
**Sid** | Pointer to **string** | The unique string that identifies the resource |
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010AccountMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
**DateSent** | Pointer to **string** | The RFC 2822 date and time in GMT when the message was sent |
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
**Direction** | Pointer to **string** | The direction of the message |
**ErrorCode** | Pointer to **int32** | The error code associated with the message |
**ErrorCode** | Pointer to **int** | The error code associated with the message |
**ErrorMessage** | Pointer to **string** | The description of the error_code |
**From** | Pointer to **string** | The phone number that initiated the message |
**MessagingServiceSid** | Pointer to **string** | The SID of the Messaging Service used with the message. |
Expand Down
6 changes: 3 additions & 3 deletions rest/api/v2010/docs/ApiV2010AccountQueue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountSid** | Pointer to **string** | The SID of the Account that created this resource |
**AverageWaitTime** | Pointer to **int32** | Average wait time of members in the queue |
**CurrentSize** | Pointer to **int32** | The number of calls currently in the queue. |
**AverageWaitTime** | Pointer to **int** | Average wait time of members in the queue |
**CurrentSize** | Pointer to **int** | The number of calls currently in the queue. |
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that this resource was created |
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that this resource was last updated |
**FriendlyName** | Pointer to **string** | A string that you assigned to describe this resource |
**MaxSize** | Pointer to **int32** | The max number of calls allowed in the queue |
**MaxSize** | Pointer to **int** | The max number of calls allowed in the queue |
**Sid** | Pointer to **string** | The unique string that identifies this resource |
**Uri** | Pointer to **string** | The URI of this resource, relative to `https://api.twilio.com` |

Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/docs/ApiV2010AccountQueueMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CallSid** | Pointer to **string** | The SID of the Call the resource is associated with |
**DateEnqueued** | Pointer to **string** | The date the member was enqueued |
**Position** | Pointer to **int32** | This member's current position in the queue. |
**Position** | Pointer to **int** | This member's current position in the queue. |
**QueueSid** | Pointer to **string** | The SID of the Queue the member is in |
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com` |
**WaitTime** | Pointer to **int32** | The number of seconds the member has been in the queue. |
**WaitTime** | Pointer to **int** | The number of seconds the member has been in the queue. |

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

Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/docs/ApiV2010AccountRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Name | Type | Description | Notes
**AccountSid** | Pointer to **string** | The SID of the Account that created the resource |
**ApiVersion** | Pointer to **string** | The API version used during the recording. |
**CallSid** | Pointer to **string** | The SID of the Call the resource is associated with |
**Channels** | Pointer to **int32** | The number of channels in the final recording file as an integer. |
**Channels** | Pointer to **int** | The number of channels in the final recording file as an integer. |
**ConferenceSid** | Pointer to **string** | The unique ID for the conference associated with the recording. |
**DateCreated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was created |
**DateUpdated** | Pointer to **string** | The RFC 2822 date and time in GMT that the resource was last updated |
**Duration** | Pointer to **string** | The length of the recording in seconds. |
**EncryptionDetails** | Pointer to **map[string]interface{}** | How to decrypt the recording. |
**ErrorCode** | Pointer to **int32** | More information about why the recording is missing, if status is `absent`. |
**ErrorCode** | Pointer to **int** | More information about why the recording is missing, if status is `absent`. |
**Price** | Pointer to **string** | The one-time cost of creating the recording. |
**PriceUnit** | Pointer to **string** | The currency used in the price property. |
**Sid** | Pointer to **string** | The unique string that identifies the resource |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountSid** | Pointer to **string** | The unique id of the Account that is responsible for this resource. |
**CidrPrefixLength** | Pointer to **int32** | An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |
**CidrPrefixLength** | Pointer to **int** | An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |
**DateCreated** | Pointer to **string** | The date that this resource was created, given as GMT in RFC 2822 format. |
**DateUpdated** | Pointer to **string** | The date that this resource was last updated, given as GMT in RFC 2822 format. |
**FriendlyName** | Pointer to **string** | A human readable descriptive text for this resource, up to 64 characters long. |
Expand Down
Loading