/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * 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. */ /** * A user that the restriction will be applied to. Either the `username` or the `userKey` must be specified to identify the user. * @export * @interface ContentRestrictionUpdateRestrictionsUser */ export interface ContentRestrictionUpdateRestrictionsUser { /** * Set to \'known\'. * @type {string} * @memberof ContentRestrictionUpdateRestrictionsUser */ type: ContentRestrictionUpdateRestrictionsUserTypeEnum; /** * This property has been deprecated due to privacy changes. Use `accountId` instead. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user. For example, _admin_. Required, unless `accountId` or `userKey` is specified. * @type {string} * @memberof ContentRestrictionUpdateRestrictionsUser */ username?: string; /** * This property has been deprecated due to privacy changes. Use `accountId` instead. See the [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. The user key of the user. Required, unless `accountId` or `username` is specified. * @type {string} * @memberof ContentRestrictionUpdateRestrictionsUser */ userKey?: string; /** * The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`. Required, unless `username` or `userKey` is specified. * @type {string} * @memberof ContentRestrictionUpdateRestrictionsUser */ accountId?: string; } export declare function ContentRestrictionUpdateRestrictionsUserFromJSON(json: any): ContentRestrictionUpdateRestrictionsUser; export declare function ContentRestrictionUpdateRestrictionsUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentRestrictionUpdateRestrictionsUser; export declare function ContentRestrictionUpdateRestrictionsUserToJSON(value?: ContentRestrictionUpdateRestrictionsUser): any; /** * @export * @enum {string} */ export declare enum ContentRestrictionUpdateRestrictionsUserTypeEnum { Known = "known", Unknown = "unknown", Anonymous = "anonymous", User = "user" }