asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
37 lines (36 loc) • 1.76 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
export declare const importsMapLink: {};
/**
* Provides information for the object link.
* This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7.
*/
export declare class Link implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the "href" attribute with the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference.
*/
href: string;
/**
* Gets or sets the option that controls whether atom:link elements MAY have a "rel" attribute that indicates the link relation type. If the "rel" attribute is not present, the link element MUST be interpreted as if the link relation type is "alternate".
*/
rel: string;
/**
* Gets or sets the "title" attribute, that conveys human-readable information about the link. The content of the "title" attribute is Language-Sensitive.
*/
title: string;
/**
* Gets or sets the "type" attribute. The "type" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation.
*/
type: string;
constructor(init?: Partial<Link>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}