GraphRequest interface
Типы для объекта GraphRequest. Дополнительные сведения: https://github.com/microsoftgraph/msgraph-sdk-javascript
Свойства
| _headers | |
| _response |
|
| config | |
| url |
Методы
Сведения о свойстве
_headers
_headers: {
[key: string]: string | number;
};
Значение свойства
{ [key: string]: string | number; }
_responseType
_responseType: string;
Значение свойства
string
config
config: Options;
Значение свойства
urlComponents
urlComponents: URLComponents;
Значение свойства
Сведения о методе
buildFullUrl()
buildFullUrl(): string;
Возвращаемое значение
string
constructor(config, path)
constructor(config: Options, path: string): IGraphRequest;
Параметры
- config
- @microsoft/microsoft-graph-client!Options:interface
- path
-
string
Возвращаемое значение
count(count)
create(content, callback)
create(content: any, callback?: GraphRequestCallback): Promise<any>;
Параметры
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
del(callback)
del(callback?: GraphRequestCallback): Promise<any>;
Параметры
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
delete(callback)
delete(callback?: GraphRequestCallback): Promise<any>;
Параметры
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
expand(properties)
expand(properties: string | string[]): IGraphRequest;
Параметры
- properties
-
string | string[]
Возвращаемое значение
filter(filterStr)
filter(filterStr: string): IGraphRequest;
Параметры
- filterStr
-
string
Возвращаемое значение
get(callback)
get(callback?: GraphRequestCallback): Promise<any>;
Параметры
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
getStream(callback)
getStream(callback: GraphRequestCallback): void;
Параметры
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
void
header(headerKey, headerValue)
header(headerKey: string, headerValue: string): this;
Параметры
- headerKey
-
string
- headerValue
-
string
Возвращаемое значение
this
headers(headers)
headers(headers: {
[key: string]: string | number;
}): this;
Параметры
- headers
-
{ [key: string]: string | number; }
Возвращаемое значение
this
orderby(properties)
orderby(properties: string | string[]): IGraphRequest;
Параметры
- properties
-
string | string[]
Возвращаемое значение
parsePath(rawPath)
parsePath(rawPath: string): void;
Параметры
- rawPath
-
string
Возвращаемое значение
void
patch(content, callback)
patch(content: any, callback?: GraphRequestCallback): Promise<any>;
Параметры
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
post(content, callback)
post(content: any, callback?: GraphRequestCallback): Promise<any>;
Параметры
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
put(content, callback)
put(content: any, callback?: GraphRequestCallback): Promise<any>;
Параметры
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>
putStream(stream, callback)
putStream(stream: any, callback: GraphRequestCallback): void;
Параметры
- stream
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
void
query(queryDictionaryOrString)
query(queryDictionaryOrString: string | {
[key: string]: string | number;
}): IGraphRequest;
Параметры
- queryDictionaryOrString
-
string | { [key: string]: string | number; }
Возвращаемое значение
responseType(responseType)
responseType(responseType: string): IGraphRequest;
Параметры
- responseType
-
string
Возвращаемое значение
select(properties)
select(properties: string | string[]): IGraphRequest;
Параметры
- properties
-
string | string[]
Возвращаемое значение
skip(n)
skipToken(token)
top(n)
update(content, callback)
update(content: any, callback?: GraphRequestCallback): Promise<any>;
Параметры
- content
-
any
- callback
- @microsoft/microsoft-graph-client!GraphRequestCallback:type
Возвращаемое значение
Promise<any>