diff --git a/README.md b/README.md index 3da17f3..fa42492 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 @@ -316,7 +316,6 @@ 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) - [AnalyticsData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsData.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) - [BadRequest](https://github.com/apivideo/api.video-go-client/blob/main/docs/BadRequest.md) @@ -331,12 +330,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 +349,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..2c4215b 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: @@ -15146,7 +15095,7 @@ components: - value title: Play event analytics data type: object - analytics-plays-400-error: + unrecognized-request-url: properties: type: description: A link to the error documentation. @@ -15157,12 +15106,7 @@ components: status: description: The HTTP status code. type: integer - detail: - description: A solution for the error. - type: string - name: - description: The name of the parameter that caused the error. - type: string + title: Unrecognized request URL type: object webhooks-list-response: example: @@ -15373,124 +15317,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 +15347,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. 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/AnalyticsPlays400Error.md b/docs/AnalyticsPlays400Error.md deleted file mode 100644 index 3ca474a..0000000 --- a/docs/AnalyticsPlays400Error.md +++ /dev/null @@ -1,160 +0,0 @@ -# AnalyticsPlays400Error - -## 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] -**Detail** | Pointer to **string** | A solution for the error. | [optional] -**Name** | Pointer to **string** | The name of the parameter that caused the error. | [optional] - -## Methods - -### NewAnalyticsPlays400Error - -`func NewAnalyticsPlays400Error() *AnalyticsPlays400Error` - -NewAnalyticsPlays400Error instantiates a new AnalyticsPlays400Error 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 - -### NewAnalyticsPlays400ErrorWithDefaults - -`func NewAnalyticsPlays400ErrorWithDefaults() *AnalyticsPlays400Error` - -NewAnalyticsPlays400ErrorWithDefaults instantiates a new AnalyticsPlays400Error 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 *AnalyticsPlays400Error) GetType() string` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetType(v string)` - -SetType sets Type field to given value. - -### HasType - -`func (o *AnalyticsPlays400Error) HasType() bool` - -HasType returns a boolean if a field has been set. - -### GetTitle - -`func (o *AnalyticsPlays400Error) GetTitle() string` - -GetTitle returns the Title field if non-nil, zero value otherwise. - -### GetTitleOk - -`func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetTitle(v string)` - -SetTitle sets Title field to given value. - -### HasTitle - -`func (o *AnalyticsPlays400Error) HasTitle() bool` - -HasTitle returns a boolean if a field has been set. - -### GetStatus - -`func (o *AnalyticsPlays400Error) GetStatus() int32` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetStatus(v int32)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *AnalyticsPlays400Error) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetDetail - -`func (o *AnalyticsPlays400Error) GetDetail() string` - -GetDetail returns the Detail field if non-nil, zero value otherwise. - -### GetDetailOk - -`func (o *AnalyticsPlays400Error) GetDetailOk() (*string, bool)` - -GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDetail - -`func (o *AnalyticsPlays400Error) SetDetail(v string)` - -SetDetail sets Detail field to given value. - -### HasDetail - -`func (o *AnalyticsPlays400Error) HasDetail() bool` - -HasDetail returns a boolean if a field has been set. - -### GetName - -`func (o *AnalyticsPlays400Error) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *AnalyticsPlays400Error) HasName() bool` - -HasName 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_plays_400_error.go b/model_analytics_plays_400_error.go deleted file mode 100644 index 0992971..0000000 --- a/model_analytics_plays_400_error.go +++ /dev/null @@ -1,233 +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" -) - -// AnalyticsPlays400Error struct for AnalyticsPlays400Error -type AnalyticsPlays400Error 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"` - // A solution for the error. - Detail *string `json:"detail,omitempty"` - // The name of the parameter that caused the error. - Name *string `json:"name,omitempty"` -} - -// NewAnalyticsPlays400Error instantiates a new AnalyticsPlays400Error 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 NewAnalyticsPlays400Error() *AnalyticsPlays400Error { - this := AnalyticsPlays400Error{} - return &this -} - -// NewAnalyticsPlays400ErrorWithDefaults instantiates a new AnalyticsPlays400Error 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 NewAnalyticsPlays400ErrorWithDefaults() *AnalyticsPlays400Error { - this := AnalyticsPlays400Error{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise. -func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetType(v string) { - o.Type = &v -} - -// GetTitle returns the Title field value if set, zero value otherwise. -func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetTitle(v string) { - o.Title = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetStatus(v int32) { - o.Status = &v -} - -// GetDetail returns the Detail field value if set, zero value otherwise. -func (o *AnalyticsPlays400Error) GetDetail() string { - if o == nil || o.Detail == nil { - var ret string - return ret - } - return *o.Detail -} - -// GetDetailOk returns a tuple with the Detail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AnalyticsPlays400Error) GetDetailOk() (*string, bool) { - if o == nil || o.Detail == nil { - return nil, false - } - return o.Detail, true -} - -// HasDetail returns a boolean if a field has been set. -func (o *AnalyticsPlays400Error) HasDetail() bool { - if o != nil && o.Detail != nil { - return true - } - - return false -} - -// SetDetail gets a reference to the given string and assigns it to the Detail field. -func (o *AnalyticsPlays400Error) SetDetail(v string) { - o.Detail = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) 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 *AnalyticsPlays400Error) SetName(v string) { - o.Name = &v -} - -type NullableAnalyticsPlays400Error struct { - value *AnalyticsPlays400Error - isSet bool -} - -func (v NullableAnalyticsPlays400Error) Get() *AnalyticsPlays400Error { - return v.value -} - -func (v *NullableAnalyticsPlays400Error) Set(val *AnalyticsPlays400Error) { - v.value = val - v.isSet = true -} - -func (v NullableAnalyticsPlays400Error) IsSet() bool { - return v.isSet -} - -func (v *NullableAnalyticsPlays400Error) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAnalyticsPlays400Error(val *AnalyticsPlays400Error) *NullableAnalyticsPlays400Error { - return &NullableAnalyticsPlays400Error{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} -}