/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * Check if a given object implements the DiscussionSearchRequest interface.
 */
export function instanceOfDiscussionSearchRequest(value) {
    return true;
}
export function DiscussionSearchRequestFromJSON(json) {
    return DiscussionSearchRequestFromJSONTyped(json, false);
}
export function DiscussionSearchRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'searchString': json['searchString'] == null ? undefined : json['searchString'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function DiscussionSearchRequestToJSON(json) {
    return DiscussionSearchRequestToJSONTyped(json, false);
}
export function DiscussionSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'searchString': value['searchString'],
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=DiscussionSearchRequest.js.map