GraphRequest interface
Escrituras para el objeto GraphRequest Para obtener más información: https://github.com/microsoftgraph/msgraph-sdk-javascript
Propiedades
_headers | |
_response |
|
config | |
url |
Métodos
Detalles de las propiedades
_headers
_headers: {
[key: string]: string | number;
};
Valor de propiedad
{ [key: string]: string | number; }
_responseType
_responseType: string;
Valor de propiedad
string
config
config: Options;
Valor de propiedad
@microsoft/microsoft-graph-client!Options:interface
urlComponents
urlComponents: URLComponents;
Valor de propiedad
@microsoft/microsoft-graph-client!URLComponents:interface
Detalles del método
buildFullUrl()
buildFullUrl(): string;
Devoluciones
string
constructor(config, path)
constructor(config: Options, path: string): IGraphRequest;
Parámetros
- config
- @microsoft/microsoft-graph-client!Options:interface
- path
-
string
Devoluciones
count(count)
create(content, callback)
create(content: any, callback?: GraphRequestCallback): Promise<any>;
Parámetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
del(callback)
del(callback?: GraphRequestCallback): Promise<any>;
Parámetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
delete(callback)
delete(callback?: GraphRequestCallback): Promise<any>;
Parámetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
expand(properties)
expand(properties: string | string[]): IGraphRequest;
Parámetros
- properties
-
string | string[]
Devoluciones
filter(filterStr)
get(callback)
get(callback?: GraphRequestCallback): Promise<any>;
Parámetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
getStream(callback)
getStream(callback: GraphRequestCallback): void;
Parámetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
void
header(headerKey, headerValue)
header(headerKey: string, headerValue: string): this;
Parámetros
- headerKey
-
string
- headerValue
-
string
Devoluciones
this
headers(headers)
headers(headers: {
[key: string]: string | number;
}): this;
Parámetros
- headers
-
{ [key: string]: string | number; }
Devoluciones
this
orderby(properties)
orderby(properties: string | string[]): IGraphRequest;
Parámetros
- properties
-
string | string[]
Devoluciones
parsePath(rawPath)
parsePath(rawPath: string): void;
Parámetros
- rawPath
-
string
Devoluciones
void
patch(content, callback)
patch(content: any, callback?: GraphRequestCallback): Promise<any>;
Parámetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
post(content, callback)
post(content: any, callback?: GraphRequestCallback): Promise<any>;
Parámetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
put(content, callback)
put(content: any, callback?: GraphRequestCallback): Promise<any>;
Parámetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>
putStream(stream, callback)
putStream(stream: any, callback: GraphRequestCallback): void;
Parámetros
- stream
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
void
query(queryDictionaryOrString)
query(queryDictionaryOrString: string | {
[key: string]: string | number;
}): IGraphRequest;
Parámetros
- queryDictionaryOrString
-
string | { [key: string]: string | number; }
Devoluciones
responseType(responseType)
responseType(responseType: string): IGraphRequest;
Parámetros
- responseType
-
string
Devoluciones
select(properties)
select(properties: string | string[]): IGraphRequest;
Parámetros
- properties
-
string | string[]
Devoluciones
skip(n)
skipToken(token)
top(n)
update(content, callback)
update(content: any, callback?: GraphRequestCallback): Promise<any>;
Parámetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Devoluciones
Promise<any>