Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions lib/api_lists.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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 (
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions lib/model_post_contact_info_contacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down