Compartilhar via


GraphRequest interface

Escritas para o Objeto GraphRequest Para obter mais informações: https://github.com/microsoftgraph/msgraph-sdk-javascript

Propriedades

_headers
_responseType
config
urlComponents

Métodos

buildFullUrl()
constructor(config, path)
count(count)
create(content, callback)
del(callback)
delete(callback)
expand(properties)
filter(filterStr)
get(callback)
getStream(callback)
header(headerKey, headerValue)
headers(headers)
orderby(properties)
parsePath(rawPath)
patch(content, callback)
post(content, callback)
put(content, callback)
putStream(stream, callback)
query(queryDictionaryOrString)
responseType(responseType)
select(properties)
skip(n)
skipToken(token)
top(n)
update(content, callback)
version(v)

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)

count(count: boolean): IGraphRequest;

Parâmetros

count

boolean

Retornos

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)

filter(filterStr: string): IGraphRequest;

Parâmetros

filterStr

string

Retornos

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)

skip(n: number): IGraphRequest;

Parâmetros

n

number

Retornos

skipToken(token)

skipToken(token: string): IGraphRequest;

Parâmetros

token

string

Retornos

top(n)

top(n: number): IGraphRequest;

Parâmetros

n

number

Retornos

update(content, callback)

update(content: any, callback?: GraphRequestCallback): Promise<any>;

Parâmetros

content

any

callback
@microsoft/microsoft-graph-client!GraphRequestCallback:type

Retornos

Promise<any>

version(v)

version(v: string): IGraphRequest;

Parâmetros

v

string

Retornos