/// <summary> /// Get attachments from users /// <param name="cancellationToken">Cancellation token to use when cancelling requests</param> /// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> /// <param name="responseHandler">Response handler to use in place of the default response handling provided by the core service</param> /// </summary> public async Task <AttachmentCollectionResponse> GetAsync(Action <AttachmentsRequestBuilderGetRequestConfiguration> requestConfiguration = default, IResponseHandler responseHandler = default, CancellationToken cancellationToken = default) { var requestInfo = CreateGetRequestInformation(requestConfiguration); return(await RequestAdapter.SendAsync <AttachmentCollectionResponse>(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, responseHandler, default, cancellationToken));
/// <summary> /// Get entities from ToDoItems /// <param name="cancellationToken">Cancellation token to use when cancelling requests</param> /// <param name="h">Request headers</param> /// <param name="o">Request options</param> /// <param name="q">Request query parameters</param> /// <param name="responseHandler">Response handler to use in place of the default response handling provided by the core service</param> /// </summary> public async Task <ToDoItemsResponse> GetAsync(Action <GetQueryParameters> q = default, Action <IDictionary <string, string> > h = default, IEnumerable <IRequestOption> o = default, IResponseHandler responseHandler = default, CancellationToken cancellationToken = default) { var requestInfo = CreateGetRequestInformation(q, h, o); return(await RequestAdapter.SendAsync <ToDoItemsResponse>(requestInfo, responseHandler, cancellationToken)); }
/// <summary> /// Get multiValueExtendedProperties from users /// <param name="cancellationToken">Cancellation token to use when cancelling requests</param> /// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param> /// <param name="responseHandler">Response handler to use in place of the default response handling provided by the core service</param> /// </summary> public async Task <MultiValueLegacyExtendedPropertyCollectionResponse> GetAsync(Action <MultiValueExtendedPropertiesRequestBuilderGetRequestConfiguration> requestConfiguration = default, IResponseHandler responseHandler = default, CancellationToken cancellationToken = default) { var requestInfo = CreateGetRequestInformation(requestConfiguration); return(await RequestAdapter.SendAsync <MultiValueLegacyExtendedPropertyCollectionResponse>(requestInfo, MultiValueLegacyExtendedPropertyCollectionResponse.CreateFromDiscriminatorValue, responseHandler, default, cancellationToken));
public async Task <User> GetAsync(Action <IDictionary <string, string> > h = default, IEnumerable <IRequestOption> o = default, IResponseHandler responseHandler = default, CancellationToken cancellationToken = default) { var requestInfo = CreateGetRequestInformation(h, o); return(await RequestAdapter.SendAsync <User>(requestInfo, User.CreateFromDiscriminatorValue, responseHandler, default, cancellationToken));