fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
112 lines • 2.62 kB
TypeScript
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.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 type { CommentUserBadgeInfo } from './CommentUserBadgeInfo';
/**
*
* @export
* @interface UserSessionInfo
*/
export interface UserSessionInfo {
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
id?: string;
/**
*
* @type {boolean}
* @memberof UserSessionInfo
*/
authorized?: boolean;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
avatarSrc?: string | null;
/**
*
* @type {Array<CommentUserBadgeInfo>}
* @memberof UserSessionInfo
*/
badges?: Array<CommentUserBadgeInfo>;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
displayLabel?: string;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
displayName?: string;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
email?: string | null;
/**
*
* @type {Array<string>}
* @memberof UserSessionInfo
*/
groupIds?: Array<string>;
/**
*
* @type {boolean}
* @memberof UserSessionInfo
*/
hasBlockedUsers?: boolean;
/**
*
* @type {boolean}
* @memberof UserSessionInfo
*/
isAnonSession?: boolean;
/**
*
* @type {boolean}
* @memberof UserSessionInfo
*/
needsTOS?: boolean;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
sessionId?: string | null;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
username?: string;
/**
*
* @type {string}
* @memberof UserSessionInfo
*/
websiteUrl?: string;
}
/**
* Check if a given object implements the UserSessionInfo interface.
*/
export declare function instanceOfUserSessionInfo(value: object): value is UserSessionInfo;
export declare function UserSessionInfoFromJSON(json: any): UserSessionInfo;
export declare function UserSessionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSessionInfo;
export declare function UserSessionInfoToJSON(json: any): UserSessionInfo;
export declare function UserSessionInfoToJSONTyped(value?: UserSessionInfo | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=UserSessionInfo.d.ts.map