diff --git a/lib/api_lists.go b/lib/api_lists.go index 29d0f20..4d5132f 100644 --- a/lib/api_lists.go +++ b/lib/api_lists.go @@ -28,9 +28,9 @@ type ListsApiService service /* ListsApiService Add existing contacts to a list - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param listId Id of the list - * @param contactEmails Emails addresses OR IDs of the contacts + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param listId Id of the list + - @param contactEmails Emails addresses OR IDs of the contacts @return PostContactInfo */ @@ -167,8 +167,8 @@ func (a *ListsApiService) AddContactToList(ctx context.Context, listId int64, co /* ListsApiService Create a list - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param createList Values to create a list + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param createList Values to create a list @return CreateModel */ @@ -293,10 +293,8 @@ func (a *ListsApiService) CreateList(ctx context.Context, createList CreateList) /* ListsApiService Delete a list - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param listId Id of the list - - + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param listId Id of the list */ func (a *ListsApiService) DeleteList(ctx context.Context, listId int64) (*http.Response, error) { var ( @@ -713,8 +711,8 @@ func (a *ListsApiService) GetFolderLists(ctx context.Context, folderId int64, lo /* ListsApiService Get a list's details - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param listId Id of the list + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param listId Id of the list @return GetExtendedList */ @@ -986,9 +984,9 @@ func (a *ListsApiService) GetLists(ctx context.Context, localVarOptionals *GetLi /* ListsApiService Delete a contact from a list - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param listId Id of the list - * @param contactEmails Emails addresses OR IDs of the contacts + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param listId Id of the list + - @param contactEmails Emails addresses OR IDs of the contacts @return PostContactInfo */ @@ -1125,11 +1123,9 @@ func (a *ListsApiService) RemoveContactFromList(ctx context.Context, listId int6 /* ListsApiService Update a list - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param listId Id of the list - * @param updateList Values to update a list - - + - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param listId Id of the list + - @param updateList Values to update a list */ func (a *ListsApiService) UpdateList(ctx context.Context, listId int64, updateList UpdateList) (*http.Response, error) { var ( diff --git a/lib/model_post_contact_info_contacts.go b/lib/model_post_contact_info_contacts.go index 421a7b6..0d54b34 100644 --- a/lib/model_post_contact_info_contacts.go +++ b/lib/model_post_contact_info_contacts.go @@ -11,8 +11,8 @@ package lib type PostContactInfoContacts struct { - Success []string `json:"success,omitempty"` - Failure []string `json:"failure,omitempty"` + Success []interface{} `json:"success,omitempty"` + Failure []interface{} `json:"failure,omitempty"` // Displays the count of total number of contacts removed from list when user opts for \"all\" option. Total int64 `json:"total,omitempty"` // Id of the process created to remove contacts from list when user opts for \"all\" option.