Class VideoreferencesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
org.mbari.vars.annosaurus.sdk.kiota.v1.videoreferences.VideoreferencesRequestBuilder
@Generated("com.microsoft.kiota")
public class VideoreferencesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Builds and executes requests for operations under /v1/videoreferences
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Find all video referencesclass
Configuration for the request such as headers, query parameters, and middleware options.class
Configuration 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
ConstructorDescriptionVideoreferencesRequestBuilder
(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVideoreferencesRequestBuilder
and sets the default values.VideoreferencesRequestBuilder
(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVideoreferencesRequestBuilder
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyVideoInfoUuid
(UUID videoInfoUuid) Gets an item from the org.mbari.vars.annosaurus.sdk.kiota.v1.videoreferences.item collectionget()
Find all video referencesget
(Consumer<VideoreferencesRequestBuilder.GetRequestConfiguration> requestConfiguration) Find all video referencesThe missioncontact propertyThe missioncontacts propertyThe missionid propertyThe missionids propertyCreate a video referencepost
(CachedVideoReferenceInfoCreateSC body, Consumer<VideoreferencesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a video referencecom.microsoft.kiota.RequestInformation
Find all video referencescom.microsoft.kiota.RequestInformation
toGetRequestInformation
(Consumer<VideoreferencesRequestBuilder.GetRequestConfiguration> requestConfiguration) Find all video referencescom.microsoft.kiota.RequestInformation
Create a video referencecom.microsoft.kiota.RequestInformation
toPostRequestInformation
(CachedVideoReferenceInfoCreateSC body, Consumer<VideoreferencesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a video referenceThe videoreference propertyThe videoreferences propertyReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
VideoreferencesRequestBuilder
public VideoreferencesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVideoreferencesRequestBuilder
and sets the default values.- Parameters:
pathParameters
- Path parameters for the requestrequestAdapter
- The request adapter to use to execute the requests.
-
VideoreferencesRequestBuilder
public VideoreferencesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newVideoreferencesRequestBuilder
and 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
-
missioncontact
The missioncontact property- Returns:
- a
MissioncontactRequestBuilder
-
missioncontacts
The missioncontacts property- Returns:
- a
MissioncontactsRequestBuilder
-
missionid
The missionid property- Returns:
- a
MissionidRequestBuilder
-
missionids
The missionids property- Returns:
- a
MissionidsRequestBuilder
-
videoreference
The videoreference property- Returns:
- a
VideoreferenceRequestBuilder
-
videoreferences
The videoreferences property- Returns:
- a
VideoreferencesRequestBuilder
-
byVideoInfoUuid
Gets an item from the org.mbari.vars.annosaurus.sdk.kiota.v1.videoreferences.item collection- Parameters:
videoInfoUuid
- Unique identifier of the item- Returns:
- a
WithVideoInfoUuItemRequestBuilder
-
get
Find all video references- Returns:
- a
List<CachedVideoReferenceInfoSC>
- Throws:
BadRequest
- When receiving a 400 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
get
@Nullable public List<CachedVideoReferenceInfoSC> get(@Nullable Consumer<VideoreferencesRequestBuilder.GetRequestConfiguration> requestConfiguration) Find all video references- Parameters:
requestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
List<CachedVideoReferenceInfoSC>
- Throws:
BadRequest
- When receiving a 400 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
post
Create a video reference- Parameters:
body
- The request body- Returns:
- a
CachedVideoReferenceInfoSC
- Throws:
BadRequest
- When receiving a 400 status codeUnauthorized
- When receiving a 401 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
post
@Nullable public CachedVideoReferenceInfoSC post(@Nonnull CachedVideoReferenceInfoCreateSC body, @Nullable Consumer<VideoreferencesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a video reference- Parameters:
body
- The request bodyrequestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
CachedVideoReferenceInfoSC
- Throws:
BadRequest
- When receiving a 400 status codeUnauthorized
- When receiving a 401 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Find all video references- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<VideoreferencesRequestBuilder.GetRequestConfiguration> requestConfiguration) Find all video references- 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 CachedVideoReferenceInfoCreateSC body) Create a video reference- Parameters:
body
- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull CachedVideoReferenceInfoCreateSC body, @Nullable Consumer<VideoreferencesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create a video reference- 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
VideoreferencesRequestBuilder
-