Class WebinarsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.virtualevents.webinars.WebinarsRequestBuilder
@Generated("com.microsoft.kiota")
public class WebinarsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the list of all virtualEventWebinar objects created in a tenant.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionWebinarsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWebinarsRequestBuilderand sets the default values.WebinarsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWebinarsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyVirtualEventWebinarId(String virtualEventWebinarId) Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.count()Provides operations to count the resources in the collection.get()Get the list of all virtualEventWebinar objects created in a tenant.get(Consumer<WebinarsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of all virtualEventWebinar objects created in a tenant.getByUserIdAndRoleWithUserIdWithRole(String role, String userId) Provides operations to call the getByUserIdAndRole method.getByUserRoleWithRole(String role) Provides operations to call the getByUserRole method.post(VirtualEventWebinar body) Create a new virtualEventWebinar object in draft mode.post(VirtualEventWebinar body, Consumer<WebinarsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new virtualEventWebinar object in draft mode.com.microsoft.kiota.RequestInformationGet the list of all virtualEventWebinar objects created in a tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<WebinarsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of all virtualEventWebinar objects created in a tenant.com.microsoft.kiota.RequestInformationCreate a new virtualEventWebinar object in draft mode.com.microsoft.kiota.RequestInformationtoPostRequestInformation(VirtualEventWebinar body, Consumer<WebinarsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new virtualEventWebinar object in draft mode.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
WebinarsRequestBuilder
public WebinarsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWebinarsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
WebinarsRequestBuilder
public WebinarsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWebinarsRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
byVirtualEventWebinarId
@Nonnull public VirtualEventWebinarItemRequestBuilder byVirtualEventWebinarId(@Nonnull String virtualEventWebinarId) Provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity.- Parameters:
virtualEventWebinarId- The unique identifier of virtualEventWebinar- Returns:
- a
VirtualEventWebinarItemRequestBuilder
-
get
Get the list of all virtualEventWebinar objects created in a tenant.- Returns:
- a
VirtualEventWebinarCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public VirtualEventWebinarCollectionResponse get(@Nullable Consumer<WebinarsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of all virtualEventWebinar objects created in a tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
VirtualEventWebinarCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
getByUserIdAndRoleWithUserIdWithRole
@Nonnull public GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder getByUserIdAndRoleWithUserIdWithRole(@Nonnull String role, @Nonnull String userId) Provides operations to call the getByUserIdAndRole method.- Parameters:
role- Usage: role='{role}'userId- Usage: userId='{userId}'- Returns:
- a
GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder
-
getByUserRoleWithRole
Provides operations to call the getByUserRole method.- Parameters:
role- Usage: role='{role}'- Returns:
- a
GetByUserRoleWithRoleRequestBuilder
-
post
Create a new virtualEventWebinar object in draft mode.- Parameters:
body- The request body- Returns:
- a
VirtualEventWebinar - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
@Nullable public VirtualEventWebinar post(@Nonnull VirtualEventWebinar body, @Nullable Consumer<WebinarsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new virtualEventWebinar object in draft mode.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
VirtualEventWebinar - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the list of all virtualEventWebinar objects created in a tenant.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<WebinarsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the list of all virtualEventWebinar objects created in a tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull VirtualEventWebinar body) Create a new virtualEventWebinar object in draft mode.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull VirtualEventWebinar body, @Nullable Consumer<WebinarsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a new virtualEventWebinar object in draft mode.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
WebinarsRequestBuilder
-