/* tslint:disable */
/* eslint-disable */
/**
 * chomestatus API
 * The API for chromestatus.com. chromestatus.com is the official tool used for tracking feature launches in Blink (the browser engine that powers Chrome and many other web browsers). This tool guides feature owners through our launch process and serves as a primary source for developer information that then ripples throughout the web developer ecosystem. More details at: https://github.com/GoogleChrome/chromium-dashboard
 *
 * The version of the OpenAPI document: 1.0.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';
/**
 * Traits about the user in relation to the component
 * @export
 * @interface ComponentUsersRequest
 */
export interface ComponentUsersRequest {
    /**
     * Impacts this user's ownership. For PUT, add ownership. For DELETE, remove ownership.
     * @type {boolean}
     * @memberof ComponentUsersRequest
     */
    owner?: boolean;
}

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

export function ComponentUsersRequestFromJSON(json: any): ComponentUsersRequest {
    return ComponentUsersRequestFromJSONTyped(json, false);
}

export function ComponentUsersRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentUsersRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'owner': json['owner'] == null ? undefined : json['owner'],
    };
}

export function ComponentUsersRequestToJSON(value?: ComponentUsersRequest | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'owner': value['owner'],
    };
}

