@jaricardodev/ews-javascript-api
Version:
EWS Managed api in JavaScript
44 lines (40 loc) • 2.48 kB
text/typescript
import {PropertyDefinitionBase} from "../../PropertyDefinitions/PropertyDefinitionBase";
import {XmlElementNames} from "../../Core/XmlElementNames";
import {RelationalFilter} from "./SearchFilter.RelationalFilter";
/**
* Represents a search filter that checks if a property is greater than or equal to a given value or other property.
*/
export class IsGreaterThanOrEqualTo extends RelationalFilter {
/**
* Initializes a new instance of the **IsGreaterThanOrEqualTo** class.
*/
constructor();
/**
* Initializes a new instance of the **IsGreaterThanOrEqualTo** class.
*
* @param {PropertyDefinitionBase} propertyDefinition The definition of the property that is being compared. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, etc.)
* @param {PropertyDefinitionBase} otherPropertyDefinition The definition of the property to compare with. Property definitions are available on schema classes (EmailMessageSchema, AppointmentSchema, etc.)
*/
constructor(propertyDefinition: PropertyDefinitionBase, otherPropertyDefinition: PropertyDefinitionBase);
/**
* Initializes a new instance of the **IsGreaterThanOrEqualTo** class.
*
* @param {PropertyDefinitionBase} propertyDefinition The definition of the property that is being compared. Property definitions are available as static members from schema classes (for example, EmailMessageSchema.Subject, AppointmentSchema.Start, ContactSchema.GivenName, etc.)
* @param {any} value The value to compare the property with.
*/
constructor(propertyDefinition: PropertyDefinitionBase, value: any);
constructor(propertyDefinition?: PropertyDefinitionBase, otherPropertyDefinitionOrValue?: any | PropertyDefinitionBase) {
arguments.length === 0 ? super() : super(propertyDefinition, otherPropertyDefinitionOrValue);
}
/**
* @internal Gets the name of the XML element.
*
* @return {string} XML element name.
*/
GetXmlElementName(): string { return XmlElementNames.IsGreaterThanOrEqualTo;}
}
export interface IIsGreaterThanOrEqualTo {
new (): IsGreaterThanOrEqualTo;
new (propertyDefinition: PropertyDefinitionBase, otherPropertyDefinition: PropertyDefinitionBase):IsGreaterThanOrEqualTo;
new (propertyDefinition: PropertyDefinitionBase, value: any): IsGreaterThanOrEqualTo;
}