Skip to content

Commit 564daca

Browse files
authored
conversion type resolution (#35)
1 parent 9f2ad26 commit 564daca

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

lib/api_lists.go

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ type ListsApiService service
2828

2929
/*
3030
ListsApiService Add existing contacts to a list
31-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
32-
* @param listId Id of the list
33-
* @param contactEmails Emails addresses OR IDs of the contacts
31+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
32+
- @param listId Id of the list
33+
- @param contactEmails Emails addresses OR IDs of the contacts
3434
3535
@return PostContactInfo
3636
*/
@@ -167,8 +167,8 @@ func (a *ListsApiService) AddContactToList(ctx context.Context, listId int64, co
167167

168168
/*
169169
ListsApiService Create a list
170-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
171-
* @param createList Values to create a list
170+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
171+
- @param createList Values to create a list
172172
173173
@return CreateModel
174174
*/
@@ -293,10 +293,8 @@ func (a *ListsApiService) CreateList(ctx context.Context, createList CreateList)
293293

294294
/*
295295
ListsApiService Delete a list
296-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
297-
* @param listId Id of the list
298-
299-
296+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
297+
- @param listId Id of the list
300298
*/
301299
func (a *ListsApiService) DeleteList(ctx context.Context, listId int64) (*http.Response, error) {
302300
var (
@@ -713,8 +711,8 @@ func (a *ListsApiService) GetFolderLists(ctx context.Context, folderId int64, lo
713711

714712
/*
715713
ListsApiService Get a list's details
716-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
717-
* @param listId Id of the list
714+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
715+
- @param listId Id of the list
718716
719717
@return GetExtendedList
720718
*/
@@ -986,9 +984,9 @@ func (a *ListsApiService) GetLists(ctx context.Context, localVarOptionals *GetLi
986984

987985
/*
988986
ListsApiService Delete a contact from a list
989-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
990-
* @param listId Id of the list
991-
* @param contactEmails Emails addresses OR IDs of the contacts
987+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
988+
- @param listId Id of the list
989+
- @param contactEmails Emails addresses OR IDs of the contacts
992990
993991
@return PostContactInfo
994992
*/
@@ -1125,11 +1123,9 @@ func (a *ListsApiService) RemoveContactFromList(ctx context.Context, listId int6
11251123

11261124
/*
11271125
ListsApiService Update a list
1128-
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
1129-
* @param listId Id of the list
1130-
* @param updateList Values to update a list
1131-
1132-
1126+
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
1127+
- @param listId Id of the list
1128+
- @param updateList Values to update a list
11331129
*/
11341130
func (a *ListsApiService) UpdateList(ctx context.Context, listId int64, updateList UpdateList) (*http.Response, error) {
11351131
var (

lib/model_post_contact_info_contacts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
package lib
1212

1313
type PostContactInfoContacts struct {
14-
Success []string `json:"success,omitempty"`
15-
Failure []string `json:"failure,omitempty"`
14+
Success []interface{} `json:"success,omitempty"`
15+
Failure []interface{} `json:"failure,omitempty"`
1616
// Displays the count of total number of contacts removed from list when user opts for \"all\" option.
1717
Total int64 `json:"total,omitempty"`
1818
// Id of the process created to remove contacts from list when user opts for \"all\" option.

0 commit comments

Comments
 (0)