wallee
Version:
TypeScript/JavaScript client for wallee
77 lines (76 loc) • 2.28 kB
TypeScript
import type { Refund } from './Refund';
/**
*
* @export
* @interface RefundComment
*/
export interface RefundComment {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof RefundComment
*/
readonly linkedSpaceId?: number;
/**
* Whether the comment is pinned to the top.
* @type {boolean}
* @memberof RefundComment
*/
readonly pinned?: boolean;
/**
* The ID of the user the comment was last updated by.
* @type {number}
* @memberof RefundComment
*/
readonly editedBy?: number;
/**
* The ID of the user the comment was created by.
* @type {number}
* @memberof RefundComment
*/
readonly createdBy?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof RefundComment
*/
readonly id?: number;
/**
* The date and time when the comment was last updated.
* @type {Date}
* @memberof RefundComment
*/
readonly editedOn?: Date;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof RefundComment
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof RefundComment
*/
readonly version?: number;
/**
* The comment's actual content.
* @type {string}
* @memberof RefundComment
*/
readonly content?: string;
/**
*
* @type {Refund}
* @memberof RefundComment
*/
refund?: Refund;
}
/**
* Check if a given object implements the RefundComment interface.
*/
export declare function instanceOfRefundComment(value: object): value is RefundComment;
export declare function RefundCommentFromJSON(json: any): RefundComment;
export declare function RefundCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundComment;
export declare function RefundCommentToJSON(json: any): RefundComment;
export declare function RefundCommentToJSONTyped(value?: Omit<RefundComment, 'linkedSpaceId' | 'pinned' | 'editedBy' | 'createdBy' | 'id' | 'editedOn' | 'createdOn' | 'version' | 'content'> | null, ignoreDiscriminator?: boolean): any;