Skip to content

Commit acd8259

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@96bc189d.
1 parent e26d60d commit acd8259

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
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", "{08B6B2F4-D6A8-4B47-BE4D-CFEF3485C986}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{C92B6DD1-F5A4-43F3-BA23-0811E315961C}"
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-
{08B6B2F4-D6A8-4B47-BE4D-CFEF3485C986}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{08B6B2F4-D6A8-4B47-BE4D-CFEF3485C986}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{08B6B2F4-D6A8-4B47-BE4D-CFEF3485C986}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{08B6B2F4-D6A8-4B47-BE4D-CFEF3485C986}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{C92B6DD1-F5A4-43F3-BA23-0811E315961C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{C92B6DD1-F5A4-43F3-BA23-0811E315961C}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{C92B6DD1-F5A4-43F3-BA23-0811E315961C}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{C92B6DD1-F5A4-43F3-BA23-0811E315961C}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

src/Segment.PublicApi/Model/CreateDownloadAlphaInput.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ protected CreateDownloadAlphaInput() { }
4242
/// </summary>
4343
/// <param name="collectionId">The collection&#39;s unique id. (required).</param>
4444
/// <param name="workspaceId">The Workspace id for the collection. (required).</param>
45-
/// <param name="startTime">The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently, there is a month of data retained. (required).</param>
46-
public CreateDownloadAlphaInput(string collectionId = default(string), string workspaceId = default(string), string startTime = default(string))
45+
/// <param name="hour">The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained. (required).</param>
46+
public CreateDownloadAlphaInput(string collectionId = default(string), string workspaceId = default(string), string hour = default(string))
4747
{
4848
// to ensure "collectionId" is required (not null)
4949
if (collectionId == null)
@@ -57,12 +57,12 @@ protected CreateDownloadAlphaInput() { }
5757
throw new ArgumentNullException("workspaceId is a required property for CreateDownloadAlphaInput and cannot be null");
5858
}
5959
this.WorkspaceId = workspaceId;
60-
// to ensure "startTime" is required (not null)
61-
if (startTime == null)
60+
// to ensure "hour" is required (not null)
61+
if (hour == null)
6262
{
63-
throw new ArgumentNullException("startTime is a required property for CreateDownloadAlphaInput and cannot be null");
63+
throw new ArgumentNullException("hour is a required property for CreateDownloadAlphaInput and cannot be null");
6464
}
65-
this.StartTime = startTime;
65+
this.Hour = hour;
6666
}
6767

6868
/// <summary>
@@ -80,11 +80,11 @@ protected CreateDownloadAlphaInput() { }
8080
public string WorkspaceId { get; set; }
8181

8282
/// <summary>
83-
/// The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently, there is a month of data retained.
83+
/// The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained.
8484
/// </summary>
85-
/// <value>The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently, there is a month of data retained.</value>
86-
[DataMember(Name = "startTime", IsRequired = true, EmitDefaultValue = true)]
87-
public string StartTime { get; set; }
85+
/// <value>The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained.</value>
86+
[DataMember(Name = "hour", IsRequired = true, EmitDefaultValue = true)]
87+
public string Hour { get; set; }
8888

8989
/// <summary>
9090
/// Returns the string presentation of the object
@@ -96,7 +96,7 @@ public override string ToString()
9696
sb.Append("class CreateDownloadAlphaInput {\n");
9797
sb.Append(" CollectionId: ").Append(CollectionId).Append("\n");
9898
sb.Append(" WorkspaceId: ").Append(WorkspaceId).Append("\n");
99-
sb.Append(" StartTime: ").Append(StartTime).Append("\n");
99+
sb.Append(" Hour: ").Append(Hour).Append("\n");
100100
sb.Append("}\n");
101101
return sb.ToString();
102102
}
@@ -143,9 +143,9 @@ public bool Equals(CreateDownloadAlphaInput input)
143143
this.WorkspaceId.Equals(input.WorkspaceId))
144144
) &&
145145
(
146-
this.StartTime == input.StartTime ||
147-
(this.StartTime != null &&
148-
this.StartTime.Equals(input.StartTime))
146+
this.Hour == input.Hour ||
147+
(this.Hour != null &&
148+
this.Hour.Equals(input.Hour))
149149
);
150150
}
151151

@@ -166,9 +166,9 @@ public override int GetHashCode()
166166
{
167167
hashCode = (hashCode * 59) + this.WorkspaceId.GetHashCode();
168168
}
169-
if (this.StartTime != null)
169+
if (this.Hour != null)
170170
{
171-
hashCode = (hashCode * 59) + this.StartTime.GetHashCode();
171+
hashCode = (hashCode * 59) + this.Hour.GetHashCode();
172172
}
173173
return hashCode;
174174
}

0 commit comments

Comments
 (0)