/* tslint:disable */
/* eslint-disable */
/**
 * Signal Cli REST API
 * This is the Signal Cli REST API documentation.
 *
 * The version of the OpenAPI document: 1.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from "../runtime.js";
/**
 *
 * @export
 * @interface ApiChangeGroupMembersRequest
 */
export interface ApiChangeGroupMembersRequest {
  /**
   *
   * @type {Array<string>}
   * @memberof ApiChangeGroupMembersRequest
   */
  members?: Array<string>;
}

/**
 * Check if a given object implements the ApiChangeGroupMembersRequest interface.
 */
export function instanceOfApiChangeGroupMembersRequest(
  value: object,
): value is ApiChangeGroupMembersRequest {
  return true;
}

export function ApiChangeGroupMembersRequestFromJSON(
  json: any,
): ApiChangeGroupMembersRequest {
  return ApiChangeGroupMembersRequestFromJSONTyped(json, false);
}

export function ApiChangeGroupMembersRequestFromJSONTyped(
  json: any,
  ignoreDiscriminator: boolean,
): ApiChangeGroupMembersRequest {
  if (json == null) {
    return json;
  }
  return {
    members: json["members"] == null ? undefined : json["members"],
  };
}

export function ApiChangeGroupMembersRequestToJSON(
  value?: ApiChangeGroupMembersRequest | null,
): any {
  if (value == null) {
    return value;
  }
  return {
    members: value["members"],
  };
}
