Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@e49a12c9.
  • Loading branch information
APIs and Common Services team committed Feb 5, 2025
1 parent 3e74cac commit 1955d47
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 33 deletions.
10 changes: 5 additions & 5 deletions Segment.PublicApi.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{91990B46-35E1-40F6-BE41-87084A281A18}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{AD14F90F-489C-4680-82C2-8B7043C8BA92}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{91990B46-35E1-40F6-BE41-87084A281A18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91990B46-35E1-40F6-BE41-87084A281A18}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91990B46-35E1-40F6-BE41-87084A281A18}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91990B46-35E1-40F6-BE41-87084A281A18}.Release|Any CPU.Build.0 = Release|Any CPU
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD14F90F-489C-4680-82C2-8B7043C8BA92}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
16 changes: 8 additions & 8 deletions src/Segment.PublicApi/Model/CreateSourceRegulationV1Input.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public enum RegulationTypeEnum
[DataMember(Name = "regulationType", IsRequired = true, EmitDefaultValue = true)]
public RegulationTypeEnum RegulationType { get; set; }
/// <summary>
/// The subject type.
/// 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;.
/// </summary>
/// <value>The subject type.</value>
/// <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>
[JsonConverter(typeof(StringEnumConverter))]
public enum SubjectTypeEnum
{
Expand All @@ -111,9 +111,9 @@ public enum SubjectTypeEnum


/// <summary>
/// The subject type.
/// 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;.
/// </summary>
/// <value>The subject type.</value>
/// <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>
[DataMember(Name = "subjectType", IsRequired = true, EmitDefaultValue = true)]
public SubjectTypeEnum SubjectType { get; set; }
/// <summary>
Expand All @@ -125,8 +125,8 @@ protected CreateSourceRegulationV1Input() { }
/// Initializes a new instance of the <see cref="CreateSourceRegulationV1Input" /> class.
/// </summary>
/// <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>
/// <param name="subjectType">The subject type. (required).</param>
/// <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>
/// <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>
/// <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>
public CreateSourceRegulationV1Input(RegulationTypeEnum regulationType = default(RegulationTypeEnum), SubjectTypeEnum subjectType = default(SubjectTypeEnum), List<string> subjectIds = default(List<string>))
{
this.RegulationType = regulationType;
Expand All @@ -140,9 +140,9 @@ protected CreateSourceRegulationV1Input() { }
}

/// <summary>
/// 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.
/// 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.
/// </summary>
/// <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>
/// <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>
[DataMember(Name = "subjectIds", IsRequired = true, EmitDefaultValue = true)]
public List<string> SubjectIds { get; set; }

Expand Down
28 changes: 8 additions & 20 deletions src/Segment.PublicApi/Model/CreateWorkspaceRegulationV1Input.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,47 +39,41 @@ public partial class CreateWorkspaceRegulationV1Input : IEquatable<CreateWorkspa
[JsonConverter(typeof(StringEnumConverter))]
public enum RegulationTypeEnum
{
/// <summary>
/// Enum DELETEARCHIVEONLY for value: DELETE_ARCHIVE_ONLY
/// </summary>
[EnumMember(Value = "DELETE_ARCHIVE_ONLY")]
DELETEARCHIVEONLY = 1,

/// <summary>
/// Enum DELETEINTERNAL for value: DELETE_INTERNAL
/// </summary>
[EnumMember(Value = "DELETE_INTERNAL")]
DELETEINTERNAL = 2,
DELETEINTERNAL = 1,

/// <summary>
/// Enum DELETEONLY for value: DELETE_ONLY
/// </summary>
[EnumMember(Value = "DELETE_ONLY")]
DELETEONLY = 3,
DELETEONLY = 2,

/// <summary>
/// Enum SUPPRESSONLY for value: SUPPRESS_ONLY
/// </summary>
[EnumMember(Value = "SUPPRESS_ONLY")]
SUPPRESSONLY = 4,
SUPPRESSONLY = 3,

/// <summary>
/// Enum SUPPRESSWITHDELETE for value: SUPPRESS_WITH_DELETE
/// </summary>
[EnumMember(Value = "SUPPRESS_WITH_DELETE")]
SUPPRESSWITHDELETE = 5,
SUPPRESSWITHDELETE = 4,

/// <summary>
/// Enum SUPPRESSWITHDELETEINTERNAL for value: SUPPRESS_WITH_DELETE_INTERNAL
/// </summary>
[EnumMember(Value = "SUPPRESS_WITH_DELETE_INTERNAL")]
SUPPRESSWITHDELETEINTERNAL = 6,
SUPPRESSWITHDELETEINTERNAL = 5,

/// <summary>
/// Enum UNSUPPRESS for value: UNSUPPRESS
/// </summary>
[EnumMember(Value = "UNSUPPRESS")]
UNSUPPRESS = 7
UNSUPPRESS = 6
}


Expand All @@ -96,23 +90,17 @@ public enum RegulationTypeEnum
[JsonConverter(typeof(StringEnumConverter))]
public enum SubjectTypeEnum
{
/// <summary>
/// Enum ANONYMOUSID for value: ANONYMOUS_ID
/// </summary>
[EnumMember(Value = "ANONYMOUS_ID")]
ANONYMOUSID = 1,

/// <summary>
/// Enum OBJECTID for value: OBJECT_ID
/// </summary>
[EnumMember(Value = "OBJECT_ID")]
OBJECTID = 2,
OBJECTID = 1,

/// <summary>
/// Enum USERID for value: USER_ID
/// </summary>
[EnumMember(Value = "USER_ID")]
USERID = 3
USERID = 2
}


Expand Down

0 comments on commit 1955d47

Please sign in to comment.