1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5type ApprovalState string
6
7// Enum values for ApprovalState
8const (
9	ApprovalStateApprove ApprovalState = "APPROVE"
10	ApprovalStateRevoke  ApprovalState = "REVOKE"
11)
12
13// Values returns all known values for ApprovalState. Note that this can be
14// expanded in the future, and so it is only as up to date as the client. The
15// ordering of this slice is not guaranteed to be stable across updates.
16func (ApprovalState) Values() []ApprovalState {
17	return []ApprovalState{
18		"APPROVE",
19		"REVOKE",
20	}
21}
22
23type ChangeTypeEnum string
24
25// Enum values for ChangeTypeEnum
26const (
27	ChangeTypeEnumAdded    ChangeTypeEnum = "A"
28	ChangeTypeEnumModified ChangeTypeEnum = "M"
29	ChangeTypeEnumDeleted  ChangeTypeEnum = "D"
30)
31
32// Values returns all known values for ChangeTypeEnum. Note that this can be
33// expanded in the future, and so it is only as up to date as the client. The
34// ordering of this slice is not guaranteed to be stable across updates.
35func (ChangeTypeEnum) Values() []ChangeTypeEnum {
36	return []ChangeTypeEnum{
37		"A",
38		"M",
39		"D",
40	}
41}
42
43type ConflictDetailLevelTypeEnum string
44
45// Enum values for ConflictDetailLevelTypeEnum
46const (
47	ConflictDetailLevelTypeEnumFileLevel ConflictDetailLevelTypeEnum = "FILE_LEVEL"
48	ConflictDetailLevelTypeEnumLineLevel ConflictDetailLevelTypeEnum = "LINE_LEVEL"
49)
50
51// Values returns all known values for ConflictDetailLevelTypeEnum. Note that this
52// can be expanded in the future, and so it is only as up to date as the client.
53// The ordering of this slice is not guaranteed to be stable across updates.
54func (ConflictDetailLevelTypeEnum) Values() []ConflictDetailLevelTypeEnum {
55	return []ConflictDetailLevelTypeEnum{
56		"FILE_LEVEL",
57		"LINE_LEVEL",
58	}
59}
60
61type ConflictResolutionStrategyTypeEnum string
62
63// Enum values for ConflictResolutionStrategyTypeEnum
64const (
65	ConflictResolutionStrategyTypeEnumNone              ConflictResolutionStrategyTypeEnum = "NONE"
66	ConflictResolutionStrategyTypeEnumAcceptSource      ConflictResolutionStrategyTypeEnum = "ACCEPT_SOURCE"
67	ConflictResolutionStrategyTypeEnumAcceptDestination ConflictResolutionStrategyTypeEnum = "ACCEPT_DESTINATION"
68	ConflictResolutionStrategyTypeEnumAutomerge         ConflictResolutionStrategyTypeEnum = "AUTOMERGE"
69)
70
71// Values returns all known values for ConflictResolutionStrategyTypeEnum. Note
72// that this can be expanded in the future, and so it is only as up to date as the
73// client. The ordering of this slice is not guaranteed to be stable across
74// updates.
75func (ConflictResolutionStrategyTypeEnum) Values() []ConflictResolutionStrategyTypeEnum {
76	return []ConflictResolutionStrategyTypeEnum{
77		"NONE",
78		"ACCEPT_SOURCE",
79		"ACCEPT_DESTINATION",
80		"AUTOMERGE",
81	}
82}
83
84type FileModeTypeEnum string
85
86// Enum values for FileModeTypeEnum
87const (
88	FileModeTypeEnumExecutable FileModeTypeEnum = "EXECUTABLE"
89	FileModeTypeEnumNormal     FileModeTypeEnum = "NORMAL"
90	FileModeTypeEnumSymlink    FileModeTypeEnum = "SYMLINK"
91)
92
93// Values returns all known values for FileModeTypeEnum. Note that this can be
94// expanded in the future, and so it is only as up to date as the client. The
95// ordering of this slice is not guaranteed to be stable across updates.
96func (FileModeTypeEnum) Values() []FileModeTypeEnum {
97	return []FileModeTypeEnum{
98		"EXECUTABLE",
99		"NORMAL",
100		"SYMLINK",
101	}
102}
103
104type MergeOptionTypeEnum string
105
106// Enum values for MergeOptionTypeEnum
107const (
108	MergeOptionTypeEnumFastForwardMerge MergeOptionTypeEnum = "FAST_FORWARD_MERGE"
109	MergeOptionTypeEnumSquashMerge      MergeOptionTypeEnum = "SQUASH_MERGE"
110	MergeOptionTypeEnumThreeWayMerge    MergeOptionTypeEnum = "THREE_WAY_MERGE"
111)
112
113// Values returns all known values for MergeOptionTypeEnum. Note that this can be
114// expanded in the future, and so it is only as up to date as the client. The
115// ordering of this slice is not guaranteed to be stable across updates.
116func (MergeOptionTypeEnum) Values() []MergeOptionTypeEnum {
117	return []MergeOptionTypeEnum{
118		"FAST_FORWARD_MERGE",
119		"SQUASH_MERGE",
120		"THREE_WAY_MERGE",
121	}
122}
123
124type ObjectTypeEnum string
125
126// Enum values for ObjectTypeEnum
127const (
128	ObjectTypeEnumFile         ObjectTypeEnum = "FILE"
129	ObjectTypeEnumDirectory    ObjectTypeEnum = "DIRECTORY"
130	ObjectTypeEnumGitLink      ObjectTypeEnum = "GIT_LINK"
131	ObjectTypeEnumSymbolicLink ObjectTypeEnum = "SYMBOLIC_LINK"
132)
133
134// Values returns all known values for ObjectTypeEnum. Note that this can be
135// expanded in the future, and so it is only as up to date as the client. The
136// ordering of this slice is not guaranteed to be stable across updates.
137func (ObjectTypeEnum) Values() []ObjectTypeEnum {
138	return []ObjectTypeEnum{
139		"FILE",
140		"DIRECTORY",
141		"GIT_LINK",
142		"SYMBOLIC_LINK",
143	}
144}
145
146type OrderEnum string
147
148// Enum values for OrderEnum
149const (
150	OrderEnumAscending  OrderEnum = "ascending"
151	OrderEnumDescending OrderEnum = "descending"
152)
153
154// Values returns all known values for OrderEnum. Note that this can be expanded in
155// the future, and so it is only as up to date as the client. The ordering of this
156// slice is not guaranteed to be stable across updates.
157func (OrderEnum) Values() []OrderEnum {
158	return []OrderEnum{
159		"ascending",
160		"descending",
161	}
162}
163
164type OverrideStatus string
165
166// Enum values for OverrideStatus
167const (
168	OverrideStatusOverride OverrideStatus = "OVERRIDE"
169	OverrideStatusRevoke   OverrideStatus = "REVOKE"
170)
171
172// Values returns all known values for OverrideStatus. Note that this can be
173// expanded in the future, and so it is only as up to date as the client. The
174// ordering of this slice is not guaranteed to be stable across updates.
175func (OverrideStatus) Values() []OverrideStatus {
176	return []OverrideStatus{
177		"OVERRIDE",
178		"REVOKE",
179	}
180}
181
182type PullRequestEventType string
183
184// Enum values for PullRequestEventType
185const (
186	PullRequestEventTypePullRequestCreated                PullRequestEventType = "PULL_REQUEST_CREATED"
187	PullRequestEventTypePullRequestStatusChanged          PullRequestEventType = "PULL_REQUEST_STATUS_CHANGED"
188	PullRequestEventTypePullRequestSourceReferenceUpdated PullRequestEventType = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"
189	PullRequestEventTypePullRequestMergeStateChanged      PullRequestEventType = "PULL_REQUEST_MERGE_STATE_CHANGED"
190	PullRequestEventTypePullRequestApprovalRuleCreated    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_CREATED"
191	PullRequestEventTypePullRequestApprovalRuleUpdated    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_UPDATED"
192	PullRequestEventTypePullRequestApprovalRuleDeleted    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_DELETED"
193	PullRequestEventTypePullRequestApprovalRuleOverridden PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"
194	PullRequestEventTypePullRequestApprovalStateChanged   PullRequestEventType = "PULL_REQUEST_APPROVAL_STATE_CHANGED"
195)
196
197// Values returns all known values for PullRequestEventType. Note that this can be
198// expanded in the future, and so it is only as up to date as the client. The
199// ordering of this slice is not guaranteed to be stable across updates.
200func (PullRequestEventType) Values() []PullRequestEventType {
201	return []PullRequestEventType{
202		"PULL_REQUEST_CREATED",
203		"PULL_REQUEST_STATUS_CHANGED",
204		"PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
205		"PULL_REQUEST_MERGE_STATE_CHANGED",
206		"PULL_REQUEST_APPROVAL_RULE_CREATED",
207		"PULL_REQUEST_APPROVAL_RULE_UPDATED",
208		"PULL_REQUEST_APPROVAL_RULE_DELETED",
209		"PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
210		"PULL_REQUEST_APPROVAL_STATE_CHANGED",
211	}
212}
213
214type PullRequestStatusEnum string
215
216// Enum values for PullRequestStatusEnum
217const (
218	PullRequestStatusEnumOpen   PullRequestStatusEnum = "OPEN"
219	PullRequestStatusEnumClosed PullRequestStatusEnum = "CLOSED"
220)
221
222// Values returns all known values for PullRequestStatusEnum. Note that this can be
223// expanded in the future, and so it is only as up to date as the client. The
224// ordering of this slice is not guaranteed to be stable across updates.
225func (PullRequestStatusEnum) Values() []PullRequestStatusEnum {
226	return []PullRequestStatusEnum{
227		"OPEN",
228		"CLOSED",
229	}
230}
231
232type RelativeFileVersionEnum string
233
234// Enum values for RelativeFileVersionEnum
235const (
236	RelativeFileVersionEnumBefore RelativeFileVersionEnum = "BEFORE"
237	RelativeFileVersionEnumAfter  RelativeFileVersionEnum = "AFTER"
238)
239
240// Values returns all known values for RelativeFileVersionEnum. Note that this can
241// be expanded in the future, and so it is only as up to date as the client. The
242// ordering of this slice is not guaranteed to be stable across updates.
243func (RelativeFileVersionEnum) Values() []RelativeFileVersionEnum {
244	return []RelativeFileVersionEnum{
245		"BEFORE",
246		"AFTER",
247	}
248}
249
250type ReplacementTypeEnum string
251
252// Enum values for ReplacementTypeEnum
253const (
254	ReplacementTypeEnumKeepBase        ReplacementTypeEnum = "KEEP_BASE"
255	ReplacementTypeEnumKeepSource      ReplacementTypeEnum = "KEEP_SOURCE"
256	ReplacementTypeEnumKeepDestination ReplacementTypeEnum = "KEEP_DESTINATION"
257	ReplacementTypeEnumUseNewContent   ReplacementTypeEnum = "USE_NEW_CONTENT"
258)
259
260// Values returns all known values for ReplacementTypeEnum. Note that this can be
261// expanded in the future, and so it is only as up to date as the client. The
262// ordering of this slice is not guaranteed to be stable across updates.
263func (ReplacementTypeEnum) Values() []ReplacementTypeEnum {
264	return []ReplacementTypeEnum{
265		"KEEP_BASE",
266		"KEEP_SOURCE",
267		"KEEP_DESTINATION",
268		"USE_NEW_CONTENT",
269	}
270}
271
272type RepositoryTriggerEventEnum string
273
274// Enum values for RepositoryTriggerEventEnum
275const (
276	RepositoryTriggerEventEnumAll             RepositoryTriggerEventEnum = "all"
277	RepositoryTriggerEventEnumUpdateReference RepositoryTriggerEventEnum = "updateReference"
278	RepositoryTriggerEventEnumCreateReference RepositoryTriggerEventEnum = "createReference"
279	RepositoryTriggerEventEnumDeleteReference RepositoryTriggerEventEnum = "deleteReference"
280)
281
282// Values returns all known values for RepositoryTriggerEventEnum. Note that this
283// can be expanded in the future, and so it is only as up to date as the client.
284// The ordering of this slice is not guaranteed to be stable across updates.
285func (RepositoryTriggerEventEnum) Values() []RepositoryTriggerEventEnum {
286	return []RepositoryTriggerEventEnum{
287		"all",
288		"updateReference",
289		"createReference",
290		"deleteReference",
291	}
292}
293
294type SortByEnum string
295
296// Enum values for SortByEnum
297const (
298	SortByEnumRepositoryName SortByEnum = "repositoryName"
299	SortByEnumModifiedDate   SortByEnum = "lastModifiedDate"
300)
301
302// Values returns all known values for SortByEnum. Note that this can be expanded
303// in the future, and so it is only as up to date as the client. The ordering of
304// this slice is not guaranteed to be stable across updates.
305func (SortByEnum) Values() []SortByEnum {
306	return []SortByEnum{
307		"repositoryName",
308		"lastModifiedDate",
309	}
310}
311