GraphRequest interface
Escritas para o Objeto GraphRequest Para obter mais informações: https://github.com/microsoftgraph/msgraph-sdk-javascript
Propriedades
_headers | |
_response |
|
config | |
url |
Métodos
Detalhes da propriedade
_headers
_headers: {
[key: string]: string | number;
};
Valor da propriedade
{ [key: string]: string | number; }
_responseType
_responseType: string;
Valor da propriedade
string
config
config: Options;
Valor da propriedade
@microsoft/microsoft-graph-client!Options:interface
urlComponents
urlComponents: URLComponents;
Valor da propriedade
@microsoft/microsoft-graph-client!URLComponents:interface
Detalhes do método
buildFullUrl()
buildFullUrl(): string;
Retornos
string
constructor(config, path)
constructor(config: Options, path: string): IGraphRequest;
Parâmetros
- config
- @microsoft/microsoft-graph-client!Options:interface
- path
-
string
Retornos
count(count)
create(content, callback)
create(content: any, callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
del(callback)
del(callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
delete(callback)
delete(callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
expand(properties)
expand(properties: string | string[]): IGraphRequest;
Parâmetros
- properties
-
string | string[]
Retornos
filter(filterStr)
get(callback)
get(callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
getStream(callback)
getStream(callback: GraphRequestCallback): void;
Parâmetros
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
void
header(headerKey, headerValue)
header(headerKey: string, headerValue: string): this;
Parâmetros
- headerKey
-
string
- headerValue
-
string
Retornos
this
headers(headers)
headers(headers: {
[key: string]: string | number;
}): this;
Parâmetros
- headers
-
{ [key: string]: string | number; }
Retornos
this
orderby(properties)
orderby(properties: string | string[]): IGraphRequest;
Parâmetros
- properties
-
string | string[]
Retornos
parsePath(rawPath)
parsePath(rawPath: string): void;
Parâmetros
- rawPath
-
string
Retornos
void
patch(content, callback)
patch(content: any, callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
post(content, callback)
post(content: any, callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
put(content, callback)
put(content: any, callback?: GraphRequestCallback): Promise<any>;
Parâmetros
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
Promise<any>
putStream(stream, callback)
putStream(stream: any, callback: GraphRequestCallback): void;
Parâmetros
- stream
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Retornos
void
query(queryDictionaryOrString)
query(queryDictionaryOrString: string | {
[key: string]: string | number;
}): IGraphRequest;
Parâmetros
- queryDictionaryOrString
-
string | { [key: string]: string | number; }
Retornos
responseType(responseType)
responseType(responseType: string): IGraphRequest;
Parâmetros
- responseType
-
string
Retornos
select(properties)
select(properties: string | string[]): IGraphRequest;
Parâmetros
- properties
-
string | string[]
Retornos
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
Retornos
Promise<any>