/** * ThoughtSpot Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.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 { PrincipalRefInput } from '../models/PrincipalRefInput'; import { HttpFile } from '../http/http'; export class ShareConversationRequest { /** * When `true`, always regenerates the shared view from the latest conversation state, even if one already exists. When `false` (default), reuses the existing shared view. */ 'refresh_shared_content'?: boolean | null; /** * Principals to grant read-only access to the conversation. */ 'grant': Array; /** * Principals to revoke access from the conversation. */ 'revoke': Array; /** *
Version: 26.10.0.cl or later
When `true` (default), newly granted principals are notified of the share. When `false`, access is granted without sending a notification. Has no effect on principals passed in `revoke`. Does not re-notify a principal who already had access. */ 'notify_on_share'?: boolean | null; static readonly discriminator: string | undefined = undefined; static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "refresh_shared_content", "baseName": "refresh_shared_content", "type": "boolean", "format": "" }, { "name": "grant", "baseName": "grant", "type": "Array", "format": "" }, { "name": "revoke", "baseName": "revoke", "type": "Array", "format": "" }, { "name": "notify_on_share", "baseName": "notify_on_share", "type": "boolean", "format": "" } ]; static getAttributeTypeMap() { return ShareConversationRequest.attributeTypeMap; } public constructor() { } }