From 1b138da8794f779e4bde8e733e1a4a3e3a97cf53 Mon Sep 17 00:00:00 2001 From: olivierapivideo Date: Tue, 4 Jun 2024 14:49:27 +0000 Subject: [PATCH] [DO NOT MERGE] Add Watch Data endpoints to OpenAPI spec --- README.md | 27 +- api/openapi.yaml | 555 ++++++++---------- api_analytics.go | 32 +- docs/AnalyticsAggregatedMetricsResponse.md | 93 +++ ...alyticsAggregatedMetricsResponseContext.md | 108 ++++ ...gregatedMetricsResponseContextTimeframe.md | 82 +++ docs/AnalyticsMetricsBreakdownResponse.md | 93 +++ ...nalyticsMetricsBreakdownResponseContext.md | 108 ++++ docs/AnalyticsMetricsBreakdownResponseData.md | 82 +++ docs/AnalyticsMetricsOverTimeResponse.md | 93 +++ ...AnalyticsMetricsOverTimeResponseContext.md | 108 ++++ docs/AnalyticsMetricsOverTimeResponseData.md | 82 +++ docs/LiveStreamSession.md | 186 ------ docs/LiveStreamSessionClient.md | 108 ---- docs/LiveStreamSessionDevice.md | 108 ---- docs/LiveStreamSessionLocation.md | 82 --- docs/LiveStreamSessionReferrer.md | 134 ----- docs/LiveStreamSessionSession.md | 108 ---- docs/UnrecognizedRequestUrl.md | 108 ++++ docs/VideoSession.md | 186 ------ docs/VideoSessionClient.md | 108 ---- docs/VideoSessionDevice.md | 108 ---- docs/VideoSessionLocation.md | 92 --- docs/VideoSessionOs.md | 108 ---- docs/VideoSessionReferrer.md | 144 ----- docs/VideoSessionSession.md | 134 ----- ...l_analytics_aggregated_metrics_response.go | 141 +++++ ...ics_aggregated_metrics_response_context.go | 164 ++++++ ...ated_metrics_response_context_timeframe.go | 131 +++++ model_analytics_metrics_breakdown_response.go | 142 +++++ ...tics_metrics_breakdown_response_context.go | 164 ++++++ ...alytics_metrics_breakdown_response_data.go | 131 +++++ model_analytics_metrics_over_time_response.go | 142 +++++ ...tics_metrics_over_time_response_context.go | 164 ++++++ ...alytics_metrics_over_time_response_data.go | 131 +++++ model_live_stream_session.go | 261 -------- model_live_stream_session_client.go | 165 ------ model_live_stream_session_device.go | 165 ------ model_live_stream_session_location.go | 131 ----- model_live_stream_session_referrer.go | 199 ------- model_live_stream_session_session.go | 165 ------ model_unrecognized_request_url.go | 165 ++++++ model_video_session.go | 261 -------- model_video_session_client.go | 165 ------ model_video_session_device.go | 165 ------ model_video_session_location.go | 142 ----- model_video_session_os.go | 165 ------ model_video_session_referrer.go | 210 ------- model_video_session_session.go | 199 ------- 49 files changed, 2710 insertions(+), 4335 deletions(-) create mode 100644 docs/AnalyticsAggregatedMetricsResponse.md create mode 100644 docs/AnalyticsAggregatedMetricsResponseContext.md create mode 100644 docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md create mode 100644 docs/AnalyticsMetricsBreakdownResponse.md create mode 100644 docs/AnalyticsMetricsBreakdownResponseContext.md create mode 100644 docs/AnalyticsMetricsBreakdownResponseData.md create mode 100644 docs/AnalyticsMetricsOverTimeResponse.md create mode 100644 docs/AnalyticsMetricsOverTimeResponseContext.md create mode 100644 docs/AnalyticsMetricsOverTimeResponseData.md delete mode 100644 docs/LiveStreamSession.md delete mode 100644 docs/LiveStreamSessionClient.md delete mode 100644 docs/LiveStreamSessionDevice.md delete mode 100644 docs/LiveStreamSessionLocation.md delete mode 100644 docs/LiveStreamSessionReferrer.md delete mode 100644 docs/LiveStreamSessionSession.md create mode 100644 docs/UnrecognizedRequestUrl.md delete mode 100644 docs/VideoSession.md delete mode 100644 docs/VideoSessionClient.md delete mode 100644 docs/VideoSessionDevice.md delete mode 100644 docs/VideoSessionLocation.md delete mode 100644 docs/VideoSessionOs.md delete mode 100644 docs/VideoSessionReferrer.md delete mode 100644 docs/VideoSessionSession.md create mode 100644 model_analytics_aggregated_metrics_response.go create mode 100644 model_analytics_aggregated_metrics_response_context.go create mode 100644 model_analytics_aggregated_metrics_response_context_timeframe.go create mode 100644 model_analytics_metrics_breakdown_response.go create mode 100644 model_analytics_metrics_breakdown_response_context.go create mode 100644 model_analytics_metrics_breakdown_response_data.go create mode 100644 model_analytics_metrics_over_time_response.go create mode 100644 model_analytics_metrics_over_time_response_context.go create mode 100644 model_analytics_metrics_over_time_response_data.go delete mode 100644 model_live_stream_session.go delete mode 100644 model_live_stream_session_client.go delete mode 100644 model_live_stream_session_device.go delete mode 100644 model_live_stream_session_location.go delete mode 100644 model_live_stream_session_referrer.go delete mode 100644 model_live_stream_session_session.go create mode 100644 model_unrecognized_request_url.go delete mode 100644 model_video_session.go delete mode 100644 model_video_session_client.go delete mode 100644 model_video_session_device.go delete mode 100644 model_video_session_location.go delete mode 100644 model_video_session_os.go delete mode 100644 model_video_session_referrer.go delete mode 100644 model_video_session_session.go diff --git a/README.md b/README.md index 3da17f3..fd93f27 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,8 @@ analyticsApi := client.Analytics Method | HTTP request | Description ------------- | ------------- | ------------- -[**GetLiveStreamsPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetLiveStreamsPlays) | **Get** /analytics/live-streams/plays | Get play events for live stream -[**GetVideosPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetVideosPlays) | **Get** /analytics/videos/plays | Get play events for video +**(deprecated)** [**GetLiveStreamsPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetLiveStreamsPlays) | **Get** /analytics/live-streams/plays | Get play events for live stream +**(deprecated)** [**GetVideosPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetVideosPlays) | **Get** /analytics/videos/plays | Get play events for video #### Captions @@ -315,7 +315,16 @@ Method | HTTP request | Description - [AccessToken](https://github.com/apivideo/api.video-go-client/blob/main/docs/AccessToken.md) - [AdditionalBadRequestErrors](https://github.com/apivideo/api.video-go-client/blob/main/docs/AdditionalBadRequestErrors.md) + - [AnalyticsAggregatedMetricsResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponse.md) + - [AnalyticsAggregatedMetricsResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContext.md) + - [AnalyticsAggregatedMetricsResponseContextTimeframe](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md) - [AnalyticsData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsData.md) + - [AnalyticsMetricsBreakdownResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponse.md) + - [AnalyticsMetricsBreakdownResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponseContext.md) + - [AnalyticsMetricsBreakdownResponseData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponseData.md) + - [AnalyticsMetricsOverTimeResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponse.md) + - [AnalyticsMetricsOverTimeResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponseContext.md) + - [AnalyticsMetricsOverTimeResponseData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponseData.md) - [AnalyticsPlays400Error](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsPlays400Error.md) - [AnalyticsPlaysResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsPlaysResponse.md) - [AuthenticatePayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/AuthenticatePayload.md) @@ -331,12 +340,6 @@ Method | HTTP request | Description - [LiveStreamAssets](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamAssets.md) - [LiveStreamCreationPayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamCreationPayload.md) - [LiveStreamListResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamListResponse.md) - - [LiveStreamSession](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSession.md) - - [LiveStreamSessionClient](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSessionClient.md) - - [LiveStreamSessionDevice](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSessionDevice.md) - - [LiveStreamSessionLocation](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSessionLocation.md) - - [LiveStreamSessionReferrer](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSessionReferrer.md) - - [LiveStreamSessionSession](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamSessionSession.md) - [LiveStreamUpdatePayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/LiveStreamUpdatePayload.md) - [Metadata](https://github.com/apivideo/api.video-go-client/blob/main/docs/Metadata.md) - [Model403ErrorSchema](https://github.com/apivideo/api.video-go-client/blob/main/docs/Model403ErrorSchema.md) @@ -356,18 +359,12 @@ Method | HTTP request | Description - [TokenCreationPayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/TokenCreationPayload.md) - [TokenListResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/TokenListResponse.md) - [TooManyRequests](https://github.com/apivideo/api.video-go-client/blob/main/docs/TooManyRequests.md) + - [UnrecognizedRequestUrl](https://github.com/apivideo/api.video-go-client/blob/main/docs/UnrecognizedRequestUrl.md) - [UploadToken](https://github.com/apivideo/api.video-go-client/blob/main/docs/UploadToken.md) - [Video](https://github.com/apivideo/api.video-go-client/blob/main/docs/Video.md) - [VideoAssets](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoAssets.md) - [VideoClip](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoClip.md) - [VideoCreationPayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoCreationPayload.md) - - [VideoSession](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSession.md) - - [VideoSessionClient](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionClient.md) - - [VideoSessionDevice](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionDevice.md) - - [VideoSessionLocation](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionLocation.md) - - [VideoSessionOs](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionOs.md) - - [VideoSessionReferrer](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionReferrer.md) - - [VideoSessionSession](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSessionSession.md) - [VideoSource](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSource.md) - [VideoSourceLiveStream](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSourceLiveStream.md) - [VideoSourceLiveStreamLink](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoSourceLiveStreamLink.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 523f057..c7055f8 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -449,7 +449,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -730,7 +730,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1138,7 +1138,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1506,7 +1506,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1663,7 +1663,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -1924,7 +1924,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2112,7 +2112,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2410,7 +2410,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2626,7 +2626,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -2858,7 +2858,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3152,7 +3152,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3461,7 +3461,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3725,7 +3725,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -3970,7 +3970,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4168,7 +4168,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4393,7 +4393,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4665,7 +4665,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -4932,7 +4932,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5252,7 +5252,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5448,7 +5448,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5640,7 +5640,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -5937,7 +5937,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6221,7 +6221,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6463,7 +6463,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -6757,7 +6757,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7056,7 +7056,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7378,7 +7378,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7682,7 +7682,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -7976,7 +7976,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8221,7 +8221,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8459,7 +8459,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -8738,7 +8738,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9023,7 +9023,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9367,7 +9367,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9602,7 +9602,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -9887,7 +9887,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10128,7 +10128,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10355,7 +10355,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10628,7 +10628,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -10892,7 +10892,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -11060,8 +11060,11 @@ paths: // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#uploadLogo /analytics/videos/plays: get: - description: Retrieve filtered analytics about the number of plays for your - videos in a project. + deprecated: true + description: | + Retrieve filtered analytics about the number of plays for your videos in a project. + + This endpoint will be deprecated with the release of Analytics v2.0. operationId: GET_analytics-videos-plays parameters: - description: | @@ -11403,7 +11406,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -11742,8 +11745,11 @@ paths: \ }\n}\n" /analytics/live-streams/plays: get: - description: Retrieve filtered analytics about the number of plays for your - live streams in a project. + deprecated: true + description: | + Retrieve filtered analytics about the number of plays for your live streams in a project. + + This endpoint will be deprecated with the release of Analytics v2.0. operationId: GET_analytics-live-streams-plays parameters: - description: | @@ -12083,7 +12089,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -12516,7 +12522,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -12775,7 +12781,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -13006,7 +13012,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -13199,7 +13205,7 @@ paths: content: application/json: examples: - response: + Too many requests: value: type: https://docs.api.video/reference/too-many-requests title: Too many requests. @@ -13995,47 +14001,6 @@ components: type: boolean title: Caption type: object - video-session: - example: - session: - sessionId: psEmFwGQUAXR2lFHj5nDOpy - loadedAt: 2019-06-24T11:45:01.109Z - endedAt: 2019-06-24T11:49:19.243Z - location: - country: France - city: Paris - referrer: - url: https://api.video - medium: organic - source: https://google.com - searchTerm: video encoding hosting and delivery - device: - type: desktop - vendor: Dell - model: unknown - os: - name: Microsoft Windows - shortname: W10 - version: Windows10 - client: - type: browser - name: Firefox - version: "67.0" - properties: - session: - $ref: '#/components/schemas/video-session-session' - location: - $ref: '#/components/schemas/video-session-location' - referrer: - $ref: '#/components/schemas/video-session-referrer' - device: - $ref: '#/components/schemas/video-session-device' - os: - $ref: '#/components/schemas/video-session-os' - client: - $ref: '#/components/schemas/video-session-client' - title: VideoSession - type: object live-stream: example: streamKey: dw-dew8-q6w9-k67w-1ws8 @@ -14111,22 +14076,6 @@ components: - restreams title: LiveStream type: object - live-stream-session: - properties: - session: - $ref: '#/components/schemas/live-stream-session-session' - location: - $ref: '#/components/schemas/live-stream-session-location' - referrer: - $ref: '#/components/schemas/live-stream-session-referrer' - device: - $ref: '#/components/schemas/live-stream-session-device' - os: - $ref: '#/components/schemas/video-session-os' - client: - $ref: '#/components/schemas/live-stream-session-client' - title: LiveStreamSession - type: object player-session-event: properties: type: @@ -15164,6 +15113,71 @@ components: description: The name of the parameter that caused the error. type: string type: object + analytics-aggregated-metrics-response: + properties: + context: + $ref: '#/components/schemas/analytics_aggregated_metrics_response_context' + data: + items: + example: 356.2 + format: float + type: number + type: array + pagination: + $ref: '#/components/schemas/pagination' + required: + - context + - data + - pagination + title: AggregatedMetrics + type: object + analytics-metrics-breakdown-response: + properties: + context: + $ref: '#/components/schemas/analytics_metrics_breakdown_response_context' + data: + description: Returns an array of dimensions and their respective metrics. + items: + $ref: '#/components/schemas/analytics_metrics_breakdown_response_data' + type: array + pagination: + $ref: '#/components/schemas/pagination' + required: + - context + - data + - pagination + title: Analytics v2.0 response for metrics breakdown by dimension + type: object + analytics-metrics-over-time-response: + properties: + context: + $ref: '#/components/schemas/analytics_metrics_over_time_response_context' + data: + description: Returns an array of metrics and the timestamps . + items: + $ref: '#/components/schemas/analytics_metrics_over_time_response_data' + type: array + pagination: + $ref: '#/components/schemas/pagination' + required: + - context + - data + - pagination + title: Analytics v2.0 response for metrics over time + type: object + unrecognized-request-url: + properties: + type: + description: A link to the error documentation. + type: string + title: + description: A description of the error that occurred. + type: string + status: + description: The HTTP status code. + type: integer + title: Unrecognized request URL + type: object webhooks-list-response: example: pagination: @@ -15373,124 +15387,6 @@ components: type: string title: VideoAssets type: object - video-session-session: - properties: - sessionId: - description: The unique identifier for the session that you can use to track - what happens during it. - example: psEmFwGQUAXR2lFHj5nDOpy - type: string - loadedAt: - description: When the video session started, presented in ISO-8601 format. - example: 2019-06-24T11:45:01.109Z - format: date-time - type: string - endedAt: - description: When the video session ended, presented in ISO-8601 format. - example: 2019-06-24T12:45:01.109Z - format: date-time - type: string - metadata: - description: A list of key value pairs that you use to provide metadata - for your video. These pairs can be made dynamic, allowing you to segment - your audience. You can also just use the pairs as another way to tag and - categorize your videos. - example: '[{"key": "Author", "value": "John Doe"}]' - items: - $ref: '#/components/schemas/metadata' - type: array - title: VideoSessionSession - type: object - video-session-location: - description: The location of the viewer. - properties: - country: - description: The country of the viewer. - example: France - type: string - city: - description: The city of the viewer. - example: Paris - nullable: true - type: string - title: VideoSessionLocation - type: object - video-session-referrer: - properties: - url: - description: The link the viewer used to reach the video session. - example: https://api.video - nullable: true - type: string - medium: - description: How they arrived at the site, for example organic or paid. - Organic meaning they found it themselves and paid meaning they followed - a link from an advertisement. - example: organic - type: string - source: - description: The source the referrer came from to the video session. For - example if they searched through google to find the stream. - example: https://google.com - type: string - searchTerm: - description: The search term they typed to arrive at the video session. - type: string - title: VideoSessionReferrer - type: object - video-session-device: - description: What type of device the user is on when in the video session. - properties: - type: - description: What the type is like desktop, laptop, mobile. - example: desktop - type: string - vendor: - description: If known, what the brand of the device is, like Apple, Dell, - etc. - example: Dell - type: string - model: - description: The specific model of the device, if known. - example: unknown - type: string - title: VideoSessionDevice - type: object - video-session-os: - description: The operating system the viewer is on. - properties: - name: - description: The name of the operating system. - example: Microsoft Windows - type: string - shortname: - description: The nickname for the operating system, often representing the - version. - example: W10 - type: string - version: - description: The version of the operating system. - example: Windows 10 - type: string - title: VideoSessionOs - type: object - video-session-client: - description: What kind of browser the viewer is using for the video session. - properties: - name: - description: The name of the browser used to view the video session. - example: Firefox - type: string - version: - description: The version of the browser used to view the video session. - example: "67.0" - type: string - type: - description: The type of client used to view the video session. - example: browser - type: string - title: VideoSessionClient - type: object live-stream-assets: example: thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg @@ -15521,98 +15417,6 @@ components: type: string title: LiveStreamAssets type: object - live-stream-session-session: - properties: - sessionId: - description: A unique identifier for your session. You can use this to track - what happens during a specific session. - type: string - loadedAt: - description: When the session started, with the date and time presented - in ISO-8601 format. - example: 2019-06-24T11:45:01.109Z - format: date-time - type: string - endedAt: - description: When the session ended, with the date and time presented in - ISO-8601 format. - example: 2019-06-24T12:45:01.109Z - format: date-time - type: string - title: LiveStreamSessionSession - type: object - live-stream-session-location: - description: The location of the viewer of the live stream. - properties: - country: - description: The country of the viewer of the live stream. - example: France - type: string - city: - description: The city of the viewer of the live stream. - example: Paris - type: string - title: LiveStreamSessionLocation - type: object - live-stream-session-referrer: - properties: - url: - description: The website the viewer of the live stream was referred to in - order to view the live stream. - example: https://api.video - type: string - medium: - description: The type of search that brought the viewer to the live stream. - Organic would be they found it on their own, paid would be they found - it via an advertisement. - example: organic - type: string - source: - description: Where the viewer came from to see the live stream (usually - where they searched from). - example: https://google.com - type: string - searchTerm: - description: What term they searched for that led them to the live stream. - example: video stream - type: string - title: LiveStreamSessionReferrer - type: object - live-stream-session-device: - description: What type of device the user is on when in the live stream session. - properties: - type: - description: What the type is like desktop, laptop, mobile. - example: desktop - type: string - vendor: - description: If known, what the brand of the device is, like Apple, Dell, - etc. - example: Dell - type: string - model: - description: The specific model of the device, if known. - example: unknown - type: string - title: LiveStreamSessionDevice - type: object - live-stream-session-client: - description: What kind of browser the viewer is using for the live stream session. - properties: - name: - description: The name of the browser used to view the live stream session. - example: Firefox - type: string - version: - description: The version of the browser used to view the live stream session. - example: "67.0" - type: string - type: - description: The type of client used to view the live stream session. - example: browser - type: string - title: LiveStreamSessionClient - type: object video-status-ingest: description: Details about the capturing, transferring, and storing of your video for use immediately or in the future. @@ -15721,6 +15525,123 @@ components: example: path/to/my/logo/mylogo.jpg type: string type: object + analytics_aggregated_metrics_response_context_timeframe: + description: Returns the starting and ending date-times of the period you want + analytics for. + properties: + from: + description: Returns the starting date-time of the period you want analytics + for in ATOM date-time format. + example: 2024-05-28T11:15:07Z + format: date-time + type: string + to: + description: Returns the starting date-time of the period you want analytics + for in ATOM date-time format. + example: 2024-05-29T11:15:07Z + format: date-time + type: string + type: object + analytics_aggregated_metrics_response_context: + properties: + metric: + description: Returns the metric you selected. + enum: + - play + - start + - end + - impression + - impression-time + - watch-time + example: impression + type: string + aggregation: + description: Returns the aggregation you selected. + enum: + - count + - rate + - total + - average + - sum + example: count + type: string + timeframe: + $ref: '#/components/schemas/analytics_aggregated_metrics_response_context_timeframe' + type: object + analytics_metrics_breakdown_response_context: + properties: + metric: + description: Returns the metric you selected. + enum: + - play + - play-rate + - start + - end + - impression + example: impression + type: string + breakdown: + description: Returns the dimension you selected. + enum: + - media-id + - media-type + - continent + - country + - device-type + - operating-system + - browser + example: country + type: string + timeframe: + $ref: '#/components/schemas/analytics_aggregated_metrics_response_context_timeframe' + type: object + analytics_metrics_breakdown_response_data: + properties: + dimensionValue: + description: Returns a specific value for the dimension you selected, based + on the data. For example if you select `continent` as a dimension, then + `dimensionValue` returns values like `EU` or "AZ". + type: string + metricValue: + description: Returns the data for a specific dimension value. + format: float + type: number + type: object + analytics_metrics_over_time_response_context: + properties: + metric: + description: Returns the metric you selected. + enum: + - play + - play-rate + - start + - end + - impression + example: impression + type: string + interval: + description: Returns the interval you selected. + enum: + - hour + - day + example: day + type: string + timeframe: + $ref: '#/components/schemas/analytics_aggregated_metrics_response_context_timeframe' + type: object + analytics_metrics_over_time_response_data: + properties: + emittedAt: + description: Returns the timestamp of the event that belongs to a specific + metric in ATOM date-time format. For example, if you set `play` with an + `hour` interval in your request, then `emittedAt` returns the hourly timestamps + of every play event within the timeframe you defined. + type: string + metricValue: + description: Returns the data for a specific metric value. + format: float + type: number + type: object video_status_ingest_receivedParts: properties: parts: diff --git a/api_analytics.go b/api_analytics.go index c749010..8153120 100644 --- a/api_analytics.go +++ b/api_analytics.go @@ -131,8 +131,14 @@ type AnalyticsService struct { * GetLiveStreamsPlays Get play events for live stream * Retrieve filtered analytics about the number of plays for your live streams in a project. + + +This endpoint will be deprecated with the release of Analytics v2.0. + + + * @return AnalyticsApiGetLiveStreamsPlaysRequest - */ +*/ func (s *AnalyticsService) GetLiveStreamsPlays(r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error) { @@ -143,9 +149,15 @@ func (s *AnalyticsService) GetLiveStreamsPlays(r AnalyticsApiGetLiveStreamsPlays /* * GetLiveStreamsPlays Get play events for live stream * Retrieve filtered analytics about the number of plays for your live streams in a project. + + + +This endpoint will be deprecated with the release of Analytics v2.0. + + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return AnalyticsApiGetLiveStreamsPlaysRequest - */ +*/ func (s *AnalyticsService) GetLiveStreamsPlaysWithContext(ctx context.Context, r AnalyticsApiGetLiveStreamsPlaysRequest) (*AnalyticsPlaysResponse, error) { var localVarPostBody interface{} @@ -190,8 +202,14 @@ func (s *AnalyticsService) GetLiveStreamsPlaysWithContext(ctx context.Context, r * GetVideosPlays Get play events for video * Retrieve filtered analytics about the number of plays for your videos in a project. + + +This endpoint will be deprecated with the release of Analytics v2.0. + + + * @return AnalyticsApiGetVideosPlaysRequest - */ +*/ func (s *AnalyticsService) GetVideosPlays(r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error) { @@ -202,9 +220,15 @@ func (s *AnalyticsService) GetVideosPlays(r AnalyticsApiGetVideosPlaysRequest) ( /* * GetVideosPlays Get play events for video * Retrieve filtered analytics about the number of plays for your videos in a project. + + + +This endpoint will be deprecated with the release of Analytics v2.0. + + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return AnalyticsApiGetVideosPlaysRequest - */ +*/ func (s *AnalyticsService) GetVideosPlaysWithContext(ctx context.Context, r AnalyticsApiGetVideosPlaysRequest) (*AnalyticsPlaysResponse, error) { var localVarPostBody interface{} diff --git a/docs/AnalyticsAggregatedMetricsResponse.md b/docs/AnalyticsAggregatedMetricsResponse.md new file mode 100644 index 0000000..cad0b10 --- /dev/null +++ b/docs/AnalyticsAggregatedMetricsResponse.md @@ -0,0 +1,93 @@ +# AnalyticsAggregatedMetricsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | [**AnalyticsAggregatedMetricsResponseContext**](AnalyticsAggregatedMetricsResponseContext.md) | | +**Data** | **[]float32** | | +**Pagination** | [**Pagination**](Pagination.md) | | + +## Methods + +### NewAnalyticsAggregatedMetricsResponse + +`func NewAnalyticsAggregatedMetricsResponse(context AnalyticsAggregatedMetricsResponseContext, data []float32, pagination Pagination, ) *AnalyticsAggregatedMetricsResponse` + +NewAnalyticsAggregatedMetricsResponse instantiates a new AnalyticsAggregatedMetricsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsAggregatedMetricsResponseWithDefaults + +`func NewAnalyticsAggregatedMetricsResponseWithDefaults() *AnalyticsAggregatedMetricsResponse` + +NewAnalyticsAggregatedMetricsResponseWithDefaults instantiates a new AnalyticsAggregatedMetricsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *AnalyticsAggregatedMetricsResponse) GetContext() AnalyticsAggregatedMetricsResponseContext` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *AnalyticsAggregatedMetricsResponse) GetContextOk() (*AnalyticsAggregatedMetricsResponseContext, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *AnalyticsAggregatedMetricsResponse) SetContext(v AnalyticsAggregatedMetricsResponseContext)` + +SetContext sets Context field to given value. + + +### GetData + +`func (o *AnalyticsAggregatedMetricsResponse) GetData() []float32` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *AnalyticsAggregatedMetricsResponse) GetDataOk() (*[]float32, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *AnalyticsAggregatedMetricsResponse) SetData(v []float32)` + +SetData sets Data field to given value. + + +### GetPagination + +`func (o *AnalyticsAggregatedMetricsResponse) GetPagination() Pagination` + +GetPagination returns the Pagination field if non-nil, zero value otherwise. + +### GetPaginationOk + +`func (o *AnalyticsAggregatedMetricsResponse) GetPaginationOk() (*Pagination, bool)` + +GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPagination + +`func (o *AnalyticsAggregatedMetricsResponse) SetPagination(v Pagination)` + +SetPagination sets Pagination field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsAggregatedMetricsResponseContext.md b/docs/AnalyticsAggregatedMetricsResponseContext.md new file mode 100644 index 0000000..60b1728 --- /dev/null +++ b/docs/AnalyticsAggregatedMetricsResponseContext.md @@ -0,0 +1,108 @@ +# AnalyticsAggregatedMetricsResponseContext + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Metric** | Pointer to **string** | Returns the metric you selected. | [optional] +**Aggregation** | Pointer to **string** | Returns the aggregation you selected. | [optional] +**Timeframe** | Pointer to [**AnalyticsAggregatedMetricsResponseContextTimeframe**](AnalyticsAggregatedMetricsResponseContextTimeframe.md) | | [optional] + +## Methods + +### NewAnalyticsAggregatedMetricsResponseContext + +`func NewAnalyticsAggregatedMetricsResponseContext() *AnalyticsAggregatedMetricsResponseContext` + +NewAnalyticsAggregatedMetricsResponseContext instantiates a new AnalyticsAggregatedMetricsResponseContext object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsAggregatedMetricsResponseContextWithDefaults + +`func NewAnalyticsAggregatedMetricsResponseContextWithDefaults() *AnalyticsAggregatedMetricsResponseContext` + +NewAnalyticsAggregatedMetricsResponseContextWithDefaults instantiates a new AnalyticsAggregatedMetricsResponseContext object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMetric + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetMetric() string` + +GetMetric returns the Metric field if non-nil, zero value otherwise. + +### GetMetricOk + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetMetricOk() (*string, bool)` + +GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetric + +`func (o *AnalyticsAggregatedMetricsResponseContext) SetMetric(v string)` + +SetMetric sets Metric field to given value. + +### HasMetric + +`func (o *AnalyticsAggregatedMetricsResponseContext) HasMetric() bool` + +HasMetric returns a boolean if a field has been set. + +### GetAggregation + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetAggregation() string` + +GetAggregation returns the Aggregation field if non-nil, zero value otherwise. + +### GetAggregationOk + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetAggregationOk() (*string, bool)` + +GetAggregationOk returns a tuple with the Aggregation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAggregation + +`func (o *AnalyticsAggregatedMetricsResponseContext) SetAggregation(v string)` + +SetAggregation sets Aggregation field to given value. + +### HasAggregation + +`func (o *AnalyticsAggregatedMetricsResponseContext) HasAggregation() bool` + +HasAggregation returns a boolean if a field has been set. + +### GetTimeframe + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe` + +GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. + +### GetTimeframeOk + +`func (o *AnalyticsAggregatedMetricsResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool)` + +GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeframe + +`func (o *AnalyticsAggregatedMetricsResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe)` + +SetTimeframe sets Timeframe field to given value. + +### HasTimeframe + +`func (o *AnalyticsAggregatedMetricsResponseContext) HasTimeframe() bool` + +HasTimeframe returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md b/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md new file mode 100644 index 0000000..354c5e0 --- /dev/null +++ b/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md @@ -0,0 +1,82 @@ +# AnalyticsAggregatedMetricsResponseContextTimeframe + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**From** | Pointer to **string** | Returns the starting date-time of the period you want analytics for in ATOM date-time format. | [optional] +**To** | Pointer to **string** | Returns the starting date-time of the period you want analytics for in ATOM date-time format. | [optional] + +## Methods + +### NewAnalyticsAggregatedMetricsResponseContextTimeframe + +`func NewAnalyticsAggregatedMetricsResponseContextTimeframe() *AnalyticsAggregatedMetricsResponseContextTimeframe` + +NewAnalyticsAggregatedMetricsResponseContextTimeframe instantiates a new AnalyticsAggregatedMetricsResponseContextTimeframe object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsAggregatedMetricsResponseContextTimeframeWithDefaults + +`func NewAnalyticsAggregatedMetricsResponseContextTimeframeWithDefaults() *AnalyticsAggregatedMetricsResponseContextTimeframe` + +NewAnalyticsAggregatedMetricsResponseContextTimeframeWithDefaults instantiates a new AnalyticsAggregatedMetricsResponseContextTimeframe object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetFrom + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetFrom() string` + +GetFrom returns the From field if non-nil, zero value otherwise. + +### GetFromOk + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetFromOk() (*string, bool)` + +GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFrom + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) SetFrom(v string)` + +SetFrom sets From field to given value. + +### HasFrom + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) HasFrom() bool` + +HasFrom returns a boolean if a field has been set. + +### GetTo + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetTo() string` + +GetTo returns the To field if non-nil, zero value otherwise. + +### GetToOk + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetToOk() (*string, bool)` + +GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTo + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) SetTo(v string)` + +SetTo sets To field to given value. + +### HasTo + +`func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) HasTo() bool` + +HasTo returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsBreakdownResponse.md b/docs/AnalyticsMetricsBreakdownResponse.md new file mode 100644 index 0000000..3968666 --- /dev/null +++ b/docs/AnalyticsMetricsBreakdownResponse.md @@ -0,0 +1,93 @@ +# AnalyticsMetricsBreakdownResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | [**AnalyticsMetricsBreakdownResponseContext**](AnalyticsMetricsBreakdownResponseContext.md) | | +**Data** | [**[]AnalyticsMetricsBreakdownResponseData**](AnalyticsMetricsBreakdownResponseData.md) | Returns an array of dimensions and their respective metrics. | +**Pagination** | [**Pagination**](Pagination.md) | | + +## Methods + +### NewAnalyticsMetricsBreakdownResponse + +`func NewAnalyticsMetricsBreakdownResponse(context AnalyticsMetricsBreakdownResponseContext, data []AnalyticsMetricsBreakdownResponseData, pagination Pagination, ) *AnalyticsMetricsBreakdownResponse` + +NewAnalyticsMetricsBreakdownResponse instantiates a new AnalyticsMetricsBreakdownResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsBreakdownResponseWithDefaults + +`func NewAnalyticsMetricsBreakdownResponseWithDefaults() *AnalyticsMetricsBreakdownResponse` + +NewAnalyticsMetricsBreakdownResponseWithDefaults instantiates a new AnalyticsMetricsBreakdownResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *AnalyticsMetricsBreakdownResponse) GetContext() AnalyticsMetricsBreakdownResponseContext` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *AnalyticsMetricsBreakdownResponse) GetContextOk() (*AnalyticsMetricsBreakdownResponseContext, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *AnalyticsMetricsBreakdownResponse) SetContext(v AnalyticsMetricsBreakdownResponseContext)` + +SetContext sets Context field to given value. + + +### GetData + +`func (o *AnalyticsMetricsBreakdownResponse) GetData() []AnalyticsMetricsBreakdownResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *AnalyticsMetricsBreakdownResponse) GetDataOk() (*[]AnalyticsMetricsBreakdownResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *AnalyticsMetricsBreakdownResponse) SetData(v []AnalyticsMetricsBreakdownResponseData)` + +SetData sets Data field to given value. + + +### GetPagination + +`func (o *AnalyticsMetricsBreakdownResponse) GetPagination() Pagination` + +GetPagination returns the Pagination field if non-nil, zero value otherwise. + +### GetPaginationOk + +`func (o *AnalyticsMetricsBreakdownResponse) GetPaginationOk() (*Pagination, bool)` + +GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPagination + +`func (o *AnalyticsMetricsBreakdownResponse) SetPagination(v Pagination)` + +SetPagination sets Pagination field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsBreakdownResponseContext.md b/docs/AnalyticsMetricsBreakdownResponseContext.md new file mode 100644 index 0000000..20081f0 --- /dev/null +++ b/docs/AnalyticsMetricsBreakdownResponseContext.md @@ -0,0 +1,108 @@ +# AnalyticsMetricsBreakdownResponseContext + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Metric** | Pointer to **string** | Returns the metric you selected. | [optional] +**Breakdown** | Pointer to **string** | Returns the dimension you selected. | [optional] +**Timeframe** | Pointer to [**AnalyticsAggregatedMetricsResponseContextTimeframe**](AnalyticsAggregatedMetricsResponseContextTimeframe.md) | | [optional] + +## Methods + +### NewAnalyticsMetricsBreakdownResponseContext + +`func NewAnalyticsMetricsBreakdownResponseContext() *AnalyticsMetricsBreakdownResponseContext` + +NewAnalyticsMetricsBreakdownResponseContext instantiates a new AnalyticsMetricsBreakdownResponseContext object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsBreakdownResponseContextWithDefaults + +`func NewAnalyticsMetricsBreakdownResponseContextWithDefaults() *AnalyticsMetricsBreakdownResponseContext` + +NewAnalyticsMetricsBreakdownResponseContextWithDefaults instantiates a new AnalyticsMetricsBreakdownResponseContext object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMetric + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetMetric() string` + +GetMetric returns the Metric field if non-nil, zero value otherwise. + +### GetMetricOk + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetMetricOk() (*string, bool)` + +GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetric + +`func (o *AnalyticsMetricsBreakdownResponseContext) SetMetric(v string)` + +SetMetric sets Metric field to given value. + +### HasMetric + +`func (o *AnalyticsMetricsBreakdownResponseContext) HasMetric() bool` + +HasMetric returns a boolean if a field has been set. + +### GetBreakdown + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetBreakdown() string` + +GetBreakdown returns the Breakdown field if non-nil, zero value otherwise. + +### GetBreakdownOk + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetBreakdownOk() (*string, bool)` + +GetBreakdownOk returns a tuple with the Breakdown field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBreakdown + +`func (o *AnalyticsMetricsBreakdownResponseContext) SetBreakdown(v string)` + +SetBreakdown sets Breakdown field to given value. + +### HasBreakdown + +`func (o *AnalyticsMetricsBreakdownResponseContext) HasBreakdown() bool` + +HasBreakdown returns a boolean if a field has been set. + +### GetTimeframe + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe` + +GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. + +### GetTimeframeOk + +`func (o *AnalyticsMetricsBreakdownResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool)` + +GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeframe + +`func (o *AnalyticsMetricsBreakdownResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe)` + +SetTimeframe sets Timeframe field to given value. + +### HasTimeframe + +`func (o *AnalyticsMetricsBreakdownResponseContext) HasTimeframe() bool` + +HasTimeframe returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsBreakdownResponseData.md b/docs/AnalyticsMetricsBreakdownResponseData.md new file mode 100644 index 0000000..8ebeac0 --- /dev/null +++ b/docs/AnalyticsMetricsBreakdownResponseData.md @@ -0,0 +1,82 @@ +# AnalyticsMetricsBreakdownResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DimensionValue** | Pointer to **string** | Returns a specific value for the dimension you selected, based on the data. For example if you select `continent` as a dimension, then `dimensionValue` returns values like `EU` or \"AZ\". | [optional] +**MetricValue** | Pointer to **float32** | Returns the data for a specific dimension value. | [optional] + +## Methods + +### NewAnalyticsMetricsBreakdownResponseData + +`func NewAnalyticsMetricsBreakdownResponseData() *AnalyticsMetricsBreakdownResponseData` + +NewAnalyticsMetricsBreakdownResponseData instantiates a new AnalyticsMetricsBreakdownResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsBreakdownResponseDataWithDefaults + +`func NewAnalyticsMetricsBreakdownResponseDataWithDefaults() *AnalyticsMetricsBreakdownResponseData` + +NewAnalyticsMetricsBreakdownResponseDataWithDefaults instantiates a new AnalyticsMetricsBreakdownResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDimensionValue + +`func (o *AnalyticsMetricsBreakdownResponseData) GetDimensionValue() string` + +GetDimensionValue returns the DimensionValue field if non-nil, zero value otherwise. + +### GetDimensionValueOk + +`func (o *AnalyticsMetricsBreakdownResponseData) GetDimensionValueOk() (*string, bool)` + +GetDimensionValueOk returns a tuple with the DimensionValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDimensionValue + +`func (o *AnalyticsMetricsBreakdownResponseData) SetDimensionValue(v string)` + +SetDimensionValue sets DimensionValue field to given value. + +### HasDimensionValue + +`func (o *AnalyticsMetricsBreakdownResponseData) HasDimensionValue() bool` + +HasDimensionValue returns a boolean if a field has been set. + +### GetMetricValue + +`func (o *AnalyticsMetricsBreakdownResponseData) GetMetricValue() float32` + +GetMetricValue returns the MetricValue field if non-nil, zero value otherwise. + +### GetMetricValueOk + +`func (o *AnalyticsMetricsBreakdownResponseData) GetMetricValueOk() (*float32, bool)` + +GetMetricValueOk returns a tuple with the MetricValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetricValue + +`func (o *AnalyticsMetricsBreakdownResponseData) SetMetricValue(v float32)` + +SetMetricValue sets MetricValue field to given value. + +### HasMetricValue + +`func (o *AnalyticsMetricsBreakdownResponseData) HasMetricValue() bool` + +HasMetricValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsOverTimeResponse.md b/docs/AnalyticsMetricsOverTimeResponse.md new file mode 100644 index 0000000..68d18ae --- /dev/null +++ b/docs/AnalyticsMetricsOverTimeResponse.md @@ -0,0 +1,93 @@ +# AnalyticsMetricsOverTimeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Context** | [**AnalyticsMetricsOverTimeResponseContext**](AnalyticsMetricsOverTimeResponseContext.md) | | +**Data** | [**[]AnalyticsMetricsOverTimeResponseData**](AnalyticsMetricsOverTimeResponseData.md) | Returns an array of metrics and the timestamps . | +**Pagination** | [**Pagination**](Pagination.md) | | + +## Methods + +### NewAnalyticsMetricsOverTimeResponse + +`func NewAnalyticsMetricsOverTimeResponse(context AnalyticsMetricsOverTimeResponseContext, data []AnalyticsMetricsOverTimeResponseData, pagination Pagination, ) *AnalyticsMetricsOverTimeResponse` + +NewAnalyticsMetricsOverTimeResponse instantiates a new AnalyticsMetricsOverTimeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsOverTimeResponseWithDefaults + +`func NewAnalyticsMetricsOverTimeResponseWithDefaults() *AnalyticsMetricsOverTimeResponse` + +NewAnalyticsMetricsOverTimeResponseWithDefaults instantiates a new AnalyticsMetricsOverTimeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContext + +`func (o *AnalyticsMetricsOverTimeResponse) GetContext() AnalyticsMetricsOverTimeResponseContext` + +GetContext returns the Context field if non-nil, zero value otherwise. + +### GetContextOk + +`func (o *AnalyticsMetricsOverTimeResponse) GetContextOk() (*AnalyticsMetricsOverTimeResponseContext, bool)` + +GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContext + +`func (o *AnalyticsMetricsOverTimeResponse) SetContext(v AnalyticsMetricsOverTimeResponseContext)` + +SetContext sets Context field to given value. + + +### GetData + +`func (o *AnalyticsMetricsOverTimeResponse) GetData() []AnalyticsMetricsOverTimeResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *AnalyticsMetricsOverTimeResponse) GetDataOk() (*[]AnalyticsMetricsOverTimeResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *AnalyticsMetricsOverTimeResponse) SetData(v []AnalyticsMetricsOverTimeResponseData)` + +SetData sets Data field to given value. + + +### GetPagination + +`func (o *AnalyticsMetricsOverTimeResponse) GetPagination() Pagination` + +GetPagination returns the Pagination field if non-nil, zero value otherwise. + +### GetPaginationOk + +`func (o *AnalyticsMetricsOverTimeResponse) GetPaginationOk() (*Pagination, bool)` + +GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPagination + +`func (o *AnalyticsMetricsOverTimeResponse) SetPagination(v Pagination)` + +SetPagination sets Pagination field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsOverTimeResponseContext.md b/docs/AnalyticsMetricsOverTimeResponseContext.md new file mode 100644 index 0000000..5cd5ddf --- /dev/null +++ b/docs/AnalyticsMetricsOverTimeResponseContext.md @@ -0,0 +1,108 @@ +# AnalyticsMetricsOverTimeResponseContext + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Metric** | Pointer to **string** | Returns the metric you selected. | [optional] +**Interval** | Pointer to **string** | Returns the interval you selected. | [optional] +**Timeframe** | Pointer to [**AnalyticsAggregatedMetricsResponseContextTimeframe**](AnalyticsAggregatedMetricsResponseContextTimeframe.md) | | [optional] + +## Methods + +### NewAnalyticsMetricsOverTimeResponseContext + +`func NewAnalyticsMetricsOverTimeResponseContext() *AnalyticsMetricsOverTimeResponseContext` + +NewAnalyticsMetricsOverTimeResponseContext instantiates a new AnalyticsMetricsOverTimeResponseContext object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsOverTimeResponseContextWithDefaults + +`func NewAnalyticsMetricsOverTimeResponseContextWithDefaults() *AnalyticsMetricsOverTimeResponseContext` + +NewAnalyticsMetricsOverTimeResponseContextWithDefaults instantiates a new AnalyticsMetricsOverTimeResponseContext object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMetric + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetMetric() string` + +GetMetric returns the Metric field if non-nil, zero value otherwise. + +### GetMetricOk + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetMetricOk() (*string, bool)` + +GetMetricOk returns a tuple with the Metric field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetric + +`func (o *AnalyticsMetricsOverTimeResponseContext) SetMetric(v string)` + +SetMetric sets Metric field to given value. + +### HasMetric + +`func (o *AnalyticsMetricsOverTimeResponseContext) HasMetric() bool` + +HasMetric returns a boolean if a field has been set. + +### GetInterval + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetInterval() string` + +GetInterval returns the Interval field if non-nil, zero value otherwise. + +### GetIntervalOk + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetIntervalOk() (*string, bool)` + +GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterval + +`func (o *AnalyticsMetricsOverTimeResponseContext) SetInterval(v string)` + +SetInterval sets Interval field to given value. + +### HasInterval + +`func (o *AnalyticsMetricsOverTimeResponseContext) HasInterval() bool` + +HasInterval returns a boolean if a field has been set. + +### GetTimeframe + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe` + +GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. + +### GetTimeframeOk + +`func (o *AnalyticsMetricsOverTimeResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool)` + +GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeframe + +`func (o *AnalyticsMetricsOverTimeResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe)` + +SetTimeframe sets Timeframe field to given value. + +### HasTimeframe + +`func (o *AnalyticsMetricsOverTimeResponseContext) HasTimeframe() bool` + +HasTimeframe returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AnalyticsMetricsOverTimeResponseData.md b/docs/AnalyticsMetricsOverTimeResponseData.md new file mode 100644 index 0000000..1c58eb3 --- /dev/null +++ b/docs/AnalyticsMetricsOverTimeResponseData.md @@ -0,0 +1,82 @@ +# AnalyticsMetricsOverTimeResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EmittedAt** | Pointer to **string** | Returns the timestamp of the event that belongs to a specific metric in ATOM date-time format. For example, if you set `play` with an `hour` interval in your request, then `emittedAt` returns the hourly timestamps of every play event within the timeframe you defined. | [optional] +**MetricValue** | Pointer to **float32** | Returns the data for a specific metric value. | [optional] + +## Methods + +### NewAnalyticsMetricsOverTimeResponseData + +`func NewAnalyticsMetricsOverTimeResponseData() *AnalyticsMetricsOverTimeResponseData` + +NewAnalyticsMetricsOverTimeResponseData instantiates a new AnalyticsMetricsOverTimeResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAnalyticsMetricsOverTimeResponseDataWithDefaults + +`func NewAnalyticsMetricsOverTimeResponseDataWithDefaults() *AnalyticsMetricsOverTimeResponseData` + +NewAnalyticsMetricsOverTimeResponseDataWithDefaults instantiates a new AnalyticsMetricsOverTimeResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEmittedAt + +`func (o *AnalyticsMetricsOverTimeResponseData) GetEmittedAt() string` + +GetEmittedAt returns the EmittedAt field if non-nil, zero value otherwise. + +### GetEmittedAtOk + +`func (o *AnalyticsMetricsOverTimeResponseData) GetEmittedAtOk() (*string, bool)` + +GetEmittedAtOk returns a tuple with the EmittedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmittedAt + +`func (o *AnalyticsMetricsOverTimeResponseData) SetEmittedAt(v string)` + +SetEmittedAt sets EmittedAt field to given value. + +### HasEmittedAt + +`func (o *AnalyticsMetricsOverTimeResponseData) HasEmittedAt() bool` + +HasEmittedAt returns a boolean if a field has been set. + +### GetMetricValue + +`func (o *AnalyticsMetricsOverTimeResponseData) GetMetricValue() float32` + +GetMetricValue returns the MetricValue field if non-nil, zero value otherwise. + +### GetMetricValueOk + +`func (o *AnalyticsMetricsOverTimeResponseData) GetMetricValueOk() (*float32, bool)` + +GetMetricValueOk returns a tuple with the MetricValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetricValue + +`func (o *AnalyticsMetricsOverTimeResponseData) SetMetricValue(v float32)` + +SetMetricValue sets MetricValue field to given value. + +### HasMetricValue + +`func (o *AnalyticsMetricsOverTimeResponseData) HasMetricValue() bool` + +HasMetricValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LiveStreamSession.md b/docs/LiveStreamSession.md deleted file mode 100644 index 51a6571..0000000 --- a/docs/LiveStreamSession.md +++ /dev/null @@ -1,186 +0,0 @@ -# LiveStreamSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Session** | Pointer to [**LiveStreamSessionSession**](LiveStreamSessionSession.md) | | [optional] -**Location** | Pointer to [**LiveStreamSessionLocation**](LiveStreamSessionLocation.md) | | [optional] -**Referrer** | Pointer to [**LiveStreamSessionReferrer**](LiveStreamSessionReferrer.md) | | [optional] -**Device** | Pointer to [**LiveStreamSessionDevice**](LiveStreamSessionDevice.md) | | [optional] -**Os** | Pointer to [**VideoSessionOs**](VideoSessionOs.md) | | [optional] -**Client** | Pointer to [**LiveStreamSessionClient**](LiveStreamSessionClient.md) | | [optional] - -## Methods - -### NewLiveStreamSession - -`func NewLiveStreamSession() *LiveStreamSession` - -NewLiveStreamSession instantiates a new LiveStreamSession object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionWithDefaults - -`func NewLiveStreamSessionWithDefaults() *LiveStreamSession` - -NewLiveStreamSessionWithDefaults instantiates a new LiveStreamSession object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSession - -`func (o *LiveStreamSession) GetSession() LiveStreamSessionSession` - -GetSession returns the Session field if non-nil, zero value otherwise. - -### GetSessionOk - -`func (o *LiveStreamSession) GetSessionOk() (*LiveStreamSessionSession, bool)` - -GetSessionOk returns a tuple with the Session field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSession - -`func (o *LiveStreamSession) SetSession(v LiveStreamSessionSession)` - -SetSession sets Session field to given value. - -### HasSession - -`func (o *LiveStreamSession) HasSession() bool` - -HasSession returns a boolean if a field has been set. - -### GetLocation - -`func (o *LiveStreamSession) GetLocation() LiveStreamSessionLocation` - -GetLocation returns the Location field if non-nil, zero value otherwise. - -### GetLocationOk - -`func (o *LiveStreamSession) GetLocationOk() (*LiveStreamSessionLocation, bool)` - -GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLocation - -`func (o *LiveStreamSession) SetLocation(v LiveStreamSessionLocation)` - -SetLocation sets Location field to given value. - -### HasLocation - -`func (o *LiveStreamSession) HasLocation() bool` - -HasLocation returns a boolean if a field has been set. - -### GetReferrer - -`func (o *LiveStreamSession) GetReferrer() LiveStreamSessionReferrer` - -GetReferrer returns the Referrer field if non-nil, zero value otherwise. - -### GetReferrerOk - -`func (o *LiveStreamSession) GetReferrerOk() (*LiveStreamSessionReferrer, bool)` - -GetReferrerOk returns a tuple with the Referrer field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReferrer - -`func (o *LiveStreamSession) SetReferrer(v LiveStreamSessionReferrer)` - -SetReferrer sets Referrer field to given value. - -### HasReferrer - -`func (o *LiveStreamSession) HasReferrer() bool` - -HasReferrer returns a boolean if a field has been set. - -### GetDevice - -`func (o *LiveStreamSession) GetDevice() LiveStreamSessionDevice` - -GetDevice returns the Device field if non-nil, zero value otherwise. - -### GetDeviceOk - -`func (o *LiveStreamSession) GetDeviceOk() (*LiveStreamSessionDevice, bool)` - -GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDevice - -`func (o *LiveStreamSession) SetDevice(v LiveStreamSessionDevice)` - -SetDevice sets Device field to given value. - -### HasDevice - -`func (o *LiveStreamSession) HasDevice() bool` - -HasDevice returns a boolean if a field has been set. - -### GetOs - -`func (o *LiveStreamSession) GetOs() VideoSessionOs` - -GetOs returns the Os field if non-nil, zero value otherwise. - -### GetOsOk - -`func (o *LiveStreamSession) GetOsOk() (*VideoSessionOs, bool)` - -GetOsOk returns a tuple with the Os field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOs - -`func (o *LiveStreamSession) SetOs(v VideoSessionOs)` - -SetOs sets Os field to given value. - -### HasOs - -`func (o *LiveStreamSession) HasOs() bool` - -HasOs returns a boolean if a field has been set. - -### GetClient - -`func (o *LiveStreamSession) GetClient() LiveStreamSessionClient` - -GetClient returns the Client field if non-nil, zero value otherwise. - -### GetClientOk - -`func (o *LiveStreamSession) GetClientOk() (*LiveStreamSessionClient, bool)` - -GetClientOk returns a tuple with the Client field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClient - -`func (o *LiveStreamSession) SetClient(v LiveStreamSessionClient)` - -SetClient sets Client field to given value. - -### HasClient - -`func (o *LiveStreamSession) HasClient() bool` - -HasClient returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LiveStreamSessionClient.md b/docs/LiveStreamSessionClient.md deleted file mode 100644 index d7e41e9..0000000 --- a/docs/LiveStreamSessionClient.md +++ /dev/null @@ -1,108 +0,0 @@ -# LiveStreamSessionClient - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | The name of the browser used to view the live stream session. | [optional] -**Version** | Pointer to **string** | The version of the browser used to view the live stream session. | [optional] -**Type** | Pointer to **string** | The type of client used to view the live stream session. | [optional] - -## Methods - -### NewLiveStreamSessionClient - -`func NewLiveStreamSessionClient() *LiveStreamSessionClient` - -NewLiveStreamSessionClient instantiates a new LiveStreamSessionClient object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionClientWithDefaults - -`func NewLiveStreamSessionClientWithDefaults() *LiveStreamSessionClient` - -NewLiveStreamSessionClientWithDefaults instantiates a new LiveStreamSessionClient object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *LiveStreamSessionClient) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *LiveStreamSessionClient) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *LiveStreamSessionClient) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *LiveStreamSessionClient) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetVersion - -`func (o *LiveStreamSessionClient) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *LiveStreamSessionClient) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *LiveStreamSessionClient) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *LiveStreamSessionClient) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetType - -`func (o *LiveStreamSessionClient) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *LiveStreamSessionClient) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *LiveStreamSessionClient) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *LiveStreamSessionClient) HasType() bool` - -HasType returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LiveStreamSessionDevice.md b/docs/LiveStreamSessionDevice.md deleted file mode 100644 index bb4cfe5..0000000 --- a/docs/LiveStreamSessionDevice.md +++ /dev/null @@ -1,108 +0,0 @@ -# LiveStreamSessionDevice - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **string** | What the type is like desktop, laptop, mobile. | [optional] -**Vendor** | Pointer to **string** | If known, what the brand of the device is, like Apple, Dell, etc. | [optional] -**Model** | Pointer to **string** | The specific model of the device, if known. | [optional] - -## Methods - -### NewLiveStreamSessionDevice - -`func NewLiveStreamSessionDevice() *LiveStreamSessionDevice` - -NewLiveStreamSessionDevice instantiates a new LiveStreamSessionDevice object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionDeviceWithDefaults - -`func NewLiveStreamSessionDeviceWithDefaults() *LiveStreamSessionDevice` - -NewLiveStreamSessionDeviceWithDefaults instantiates a new LiveStreamSessionDevice object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *LiveStreamSessionDevice) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *LiveStreamSessionDevice) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *LiveStreamSessionDevice) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *LiveStreamSessionDevice) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetVendor - -`func (o *LiveStreamSessionDevice) GetVendor() string` - -GetVendor returns the Vendor field if non-nil, zero value otherwise. - -### GetVendorOk - -`func (o *LiveStreamSessionDevice) GetVendorOk() (*string, bool)` - -GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVendor - -`func (o *LiveStreamSessionDevice) SetVendor(v string)` - -SetVendor sets Vendor field to given value. - -### HasVendor - -`func (o *LiveStreamSessionDevice) HasVendor() bool` - -HasVendor returns a boolean if a field has been set. - -### GetModel - -`func (o *LiveStreamSessionDevice) GetModel() string` - -GetModel returns the Model field if non-nil, zero value otherwise. - -### GetModelOk - -`func (o *LiveStreamSessionDevice) GetModelOk() (*string, bool)` - -GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModel - -`func (o *LiveStreamSessionDevice) SetModel(v string)` - -SetModel sets Model field to given value. - -### HasModel - -`func (o *LiveStreamSessionDevice) HasModel() bool` - -HasModel returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LiveStreamSessionLocation.md b/docs/LiveStreamSessionLocation.md deleted file mode 100644 index 8d72eac..0000000 --- a/docs/LiveStreamSessionLocation.md +++ /dev/null @@ -1,82 +0,0 @@ -# LiveStreamSessionLocation - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Country** | Pointer to **string** | The country of the viewer of the live stream. | [optional] -**City** | Pointer to **string** | The city of the viewer of the live stream. | [optional] - -## Methods - -### NewLiveStreamSessionLocation - -`func NewLiveStreamSessionLocation() *LiveStreamSessionLocation` - -NewLiveStreamSessionLocation instantiates a new LiveStreamSessionLocation object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionLocationWithDefaults - -`func NewLiveStreamSessionLocationWithDefaults() *LiveStreamSessionLocation` - -NewLiveStreamSessionLocationWithDefaults instantiates a new LiveStreamSessionLocation object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCountry - -`func (o *LiveStreamSessionLocation) GetCountry() string` - -GetCountry returns the Country field if non-nil, zero value otherwise. - -### GetCountryOk - -`func (o *LiveStreamSessionLocation) GetCountryOk() (*string, bool)` - -GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountry - -`func (o *LiveStreamSessionLocation) SetCountry(v string)` - -SetCountry sets Country field to given value. - -### HasCountry - -`func (o *LiveStreamSessionLocation) HasCountry() bool` - -HasCountry returns a boolean if a field has been set. - -### GetCity - -`func (o *LiveStreamSessionLocation) GetCity() string` - -GetCity returns the City field if non-nil, zero value otherwise. - -### GetCityOk - -`func (o *LiveStreamSessionLocation) GetCityOk() (*string, bool)` - -GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCity - -`func (o *LiveStreamSessionLocation) SetCity(v string)` - -SetCity sets City field to given value. - -### HasCity - -`func (o *LiveStreamSessionLocation) HasCity() bool` - -HasCity returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LiveStreamSessionReferrer.md b/docs/LiveStreamSessionReferrer.md deleted file mode 100644 index af297f3..0000000 --- a/docs/LiveStreamSessionReferrer.md +++ /dev/null @@ -1,134 +0,0 @@ -# LiveStreamSessionReferrer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Url** | Pointer to **string** | The website the viewer of the live stream was referred to in order to view the live stream. | [optional] -**Medium** | Pointer to **string** | The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement. | [optional] -**Source** | Pointer to **string** | Where the viewer came from to see the live stream (usually where they searched from). | [optional] -**SearchTerm** | Pointer to **string** | What term they searched for that led them to the live stream. | [optional] - -## Methods - -### NewLiveStreamSessionReferrer - -`func NewLiveStreamSessionReferrer() *LiveStreamSessionReferrer` - -NewLiveStreamSessionReferrer instantiates a new LiveStreamSessionReferrer object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionReferrerWithDefaults - -`func NewLiveStreamSessionReferrerWithDefaults() *LiveStreamSessionReferrer` - -NewLiveStreamSessionReferrerWithDefaults instantiates a new LiveStreamSessionReferrer object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUrl - -`func (o *LiveStreamSessionReferrer) GetUrl() string` - -GetUrl returns the Url field if non-nil, zero value otherwise. - -### GetUrlOk - -`func (o *LiveStreamSessionReferrer) GetUrlOk() (*string, bool)` - -GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrl - -`func (o *LiveStreamSessionReferrer) SetUrl(v string)` - -SetUrl sets Url field to given value. - -### HasUrl - -`func (o *LiveStreamSessionReferrer) HasUrl() bool` - -HasUrl returns a boolean if a field has been set. - -### GetMedium - -`func (o *LiveStreamSessionReferrer) GetMedium() string` - -GetMedium returns the Medium field if non-nil, zero value otherwise. - -### GetMediumOk - -`func (o *LiveStreamSessionReferrer) GetMediumOk() (*string, bool)` - -GetMediumOk returns a tuple with the Medium field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMedium - -`func (o *LiveStreamSessionReferrer) SetMedium(v string)` - -SetMedium sets Medium field to given value. - -### HasMedium - -`func (o *LiveStreamSessionReferrer) HasMedium() bool` - -HasMedium returns a boolean if a field has been set. - -### GetSource - -`func (o *LiveStreamSessionReferrer) GetSource() string` - -GetSource returns the Source field if non-nil, zero value otherwise. - -### GetSourceOk - -`func (o *LiveStreamSessionReferrer) GetSourceOk() (*string, bool)` - -GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSource - -`func (o *LiveStreamSessionReferrer) SetSource(v string)` - -SetSource sets Source field to given value. - -### HasSource - -`func (o *LiveStreamSessionReferrer) HasSource() bool` - -HasSource returns a boolean if a field has been set. - -### GetSearchTerm - -`func (o *LiveStreamSessionReferrer) GetSearchTerm() string` - -GetSearchTerm returns the SearchTerm field if non-nil, zero value otherwise. - -### GetSearchTermOk - -`func (o *LiveStreamSessionReferrer) GetSearchTermOk() (*string, bool)` - -GetSearchTermOk returns a tuple with the SearchTerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSearchTerm - -`func (o *LiveStreamSessionReferrer) SetSearchTerm(v string)` - -SetSearchTerm sets SearchTerm field to given value. - -### HasSearchTerm - -`func (o *LiveStreamSessionReferrer) HasSearchTerm() bool` - -HasSearchTerm returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/LiveStreamSessionSession.md b/docs/LiveStreamSessionSession.md deleted file mode 100644 index 2f80eb1..0000000 --- a/docs/LiveStreamSessionSession.md +++ /dev/null @@ -1,108 +0,0 @@ -# LiveStreamSessionSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**SessionId** | Pointer to **string** | A unique identifier for your session. You can use this to track what happens during a specific session. | [optional] -**LoadedAt** | Pointer to **string** | When the session started, with the date and time presented in ISO-8601 format. | [optional] -**EndedAt** | Pointer to **string** | When the session ended, with the date and time presented in ISO-8601 format. | [optional] - -## Methods - -### NewLiveStreamSessionSession - -`func NewLiveStreamSessionSession() *LiveStreamSessionSession` - -NewLiveStreamSessionSession instantiates a new LiveStreamSessionSession object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLiveStreamSessionSessionWithDefaults - -`func NewLiveStreamSessionSessionWithDefaults() *LiveStreamSessionSession` - -NewLiveStreamSessionSessionWithDefaults instantiates a new LiveStreamSessionSession object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSessionId - -`func (o *LiveStreamSessionSession) GetSessionId() string` - -GetSessionId returns the SessionId field if non-nil, zero value otherwise. - -### GetSessionIdOk - -`func (o *LiveStreamSessionSession) GetSessionIdOk() (*string, bool)` - -GetSessionIdOk returns a tuple with the SessionId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSessionId - -`func (o *LiveStreamSessionSession) SetSessionId(v string)` - -SetSessionId sets SessionId field to given value. - -### HasSessionId - -`func (o *LiveStreamSessionSession) HasSessionId() bool` - -HasSessionId returns a boolean if a field has been set. - -### GetLoadedAt - -`func (o *LiveStreamSessionSession) GetLoadedAt() string` - -GetLoadedAt returns the LoadedAt field if non-nil, zero value otherwise. - -### GetLoadedAtOk - -`func (o *LiveStreamSessionSession) GetLoadedAtOk() (*string, bool)` - -GetLoadedAtOk returns a tuple with the LoadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLoadedAt - -`func (o *LiveStreamSessionSession) SetLoadedAt(v string)` - -SetLoadedAt sets LoadedAt field to given value. - -### HasLoadedAt - -`func (o *LiveStreamSessionSession) HasLoadedAt() bool` - -HasLoadedAt returns a boolean if a field has been set. - -### GetEndedAt - -`func (o *LiveStreamSessionSession) GetEndedAt() string` - -GetEndedAt returns the EndedAt field if non-nil, zero value otherwise. - -### GetEndedAtOk - -`func (o *LiveStreamSessionSession) GetEndedAtOk() (*string, bool)` - -GetEndedAtOk returns a tuple with the EndedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEndedAt - -`func (o *LiveStreamSessionSession) SetEndedAt(v string)` - -SetEndedAt sets EndedAt field to given value. - -### HasEndedAt - -`func (o *LiveStreamSessionSession) HasEndedAt() bool` - -HasEndedAt returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/UnrecognizedRequestUrl.md b/docs/UnrecognizedRequestUrl.md new file mode 100644 index 0000000..6418e4a --- /dev/null +++ b/docs/UnrecognizedRequestUrl.md @@ -0,0 +1,108 @@ +# UnrecognizedRequestUrl + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **string** | A link to the error documentation. | [optional] +**Title** | Pointer to **string** | A description of the error that occurred. | [optional] +**Status** | Pointer to **int32** | The HTTP status code. | [optional] + +## Methods + +### NewUnrecognizedRequestUrl + +`func NewUnrecognizedRequestUrl() *UnrecognizedRequestUrl` + +NewUnrecognizedRequestUrl instantiates a new UnrecognizedRequestUrl object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnrecognizedRequestUrlWithDefaults + +`func NewUnrecognizedRequestUrlWithDefaults() *UnrecognizedRequestUrl` + +NewUnrecognizedRequestUrlWithDefaults instantiates a new UnrecognizedRequestUrl object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *UnrecognizedRequestUrl) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *UnrecognizedRequestUrl) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *UnrecognizedRequestUrl) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *UnrecognizedRequestUrl) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetTitle + +`func (o *UnrecognizedRequestUrl) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *UnrecognizedRequestUrl) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *UnrecognizedRequestUrl) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *UnrecognizedRequestUrl) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### GetStatus + +`func (o *UnrecognizedRequestUrl) GetStatus() int32` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnrecognizedRequestUrl) GetStatusOk() (*int32, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnrecognizedRequestUrl) SetStatus(v int32)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *UnrecognizedRequestUrl) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/VideoSession.md b/docs/VideoSession.md deleted file mode 100644 index 2956ba1..0000000 --- a/docs/VideoSession.md +++ /dev/null @@ -1,186 +0,0 @@ -# VideoSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Session** | Pointer to [**VideoSessionSession**](VideoSessionSession.md) | | [optional] -**Location** | Pointer to [**VideoSessionLocation**](VideoSessionLocation.md) | | [optional] -**Referrer** | Pointer to [**VideoSessionReferrer**](VideoSessionReferrer.md) | | [optional] -**Device** | Pointer to [**VideoSessionDevice**](VideoSessionDevice.md) | | [optional] -**Os** | Pointer to [**VideoSessionOs**](VideoSessionOs.md) | | [optional] -**Client** | Pointer to [**VideoSessionClient**](VideoSessionClient.md) | | [optional] - -## Methods - -### NewVideoSession - -`func NewVideoSession() *VideoSession` - -NewVideoSession instantiates a new VideoSession object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionWithDefaults - -`func NewVideoSessionWithDefaults() *VideoSession` - -NewVideoSessionWithDefaults instantiates a new VideoSession object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSession - -`func (o *VideoSession) GetSession() VideoSessionSession` - -GetSession returns the Session field if non-nil, zero value otherwise. - -### GetSessionOk - -`func (o *VideoSession) GetSessionOk() (*VideoSessionSession, bool)` - -GetSessionOk returns a tuple with the Session field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSession - -`func (o *VideoSession) SetSession(v VideoSessionSession)` - -SetSession sets Session field to given value. - -### HasSession - -`func (o *VideoSession) HasSession() bool` - -HasSession returns a boolean if a field has been set. - -### GetLocation - -`func (o *VideoSession) GetLocation() VideoSessionLocation` - -GetLocation returns the Location field if non-nil, zero value otherwise. - -### GetLocationOk - -`func (o *VideoSession) GetLocationOk() (*VideoSessionLocation, bool)` - -GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLocation - -`func (o *VideoSession) SetLocation(v VideoSessionLocation)` - -SetLocation sets Location field to given value. - -### HasLocation - -`func (o *VideoSession) HasLocation() bool` - -HasLocation returns a boolean if a field has been set. - -### GetReferrer - -`func (o *VideoSession) GetReferrer() VideoSessionReferrer` - -GetReferrer returns the Referrer field if non-nil, zero value otherwise. - -### GetReferrerOk - -`func (o *VideoSession) GetReferrerOk() (*VideoSessionReferrer, bool)` - -GetReferrerOk returns a tuple with the Referrer field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReferrer - -`func (o *VideoSession) SetReferrer(v VideoSessionReferrer)` - -SetReferrer sets Referrer field to given value. - -### HasReferrer - -`func (o *VideoSession) HasReferrer() bool` - -HasReferrer returns a boolean if a field has been set. - -### GetDevice - -`func (o *VideoSession) GetDevice() VideoSessionDevice` - -GetDevice returns the Device field if non-nil, zero value otherwise. - -### GetDeviceOk - -`func (o *VideoSession) GetDeviceOk() (*VideoSessionDevice, bool)` - -GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDevice - -`func (o *VideoSession) SetDevice(v VideoSessionDevice)` - -SetDevice sets Device field to given value. - -### HasDevice - -`func (o *VideoSession) HasDevice() bool` - -HasDevice returns a boolean if a field has been set. - -### GetOs - -`func (o *VideoSession) GetOs() VideoSessionOs` - -GetOs returns the Os field if non-nil, zero value otherwise. - -### GetOsOk - -`func (o *VideoSession) GetOsOk() (*VideoSessionOs, bool)` - -GetOsOk returns a tuple with the Os field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOs - -`func (o *VideoSession) SetOs(v VideoSessionOs)` - -SetOs sets Os field to given value. - -### HasOs - -`func (o *VideoSession) HasOs() bool` - -HasOs returns a boolean if a field has been set. - -### GetClient - -`func (o *VideoSession) GetClient() VideoSessionClient` - -GetClient returns the Client field if non-nil, zero value otherwise. - -### GetClientOk - -`func (o *VideoSession) GetClientOk() (*VideoSessionClient, bool)` - -GetClientOk returns a tuple with the Client field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClient - -`func (o *VideoSession) SetClient(v VideoSessionClient)` - -SetClient sets Client field to given value. - -### HasClient - -`func (o *VideoSession) HasClient() bool` - -HasClient returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionClient.md b/docs/VideoSessionClient.md deleted file mode 100644 index e482e77..0000000 --- a/docs/VideoSessionClient.md +++ /dev/null @@ -1,108 +0,0 @@ -# VideoSessionClient - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | The name of the browser used to view the video session. | [optional] -**Version** | Pointer to **string** | The version of the browser used to view the video session. | [optional] -**Type** | Pointer to **string** | The type of client used to view the video session. | [optional] - -## Methods - -### NewVideoSessionClient - -`func NewVideoSessionClient() *VideoSessionClient` - -NewVideoSessionClient instantiates a new VideoSessionClient object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionClientWithDefaults - -`func NewVideoSessionClientWithDefaults() *VideoSessionClient` - -NewVideoSessionClientWithDefaults instantiates a new VideoSessionClient object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *VideoSessionClient) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *VideoSessionClient) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *VideoSessionClient) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *VideoSessionClient) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetVersion - -`func (o *VideoSessionClient) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *VideoSessionClient) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *VideoSessionClient) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *VideoSessionClient) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetType - -`func (o *VideoSessionClient) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *VideoSessionClient) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *VideoSessionClient) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *VideoSessionClient) HasType() bool` - -HasType returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionDevice.md b/docs/VideoSessionDevice.md deleted file mode 100644 index 79b0c30..0000000 --- a/docs/VideoSessionDevice.md +++ /dev/null @@ -1,108 +0,0 @@ -# VideoSessionDevice - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **string** | What the type is like desktop, laptop, mobile. | [optional] -**Vendor** | Pointer to **string** | If known, what the brand of the device is, like Apple, Dell, etc. | [optional] -**Model** | Pointer to **string** | The specific model of the device, if known. | [optional] - -## Methods - -### NewVideoSessionDevice - -`func NewVideoSessionDevice() *VideoSessionDevice` - -NewVideoSessionDevice instantiates a new VideoSessionDevice object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionDeviceWithDefaults - -`func NewVideoSessionDeviceWithDefaults() *VideoSessionDevice` - -NewVideoSessionDeviceWithDefaults instantiates a new VideoSessionDevice object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *VideoSessionDevice) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *VideoSessionDevice) GetTypeOk() (*string, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *VideoSessionDevice) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *VideoSessionDevice) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetVendor - -`func (o *VideoSessionDevice) GetVendor() string` - -GetVendor returns the Vendor field if non-nil, zero value otherwise. - -### GetVendorOk - -`func (o *VideoSessionDevice) GetVendorOk() (*string, bool)` - -GetVendorOk returns a tuple with the Vendor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVendor - -`func (o *VideoSessionDevice) SetVendor(v string)` - -SetVendor sets Vendor field to given value. - -### HasVendor - -`func (o *VideoSessionDevice) HasVendor() bool` - -HasVendor returns a boolean if a field has been set. - -### GetModel - -`func (o *VideoSessionDevice) GetModel() string` - -GetModel returns the Model field if non-nil, zero value otherwise. - -### GetModelOk - -`func (o *VideoSessionDevice) GetModelOk() (*string, bool)` - -GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModel - -`func (o *VideoSessionDevice) SetModel(v string)` - -SetModel sets Model field to given value. - -### HasModel - -`func (o *VideoSessionDevice) HasModel() bool` - -HasModel returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionLocation.md b/docs/VideoSessionLocation.md deleted file mode 100644 index 932b0e2..0000000 --- a/docs/VideoSessionLocation.md +++ /dev/null @@ -1,92 +0,0 @@ -# VideoSessionLocation - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Country** | Pointer to **string** | The country of the viewer. | [optional] -**City** | Pointer to **NullableString** | The city of the viewer. | [optional] - -## Methods - -### NewVideoSessionLocation - -`func NewVideoSessionLocation() *VideoSessionLocation` - -NewVideoSessionLocation instantiates a new VideoSessionLocation object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionLocationWithDefaults - -`func NewVideoSessionLocationWithDefaults() *VideoSessionLocation` - -NewVideoSessionLocationWithDefaults instantiates a new VideoSessionLocation object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCountry - -`func (o *VideoSessionLocation) GetCountry() string` - -GetCountry returns the Country field if non-nil, zero value otherwise. - -### GetCountryOk - -`func (o *VideoSessionLocation) GetCountryOk() (*string, bool)` - -GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountry - -`func (o *VideoSessionLocation) SetCountry(v string)` - -SetCountry sets Country field to given value. - -### HasCountry - -`func (o *VideoSessionLocation) HasCountry() bool` - -HasCountry returns a boolean if a field has been set. - -### GetCity - -`func (o *VideoSessionLocation) GetCity() string` - -GetCity returns the City field if non-nil, zero value otherwise. - -### GetCityOk - -`func (o *VideoSessionLocation) GetCityOk() (*string, bool)` - -GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCity - -`func (o *VideoSessionLocation) SetCity(v string)` - -SetCity sets City field to given value. - -### HasCity - -`func (o *VideoSessionLocation) HasCity() bool` - -HasCity returns a boolean if a field has been set. - -### SetCityNil - -`func (o *VideoSessionLocation) SetCityNil(b bool)` - - SetCityNil sets the value for City to be an explicit nil - -### UnsetCity -`func (o *VideoSessionLocation) UnsetCity()` - -UnsetCity ensures that no value is present for City, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionOs.md b/docs/VideoSessionOs.md deleted file mode 100644 index f36abd4..0000000 --- a/docs/VideoSessionOs.md +++ /dev/null @@ -1,108 +0,0 @@ -# VideoSessionOs - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | The name of the operating system. | [optional] -**Shortname** | Pointer to **string** | The nickname for the operating system, often representing the version. | [optional] -**Version** | Pointer to **string** | The version of the operating system. | [optional] - -## Methods - -### NewVideoSessionOs - -`func NewVideoSessionOs() *VideoSessionOs` - -NewVideoSessionOs instantiates a new VideoSessionOs object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionOsWithDefaults - -`func NewVideoSessionOsWithDefaults() *VideoSessionOs` - -NewVideoSessionOsWithDefaults instantiates a new VideoSessionOs object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *VideoSessionOs) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *VideoSessionOs) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *VideoSessionOs) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *VideoSessionOs) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetShortname - -`func (o *VideoSessionOs) GetShortname() string` - -GetShortname returns the Shortname field if non-nil, zero value otherwise. - -### GetShortnameOk - -`func (o *VideoSessionOs) GetShortnameOk() (*string, bool)` - -GetShortnameOk returns a tuple with the Shortname field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetShortname - -`func (o *VideoSessionOs) SetShortname(v string)` - -SetShortname sets Shortname field to given value. - -### HasShortname - -`func (o *VideoSessionOs) HasShortname() bool` - -HasShortname returns a boolean if a field has been set. - -### GetVersion - -`func (o *VideoSessionOs) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *VideoSessionOs) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *VideoSessionOs) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *VideoSessionOs) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionReferrer.md b/docs/VideoSessionReferrer.md deleted file mode 100644 index a8152d9..0000000 --- a/docs/VideoSessionReferrer.md +++ /dev/null @@ -1,144 +0,0 @@ -# VideoSessionReferrer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Url** | Pointer to **NullableString** | The link the viewer used to reach the video session. | [optional] -**Medium** | Pointer to **string** | How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement. | [optional] -**Source** | Pointer to **string** | The source the referrer came from to the video session. For example if they searched through google to find the stream. | [optional] -**SearchTerm** | Pointer to **string** | The search term they typed to arrive at the video session. | [optional] - -## Methods - -### NewVideoSessionReferrer - -`func NewVideoSessionReferrer() *VideoSessionReferrer` - -NewVideoSessionReferrer instantiates a new VideoSessionReferrer object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionReferrerWithDefaults - -`func NewVideoSessionReferrerWithDefaults() *VideoSessionReferrer` - -NewVideoSessionReferrerWithDefaults instantiates a new VideoSessionReferrer object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUrl - -`func (o *VideoSessionReferrer) GetUrl() string` - -GetUrl returns the Url field if non-nil, zero value otherwise. - -### GetUrlOk - -`func (o *VideoSessionReferrer) GetUrlOk() (*string, bool)` - -GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrl - -`func (o *VideoSessionReferrer) SetUrl(v string)` - -SetUrl sets Url field to given value. - -### HasUrl - -`func (o *VideoSessionReferrer) HasUrl() bool` - -HasUrl returns a boolean if a field has been set. - -### SetUrlNil - -`func (o *VideoSessionReferrer) SetUrlNil(b bool)` - - SetUrlNil sets the value for Url to be an explicit nil - -### UnsetUrl -`func (o *VideoSessionReferrer) UnsetUrl()` - -UnsetUrl ensures that no value is present for Url, not even an explicit nil -### GetMedium - -`func (o *VideoSessionReferrer) GetMedium() string` - -GetMedium returns the Medium field if non-nil, zero value otherwise. - -### GetMediumOk - -`func (o *VideoSessionReferrer) GetMediumOk() (*string, bool)` - -GetMediumOk returns a tuple with the Medium field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMedium - -`func (o *VideoSessionReferrer) SetMedium(v string)` - -SetMedium sets Medium field to given value. - -### HasMedium - -`func (o *VideoSessionReferrer) HasMedium() bool` - -HasMedium returns a boolean if a field has been set. - -### GetSource - -`func (o *VideoSessionReferrer) GetSource() string` - -GetSource returns the Source field if non-nil, zero value otherwise. - -### GetSourceOk - -`func (o *VideoSessionReferrer) GetSourceOk() (*string, bool)` - -GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSource - -`func (o *VideoSessionReferrer) SetSource(v string)` - -SetSource sets Source field to given value. - -### HasSource - -`func (o *VideoSessionReferrer) HasSource() bool` - -HasSource returns a boolean if a field has been set. - -### GetSearchTerm - -`func (o *VideoSessionReferrer) GetSearchTerm() string` - -GetSearchTerm returns the SearchTerm field if non-nil, zero value otherwise. - -### GetSearchTermOk - -`func (o *VideoSessionReferrer) GetSearchTermOk() (*string, bool)` - -GetSearchTermOk returns a tuple with the SearchTerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSearchTerm - -`func (o *VideoSessionReferrer) SetSearchTerm(v string)` - -SetSearchTerm sets SearchTerm field to given value. - -### HasSearchTerm - -`func (o *VideoSessionReferrer) HasSearchTerm() bool` - -HasSearchTerm returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/VideoSessionSession.md b/docs/VideoSessionSession.md deleted file mode 100644 index 838b31b..0000000 --- a/docs/VideoSessionSession.md +++ /dev/null @@ -1,134 +0,0 @@ -# VideoSessionSession - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**SessionId** | Pointer to **string** | The unique identifier for the session that you can use to track what happens during it. | [optional] -**LoadedAt** | Pointer to **string** | When the video session started, presented in ISO-8601 format. | [optional] -**EndedAt** | Pointer to **string** | When the video session ended, presented in ISO-8601 format. | [optional] -**Metadata** | Pointer to [**[]Metadata**](Metadata.md) | A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. | [optional] - -## Methods - -### NewVideoSessionSession - -`func NewVideoSessionSession() *VideoSessionSession` - -NewVideoSessionSession instantiates a new VideoSessionSession object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVideoSessionSessionWithDefaults - -`func NewVideoSessionSessionWithDefaults() *VideoSessionSession` - -NewVideoSessionSessionWithDefaults instantiates a new VideoSessionSession object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSessionId - -`func (o *VideoSessionSession) GetSessionId() string` - -GetSessionId returns the SessionId field if non-nil, zero value otherwise. - -### GetSessionIdOk - -`func (o *VideoSessionSession) GetSessionIdOk() (*string, bool)` - -GetSessionIdOk returns a tuple with the SessionId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSessionId - -`func (o *VideoSessionSession) SetSessionId(v string)` - -SetSessionId sets SessionId field to given value. - -### HasSessionId - -`func (o *VideoSessionSession) HasSessionId() bool` - -HasSessionId returns a boolean if a field has been set. - -### GetLoadedAt - -`func (o *VideoSessionSession) GetLoadedAt() string` - -GetLoadedAt returns the LoadedAt field if non-nil, zero value otherwise. - -### GetLoadedAtOk - -`func (o *VideoSessionSession) GetLoadedAtOk() (*string, bool)` - -GetLoadedAtOk returns a tuple with the LoadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLoadedAt - -`func (o *VideoSessionSession) SetLoadedAt(v string)` - -SetLoadedAt sets LoadedAt field to given value. - -### HasLoadedAt - -`func (o *VideoSessionSession) HasLoadedAt() bool` - -HasLoadedAt returns a boolean if a field has been set. - -### GetEndedAt - -`func (o *VideoSessionSession) GetEndedAt() string` - -GetEndedAt returns the EndedAt field if non-nil, zero value otherwise. - -### GetEndedAtOk - -`func (o *VideoSessionSession) GetEndedAtOk() (*string, bool)` - -GetEndedAtOk returns a tuple with the EndedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEndedAt - -`func (o *VideoSessionSession) SetEndedAt(v string)` - -SetEndedAt sets EndedAt field to given value. - -### HasEndedAt - -`func (o *VideoSessionSession) HasEndedAt() bool` - -HasEndedAt returns a boolean if a field has been set. - -### GetMetadata - -`func (o *VideoSessionSession) GetMetadata() []Metadata` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *VideoSessionSession) GetMetadataOk() (*[]Metadata, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *VideoSessionSession) SetMetadata(v []Metadata)` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *VideoSessionSession) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/model_analytics_aggregated_metrics_response.go b/model_analytics_aggregated_metrics_response.go new file mode 100644 index 0000000..56efe56 --- /dev/null +++ b/model_analytics_aggregated_metrics_response.go @@ -0,0 +1,141 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsAggregatedMetricsResponse struct for AnalyticsAggregatedMetricsResponse +type AnalyticsAggregatedMetricsResponse struct { + Context AnalyticsAggregatedMetricsResponseContext `json:"context"` + Data []float32 `json:"data"` + Pagination Pagination `json:"pagination"` +} + +// NewAnalyticsAggregatedMetricsResponse instantiates a new AnalyticsAggregatedMetricsResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsAggregatedMetricsResponse(context AnalyticsAggregatedMetricsResponseContext, data []float32, pagination Pagination) *AnalyticsAggregatedMetricsResponse { + this := AnalyticsAggregatedMetricsResponse{} + this.Context = context + this.Data = data + this.Pagination = pagination + return &this +} + +// NewAnalyticsAggregatedMetricsResponseWithDefaults instantiates a new AnalyticsAggregatedMetricsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsAggregatedMetricsResponseWithDefaults() *AnalyticsAggregatedMetricsResponse { + this := AnalyticsAggregatedMetricsResponse{} + return &this +} + +// GetContext returns the Context field value +func (o *AnalyticsAggregatedMetricsResponse) GetContext() AnalyticsAggregatedMetricsResponseContext { + if o == nil { + var ret AnalyticsAggregatedMetricsResponseContext + return ret + } + + return o.Context +} + +// GetContextOk returns a tuple with the Context field value +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponse) GetContextOk() (*AnalyticsAggregatedMetricsResponseContext, bool) { + if o == nil { + return nil, false + } + return &o.Context, true +} + +// SetContext sets field value +func (o *AnalyticsAggregatedMetricsResponse) SetContext(v AnalyticsAggregatedMetricsResponseContext) { + o.Context = v +} + +// GetData returns the Data field value +func (o *AnalyticsAggregatedMetricsResponse) GetData() []float32 { + if o == nil { + var ret []float32 + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponse) GetDataOk() (*[]float32, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *AnalyticsAggregatedMetricsResponse) SetData(v []float32) { + o.Data = v +} + +// GetPagination returns the Pagination field value +func (o *AnalyticsAggregatedMetricsResponse) GetPagination() Pagination { + if o == nil { + var ret Pagination + return ret + } + + return o.Pagination +} + +// GetPaginationOk returns a tuple with the Pagination field value +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponse) GetPaginationOk() (*Pagination, bool) { + if o == nil { + return nil, false + } + return &o.Pagination, true +} + +// SetPagination sets field value +func (o *AnalyticsAggregatedMetricsResponse) SetPagination(v Pagination) { + o.Pagination = v +} + +type NullableAnalyticsAggregatedMetricsResponse struct { + value *AnalyticsAggregatedMetricsResponse + isSet bool +} + +func (v NullableAnalyticsAggregatedMetricsResponse) Get() *AnalyticsAggregatedMetricsResponse { + return v.value +} + +func (v *NullableAnalyticsAggregatedMetricsResponse) Set(val *AnalyticsAggregatedMetricsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsAggregatedMetricsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsAggregatedMetricsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsAggregatedMetricsResponse(val *AnalyticsAggregatedMetricsResponse) *NullableAnalyticsAggregatedMetricsResponse { + return &NullableAnalyticsAggregatedMetricsResponse{value: val, isSet: true} +} diff --git a/model_analytics_aggregated_metrics_response_context.go b/model_analytics_aggregated_metrics_response_context.go new file mode 100644 index 0000000..9234109 --- /dev/null +++ b/model_analytics_aggregated_metrics_response_context.go @@ -0,0 +1,164 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsAggregatedMetricsResponseContext struct for AnalyticsAggregatedMetricsResponseContext +type AnalyticsAggregatedMetricsResponseContext struct { + // Returns the metric you selected. + Metric *string `json:"metric,omitempty"` + // Returns the aggregation you selected. + Aggregation *string `json:"aggregation,omitempty"` + Timeframe *AnalyticsAggregatedMetricsResponseContextTimeframe `json:"timeframe,omitempty"` +} + +// NewAnalyticsAggregatedMetricsResponseContext instantiates a new AnalyticsAggregatedMetricsResponseContext object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsAggregatedMetricsResponseContext() *AnalyticsAggregatedMetricsResponseContext { + this := AnalyticsAggregatedMetricsResponseContext{} + return &this +} + +// NewAnalyticsAggregatedMetricsResponseContextWithDefaults instantiates a new AnalyticsAggregatedMetricsResponseContext object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsAggregatedMetricsResponseContextWithDefaults() *AnalyticsAggregatedMetricsResponseContext { + this := AnalyticsAggregatedMetricsResponseContext{} + return &this +} + +// GetMetric returns the Metric field value if set, zero value otherwise. +func (o *AnalyticsAggregatedMetricsResponseContext) GetMetric() string { + if o == nil || o.Metric == nil { + var ret string + return ret + } + return *o.Metric +} + +// GetMetricOk returns a tuple with the Metric field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) GetMetricOk() (*string, bool) { + if o == nil || o.Metric == nil { + return nil, false + } + return o.Metric, true +} + +// HasMetric returns a boolean if a field has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) HasMetric() bool { + if o != nil && o.Metric != nil { + return true + } + + return false +} + +// SetMetric gets a reference to the given string and assigns it to the Metric field. +func (o *AnalyticsAggregatedMetricsResponseContext) SetMetric(v string) { + o.Metric = &v +} + +// GetAggregation returns the Aggregation field value if set, zero value otherwise. +func (o *AnalyticsAggregatedMetricsResponseContext) GetAggregation() string { + if o == nil || o.Aggregation == nil { + var ret string + return ret + } + return *o.Aggregation +} + +// GetAggregationOk returns a tuple with the Aggregation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) GetAggregationOk() (*string, bool) { + if o == nil || o.Aggregation == nil { + return nil, false + } + return o.Aggregation, true +} + +// HasAggregation returns a boolean if a field has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) HasAggregation() bool { + if o != nil && o.Aggregation != nil { + return true + } + + return false +} + +// SetAggregation gets a reference to the given string and assigns it to the Aggregation field. +func (o *AnalyticsAggregatedMetricsResponseContext) SetAggregation(v string) { + o.Aggregation = &v +} + +// GetTimeframe returns the Timeframe field value if set, zero value otherwise. +func (o *AnalyticsAggregatedMetricsResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe { + if o == nil || o.Timeframe == nil { + var ret AnalyticsAggregatedMetricsResponseContextTimeframe + return ret + } + return *o.Timeframe +} + +// GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool) { + if o == nil || o.Timeframe == nil { + return nil, false + } + return o.Timeframe, true +} + +// HasTimeframe returns a boolean if a field has been set. +func (o *AnalyticsAggregatedMetricsResponseContext) HasTimeframe() bool { + if o != nil && o.Timeframe != nil { + return true + } + + return false +} + +// SetTimeframe gets a reference to the given AnalyticsAggregatedMetricsResponseContextTimeframe and assigns it to the Timeframe field. +func (o *AnalyticsAggregatedMetricsResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe) { + o.Timeframe = &v +} + +type NullableAnalyticsAggregatedMetricsResponseContext struct { + value *AnalyticsAggregatedMetricsResponseContext + isSet bool +} + +func (v NullableAnalyticsAggregatedMetricsResponseContext) Get() *AnalyticsAggregatedMetricsResponseContext { + return v.value +} + +func (v *NullableAnalyticsAggregatedMetricsResponseContext) Set(val *AnalyticsAggregatedMetricsResponseContext) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsAggregatedMetricsResponseContext) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsAggregatedMetricsResponseContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsAggregatedMetricsResponseContext(val *AnalyticsAggregatedMetricsResponseContext) *NullableAnalyticsAggregatedMetricsResponseContext { + return &NullableAnalyticsAggregatedMetricsResponseContext{value: val, isSet: true} +} diff --git a/model_analytics_aggregated_metrics_response_context_timeframe.go b/model_analytics_aggregated_metrics_response_context_timeframe.go new file mode 100644 index 0000000..f19102f --- /dev/null +++ b/model_analytics_aggregated_metrics_response_context_timeframe.go @@ -0,0 +1,131 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsAggregatedMetricsResponseContextTimeframe Returns the starting and ending date-times of the period you want analytics for. +type AnalyticsAggregatedMetricsResponseContextTimeframe struct { + // Returns the starting date-time of the period you want analytics for in ATOM date-time format. + From *string `json:"from,omitempty"` + // Returns the starting date-time of the period you want analytics for in ATOM date-time format. + To *string `json:"to,omitempty"` +} + +// NewAnalyticsAggregatedMetricsResponseContextTimeframe instantiates a new AnalyticsAggregatedMetricsResponseContextTimeframe object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsAggregatedMetricsResponseContextTimeframe() *AnalyticsAggregatedMetricsResponseContextTimeframe { + this := AnalyticsAggregatedMetricsResponseContextTimeframe{} + return &this +} + +// NewAnalyticsAggregatedMetricsResponseContextTimeframeWithDefaults instantiates a new AnalyticsAggregatedMetricsResponseContextTimeframe object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsAggregatedMetricsResponseContextTimeframeWithDefaults() *AnalyticsAggregatedMetricsResponseContextTimeframe { + this := AnalyticsAggregatedMetricsResponseContextTimeframe{} + return &this +} + +// GetFrom returns the From field value if set, zero value otherwise. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetFrom() string { + if o == nil || o.From == nil { + var ret string + return ret + } + return *o.From +} + +// GetFromOk returns a tuple with the From field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetFromOk() (*string, bool) { + if o == nil || o.From == nil { + return nil, false + } + return o.From, true +} + +// HasFrom returns a boolean if a field has been set. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) HasFrom() bool { + if o != nil && o.From != nil { + return true + } + + return false +} + +// SetFrom gets a reference to the given string and assigns it to the From field. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) SetFrom(v string) { + o.From = &v +} + +// GetTo returns the To field value if set, zero value otherwise. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetTo() string { + if o == nil || o.To == nil { + var ret string + return ret + } + return *o.To +} + +// GetToOk returns a tuple with the To field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) GetToOk() (*string, bool) { + if o == nil || o.To == nil { + return nil, false + } + return o.To, true +} + +// HasTo returns a boolean if a field has been set. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) HasTo() bool { + if o != nil && o.To != nil { + return true + } + + return false +} + +// SetTo gets a reference to the given string and assigns it to the To field. +func (o *AnalyticsAggregatedMetricsResponseContextTimeframe) SetTo(v string) { + o.To = &v +} + +type NullableAnalyticsAggregatedMetricsResponseContextTimeframe struct { + value *AnalyticsAggregatedMetricsResponseContextTimeframe + isSet bool +} + +func (v NullableAnalyticsAggregatedMetricsResponseContextTimeframe) Get() *AnalyticsAggregatedMetricsResponseContextTimeframe { + return v.value +} + +func (v *NullableAnalyticsAggregatedMetricsResponseContextTimeframe) Set(val *AnalyticsAggregatedMetricsResponseContextTimeframe) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsAggregatedMetricsResponseContextTimeframe) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsAggregatedMetricsResponseContextTimeframe) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsAggregatedMetricsResponseContextTimeframe(val *AnalyticsAggregatedMetricsResponseContextTimeframe) *NullableAnalyticsAggregatedMetricsResponseContextTimeframe { + return &NullableAnalyticsAggregatedMetricsResponseContextTimeframe{value: val, isSet: true} +} diff --git a/model_analytics_metrics_breakdown_response.go b/model_analytics_metrics_breakdown_response.go new file mode 100644 index 0000000..d06551b --- /dev/null +++ b/model_analytics_metrics_breakdown_response.go @@ -0,0 +1,142 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsBreakdownResponse struct for AnalyticsMetricsBreakdownResponse +type AnalyticsMetricsBreakdownResponse struct { + Context AnalyticsMetricsBreakdownResponseContext `json:"context"` + // Returns an array of dimensions and their respective metrics. + Data []AnalyticsMetricsBreakdownResponseData `json:"data"` + Pagination Pagination `json:"pagination"` +} + +// NewAnalyticsMetricsBreakdownResponse instantiates a new AnalyticsMetricsBreakdownResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsBreakdownResponse(context AnalyticsMetricsBreakdownResponseContext, data []AnalyticsMetricsBreakdownResponseData, pagination Pagination) *AnalyticsMetricsBreakdownResponse { + this := AnalyticsMetricsBreakdownResponse{} + this.Context = context + this.Data = data + this.Pagination = pagination + return &this +} + +// NewAnalyticsMetricsBreakdownResponseWithDefaults instantiates a new AnalyticsMetricsBreakdownResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsBreakdownResponseWithDefaults() *AnalyticsMetricsBreakdownResponse { + this := AnalyticsMetricsBreakdownResponse{} + return &this +} + +// GetContext returns the Context field value +func (o *AnalyticsMetricsBreakdownResponse) GetContext() AnalyticsMetricsBreakdownResponseContext { + if o == nil { + var ret AnalyticsMetricsBreakdownResponseContext + return ret + } + + return o.Context +} + +// GetContextOk returns a tuple with the Context field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponse) GetContextOk() (*AnalyticsMetricsBreakdownResponseContext, bool) { + if o == nil { + return nil, false + } + return &o.Context, true +} + +// SetContext sets field value +func (o *AnalyticsMetricsBreakdownResponse) SetContext(v AnalyticsMetricsBreakdownResponseContext) { + o.Context = v +} + +// GetData returns the Data field value +func (o *AnalyticsMetricsBreakdownResponse) GetData() []AnalyticsMetricsBreakdownResponseData { + if o == nil { + var ret []AnalyticsMetricsBreakdownResponseData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponse) GetDataOk() (*[]AnalyticsMetricsBreakdownResponseData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *AnalyticsMetricsBreakdownResponse) SetData(v []AnalyticsMetricsBreakdownResponseData) { + o.Data = v +} + +// GetPagination returns the Pagination field value +func (o *AnalyticsMetricsBreakdownResponse) GetPagination() Pagination { + if o == nil { + var ret Pagination + return ret + } + + return o.Pagination +} + +// GetPaginationOk returns a tuple with the Pagination field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponse) GetPaginationOk() (*Pagination, bool) { + if o == nil { + return nil, false + } + return &o.Pagination, true +} + +// SetPagination sets field value +func (o *AnalyticsMetricsBreakdownResponse) SetPagination(v Pagination) { + o.Pagination = v +} + +type NullableAnalyticsMetricsBreakdownResponse struct { + value *AnalyticsMetricsBreakdownResponse + isSet bool +} + +func (v NullableAnalyticsMetricsBreakdownResponse) Get() *AnalyticsMetricsBreakdownResponse { + return v.value +} + +func (v *NullableAnalyticsMetricsBreakdownResponse) Set(val *AnalyticsMetricsBreakdownResponse) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsBreakdownResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsBreakdownResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsBreakdownResponse(val *AnalyticsMetricsBreakdownResponse) *NullableAnalyticsMetricsBreakdownResponse { + return &NullableAnalyticsMetricsBreakdownResponse{value: val, isSet: true} +} diff --git a/model_analytics_metrics_breakdown_response_context.go b/model_analytics_metrics_breakdown_response_context.go new file mode 100644 index 0000000..479fcc5 --- /dev/null +++ b/model_analytics_metrics_breakdown_response_context.go @@ -0,0 +1,164 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsBreakdownResponseContext struct for AnalyticsMetricsBreakdownResponseContext +type AnalyticsMetricsBreakdownResponseContext struct { + // Returns the metric you selected. + Metric *string `json:"metric,omitempty"` + // Returns the dimension you selected. + Breakdown *string `json:"breakdown,omitempty"` + Timeframe *AnalyticsAggregatedMetricsResponseContextTimeframe `json:"timeframe,omitempty"` +} + +// NewAnalyticsMetricsBreakdownResponseContext instantiates a new AnalyticsMetricsBreakdownResponseContext object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsBreakdownResponseContext() *AnalyticsMetricsBreakdownResponseContext { + this := AnalyticsMetricsBreakdownResponseContext{} + return &this +} + +// NewAnalyticsMetricsBreakdownResponseContextWithDefaults instantiates a new AnalyticsMetricsBreakdownResponseContext object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsBreakdownResponseContextWithDefaults() *AnalyticsMetricsBreakdownResponseContext { + this := AnalyticsMetricsBreakdownResponseContext{} + return &this +} + +// GetMetric returns the Metric field value if set, zero value otherwise. +func (o *AnalyticsMetricsBreakdownResponseContext) GetMetric() string { + if o == nil || o.Metric == nil { + var ret string + return ret + } + return *o.Metric +} + +// GetMetricOk returns a tuple with the Metric field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) GetMetricOk() (*string, bool) { + if o == nil || o.Metric == nil { + return nil, false + } + return o.Metric, true +} + +// HasMetric returns a boolean if a field has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) HasMetric() bool { + if o != nil && o.Metric != nil { + return true + } + + return false +} + +// SetMetric gets a reference to the given string and assigns it to the Metric field. +func (o *AnalyticsMetricsBreakdownResponseContext) SetMetric(v string) { + o.Metric = &v +} + +// GetBreakdown returns the Breakdown field value if set, zero value otherwise. +func (o *AnalyticsMetricsBreakdownResponseContext) GetBreakdown() string { + if o == nil || o.Breakdown == nil { + var ret string + return ret + } + return *o.Breakdown +} + +// GetBreakdownOk returns a tuple with the Breakdown field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) GetBreakdownOk() (*string, bool) { + if o == nil || o.Breakdown == nil { + return nil, false + } + return o.Breakdown, true +} + +// HasBreakdown returns a boolean if a field has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) HasBreakdown() bool { + if o != nil && o.Breakdown != nil { + return true + } + + return false +} + +// SetBreakdown gets a reference to the given string and assigns it to the Breakdown field. +func (o *AnalyticsMetricsBreakdownResponseContext) SetBreakdown(v string) { + o.Breakdown = &v +} + +// GetTimeframe returns the Timeframe field value if set, zero value otherwise. +func (o *AnalyticsMetricsBreakdownResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe { + if o == nil || o.Timeframe == nil { + var ret AnalyticsAggregatedMetricsResponseContextTimeframe + return ret + } + return *o.Timeframe +} + +// GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool) { + if o == nil || o.Timeframe == nil { + return nil, false + } + return o.Timeframe, true +} + +// HasTimeframe returns a boolean if a field has been set. +func (o *AnalyticsMetricsBreakdownResponseContext) HasTimeframe() bool { + if o != nil && o.Timeframe != nil { + return true + } + + return false +} + +// SetTimeframe gets a reference to the given AnalyticsAggregatedMetricsResponseContextTimeframe and assigns it to the Timeframe field. +func (o *AnalyticsMetricsBreakdownResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe) { + o.Timeframe = &v +} + +type NullableAnalyticsMetricsBreakdownResponseContext struct { + value *AnalyticsMetricsBreakdownResponseContext + isSet bool +} + +func (v NullableAnalyticsMetricsBreakdownResponseContext) Get() *AnalyticsMetricsBreakdownResponseContext { + return v.value +} + +func (v *NullableAnalyticsMetricsBreakdownResponseContext) Set(val *AnalyticsMetricsBreakdownResponseContext) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsBreakdownResponseContext) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsBreakdownResponseContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsBreakdownResponseContext(val *AnalyticsMetricsBreakdownResponseContext) *NullableAnalyticsMetricsBreakdownResponseContext { + return &NullableAnalyticsMetricsBreakdownResponseContext{value: val, isSet: true} +} diff --git a/model_analytics_metrics_breakdown_response_data.go b/model_analytics_metrics_breakdown_response_data.go new file mode 100644 index 0000000..a280e91 --- /dev/null +++ b/model_analytics_metrics_breakdown_response_data.go @@ -0,0 +1,131 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsBreakdownResponseData struct for AnalyticsMetricsBreakdownResponseData +type AnalyticsMetricsBreakdownResponseData struct { + // Returns a specific value for the dimension you selected, based on the data. For example if you select `continent` as a dimension, then `dimensionValue` returns values like `EU` or \"AZ\". + DimensionValue *string `json:"dimensionValue,omitempty"` + // Returns the data for a specific dimension value. + MetricValue *float32 `json:"metricValue,omitempty"` +} + +// NewAnalyticsMetricsBreakdownResponseData instantiates a new AnalyticsMetricsBreakdownResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsBreakdownResponseData() *AnalyticsMetricsBreakdownResponseData { + this := AnalyticsMetricsBreakdownResponseData{} + return &this +} + +// NewAnalyticsMetricsBreakdownResponseDataWithDefaults instantiates a new AnalyticsMetricsBreakdownResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsBreakdownResponseDataWithDefaults() *AnalyticsMetricsBreakdownResponseData { + this := AnalyticsMetricsBreakdownResponseData{} + return &this +} + +// GetDimensionValue returns the DimensionValue field value if set, zero value otherwise. +func (o *AnalyticsMetricsBreakdownResponseData) GetDimensionValue() string { + if o == nil || o.DimensionValue == nil { + var ret string + return ret + } + return *o.DimensionValue +} + +// GetDimensionValueOk returns a tuple with the DimensionValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponseData) GetDimensionValueOk() (*string, bool) { + if o == nil || o.DimensionValue == nil { + return nil, false + } + return o.DimensionValue, true +} + +// HasDimensionValue returns a boolean if a field has been set. +func (o *AnalyticsMetricsBreakdownResponseData) HasDimensionValue() bool { + if o != nil && o.DimensionValue != nil { + return true + } + + return false +} + +// SetDimensionValue gets a reference to the given string and assigns it to the DimensionValue field. +func (o *AnalyticsMetricsBreakdownResponseData) SetDimensionValue(v string) { + o.DimensionValue = &v +} + +// GetMetricValue returns the MetricValue field value if set, zero value otherwise. +func (o *AnalyticsMetricsBreakdownResponseData) GetMetricValue() float32 { + if o == nil || o.MetricValue == nil { + var ret float32 + return ret + } + return *o.MetricValue +} + +// GetMetricValueOk returns a tuple with the MetricValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsBreakdownResponseData) GetMetricValueOk() (*float32, bool) { + if o == nil || o.MetricValue == nil { + return nil, false + } + return o.MetricValue, true +} + +// HasMetricValue returns a boolean if a field has been set. +func (o *AnalyticsMetricsBreakdownResponseData) HasMetricValue() bool { + if o != nil && o.MetricValue != nil { + return true + } + + return false +} + +// SetMetricValue gets a reference to the given float32 and assigns it to the MetricValue field. +func (o *AnalyticsMetricsBreakdownResponseData) SetMetricValue(v float32) { + o.MetricValue = &v +} + +type NullableAnalyticsMetricsBreakdownResponseData struct { + value *AnalyticsMetricsBreakdownResponseData + isSet bool +} + +func (v NullableAnalyticsMetricsBreakdownResponseData) Get() *AnalyticsMetricsBreakdownResponseData { + return v.value +} + +func (v *NullableAnalyticsMetricsBreakdownResponseData) Set(val *AnalyticsMetricsBreakdownResponseData) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsBreakdownResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsBreakdownResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsBreakdownResponseData(val *AnalyticsMetricsBreakdownResponseData) *NullableAnalyticsMetricsBreakdownResponseData { + return &NullableAnalyticsMetricsBreakdownResponseData{value: val, isSet: true} +} diff --git a/model_analytics_metrics_over_time_response.go b/model_analytics_metrics_over_time_response.go new file mode 100644 index 0000000..eb2c48c --- /dev/null +++ b/model_analytics_metrics_over_time_response.go @@ -0,0 +1,142 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsOverTimeResponse struct for AnalyticsMetricsOverTimeResponse +type AnalyticsMetricsOverTimeResponse struct { + Context AnalyticsMetricsOverTimeResponseContext `json:"context"` + // Returns an array of metrics and the timestamps . + Data []AnalyticsMetricsOverTimeResponseData `json:"data"` + Pagination Pagination `json:"pagination"` +} + +// NewAnalyticsMetricsOverTimeResponse instantiates a new AnalyticsMetricsOverTimeResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsOverTimeResponse(context AnalyticsMetricsOverTimeResponseContext, data []AnalyticsMetricsOverTimeResponseData, pagination Pagination) *AnalyticsMetricsOverTimeResponse { + this := AnalyticsMetricsOverTimeResponse{} + this.Context = context + this.Data = data + this.Pagination = pagination + return &this +} + +// NewAnalyticsMetricsOverTimeResponseWithDefaults instantiates a new AnalyticsMetricsOverTimeResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsOverTimeResponseWithDefaults() *AnalyticsMetricsOverTimeResponse { + this := AnalyticsMetricsOverTimeResponse{} + return &this +} + +// GetContext returns the Context field value +func (o *AnalyticsMetricsOverTimeResponse) GetContext() AnalyticsMetricsOverTimeResponseContext { + if o == nil { + var ret AnalyticsMetricsOverTimeResponseContext + return ret + } + + return o.Context +} + +// GetContextOk returns a tuple with the Context field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponse) GetContextOk() (*AnalyticsMetricsOverTimeResponseContext, bool) { + if o == nil { + return nil, false + } + return &o.Context, true +} + +// SetContext sets field value +func (o *AnalyticsMetricsOverTimeResponse) SetContext(v AnalyticsMetricsOverTimeResponseContext) { + o.Context = v +} + +// GetData returns the Data field value +func (o *AnalyticsMetricsOverTimeResponse) GetData() []AnalyticsMetricsOverTimeResponseData { + if o == nil { + var ret []AnalyticsMetricsOverTimeResponseData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponse) GetDataOk() (*[]AnalyticsMetricsOverTimeResponseData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *AnalyticsMetricsOverTimeResponse) SetData(v []AnalyticsMetricsOverTimeResponseData) { + o.Data = v +} + +// GetPagination returns the Pagination field value +func (o *AnalyticsMetricsOverTimeResponse) GetPagination() Pagination { + if o == nil { + var ret Pagination + return ret + } + + return o.Pagination +} + +// GetPaginationOk returns a tuple with the Pagination field value +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponse) GetPaginationOk() (*Pagination, bool) { + if o == nil { + return nil, false + } + return &o.Pagination, true +} + +// SetPagination sets field value +func (o *AnalyticsMetricsOverTimeResponse) SetPagination(v Pagination) { + o.Pagination = v +} + +type NullableAnalyticsMetricsOverTimeResponse struct { + value *AnalyticsMetricsOverTimeResponse + isSet bool +} + +func (v NullableAnalyticsMetricsOverTimeResponse) Get() *AnalyticsMetricsOverTimeResponse { + return v.value +} + +func (v *NullableAnalyticsMetricsOverTimeResponse) Set(val *AnalyticsMetricsOverTimeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsOverTimeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsOverTimeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsOverTimeResponse(val *AnalyticsMetricsOverTimeResponse) *NullableAnalyticsMetricsOverTimeResponse { + return &NullableAnalyticsMetricsOverTimeResponse{value: val, isSet: true} +} diff --git a/model_analytics_metrics_over_time_response_context.go b/model_analytics_metrics_over_time_response_context.go new file mode 100644 index 0000000..7e23f32 --- /dev/null +++ b/model_analytics_metrics_over_time_response_context.go @@ -0,0 +1,164 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsOverTimeResponseContext struct for AnalyticsMetricsOverTimeResponseContext +type AnalyticsMetricsOverTimeResponseContext struct { + // Returns the metric you selected. + Metric *string `json:"metric,omitempty"` + // Returns the interval you selected. + Interval *string `json:"interval,omitempty"` + Timeframe *AnalyticsAggregatedMetricsResponseContextTimeframe `json:"timeframe,omitempty"` +} + +// NewAnalyticsMetricsOverTimeResponseContext instantiates a new AnalyticsMetricsOverTimeResponseContext object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsOverTimeResponseContext() *AnalyticsMetricsOverTimeResponseContext { + this := AnalyticsMetricsOverTimeResponseContext{} + return &this +} + +// NewAnalyticsMetricsOverTimeResponseContextWithDefaults instantiates a new AnalyticsMetricsOverTimeResponseContext object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsOverTimeResponseContextWithDefaults() *AnalyticsMetricsOverTimeResponseContext { + this := AnalyticsMetricsOverTimeResponseContext{} + return &this +} + +// GetMetric returns the Metric field value if set, zero value otherwise. +func (o *AnalyticsMetricsOverTimeResponseContext) GetMetric() string { + if o == nil || o.Metric == nil { + var ret string + return ret + } + return *o.Metric +} + +// GetMetricOk returns a tuple with the Metric field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) GetMetricOk() (*string, bool) { + if o == nil || o.Metric == nil { + return nil, false + } + return o.Metric, true +} + +// HasMetric returns a boolean if a field has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) HasMetric() bool { + if o != nil && o.Metric != nil { + return true + } + + return false +} + +// SetMetric gets a reference to the given string and assigns it to the Metric field. +func (o *AnalyticsMetricsOverTimeResponseContext) SetMetric(v string) { + o.Metric = &v +} + +// GetInterval returns the Interval field value if set, zero value otherwise. +func (o *AnalyticsMetricsOverTimeResponseContext) GetInterval() string { + if o == nil || o.Interval == nil { + var ret string + return ret + } + return *o.Interval +} + +// GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) GetIntervalOk() (*string, bool) { + if o == nil || o.Interval == nil { + return nil, false + } + return o.Interval, true +} + +// HasInterval returns a boolean if a field has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) HasInterval() bool { + if o != nil && o.Interval != nil { + return true + } + + return false +} + +// SetInterval gets a reference to the given string and assigns it to the Interval field. +func (o *AnalyticsMetricsOverTimeResponseContext) SetInterval(v string) { + o.Interval = &v +} + +// GetTimeframe returns the Timeframe field value if set, zero value otherwise. +func (o *AnalyticsMetricsOverTimeResponseContext) GetTimeframe() AnalyticsAggregatedMetricsResponseContextTimeframe { + if o == nil || o.Timeframe == nil { + var ret AnalyticsAggregatedMetricsResponseContextTimeframe + return ret + } + return *o.Timeframe +} + +// GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) GetTimeframeOk() (*AnalyticsAggregatedMetricsResponseContextTimeframe, bool) { + if o == nil || o.Timeframe == nil { + return nil, false + } + return o.Timeframe, true +} + +// HasTimeframe returns a boolean if a field has been set. +func (o *AnalyticsMetricsOverTimeResponseContext) HasTimeframe() bool { + if o != nil && o.Timeframe != nil { + return true + } + + return false +} + +// SetTimeframe gets a reference to the given AnalyticsAggregatedMetricsResponseContextTimeframe and assigns it to the Timeframe field. +func (o *AnalyticsMetricsOverTimeResponseContext) SetTimeframe(v AnalyticsAggregatedMetricsResponseContextTimeframe) { + o.Timeframe = &v +} + +type NullableAnalyticsMetricsOverTimeResponseContext struct { + value *AnalyticsMetricsOverTimeResponseContext + isSet bool +} + +func (v NullableAnalyticsMetricsOverTimeResponseContext) Get() *AnalyticsMetricsOverTimeResponseContext { + return v.value +} + +func (v *NullableAnalyticsMetricsOverTimeResponseContext) Set(val *AnalyticsMetricsOverTimeResponseContext) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsOverTimeResponseContext) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsOverTimeResponseContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsOverTimeResponseContext(val *AnalyticsMetricsOverTimeResponseContext) *NullableAnalyticsMetricsOverTimeResponseContext { + return &NullableAnalyticsMetricsOverTimeResponseContext{value: val, isSet: true} +} diff --git a/model_analytics_metrics_over_time_response_data.go b/model_analytics_metrics_over_time_response_data.go new file mode 100644 index 0000000..f815902 --- /dev/null +++ b/model_analytics_metrics_over_time_response_data.go @@ -0,0 +1,131 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// AnalyticsMetricsOverTimeResponseData struct for AnalyticsMetricsOverTimeResponseData +type AnalyticsMetricsOverTimeResponseData struct { + // Returns the timestamp of the event that belongs to a specific metric in ATOM date-time format. For example, if you set `play` with an `hour` interval in your request, then `emittedAt` returns the hourly timestamps of every play event within the timeframe you defined. + EmittedAt *string `json:"emittedAt,omitempty"` + // Returns the data for a specific metric value. + MetricValue *float32 `json:"metricValue,omitempty"` +} + +// NewAnalyticsMetricsOverTimeResponseData instantiates a new AnalyticsMetricsOverTimeResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAnalyticsMetricsOverTimeResponseData() *AnalyticsMetricsOverTimeResponseData { + this := AnalyticsMetricsOverTimeResponseData{} + return &this +} + +// NewAnalyticsMetricsOverTimeResponseDataWithDefaults instantiates a new AnalyticsMetricsOverTimeResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAnalyticsMetricsOverTimeResponseDataWithDefaults() *AnalyticsMetricsOverTimeResponseData { + this := AnalyticsMetricsOverTimeResponseData{} + return &this +} + +// GetEmittedAt returns the EmittedAt field value if set, zero value otherwise. +func (o *AnalyticsMetricsOverTimeResponseData) GetEmittedAt() string { + if o == nil || o.EmittedAt == nil { + var ret string + return ret + } + return *o.EmittedAt +} + +// GetEmittedAtOk returns a tuple with the EmittedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponseData) GetEmittedAtOk() (*string, bool) { + if o == nil || o.EmittedAt == nil { + return nil, false + } + return o.EmittedAt, true +} + +// HasEmittedAt returns a boolean if a field has been set. +func (o *AnalyticsMetricsOverTimeResponseData) HasEmittedAt() bool { + if o != nil && o.EmittedAt != nil { + return true + } + + return false +} + +// SetEmittedAt gets a reference to the given string and assigns it to the EmittedAt field. +func (o *AnalyticsMetricsOverTimeResponseData) SetEmittedAt(v string) { + o.EmittedAt = &v +} + +// GetMetricValue returns the MetricValue field value if set, zero value otherwise. +func (o *AnalyticsMetricsOverTimeResponseData) GetMetricValue() float32 { + if o == nil || o.MetricValue == nil { + var ret float32 + return ret + } + return *o.MetricValue +} + +// GetMetricValueOk returns a tuple with the MetricValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AnalyticsMetricsOverTimeResponseData) GetMetricValueOk() (*float32, bool) { + if o == nil || o.MetricValue == nil { + return nil, false + } + return o.MetricValue, true +} + +// HasMetricValue returns a boolean if a field has been set. +func (o *AnalyticsMetricsOverTimeResponseData) HasMetricValue() bool { + if o != nil && o.MetricValue != nil { + return true + } + + return false +} + +// SetMetricValue gets a reference to the given float32 and assigns it to the MetricValue field. +func (o *AnalyticsMetricsOverTimeResponseData) SetMetricValue(v float32) { + o.MetricValue = &v +} + +type NullableAnalyticsMetricsOverTimeResponseData struct { + value *AnalyticsMetricsOverTimeResponseData + isSet bool +} + +func (v NullableAnalyticsMetricsOverTimeResponseData) Get() *AnalyticsMetricsOverTimeResponseData { + return v.value +} + +func (v *NullableAnalyticsMetricsOverTimeResponseData) Set(val *AnalyticsMetricsOverTimeResponseData) { + v.value = val + v.isSet = true +} + +func (v NullableAnalyticsMetricsOverTimeResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullableAnalyticsMetricsOverTimeResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAnalyticsMetricsOverTimeResponseData(val *AnalyticsMetricsOverTimeResponseData) *NullableAnalyticsMetricsOverTimeResponseData { + return &NullableAnalyticsMetricsOverTimeResponseData{value: val, isSet: true} +} diff --git a/model_live_stream_session.go b/model_live_stream_session.go deleted file mode 100644 index c6e5b0a..0000000 --- a/model_live_stream_session.go +++ /dev/null @@ -1,261 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSession struct for LiveStreamSession -type LiveStreamSession struct { - Session *LiveStreamSessionSession `json:"session,omitempty"` - Location *LiveStreamSessionLocation `json:"location,omitempty"` - Referrer *LiveStreamSessionReferrer `json:"referrer,omitempty"` - Device *LiveStreamSessionDevice `json:"device,omitempty"` - Os *VideoSessionOs `json:"os,omitempty"` - Client *LiveStreamSessionClient `json:"client,omitempty"` -} - -// NewLiveStreamSession instantiates a new LiveStreamSession object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSession() *LiveStreamSession { - this := LiveStreamSession{} - return &this -} - -// NewLiveStreamSessionWithDefaults instantiates a new LiveStreamSession object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionWithDefaults() *LiveStreamSession { - this := LiveStreamSession{} - return &this -} - -// GetSession returns the Session field value if set, zero value otherwise. -func (o *LiveStreamSession) GetSession() LiveStreamSessionSession { - if o == nil || o.Session == nil { - var ret LiveStreamSessionSession - return ret - } - return *o.Session -} - -// GetSessionOk returns a tuple with the Session field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetSessionOk() (*LiveStreamSessionSession, bool) { - if o == nil || o.Session == nil { - return nil, false - } - return o.Session, true -} - -// HasSession returns a boolean if a field has been set. -func (o *LiveStreamSession) HasSession() bool { - if o != nil && o.Session != nil { - return true - } - - return false -} - -// SetSession gets a reference to the given LiveStreamSessionSession and assigns it to the Session field. -func (o *LiveStreamSession) SetSession(v LiveStreamSessionSession) { - o.Session = &v -} - -// GetLocation returns the Location field value if set, zero value otherwise. -func (o *LiveStreamSession) GetLocation() LiveStreamSessionLocation { - if o == nil || o.Location == nil { - var ret LiveStreamSessionLocation - return ret - } - return *o.Location -} - -// GetLocationOk returns a tuple with the Location field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetLocationOk() (*LiveStreamSessionLocation, bool) { - if o == nil || o.Location == nil { - return nil, false - } - return o.Location, true -} - -// HasLocation returns a boolean if a field has been set. -func (o *LiveStreamSession) HasLocation() bool { - if o != nil && o.Location != nil { - return true - } - - return false -} - -// SetLocation gets a reference to the given LiveStreamSessionLocation and assigns it to the Location field. -func (o *LiveStreamSession) SetLocation(v LiveStreamSessionLocation) { - o.Location = &v -} - -// GetReferrer returns the Referrer field value if set, zero value otherwise. -func (o *LiveStreamSession) GetReferrer() LiveStreamSessionReferrer { - if o == nil || o.Referrer == nil { - var ret LiveStreamSessionReferrer - return ret - } - return *o.Referrer -} - -// GetReferrerOk returns a tuple with the Referrer field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetReferrerOk() (*LiveStreamSessionReferrer, bool) { - if o == nil || o.Referrer == nil { - return nil, false - } - return o.Referrer, true -} - -// HasReferrer returns a boolean if a field has been set. -func (o *LiveStreamSession) HasReferrer() bool { - if o != nil && o.Referrer != nil { - return true - } - - return false -} - -// SetReferrer gets a reference to the given LiveStreamSessionReferrer and assigns it to the Referrer field. -func (o *LiveStreamSession) SetReferrer(v LiveStreamSessionReferrer) { - o.Referrer = &v -} - -// GetDevice returns the Device field value if set, zero value otherwise. -func (o *LiveStreamSession) GetDevice() LiveStreamSessionDevice { - if o == nil || o.Device == nil { - var ret LiveStreamSessionDevice - return ret - } - return *o.Device -} - -// GetDeviceOk returns a tuple with the Device field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetDeviceOk() (*LiveStreamSessionDevice, bool) { - if o == nil || o.Device == nil { - return nil, false - } - return o.Device, true -} - -// HasDevice returns a boolean if a field has been set. -func (o *LiveStreamSession) HasDevice() bool { - if o != nil && o.Device != nil { - return true - } - - return false -} - -// SetDevice gets a reference to the given LiveStreamSessionDevice and assigns it to the Device field. -func (o *LiveStreamSession) SetDevice(v LiveStreamSessionDevice) { - o.Device = &v -} - -// GetOs returns the Os field value if set, zero value otherwise. -func (o *LiveStreamSession) GetOs() VideoSessionOs { - if o == nil || o.Os == nil { - var ret VideoSessionOs - return ret - } - return *o.Os -} - -// GetOsOk returns a tuple with the Os field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetOsOk() (*VideoSessionOs, bool) { - if o == nil || o.Os == nil { - return nil, false - } - return o.Os, true -} - -// HasOs returns a boolean if a field has been set. -func (o *LiveStreamSession) HasOs() bool { - if o != nil && o.Os != nil { - return true - } - - return false -} - -// SetOs gets a reference to the given VideoSessionOs and assigns it to the Os field. -func (o *LiveStreamSession) SetOs(v VideoSessionOs) { - o.Os = &v -} - -// GetClient returns the Client field value if set, zero value otherwise. -func (o *LiveStreamSession) GetClient() LiveStreamSessionClient { - if o == nil || o.Client == nil { - var ret LiveStreamSessionClient - return ret - } - return *o.Client -} - -// GetClientOk returns a tuple with the Client field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSession) GetClientOk() (*LiveStreamSessionClient, bool) { - if o == nil || o.Client == nil { - return nil, false - } - return o.Client, true -} - -// HasClient returns a boolean if a field has been set. -func (o *LiveStreamSession) HasClient() bool { - if o != nil && o.Client != nil { - return true - } - - return false -} - -// SetClient gets a reference to the given LiveStreamSessionClient and assigns it to the Client field. -func (o *LiveStreamSession) SetClient(v LiveStreamSessionClient) { - o.Client = &v -} - -type NullableLiveStreamSession struct { - value *LiveStreamSession - isSet bool -} - -func (v NullableLiveStreamSession) Get() *LiveStreamSession { - return v.value -} - -func (v *NullableLiveStreamSession) Set(val *LiveStreamSession) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSession) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSession) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSession(val *LiveStreamSession) *NullableLiveStreamSession { - return &NullableLiveStreamSession{value: val, isSet: true} -} diff --git a/model_live_stream_session_client.go b/model_live_stream_session_client.go deleted file mode 100644 index 232d407..0000000 --- a/model_live_stream_session_client.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSessionClient What kind of browser the viewer is using for the live stream session. -type LiveStreamSessionClient struct { - // The name of the browser used to view the live stream session. - Name *string `json:"name,omitempty"` - // The version of the browser used to view the live stream session. - Version *string `json:"version,omitempty"` - // The type of client used to view the live stream session. - Type *string `json:"type,omitempty"` -} - -// NewLiveStreamSessionClient instantiates a new LiveStreamSessionClient object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSessionClient() *LiveStreamSessionClient { - this := LiveStreamSessionClient{} - return &this -} - -// NewLiveStreamSessionClientWithDefaults instantiates a new LiveStreamSessionClient object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionClientWithDefaults() *LiveStreamSessionClient { - this := LiveStreamSessionClient{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *LiveStreamSessionClient) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionClient) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *LiveStreamSessionClient) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *LiveStreamSessionClient) SetName(v string) { - o.Name = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *LiveStreamSessionClient) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionClient) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *LiveStreamSessionClient) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *LiveStreamSessionClient) SetVersion(v string) { - o.Version = &v -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *LiveStreamSessionClient) GetType() string { - if o == nil || o.Type == nil { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionClient) GetTypeOk() (*string, bool) { - if o == nil || o.Type == nil { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *LiveStreamSessionClient) HasType() bool { - if o != nil && o.Type != nil { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *LiveStreamSessionClient) SetType(v string) { - o.Type = &v -} - -type NullableLiveStreamSessionClient struct { - value *LiveStreamSessionClient - isSet bool -} - -func (v NullableLiveStreamSessionClient) Get() *LiveStreamSessionClient { - return v.value -} - -func (v *NullableLiveStreamSessionClient) Set(val *LiveStreamSessionClient) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSessionClient) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSessionClient) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSessionClient(val *LiveStreamSessionClient) *NullableLiveStreamSessionClient { - return &NullableLiveStreamSessionClient{value: val, isSet: true} -} diff --git a/model_live_stream_session_device.go b/model_live_stream_session_device.go deleted file mode 100644 index c06e11c..0000000 --- a/model_live_stream_session_device.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSessionDevice What type of device the user is on when in the live stream session. -type LiveStreamSessionDevice struct { - // What the type is like desktop, laptop, mobile. - Type *string `json:"type,omitempty"` - // If known, what the brand of the device is, like Apple, Dell, etc. - Vendor *string `json:"vendor,omitempty"` - // The specific model of the device, if known. - Model *string `json:"model,omitempty"` -} - -// NewLiveStreamSessionDevice instantiates a new LiveStreamSessionDevice object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSessionDevice() *LiveStreamSessionDevice { - this := LiveStreamSessionDevice{} - return &this -} - -// NewLiveStreamSessionDeviceWithDefaults instantiates a new LiveStreamSessionDevice object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionDeviceWithDefaults() *LiveStreamSessionDevice { - this := LiveStreamSessionDevice{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *LiveStreamSessionDevice) GetType() string { - if o == nil || o.Type == nil { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionDevice) GetTypeOk() (*string, bool) { - if o == nil || o.Type == nil { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *LiveStreamSessionDevice) HasType() bool { - if o != nil && o.Type != nil { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *LiveStreamSessionDevice) SetType(v string) { - o.Type = &v -} - -// GetVendor returns the Vendor field value if set, zero value otherwise. -func (o *LiveStreamSessionDevice) GetVendor() string { - if o == nil || o.Vendor == nil { - var ret string - return ret - } - return *o.Vendor -} - -// GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionDevice) GetVendorOk() (*string, bool) { - if o == nil || o.Vendor == nil { - return nil, false - } - return o.Vendor, true -} - -// HasVendor returns a boolean if a field has been set. -func (o *LiveStreamSessionDevice) HasVendor() bool { - if o != nil && o.Vendor != nil { - return true - } - - return false -} - -// SetVendor gets a reference to the given string and assigns it to the Vendor field. -func (o *LiveStreamSessionDevice) SetVendor(v string) { - o.Vendor = &v -} - -// GetModel returns the Model field value if set, zero value otherwise. -func (o *LiveStreamSessionDevice) GetModel() string { - if o == nil || o.Model == nil { - var ret string - return ret - } - return *o.Model -} - -// GetModelOk returns a tuple with the Model field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionDevice) GetModelOk() (*string, bool) { - if o == nil || o.Model == nil { - return nil, false - } - return o.Model, true -} - -// HasModel returns a boolean if a field has been set. -func (o *LiveStreamSessionDevice) HasModel() bool { - if o != nil && o.Model != nil { - return true - } - - return false -} - -// SetModel gets a reference to the given string and assigns it to the Model field. -func (o *LiveStreamSessionDevice) SetModel(v string) { - o.Model = &v -} - -type NullableLiveStreamSessionDevice struct { - value *LiveStreamSessionDevice - isSet bool -} - -func (v NullableLiveStreamSessionDevice) Get() *LiveStreamSessionDevice { - return v.value -} - -func (v *NullableLiveStreamSessionDevice) Set(val *LiveStreamSessionDevice) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSessionDevice) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSessionDevice) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSessionDevice(val *LiveStreamSessionDevice) *NullableLiveStreamSessionDevice { - return &NullableLiveStreamSessionDevice{value: val, isSet: true} -} diff --git a/model_live_stream_session_location.go b/model_live_stream_session_location.go deleted file mode 100644 index 5e135f4..0000000 --- a/model_live_stream_session_location.go +++ /dev/null @@ -1,131 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSessionLocation The location of the viewer of the live stream. -type LiveStreamSessionLocation struct { - // The country of the viewer of the live stream. - Country *string `json:"country,omitempty"` - // The city of the viewer of the live stream. - City *string `json:"city,omitempty"` -} - -// NewLiveStreamSessionLocation instantiates a new LiveStreamSessionLocation object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSessionLocation() *LiveStreamSessionLocation { - this := LiveStreamSessionLocation{} - return &this -} - -// NewLiveStreamSessionLocationWithDefaults instantiates a new LiveStreamSessionLocation object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionLocationWithDefaults() *LiveStreamSessionLocation { - this := LiveStreamSessionLocation{} - return &this -} - -// GetCountry returns the Country field value if set, zero value otherwise. -func (o *LiveStreamSessionLocation) GetCountry() string { - if o == nil || o.Country == nil { - var ret string - return ret - } - return *o.Country -} - -// GetCountryOk returns a tuple with the Country field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionLocation) GetCountryOk() (*string, bool) { - if o == nil || o.Country == nil { - return nil, false - } - return o.Country, true -} - -// HasCountry returns a boolean if a field has been set. -func (o *LiveStreamSessionLocation) HasCountry() bool { - if o != nil && o.Country != nil { - return true - } - - return false -} - -// SetCountry gets a reference to the given string and assigns it to the Country field. -func (o *LiveStreamSessionLocation) SetCountry(v string) { - o.Country = &v -} - -// GetCity returns the City field value if set, zero value otherwise. -func (o *LiveStreamSessionLocation) GetCity() string { - if o == nil || o.City == nil { - var ret string - return ret - } - return *o.City -} - -// GetCityOk returns a tuple with the City field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionLocation) GetCityOk() (*string, bool) { - if o == nil || o.City == nil { - return nil, false - } - return o.City, true -} - -// HasCity returns a boolean if a field has been set. -func (o *LiveStreamSessionLocation) HasCity() bool { - if o != nil && o.City != nil { - return true - } - - return false -} - -// SetCity gets a reference to the given string and assigns it to the City field. -func (o *LiveStreamSessionLocation) SetCity(v string) { - o.City = &v -} - -type NullableLiveStreamSessionLocation struct { - value *LiveStreamSessionLocation - isSet bool -} - -func (v NullableLiveStreamSessionLocation) Get() *LiveStreamSessionLocation { - return v.value -} - -func (v *NullableLiveStreamSessionLocation) Set(val *LiveStreamSessionLocation) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSessionLocation) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSessionLocation) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSessionLocation(val *LiveStreamSessionLocation) *NullableLiveStreamSessionLocation { - return &NullableLiveStreamSessionLocation{value: val, isSet: true} -} diff --git a/model_live_stream_session_referrer.go b/model_live_stream_session_referrer.go deleted file mode 100644 index cd1fc0c..0000000 --- a/model_live_stream_session_referrer.go +++ /dev/null @@ -1,199 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSessionReferrer struct for LiveStreamSessionReferrer -type LiveStreamSessionReferrer struct { - // The website the viewer of the live stream was referred to in order to view the live stream. - Url *string `json:"url,omitempty"` - // The type of search that brought the viewer to the live stream. Organic would be they found it on their own, paid would be they found it via an advertisement. - Medium *string `json:"medium,omitempty"` - // Where the viewer came from to see the live stream (usually where they searched from). - Source *string `json:"source,omitempty"` - // What term they searched for that led them to the live stream. - SearchTerm *string `json:"searchTerm,omitempty"` -} - -// NewLiveStreamSessionReferrer instantiates a new LiveStreamSessionReferrer object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSessionReferrer() *LiveStreamSessionReferrer { - this := LiveStreamSessionReferrer{} - return &this -} - -// NewLiveStreamSessionReferrerWithDefaults instantiates a new LiveStreamSessionReferrer object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionReferrerWithDefaults() *LiveStreamSessionReferrer { - this := LiveStreamSessionReferrer{} - return &this -} - -// GetUrl returns the Url field value if set, zero value otherwise. -func (o *LiveStreamSessionReferrer) GetUrl() string { - if o == nil || o.Url == nil { - var ret string - return ret - } - return *o.Url -} - -// GetUrlOk returns a tuple with the Url field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionReferrer) GetUrlOk() (*string, bool) { - if o == nil || o.Url == nil { - return nil, false - } - return o.Url, true -} - -// HasUrl returns a boolean if a field has been set. -func (o *LiveStreamSessionReferrer) HasUrl() bool { - if o != nil && o.Url != nil { - return true - } - - return false -} - -// SetUrl gets a reference to the given string and assigns it to the Url field. -func (o *LiveStreamSessionReferrer) SetUrl(v string) { - o.Url = &v -} - -// GetMedium returns the Medium field value if set, zero value otherwise. -func (o *LiveStreamSessionReferrer) GetMedium() string { - if o == nil || o.Medium == nil { - var ret string - return ret - } - return *o.Medium -} - -// GetMediumOk returns a tuple with the Medium field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionReferrer) GetMediumOk() (*string, bool) { - if o == nil || o.Medium == nil { - return nil, false - } - return o.Medium, true -} - -// HasMedium returns a boolean if a field has been set. -func (o *LiveStreamSessionReferrer) HasMedium() bool { - if o != nil && o.Medium != nil { - return true - } - - return false -} - -// SetMedium gets a reference to the given string and assigns it to the Medium field. -func (o *LiveStreamSessionReferrer) SetMedium(v string) { - o.Medium = &v -} - -// GetSource returns the Source field value if set, zero value otherwise. -func (o *LiveStreamSessionReferrer) GetSource() string { - if o == nil || o.Source == nil { - var ret string - return ret - } - return *o.Source -} - -// GetSourceOk returns a tuple with the Source field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionReferrer) GetSourceOk() (*string, bool) { - if o == nil || o.Source == nil { - return nil, false - } - return o.Source, true -} - -// HasSource returns a boolean if a field has been set. -func (o *LiveStreamSessionReferrer) HasSource() bool { - if o != nil && o.Source != nil { - return true - } - - return false -} - -// SetSource gets a reference to the given string and assigns it to the Source field. -func (o *LiveStreamSessionReferrer) SetSource(v string) { - o.Source = &v -} - -// GetSearchTerm returns the SearchTerm field value if set, zero value otherwise. -func (o *LiveStreamSessionReferrer) GetSearchTerm() string { - if o == nil || o.SearchTerm == nil { - var ret string - return ret - } - return *o.SearchTerm -} - -// GetSearchTermOk returns a tuple with the SearchTerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionReferrer) GetSearchTermOk() (*string, bool) { - if o == nil || o.SearchTerm == nil { - return nil, false - } - return o.SearchTerm, true -} - -// HasSearchTerm returns a boolean if a field has been set. -func (o *LiveStreamSessionReferrer) HasSearchTerm() bool { - if o != nil && o.SearchTerm != nil { - return true - } - - return false -} - -// SetSearchTerm gets a reference to the given string and assigns it to the SearchTerm field. -func (o *LiveStreamSessionReferrer) SetSearchTerm(v string) { - o.SearchTerm = &v -} - -type NullableLiveStreamSessionReferrer struct { - value *LiveStreamSessionReferrer - isSet bool -} - -func (v NullableLiveStreamSessionReferrer) Get() *LiveStreamSessionReferrer { - return v.value -} - -func (v *NullableLiveStreamSessionReferrer) Set(val *LiveStreamSessionReferrer) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSessionReferrer) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSessionReferrer) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSessionReferrer(val *LiveStreamSessionReferrer) *NullableLiveStreamSessionReferrer { - return &NullableLiveStreamSessionReferrer{value: val, isSet: true} -} diff --git a/model_live_stream_session_session.go b/model_live_stream_session_session.go deleted file mode 100644 index b40c942..0000000 --- a/model_live_stream_session_session.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// LiveStreamSessionSession struct for LiveStreamSessionSession -type LiveStreamSessionSession struct { - // A unique identifier for your session. You can use this to track what happens during a specific session. - SessionId *string `json:"sessionId,omitempty"` - // When the session started, with the date and time presented in ISO-8601 format. - LoadedAt *string `json:"loadedAt,omitempty"` - // When the session ended, with the date and time presented in ISO-8601 format. - EndedAt *string `json:"endedAt,omitempty"` -} - -// NewLiveStreamSessionSession instantiates a new LiveStreamSessionSession object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewLiveStreamSessionSession() *LiveStreamSessionSession { - this := LiveStreamSessionSession{} - return &this -} - -// NewLiveStreamSessionSessionWithDefaults instantiates a new LiveStreamSessionSession object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewLiveStreamSessionSessionWithDefaults() *LiveStreamSessionSession { - this := LiveStreamSessionSession{} - return &this -} - -// GetSessionId returns the SessionId field value if set, zero value otherwise. -func (o *LiveStreamSessionSession) GetSessionId() string { - if o == nil || o.SessionId == nil { - var ret string - return ret - } - return *o.SessionId -} - -// GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionSession) GetSessionIdOk() (*string, bool) { - if o == nil || o.SessionId == nil { - return nil, false - } - return o.SessionId, true -} - -// HasSessionId returns a boolean if a field has been set. -func (o *LiveStreamSessionSession) HasSessionId() bool { - if o != nil && o.SessionId != nil { - return true - } - - return false -} - -// SetSessionId gets a reference to the given string and assigns it to the SessionId field. -func (o *LiveStreamSessionSession) SetSessionId(v string) { - o.SessionId = &v -} - -// GetLoadedAt returns the LoadedAt field value if set, zero value otherwise. -func (o *LiveStreamSessionSession) GetLoadedAt() string { - if o == nil || o.LoadedAt == nil { - var ret string - return ret - } - return *o.LoadedAt -} - -// GetLoadedAtOk returns a tuple with the LoadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionSession) GetLoadedAtOk() (*string, bool) { - if o == nil || o.LoadedAt == nil { - return nil, false - } - return o.LoadedAt, true -} - -// HasLoadedAt returns a boolean if a field has been set. -func (o *LiveStreamSessionSession) HasLoadedAt() bool { - if o != nil && o.LoadedAt != nil { - return true - } - - return false -} - -// SetLoadedAt gets a reference to the given string and assigns it to the LoadedAt field. -func (o *LiveStreamSessionSession) SetLoadedAt(v string) { - o.LoadedAt = &v -} - -// GetEndedAt returns the EndedAt field value if set, zero value otherwise. -func (o *LiveStreamSessionSession) GetEndedAt() string { - if o == nil || o.EndedAt == nil { - var ret string - return ret - } - return *o.EndedAt -} - -// GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *LiveStreamSessionSession) GetEndedAtOk() (*string, bool) { - if o == nil || o.EndedAt == nil { - return nil, false - } - return o.EndedAt, true -} - -// HasEndedAt returns a boolean if a field has been set. -func (o *LiveStreamSessionSession) HasEndedAt() bool { - if o != nil && o.EndedAt != nil { - return true - } - - return false -} - -// SetEndedAt gets a reference to the given string and assigns it to the EndedAt field. -func (o *LiveStreamSessionSession) SetEndedAt(v string) { - o.EndedAt = &v -} - -type NullableLiveStreamSessionSession struct { - value *LiveStreamSessionSession - isSet bool -} - -func (v NullableLiveStreamSessionSession) Get() *LiveStreamSessionSession { - return v.value -} - -func (v *NullableLiveStreamSessionSession) Set(val *LiveStreamSessionSession) { - v.value = val - v.isSet = true -} - -func (v NullableLiveStreamSessionSession) IsSet() bool { - return v.isSet -} - -func (v *NullableLiveStreamSessionSession) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLiveStreamSessionSession(val *LiveStreamSessionSession) *NullableLiveStreamSessionSession { - return &NullableLiveStreamSessionSession{value: val, isSet: true} -} diff --git a/model_unrecognized_request_url.go b/model_unrecognized_request_url.go new file mode 100644 index 0000000..3c4d6f8 --- /dev/null +++ b/model_unrecognized_request_url.go @@ -0,0 +1,165 @@ +/* + * api.video + * + * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. + * + * API version: 1 + */ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package apivideosdk + +import ( +//"encoding/json" +) + +// UnrecognizedRequestUrl struct for UnrecognizedRequestUrl +type UnrecognizedRequestUrl struct { + // A link to the error documentation. + Type *string `json:"type,omitempty"` + // A description of the error that occurred. + Title *string `json:"title,omitempty"` + // The HTTP status code. + Status *int32 `json:"status,omitempty"` +} + +// NewUnrecognizedRequestUrl instantiates a new UnrecognizedRequestUrl object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewUnrecognizedRequestUrl() *UnrecognizedRequestUrl { + this := UnrecognizedRequestUrl{} + return &this +} + +// NewUnrecognizedRequestUrlWithDefaults instantiates a new UnrecognizedRequestUrl object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUnrecognizedRequestUrlWithDefaults() *UnrecognizedRequestUrl { + this := UnrecognizedRequestUrl{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *UnrecognizedRequestUrl) GetType() string { + if o == nil || o.Type == nil { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UnrecognizedRequestUrl) GetTypeOk() (*string, bool) { + if o == nil || o.Type == nil { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *UnrecognizedRequestUrl) HasType() bool { + if o != nil && o.Type != nil { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *UnrecognizedRequestUrl) SetType(v string) { + o.Type = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise. +func (o *UnrecognizedRequestUrl) GetTitle() string { + if o == nil || o.Title == nil { + var ret string + return ret + } + return *o.Title +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UnrecognizedRequestUrl) GetTitleOk() (*string, bool) { + if o == nil || o.Title == nil { + return nil, false + } + return o.Title, true +} + +// HasTitle returns a boolean if a field has been set. +func (o *UnrecognizedRequestUrl) HasTitle() bool { + if o != nil && o.Title != nil { + return true + } + + return false +} + +// SetTitle gets a reference to the given string and assigns it to the Title field. +func (o *UnrecognizedRequestUrl) SetTitle(v string) { + o.Title = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *UnrecognizedRequestUrl) GetStatus() int32 { + if o == nil || o.Status == nil { + var ret int32 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UnrecognizedRequestUrl) GetStatusOk() (*int32, bool) { + if o == nil || o.Status == nil { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *UnrecognizedRequestUrl) HasStatus() bool { + if o != nil && o.Status != nil { + return true + } + + return false +} + +// SetStatus gets a reference to the given int32 and assigns it to the Status field. +func (o *UnrecognizedRequestUrl) SetStatus(v int32) { + o.Status = &v +} + +type NullableUnrecognizedRequestUrl struct { + value *UnrecognizedRequestUrl + isSet bool +} + +func (v NullableUnrecognizedRequestUrl) Get() *UnrecognizedRequestUrl { + return v.value +} + +func (v *NullableUnrecognizedRequestUrl) Set(val *UnrecognizedRequestUrl) { + v.value = val + v.isSet = true +} + +func (v NullableUnrecognizedRequestUrl) IsSet() bool { + return v.isSet +} + +func (v *NullableUnrecognizedRequestUrl) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnrecognizedRequestUrl(val *UnrecognizedRequestUrl) *NullableUnrecognizedRequestUrl { + return &NullableUnrecognizedRequestUrl{value: val, isSet: true} +} diff --git a/model_video_session.go b/model_video_session.go deleted file mode 100644 index 3401c25..0000000 --- a/model_video_session.go +++ /dev/null @@ -1,261 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSession struct for VideoSession -type VideoSession struct { - Session *VideoSessionSession `json:"session,omitempty"` - Location *VideoSessionLocation `json:"location,omitempty"` - Referrer *VideoSessionReferrer `json:"referrer,omitempty"` - Device *VideoSessionDevice `json:"device,omitempty"` - Os *VideoSessionOs `json:"os,omitempty"` - Client *VideoSessionClient `json:"client,omitempty"` -} - -// NewVideoSession instantiates a new VideoSession object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSession() *VideoSession { - this := VideoSession{} - return &this -} - -// NewVideoSessionWithDefaults instantiates a new VideoSession object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionWithDefaults() *VideoSession { - this := VideoSession{} - return &this -} - -// GetSession returns the Session field value if set, zero value otherwise. -func (o *VideoSession) GetSession() VideoSessionSession { - if o == nil || o.Session == nil { - var ret VideoSessionSession - return ret - } - return *o.Session -} - -// GetSessionOk returns a tuple with the Session field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetSessionOk() (*VideoSessionSession, bool) { - if o == nil || o.Session == nil { - return nil, false - } - return o.Session, true -} - -// HasSession returns a boolean if a field has been set. -func (o *VideoSession) HasSession() bool { - if o != nil && o.Session != nil { - return true - } - - return false -} - -// SetSession gets a reference to the given VideoSessionSession and assigns it to the Session field. -func (o *VideoSession) SetSession(v VideoSessionSession) { - o.Session = &v -} - -// GetLocation returns the Location field value if set, zero value otherwise. -func (o *VideoSession) GetLocation() VideoSessionLocation { - if o == nil || o.Location == nil { - var ret VideoSessionLocation - return ret - } - return *o.Location -} - -// GetLocationOk returns a tuple with the Location field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetLocationOk() (*VideoSessionLocation, bool) { - if o == nil || o.Location == nil { - return nil, false - } - return o.Location, true -} - -// HasLocation returns a boolean if a field has been set. -func (o *VideoSession) HasLocation() bool { - if o != nil && o.Location != nil { - return true - } - - return false -} - -// SetLocation gets a reference to the given VideoSessionLocation and assigns it to the Location field. -func (o *VideoSession) SetLocation(v VideoSessionLocation) { - o.Location = &v -} - -// GetReferrer returns the Referrer field value if set, zero value otherwise. -func (o *VideoSession) GetReferrer() VideoSessionReferrer { - if o == nil || o.Referrer == nil { - var ret VideoSessionReferrer - return ret - } - return *o.Referrer -} - -// GetReferrerOk returns a tuple with the Referrer field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetReferrerOk() (*VideoSessionReferrer, bool) { - if o == nil || o.Referrer == nil { - return nil, false - } - return o.Referrer, true -} - -// HasReferrer returns a boolean if a field has been set. -func (o *VideoSession) HasReferrer() bool { - if o != nil && o.Referrer != nil { - return true - } - - return false -} - -// SetReferrer gets a reference to the given VideoSessionReferrer and assigns it to the Referrer field. -func (o *VideoSession) SetReferrer(v VideoSessionReferrer) { - o.Referrer = &v -} - -// GetDevice returns the Device field value if set, zero value otherwise. -func (o *VideoSession) GetDevice() VideoSessionDevice { - if o == nil || o.Device == nil { - var ret VideoSessionDevice - return ret - } - return *o.Device -} - -// GetDeviceOk returns a tuple with the Device field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetDeviceOk() (*VideoSessionDevice, bool) { - if o == nil || o.Device == nil { - return nil, false - } - return o.Device, true -} - -// HasDevice returns a boolean if a field has been set. -func (o *VideoSession) HasDevice() bool { - if o != nil && o.Device != nil { - return true - } - - return false -} - -// SetDevice gets a reference to the given VideoSessionDevice and assigns it to the Device field. -func (o *VideoSession) SetDevice(v VideoSessionDevice) { - o.Device = &v -} - -// GetOs returns the Os field value if set, zero value otherwise. -func (o *VideoSession) GetOs() VideoSessionOs { - if o == nil || o.Os == nil { - var ret VideoSessionOs - return ret - } - return *o.Os -} - -// GetOsOk returns a tuple with the Os field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetOsOk() (*VideoSessionOs, bool) { - if o == nil || o.Os == nil { - return nil, false - } - return o.Os, true -} - -// HasOs returns a boolean if a field has been set. -func (o *VideoSession) HasOs() bool { - if o != nil && o.Os != nil { - return true - } - - return false -} - -// SetOs gets a reference to the given VideoSessionOs and assigns it to the Os field. -func (o *VideoSession) SetOs(v VideoSessionOs) { - o.Os = &v -} - -// GetClient returns the Client field value if set, zero value otherwise. -func (o *VideoSession) GetClient() VideoSessionClient { - if o == nil || o.Client == nil { - var ret VideoSessionClient - return ret - } - return *o.Client -} - -// GetClientOk returns a tuple with the Client field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSession) GetClientOk() (*VideoSessionClient, bool) { - if o == nil || o.Client == nil { - return nil, false - } - return o.Client, true -} - -// HasClient returns a boolean if a field has been set. -func (o *VideoSession) HasClient() bool { - if o != nil && o.Client != nil { - return true - } - - return false -} - -// SetClient gets a reference to the given VideoSessionClient and assigns it to the Client field. -func (o *VideoSession) SetClient(v VideoSessionClient) { - o.Client = &v -} - -type NullableVideoSession struct { - value *VideoSession - isSet bool -} - -func (v NullableVideoSession) Get() *VideoSession { - return v.value -} - -func (v *NullableVideoSession) Set(val *VideoSession) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSession) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSession) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSession(val *VideoSession) *NullableVideoSession { - return &NullableVideoSession{value: val, isSet: true} -} diff --git a/model_video_session_client.go b/model_video_session_client.go deleted file mode 100644 index 25e484b..0000000 --- a/model_video_session_client.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionClient What kind of browser the viewer is using for the video session. -type VideoSessionClient struct { - // The name of the browser used to view the video session. - Name *string `json:"name,omitempty"` - // The version of the browser used to view the video session. - Version *string `json:"version,omitempty"` - // The type of client used to view the video session. - Type *string `json:"type,omitempty"` -} - -// NewVideoSessionClient instantiates a new VideoSessionClient object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionClient() *VideoSessionClient { - this := VideoSessionClient{} - return &this -} - -// NewVideoSessionClientWithDefaults instantiates a new VideoSessionClient object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionClientWithDefaults() *VideoSessionClient { - this := VideoSessionClient{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *VideoSessionClient) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionClient) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *VideoSessionClient) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *VideoSessionClient) SetName(v string) { - o.Name = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *VideoSessionClient) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionClient) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *VideoSessionClient) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *VideoSessionClient) SetVersion(v string) { - o.Version = &v -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *VideoSessionClient) GetType() string { - if o == nil || o.Type == nil { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionClient) GetTypeOk() (*string, bool) { - if o == nil || o.Type == nil { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *VideoSessionClient) HasType() bool { - if o != nil && o.Type != nil { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *VideoSessionClient) SetType(v string) { - o.Type = &v -} - -type NullableVideoSessionClient struct { - value *VideoSessionClient - isSet bool -} - -func (v NullableVideoSessionClient) Get() *VideoSessionClient { - return v.value -} - -func (v *NullableVideoSessionClient) Set(val *VideoSessionClient) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionClient) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionClient) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionClient(val *VideoSessionClient) *NullableVideoSessionClient { - return &NullableVideoSessionClient{value: val, isSet: true} -} diff --git a/model_video_session_device.go b/model_video_session_device.go deleted file mode 100644 index b5bd96d..0000000 --- a/model_video_session_device.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionDevice What type of device the user is on when in the video session. -type VideoSessionDevice struct { - // What the type is like desktop, laptop, mobile. - Type *string `json:"type,omitempty"` - // If known, what the brand of the device is, like Apple, Dell, etc. - Vendor *string `json:"vendor,omitempty"` - // The specific model of the device, if known. - Model *string `json:"model,omitempty"` -} - -// NewVideoSessionDevice instantiates a new VideoSessionDevice object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionDevice() *VideoSessionDevice { - this := VideoSessionDevice{} - return &this -} - -// NewVideoSessionDeviceWithDefaults instantiates a new VideoSessionDevice object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionDeviceWithDefaults() *VideoSessionDevice { - this := VideoSessionDevice{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *VideoSessionDevice) GetType() string { - if o == nil || o.Type == nil { - var ret string - return ret - } - return *o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionDevice) GetTypeOk() (*string, bool) { - if o == nil || o.Type == nil { - return nil, false - } - return o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *VideoSessionDevice) HasType() bool { - if o != nil && o.Type != nil { - return true - } - - return false -} - -// SetType gets a reference to the given string and assigns it to the Type field. -func (o *VideoSessionDevice) SetType(v string) { - o.Type = &v -} - -// GetVendor returns the Vendor field value if set, zero value otherwise. -func (o *VideoSessionDevice) GetVendor() string { - if o == nil || o.Vendor == nil { - var ret string - return ret - } - return *o.Vendor -} - -// GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionDevice) GetVendorOk() (*string, bool) { - if o == nil || o.Vendor == nil { - return nil, false - } - return o.Vendor, true -} - -// HasVendor returns a boolean if a field has been set. -func (o *VideoSessionDevice) HasVendor() bool { - if o != nil && o.Vendor != nil { - return true - } - - return false -} - -// SetVendor gets a reference to the given string and assigns it to the Vendor field. -func (o *VideoSessionDevice) SetVendor(v string) { - o.Vendor = &v -} - -// GetModel returns the Model field value if set, zero value otherwise. -func (o *VideoSessionDevice) GetModel() string { - if o == nil || o.Model == nil { - var ret string - return ret - } - return *o.Model -} - -// GetModelOk returns a tuple with the Model field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionDevice) GetModelOk() (*string, bool) { - if o == nil || o.Model == nil { - return nil, false - } - return o.Model, true -} - -// HasModel returns a boolean if a field has been set. -func (o *VideoSessionDevice) HasModel() bool { - if o != nil && o.Model != nil { - return true - } - - return false -} - -// SetModel gets a reference to the given string and assigns it to the Model field. -func (o *VideoSessionDevice) SetModel(v string) { - o.Model = &v -} - -type NullableVideoSessionDevice struct { - value *VideoSessionDevice - isSet bool -} - -func (v NullableVideoSessionDevice) Get() *VideoSessionDevice { - return v.value -} - -func (v *NullableVideoSessionDevice) Set(val *VideoSessionDevice) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionDevice) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionDevice) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionDevice(val *VideoSessionDevice) *NullableVideoSessionDevice { - return &NullableVideoSessionDevice{value: val, isSet: true} -} diff --git a/model_video_session_location.go b/model_video_session_location.go deleted file mode 100644 index 9f4e5db..0000000 --- a/model_video_session_location.go +++ /dev/null @@ -1,142 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionLocation The location of the viewer. -type VideoSessionLocation struct { - // The country of the viewer. - Country *string `json:"country,omitempty"` - // The city of the viewer. - City *NullableString `json:"city,omitempty"` -} - -// NewVideoSessionLocation instantiates a new VideoSessionLocation object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionLocation() *VideoSessionLocation { - this := VideoSessionLocation{} - return &this -} - -// NewVideoSessionLocationWithDefaults instantiates a new VideoSessionLocation object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionLocationWithDefaults() *VideoSessionLocation { - this := VideoSessionLocation{} - return &this -} - -// GetCountry returns the Country field value if set, zero value otherwise. -func (o *VideoSessionLocation) GetCountry() string { - if o == nil || o.Country == nil { - var ret string - return ret - } - return *o.Country -} - -// GetCountryOk returns a tuple with the Country field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionLocation) GetCountryOk() (*string, bool) { - if o == nil || o.Country == nil { - return nil, false - } - return o.Country, true -} - -// HasCountry returns a boolean if a field has been set. -func (o *VideoSessionLocation) HasCountry() bool { - if o != nil && o.Country != nil { - return true - } - - return false -} - -// SetCountry gets a reference to the given string and assigns it to the Country field. -func (o *VideoSessionLocation) SetCountry(v string) { - o.Country = &v -} - -// GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VideoSessionLocation) GetCity() string { - if o == nil || o.City.Get() == nil { - var ret string - return ret - } - return *o.City.Get() -} - -// GetCityOk returns a tuple with the City field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *VideoSessionLocation) GetCityOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.City.Get(), o.City.IsSet() -} - -// HasCity returns a boolean if a field has been set. -func (o *VideoSessionLocation) HasCity() bool { - if o != nil && o.City.IsSet() { - return true - } - - return false -} - -// SetCity gets a reference to the given NullableString and assigns it to the City field. -func (o *VideoSessionLocation) SetCity(v string) { - o.City.Set(&v) -} - -// SetCityNil sets the value for City to be an explicit nil -func (o *VideoSessionLocation) SetCityNil() { - o.City.Set(nil) -} - -// UnsetCity ensures that no value is present for City, not even an explicit nil -func (o *VideoSessionLocation) UnsetCity() { - o.City.Unset() -} - -type NullableVideoSessionLocation struct { - value *VideoSessionLocation - isSet bool -} - -func (v NullableVideoSessionLocation) Get() *VideoSessionLocation { - return v.value -} - -func (v *NullableVideoSessionLocation) Set(val *VideoSessionLocation) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionLocation) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionLocation) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionLocation(val *VideoSessionLocation) *NullableVideoSessionLocation { - return &NullableVideoSessionLocation{value: val, isSet: true} -} diff --git a/model_video_session_os.go b/model_video_session_os.go deleted file mode 100644 index da9d209..0000000 --- a/model_video_session_os.go +++ /dev/null @@ -1,165 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionOs The operating system the viewer is on. -type VideoSessionOs struct { - // The name of the operating system. - Name *string `json:"name,omitempty"` - // The nickname for the operating system, often representing the version. - Shortname *string `json:"shortname,omitempty"` - // The version of the operating system. - Version *string `json:"version,omitempty"` -} - -// NewVideoSessionOs instantiates a new VideoSessionOs object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionOs() *VideoSessionOs { - this := VideoSessionOs{} - return &this -} - -// NewVideoSessionOsWithDefaults instantiates a new VideoSessionOs object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionOsWithDefaults() *VideoSessionOs { - this := VideoSessionOs{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *VideoSessionOs) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionOs) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *VideoSessionOs) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *VideoSessionOs) SetName(v string) { - o.Name = &v -} - -// GetShortname returns the Shortname field value if set, zero value otherwise. -func (o *VideoSessionOs) GetShortname() string { - if o == nil || o.Shortname == nil { - var ret string - return ret - } - return *o.Shortname -} - -// GetShortnameOk returns a tuple with the Shortname field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionOs) GetShortnameOk() (*string, bool) { - if o == nil || o.Shortname == nil { - return nil, false - } - return o.Shortname, true -} - -// HasShortname returns a boolean if a field has been set. -func (o *VideoSessionOs) HasShortname() bool { - if o != nil && o.Shortname != nil { - return true - } - - return false -} - -// SetShortname gets a reference to the given string and assigns it to the Shortname field. -func (o *VideoSessionOs) SetShortname(v string) { - o.Shortname = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *VideoSessionOs) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionOs) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *VideoSessionOs) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *VideoSessionOs) SetVersion(v string) { - o.Version = &v -} - -type NullableVideoSessionOs struct { - value *VideoSessionOs - isSet bool -} - -func (v NullableVideoSessionOs) Get() *VideoSessionOs { - return v.value -} - -func (v *NullableVideoSessionOs) Set(val *VideoSessionOs) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionOs) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionOs) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionOs(val *VideoSessionOs) *NullableVideoSessionOs { - return &NullableVideoSessionOs{value: val, isSet: true} -} diff --git a/model_video_session_referrer.go b/model_video_session_referrer.go deleted file mode 100644 index 6c67559..0000000 --- a/model_video_session_referrer.go +++ /dev/null @@ -1,210 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionReferrer struct for VideoSessionReferrer -type VideoSessionReferrer struct { - // The link the viewer used to reach the video session. - Url *NullableString `json:"url,omitempty"` - // How they arrived at the site, for example organic or paid. Organic meaning they found it themselves and paid meaning they followed a link from an advertisement. - Medium *string `json:"medium,omitempty"` - // The source the referrer came from to the video session. For example if they searched through google to find the stream. - Source *string `json:"source,omitempty"` - // The search term they typed to arrive at the video session. - SearchTerm *string `json:"searchTerm,omitempty"` -} - -// NewVideoSessionReferrer instantiates a new VideoSessionReferrer object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionReferrer() *VideoSessionReferrer { - this := VideoSessionReferrer{} - return &this -} - -// NewVideoSessionReferrerWithDefaults instantiates a new VideoSessionReferrer object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionReferrerWithDefaults() *VideoSessionReferrer { - this := VideoSessionReferrer{} - return &this -} - -// GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *VideoSessionReferrer) GetUrl() string { - if o == nil || o.Url.Get() == nil { - var ret string - return ret - } - return *o.Url.Get() -} - -// GetUrlOk returns a tuple with the Url field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *VideoSessionReferrer) GetUrlOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.Url.Get(), o.Url.IsSet() -} - -// HasUrl returns a boolean if a field has been set. -func (o *VideoSessionReferrer) HasUrl() bool { - if o != nil && o.Url.IsSet() { - return true - } - - return false -} - -// SetUrl gets a reference to the given NullableString and assigns it to the Url field. -func (o *VideoSessionReferrer) SetUrl(v string) { - o.Url.Set(&v) -} - -// SetUrlNil sets the value for Url to be an explicit nil -func (o *VideoSessionReferrer) SetUrlNil() { - o.Url.Set(nil) -} - -// UnsetUrl ensures that no value is present for Url, not even an explicit nil -func (o *VideoSessionReferrer) UnsetUrl() { - o.Url.Unset() -} - -// GetMedium returns the Medium field value if set, zero value otherwise. -func (o *VideoSessionReferrer) GetMedium() string { - if o == nil || o.Medium == nil { - var ret string - return ret - } - return *o.Medium -} - -// GetMediumOk returns a tuple with the Medium field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionReferrer) GetMediumOk() (*string, bool) { - if o == nil || o.Medium == nil { - return nil, false - } - return o.Medium, true -} - -// HasMedium returns a boolean if a field has been set. -func (o *VideoSessionReferrer) HasMedium() bool { - if o != nil && o.Medium != nil { - return true - } - - return false -} - -// SetMedium gets a reference to the given string and assigns it to the Medium field. -func (o *VideoSessionReferrer) SetMedium(v string) { - o.Medium = &v -} - -// GetSource returns the Source field value if set, zero value otherwise. -func (o *VideoSessionReferrer) GetSource() string { - if o == nil || o.Source == nil { - var ret string - return ret - } - return *o.Source -} - -// GetSourceOk returns a tuple with the Source field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionReferrer) GetSourceOk() (*string, bool) { - if o == nil || o.Source == nil { - return nil, false - } - return o.Source, true -} - -// HasSource returns a boolean if a field has been set. -func (o *VideoSessionReferrer) HasSource() bool { - if o != nil && o.Source != nil { - return true - } - - return false -} - -// SetSource gets a reference to the given string and assigns it to the Source field. -func (o *VideoSessionReferrer) SetSource(v string) { - o.Source = &v -} - -// GetSearchTerm returns the SearchTerm field value if set, zero value otherwise. -func (o *VideoSessionReferrer) GetSearchTerm() string { - if o == nil || o.SearchTerm == nil { - var ret string - return ret - } - return *o.SearchTerm -} - -// GetSearchTermOk returns a tuple with the SearchTerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionReferrer) GetSearchTermOk() (*string, bool) { - if o == nil || o.SearchTerm == nil { - return nil, false - } - return o.SearchTerm, true -} - -// HasSearchTerm returns a boolean if a field has been set. -func (o *VideoSessionReferrer) HasSearchTerm() bool { - if o != nil && o.SearchTerm != nil { - return true - } - - return false -} - -// SetSearchTerm gets a reference to the given string and assigns it to the SearchTerm field. -func (o *VideoSessionReferrer) SetSearchTerm(v string) { - o.SearchTerm = &v -} - -type NullableVideoSessionReferrer struct { - value *VideoSessionReferrer - isSet bool -} - -func (v NullableVideoSessionReferrer) Get() *VideoSessionReferrer { - return v.value -} - -func (v *NullableVideoSessionReferrer) Set(val *VideoSessionReferrer) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionReferrer) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionReferrer) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionReferrer(val *VideoSessionReferrer) *NullableVideoSessionReferrer { - return &NullableVideoSessionReferrer{value: val, isSet: true} -} diff --git a/model_video_session_session.go b/model_video_session_session.go deleted file mode 100644 index b592fdd..0000000 --- a/model_video_session_session.go +++ /dev/null @@ -1,199 +0,0 @@ -/* - * api.video - * - * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. - * - * API version: 1 - */ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package apivideosdk - -import ( -//"encoding/json" -) - -// VideoSessionSession struct for VideoSessionSession -type VideoSessionSession struct { - // The unique identifier for the session that you can use to track what happens during it. - SessionId *string `json:"sessionId,omitempty"` - // When the video session started, presented in ISO-8601 format. - LoadedAt *string `json:"loadedAt,omitempty"` - // When the video session ended, presented in ISO-8601 format. - EndedAt *string `json:"endedAt,omitempty"` - // A list of key value pairs that you use to provide metadata for your video. These pairs can be made dynamic, allowing you to segment your audience. You can also just use the pairs as another way to tag and categorize your videos. - Metadata *[]Metadata `json:"metadata,omitempty"` -} - -// NewVideoSessionSession instantiates a new VideoSessionSession object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewVideoSessionSession() *VideoSessionSession { - this := VideoSessionSession{} - return &this -} - -// NewVideoSessionSessionWithDefaults instantiates a new VideoSessionSession object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVideoSessionSessionWithDefaults() *VideoSessionSession { - this := VideoSessionSession{} - return &this -} - -// GetSessionId returns the SessionId field value if set, zero value otherwise. -func (o *VideoSessionSession) GetSessionId() string { - if o == nil || o.SessionId == nil { - var ret string - return ret - } - return *o.SessionId -} - -// GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionSession) GetSessionIdOk() (*string, bool) { - if o == nil || o.SessionId == nil { - return nil, false - } - return o.SessionId, true -} - -// HasSessionId returns a boolean if a field has been set. -func (o *VideoSessionSession) HasSessionId() bool { - if o != nil && o.SessionId != nil { - return true - } - - return false -} - -// SetSessionId gets a reference to the given string and assigns it to the SessionId field. -func (o *VideoSessionSession) SetSessionId(v string) { - o.SessionId = &v -} - -// GetLoadedAt returns the LoadedAt field value if set, zero value otherwise. -func (o *VideoSessionSession) GetLoadedAt() string { - if o == nil || o.LoadedAt == nil { - var ret string - return ret - } - return *o.LoadedAt -} - -// GetLoadedAtOk returns a tuple with the LoadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionSession) GetLoadedAtOk() (*string, bool) { - if o == nil || o.LoadedAt == nil { - return nil, false - } - return o.LoadedAt, true -} - -// HasLoadedAt returns a boolean if a field has been set. -func (o *VideoSessionSession) HasLoadedAt() bool { - if o != nil && o.LoadedAt != nil { - return true - } - - return false -} - -// SetLoadedAt gets a reference to the given string and assigns it to the LoadedAt field. -func (o *VideoSessionSession) SetLoadedAt(v string) { - o.LoadedAt = &v -} - -// GetEndedAt returns the EndedAt field value if set, zero value otherwise. -func (o *VideoSessionSession) GetEndedAt() string { - if o == nil || o.EndedAt == nil { - var ret string - return ret - } - return *o.EndedAt -} - -// GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionSession) GetEndedAtOk() (*string, bool) { - if o == nil || o.EndedAt == nil { - return nil, false - } - return o.EndedAt, true -} - -// HasEndedAt returns a boolean if a field has been set. -func (o *VideoSessionSession) HasEndedAt() bool { - if o != nil && o.EndedAt != nil { - return true - } - - return false -} - -// SetEndedAt gets a reference to the given string and assigns it to the EndedAt field. -func (o *VideoSessionSession) SetEndedAt(v string) { - o.EndedAt = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *VideoSessionSession) GetMetadata() []Metadata { - if o == nil || o.Metadata == nil { - var ret []Metadata - return ret - } - return *o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VideoSessionSession) GetMetadataOk() (*[]Metadata, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *VideoSessionSession) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given []Metadata and assigns it to the Metadata field. -func (o *VideoSessionSession) SetMetadata(v []Metadata) { - o.Metadata = &v -} - -type NullableVideoSessionSession struct { - value *VideoSessionSession - isSet bool -} - -func (v NullableVideoSessionSession) Get() *VideoSessionSession { - return v.value -} - -func (v *NullableVideoSessionSession) Set(val *VideoSessionSession) { - v.value = val - v.isSet = true -} - -func (v NullableVideoSessionSession) IsSet() bool { - return v.isSet -} - -func (v *NullableVideoSessionSession) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVideoSessionSession(val *VideoSessionSession) *NullableVideoSessionSession { - return &NullableVideoSessionSession{value: val, isSet: true} -}