-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
249741c
commit 0c8d779
Showing
45 changed files
with
1,207 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// Copyright © 2024 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public final class Bound: @unchecked Sendable, Codable, JSONEncodable, Hashable { | ||
|
||
public var inclusive: Bool | ||
public var value: Float | ||
|
||
public init(inclusive: Bool, value: Float) { | ||
self.inclusive = inclusive | ||
self.value = value | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case inclusive | ||
case value | ||
} | ||
|
||
public static func == (lhs: Bound, rhs: Bound) -> Bool { | ||
lhs.inclusive == rhs.inclusive && | ||
lhs.value == rhs.value | ||
} | ||
|
||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(inclusive) | ||
hasher.combine(value) | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Sources/StreamVideo/OpenApi/generated/Models/CallDurationReport.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Copyright © 2024 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public final class CallDurationReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { | ||
|
||
public var histogram: [ReportByHistogramBucket] | ||
|
||
public init(histogram: [ReportByHistogramBucket]) { | ||
self.histogram = histogram | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case histogram | ||
} | ||
|
||
public static func == (lhs: CallDurationReport, rhs: CallDurationReport) -> Bool { | ||
lhs.histogram == rhs.histogram | ||
} | ||
|
||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(histogram) | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Sources/StreamVideo/OpenApi/generated/Models/CallDurationReportResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Copyright © 2024 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public final class CallDurationReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { | ||
|
||
public var daily: [DailyAggregateCallDurationReportResponse] | ||
|
||
public init(daily: [DailyAggregateCallDurationReportResponse]) { | ||
self.daily = daily | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case daily | ||
} | ||
|
||
public static func == (lhs: CallDurationReportResponse, rhs: CallDurationReportResponse) -> Bool { | ||
lhs.daily == rhs.daily | ||
} | ||
|
||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(daily) | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReport.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Copyright © 2024 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public final class CallParticipantCountReport: @unchecked Sendable, Codable, JSONEncodable, Hashable { | ||
|
||
public var histogram: [ReportByHistogramBucket] | ||
|
||
public init(histogram: [ReportByHistogramBucket]) { | ||
self.histogram = histogram | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case histogram | ||
} | ||
|
||
public static func == (lhs: CallParticipantCountReport, rhs: CallParticipantCountReport) -> Bool { | ||
lhs.histogram == rhs.histogram | ||
} | ||
|
||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(histogram) | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Sources/StreamVideo/OpenApi/generated/Models/CallParticipantCountReportResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Copyright © 2024 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public final class CallParticipantCountReportResponse: @unchecked Sendable, Codable, JSONEncodable, Hashable { | ||
|
||
public var daily: [DailyAggregateCallParticipantCountReportResponse] | ||
|
||
public init(daily: [DailyAggregateCallParticipantCountReportResponse]) { | ||
self.daily = daily | ||
} | ||
|
||
public enum CodingKeys: String, CodingKey, CaseIterable { | ||
case daily | ||
} | ||
|
||
public static func == (lhs: CallParticipantCountReportResponse, rhs: CallParticipantCountReportResponse) -> Bool { | ||
lhs.daily == rhs.daily | ||
} | ||
|
||
public func hash(into hasher: inout Hasher) { | ||
hasher.combine(daily) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.