Skip to content

Commit 1955d47

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@e49a12c9.
1 parent 3e74cac commit 1955d47

File tree

3 files changed

+21
-33
lines changed

3 files changed

+21
-33
lines changed

Segment.PublicApi.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{91990B46-35E1-40F6-BE41-87084A281A18}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{AD14F90F-489C-4680-82C2-8B7043C8BA92}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
1010
Release|Any CPU = Release|Any CPU
1111
EndGlobalSection
1212
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13-
{91990B46-35E1-40F6-BE41-87084A281A18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{91990B46-35E1-40F6-BE41-87084A281A18}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{91990B46-35E1-40F6-BE41-87084A281A18}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{91990B46-35E1-40F6-BE41-87084A281A18}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

src/Segment.PublicApi/Model/CreateSourceRegulationV1Input.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public enum RegulationTypeEnum
9090
[DataMember(Name = "regulationType", IsRequired = true, EmitDefaultValue = true)]
9191
public RegulationTypeEnum RegulationType { get; set; }
9292
/// <summary>
93-
/// The subject type.
93+
/// The subject type. Note: &#x60;ANONYMOUS_ID&#x60; is only supported for limited Workspaces for Source-scoped regulations. &#x60;ANONYMOUS_ID&#x60; is only supported when regulationType is &#x60;DELETE_ARCHIVE_ONLY&#x60;.
9494
/// </summary>
95-
/// <value>The subject type.</value>
95+
/// <value>The subject type. Note: &#x60;ANONYMOUS_ID&#x60; is only supported for limited Workspaces for Source-scoped regulations. &#x60;ANONYMOUS_ID&#x60; is only supported when regulationType is &#x60;DELETE_ARCHIVE_ONLY&#x60;.</value>
9696
[JsonConverter(typeof(StringEnumConverter))]
9797
public enum SubjectTypeEnum
9898
{
@@ -111,9 +111,9 @@ public enum SubjectTypeEnum
111111

112112

113113
/// <summary>
114-
/// The subject type.
114+
/// The subject type. Note: &#x60;ANONYMOUS_ID&#x60; is only supported for limited Workspaces for Source-scoped regulations. &#x60;ANONYMOUS_ID&#x60; is only supported when regulationType is &#x60;DELETE_ARCHIVE_ONLY&#x60;.
115115
/// </summary>
116-
/// <value>The subject type.</value>
116+
/// <value>The subject type. Note: &#x60;ANONYMOUS_ID&#x60; is only supported for limited Workspaces for Source-scoped regulations. &#x60;ANONYMOUS_ID&#x60; is only supported when regulationType is &#x60;DELETE_ARCHIVE_ONLY&#x60;.</value>
117117
[DataMember(Name = "subjectType", IsRequired = true, EmitDefaultValue = true)]
118118
public SubjectTypeEnum SubjectType { get; set; }
119119
/// <summary>
@@ -125,8 +125,8 @@ protected CreateSourceRegulationV1Input() { }
125125
/// Initializes a new instance of the <see cref="CreateSourceRegulationV1Input" /> class.
126126
/// </summary>
127127
/// <param name="regulationType">The regulation type to create. Please note that &#x60;DELETE_ARCHIVE_ONLY&#x60; is only supported for limited Workspaces for Source-scoped regulations. (required).</param>
128-
/// <param name="subjectType">The subject type. (required).</param>
129-
/// <param name="subjectIds">The list of &#x60;userId&#x60; or &#x60;objectId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array. (required).</param>
128+
/// <param name="subjectType">The subject type. Note: &#x60;ANONYMOUS_ID&#x60; is only supported for limited Workspaces for Source-scoped regulations. &#x60;ANONYMOUS_ID&#x60; is only supported when regulationType is &#x60;DELETE_ARCHIVE_ONLY&#x60;. (required).</param>
129+
/// <param name="subjectIds">The list of &#x60;userId&#x60; or &#x60;objectId&#x60; or &#x60;anonymousId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array. (required).</param>
130130
public CreateSourceRegulationV1Input(RegulationTypeEnum regulationType = default(RegulationTypeEnum), SubjectTypeEnum subjectType = default(SubjectTypeEnum), List<string> subjectIds = default(List<string>))
131131
{
132132
this.RegulationType = regulationType;
@@ -140,9 +140,9 @@ protected CreateSourceRegulationV1Input() { }
140140
}
141141

142142
/// <summary>
143-
/// The list of &#x60;userId&#x60; or &#x60;objectId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array.
143+
/// The list of &#x60;userId&#x60; or &#x60;objectId&#x60; or &#x60;anonymousId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array.
144144
/// </summary>
145-
/// <value>The list of &#x60;userId&#x60; or &#x60;objectId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array.</value>
145+
/// <value>The list of &#x60;userId&#x60; or &#x60;objectId&#x60; or &#x60;anonymousId&#x60; values of the subjects to regulate. Config API note: equal to &#x60;parent&#x60; but allows an array.</value>
146146
[DataMember(Name = "subjectIds", IsRequired = true, EmitDefaultValue = true)]
147147
public List<string> SubjectIds { get; set; }
148148

src/Segment.PublicApi/Model/CreateWorkspaceRegulationV1Input.cs

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,47 +39,41 @@ public partial class CreateWorkspaceRegulationV1Input : IEquatable<CreateWorkspa
3939
[JsonConverter(typeof(StringEnumConverter))]
4040
public enum RegulationTypeEnum
4141
{
42-
/// <summary>
43-
/// Enum DELETEARCHIVEONLY for value: DELETE_ARCHIVE_ONLY
44-
/// </summary>
45-
[EnumMember(Value = "DELETE_ARCHIVE_ONLY")]
46-
DELETEARCHIVEONLY = 1,
47-
4842
/// <summary>
4943
/// Enum DELETEINTERNAL for value: DELETE_INTERNAL
5044
/// </summary>
5145
[EnumMember(Value = "DELETE_INTERNAL")]
52-
DELETEINTERNAL = 2,
46+
DELETEINTERNAL = 1,
5347

5448
/// <summary>
5549
/// Enum DELETEONLY for value: DELETE_ONLY
5650
/// </summary>
5751
[EnumMember(Value = "DELETE_ONLY")]
58-
DELETEONLY = 3,
52+
DELETEONLY = 2,
5953

6054
/// <summary>
6155
/// Enum SUPPRESSONLY for value: SUPPRESS_ONLY
6256
/// </summary>
6357
[EnumMember(Value = "SUPPRESS_ONLY")]
64-
SUPPRESSONLY = 4,
58+
SUPPRESSONLY = 3,
6559

6660
/// <summary>
6761
/// Enum SUPPRESSWITHDELETE for value: SUPPRESS_WITH_DELETE
6862
/// </summary>
6963
[EnumMember(Value = "SUPPRESS_WITH_DELETE")]
70-
SUPPRESSWITHDELETE = 5,
64+
SUPPRESSWITHDELETE = 4,
7165

7266
/// <summary>
7367
/// Enum SUPPRESSWITHDELETEINTERNAL for value: SUPPRESS_WITH_DELETE_INTERNAL
7468
/// </summary>
7569
[EnumMember(Value = "SUPPRESS_WITH_DELETE_INTERNAL")]
76-
SUPPRESSWITHDELETEINTERNAL = 6,
70+
SUPPRESSWITHDELETEINTERNAL = 5,
7771

7872
/// <summary>
7973
/// Enum UNSUPPRESS for value: UNSUPPRESS
8074
/// </summary>
8175
[EnumMember(Value = "UNSUPPRESS")]
82-
UNSUPPRESS = 7
76+
UNSUPPRESS = 6
8377
}
8478

8579

@@ -96,23 +90,17 @@ public enum RegulationTypeEnum
9690
[JsonConverter(typeof(StringEnumConverter))]
9791
public enum SubjectTypeEnum
9892
{
99-
/// <summary>
100-
/// Enum ANONYMOUSID for value: ANONYMOUS_ID
101-
/// </summary>
102-
[EnumMember(Value = "ANONYMOUS_ID")]
103-
ANONYMOUSID = 1,
104-
10593
/// <summary>
10694
/// Enum OBJECTID for value: OBJECT_ID
10795
/// </summary>
10896
[EnumMember(Value = "OBJECT_ID")]
109-
OBJECTID = 2,
97+
OBJECTID = 1,
11098

11199
/// <summary>
112100
/// Enum USERID for value: USER_ID
113101
/// </summary>
114102
[EnumMember(Value = "USER_ID")]
115-
USERID = 3
103+
USERID = 2
116104
}
117105

118106

0 commit comments

Comments
 (0)