Class StartItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
org.mbari.vars.vampiresquid.sdk.kiota.v1.videos.timestamp.item.StartItemRequestBuilder
@Generated("com.microsoft.kiota")
public class StartItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Builds and executes requests for operations under /v1/videos/timestamp/{start-id}
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
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
ConstructorDescriptionStartItemRequestBuilder
(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStartItemRequestBuilder
and sets the default values.StartItemRequestBuilder
(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStartItemRequestBuilder
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionGets an item from the org.mbari.vars.vampiresquid.sdk.kiota.v1.videos.timestamp.item.item collectionget()
Find videos by its timestampget
(Consumer<StartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Find videos by its timestampcom.microsoft.kiota.RequestInformation
Find videos by its timestampcom.microsoft.kiota.RequestInformation
toGetRequestInformation
(Consumer<StartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Find videos by its timestampReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
StartItemRequestBuilder
public StartItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStartItemRequestBuilder
and sets the default values.- Parameters:
pathParameters
- Path parameters for the requestrequestAdapter
- The request adapter to use to execute the requests.
-
StartItemRequestBuilder
public StartItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newStartItemRequestBuilder
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
-
byEnd
Gets an item from the org.mbari.vars.vampiresquid.sdk.kiota.v1.videos.timestamp.item.item collection- Parameters:
end
- Unique identifier of the item- Returns:
- a
WithEndItemRequestBuilder
-
get
Find videos by its timestamp- Returns:
- a
List<Video>
- Throws:
BadRequest
- When receiving a 400 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
get
@Nullable public List<Video> get(@Nullable Consumer<StartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Find videos by its timestamp- Parameters:
requestConfiguration
- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
List<Video>
- Throws:
BadRequest
- When receiving a 400 status codeNotFound
- When receiving a 404 status codeServerError
- When receiving a 500 status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Find videos by its timestamp- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<StartItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Find videos by its timestamp- Parameters:
requestConfiguration
- 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
StartItemRequestBuilder
-