Skip to content

Commit ce56cc9

Browse files
Commit via running ake Sources/gists
1 parent 84a404e commit ce56cc9

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

Sources/gists/Types.swift

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,10 @@ public enum Components {
10721072
public var raw_url: Swift.String?
10731073
/// - Remark: Generated from `#/components/schemas/base-gist/files/additionalProperties/size`.
10741074
public var size: Swift.Int?
1075+
/// The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
1076+
///
1077+
/// - Remark: Generated from `#/components/schemas/base-gist/files/additionalProperties/encoding`.
1078+
public var encoding: Swift.String?
10751079
/// Creates a new `additionalPropertiesPayload`.
10761080
///
10771081
/// - Parameters:
@@ -1080,25 +1084,29 @@ public enum Components {
10801084
/// - language:
10811085
/// - raw_url:
10821086
/// - size:
1087+
/// - encoding: The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
10831088
public init(
10841089
filename: Swift.String? = nil,
10851090
_type: Swift.String? = nil,
10861091
language: Swift.String? = nil,
10871092
raw_url: Swift.String? = nil,
1088-
size: Swift.Int? = nil
1093+
size: Swift.Int? = nil,
1094+
encoding: Swift.String? = nil
10891095
) {
10901096
self.filename = filename
10911097
self._type = _type
10921098
self.language = language
10931099
self.raw_url = raw_url
10941100
self.size = size
1101+
self.encoding = encoding
10951102
}
10961103
public enum CodingKeys: String, CodingKey {
10971104
case filename
10981105
case _type = "type"
10991106
case language
11001107
case raw_url
11011108
case size
1109+
case encoding
11021110
}
11031111
}
11041112
/// A container of undocumented properties.
@@ -2078,6 +2086,10 @@ public enum Components {
20782086
public var truncated: Swift.Bool?
20792087
/// - Remark: Generated from `#/components/schemas/gist-simple/files/additionalProperties/content`.
20802088
public var content: Swift.String?
2089+
/// The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
2090+
///
2091+
/// - Remark: Generated from `#/components/schemas/gist-simple/files/additionalProperties/encoding`.
2092+
public var encoding: Swift.String?
20812093
/// Creates a new `additionalPropertiesPayload`.
20822094
///
20832095
/// - Parameters:
@@ -2088,14 +2100,16 @@ public enum Components {
20882100
/// - size:
20892101
/// - truncated:
20902102
/// - content:
2103+
/// - encoding: The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
20912104
public init(
20922105
filename: Swift.String? = nil,
20932106
_type: Swift.String? = nil,
20942107
language: Swift.String? = nil,
20952108
raw_url: Swift.String? = nil,
20962109
size: Swift.Int? = nil,
20972110
truncated: Swift.Bool? = nil,
2098-
content: Swift.String? = nil
2111+
content: Swift.String? = nil,
2112+
encoding: Swift.String? = nil
20992113
) {
21002114
self.filename = filename
21012115
self._type = _type
@@ -2104,6 +2118,7 @@ public enum Components {
21042118
self.size = size
21052119
self.truncated = truncated
21062120
self.content = content
2121+
self.encoding = encoding
21072122
}
21082123
public enum CodingKeys: String, CodingKey {
21092124
case filename
@@ -2113,6 +2128,7 @@ public enum Components {
21132128
case size
21142129
case truncated
21152130
case content
2131+
case encoding
21162132
}
21172133
}
21182134
/// A container of undocumented properties.

0 commit comments

Comments
 (0)