Skip to content

Commit d7e6e35

Browse files
authored
chore: Add missing comment markers in API service methods
1 parent 4cc31f9 commit d7e6e35

13 files changed

+18
-1
lines changed

rest/api/v2010/accounts_addresses.go

-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ func (params *UpdateAddressParams) SetStreetSecondary(StreetSecondary string) *U
473473
return params
474474
}
475475

476-
477476
//
478477
func (c *ApiService) UpdateAddress(Sid string, params *UpdateAddressParams) (*ApiV2010Address, error) {
479478
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"

rest/api/v2010/accounts_available_phone_numbers.go

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (params *FetchAvailablePhoneNumberCountryParams) SetPathAccountSid(PathAcco
3434
return params
3535
}
3636

37+
//
3738
func (c *ApiService) FetchAvailablePhoneNumberCountry(CountryCode string, params *FetchAvailablePhoneNumberCountryParams) (*ApiV2010AvailablePhoneNumberCountry, error) {
3839
path := "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json"
3940
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_calls_notifications.go

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (params *FetchCallNotificationParams) SetPathAccountSid(PathAccountSid stri
3434
return params
3535
}
3636

37+
//
3738
func (c *ApiService) FetchCallNotification(CallSid string, Sid string, params *FetchCallNotificationParams) (*ApiV2010CallNotificationInstance, error) {
3839
path := "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json"
3940
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_conferences.go

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ func (params *UpdateConferenceParams) SetAnnounceMethod(AnnounceMethod string) *
315315
return params
316316
}
317317

318+
//
318319
func (c *ApiService) UpdateConference(Sid string, params *UpdateConferenceParams) (*ApiV2010Conference, error) {
319320
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json"
320321
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_conferences_participants.go

+1
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ func (params *CreateParticipantParams) SetCallToken(CallToken string) *CreatePar
322322
return params
323323
}
324324

325+
//
325326
func (c *ApiService) CreateParticipant(ConferenceSid string, params *CreateParticipantParams) (*ApiV2010Participant, error) {
326327
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json"
327328
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_local.go

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberLocalParams) SetBundleSid(BundleSid strin
172172
return params
173173
}
174174

175+
//
175176
func (c *ApiService) CreateIncomingPhoneNumberLocal(params *CreateIncomingPhoneNumberLocalParams) (*ApiV2010IncomingPhoneNumberLocal, error) {
176177
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json"
177178
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_mobile.go

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberMobileParams) SetBundleSid(BundleSid stri
172172
return params
173173
}
174174

175+
//
175176
func (c *ApiService) CreateIncomingPhoneNumberMobile(params *CreateIncomingPhoneNumberMobileParams) (*ApiV2010IncomingPhoneNumberMobile, error) {
176177
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json"
177178
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_toll_free.go

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberTollFreeParams) SetBundleSid(BundleSid st
172172
return params
173173
}
174174

175+
//
175176
func (c *ApiService) CreateIncomingPhoneNumberTollFree(params *CreateIncomingPhoneNumberTollFreeParams) (*ApiV2010IncomingPhoneNumberTollFree, error) {
176177
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json"
177178
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_keys.go

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func (params *CreateNewKeyParams) SetFriendlyName(FriendlyName string) *CreateNe
4040
return params
4141
}
4242

43+
//
4344
func (c *ApiService) CreateNewKey(params *CreateNewKeyParams) (*ApiV2010NewKey, error) {
4445
path := "/2010-04-01/Accounts/{AccountSid}/Keys.json"
4546
if params != nil && params.PathAccountSid != nil {
@@ -83,6 +84,7 @@ func (params *DeleteKeyParams) SetPathAccountSid(PathAccountSid string) *DeleteK
8384
return params
8485
}
8586

87+
//
8688
func (c *ApiService) DeleteKey(Sid string, params *DeleteKeyParams) error {
8789
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
8890
if params != nil && params.PathAccountSid != nil {
@@ -118,6 +120,7 @@ func (params *FetchKeyParams) SetPathAccountSid(PathAccountSid string) *FetchKey
118120
return params
119121
}
120122

123+
//
121124
func (c *ApiService) FetchKey(Sid string, params *FetchKeyParams) (*ApiV2010Key, error) {
122125
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
123126
if params != nil && params.PathAccountSid != nil {
@@ -314,6 +317,7 @@ func (params *UpdateKeyParams) SetFriendlyName(FriendlyName string) *UpdateKeyPa
314317
return params
315318
}
316319

320+
//
317321
func (c *ApiService) UpdateKey(Sid string, params *UpdateKeyParams) (*ApiV2010Key, error) {
318322
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
319323
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_outgoing_caller_ids.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func (params *CreateValidationRequestParams) SetStatusCallbackMethod(StatusCallb
7070
return params
7171
}
7272

73+
//
7374
func (c *ApiService) CreateValidationRequest(params *CreateValidationRequestParams) (*ApiV2010ValidationRequest, error) {
7475
path := "/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json"
7576
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_recordings_transcriptions.go

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (params *DeleteRecordingTranscriptionParams) SetPathAccountSid(PathAccountS
3434
return params
3535
}
3636

37+
//
3738
func (c *ApiService) DeleteRecordingTranscription(RecordingSid string, Sid string, params *DeleteRecordingTranscriptionParams) error {
3839
path := "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"
3940
if params != nil && params.PathAccountSid != nil {
@@ -70,6 +71,7 @@ func (params *FetchRecordingTranscriptionParams) SetPathAccountSid(PathAccountSi
7071
return params
7172
}
7273

74+
//
7375
func (c *ApiService) FetchRecordingTranscription(RecordingSid string, Sid string, params *FetchRecordingTranscriptionParams) (*ApiV2010RecordingTranscription, error) {
7476
path := "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"
7577
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_signing_keys.go

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func (params *DeleteSigningKeyParams) SetPathAccountSid(PathAccountSid string) *
8484
return params
8585
}
8686

87+
//
8788
func (c *ApiService) DeleteSigningKey(Sid string, params *DeleteSigningKeyParams) error {
8889
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
8990
if params != nil && params.PathAccountSid != nil {
@@ -119,6 +120,7 @@ func (params *FetchSigningKeyParams) SetPathAccountSid(PathAccountSid string) *F
119120
return params
120121
}
121122

123+
//
122124
func (c *ApiService) FetchSigningKey(Sid string, params *FetchSigningKeyParams) (*ApiV2010SigningKey, error) {
123125
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
124126
if params != nil && params.PathAccountSid != nil {
@@ -315,6 +317,7 @@ func (params *UpdateSigningKeyParams) SetFriendlyName(FriendlyName string) *Upda
315317
return params
316318
}
317319

320+
//
318321
func (c *ApiService) UpdateSigningKey(Sid string, params *UpdateSigningKeyParams) (*ApiV2010SigningKey, error) {
319322
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
320323
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_usage_triggers.go

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func (params *DeleteUsageTriggerParams) SetPathAccountSid(PathAccountSid string)
138138
return params
139139
}
140140

141+
//
141142
func (c *ApiService) DeleteUsageTrigger(Sid string, params *DeleteUsageTriggerParams) error {
142143
path := "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"
143144
if params != nil && params.PathAccountSid != nil {

0 commit comments

Comments
 (0)