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}
  • Constructor Details

    • StartItemRequestBuilder

      public StartItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new StartItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • StartItemRequestBuilder

      public StartItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new StartItemRequestBuilder 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

      @Nonnull public WithEndItemRequestBuilder byEnd(@Nonnull String end)
      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

      @Nullable public List<Video> get()
      Find videos by its timestamp
      Returns:
      a List<Video>
      Throws:
      BadRequest - When receiving a 400 status code
      NotFound - When receiving a 404 status code
      ServerError - 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 code
      NotFound - When receiving a 404 status code
      ServerError - 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

      @Nonnull public StartItemRequestBuilder withUrl(@Nonnull String rawUrl)
      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