Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-compute-batch] remove examples-dir from python tspconfig #12634

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21679,7 +21679,7 @@ public Mono<Response<Void>> getTaskFilePropertiesWithResponse(String jobId, Stri
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -23801,7 +23801,7 @@ public Mono<Response<Void>> getNodeFilePropertiesWithResponse(String poolId, Str
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27501,7 +27501,7 @@ PagedFlux<BatchApplication> listApplicationsInternal(Integer timeOutInSeconds) {
*
* @param timeOutInSeconds The maximum time that the server can spend processing the request, in seconds. The
* default is 30 seconds. If the value is larger than 30, the default will be used instead.".
* @param starttime The earliest time from which to include metrics. This must be at least two and
* @param startTime The earliest time from which to include metrics. This must be at least two and
* a half hours before the current time. If not specified this defaults to the
* start time of the last aggregation interval currently available.
* @param endtime The latest time from which to include metrics. This must be at least two hours
Expand All @@ -27519,15 +27519,15 @@ PagedFlux<BatchApplication> listApplicationsInternal(Integer timeOutInSeconds) {
*/
@Generated
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux<BatchPoolUsageMetrics> listPoolUsageMetricsInternal(Integer timeOutInSeconds, OffsetDateTime starttime,
PagedFlux<BatchPoolUsageMetrics> listPoolUsageMetricsInternal(Integer timeOutInSeconds, OffsetDateTime startTime,
OffsetDateTime endtime, String filter) {
// Generated convenience method for listPoolUsageMetricsInternal
RequestOptions requestOptions = new RequestOptions();
if (timeOutInSeconds != null) {
requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds), false);
}
if (starttime != null) {
requestOptions.addQueryParam("startTime", String.valueOf(starttime), false);
if (startTime != null) {
requestOptions.addQueryParam("startTime", String.valueOf(startTime), false);
}
if (endtime != null) {
requestOptions.addQueryParam("endtime", String.valueOf(endtime), false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21510,7 +21510,7 @@ public Response<Void> getTaskFilePropertiesWithResponse(String jobId, String tas
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -23621,7 +23621,7 @@ public Response<Void> getNodeFilePropertiesWithResponse(String poolId, String no
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27070,7 +27070,7 @@ PagedIterable<BatchApplication> listApplicationsInternal(Integer timeOutInSecond
*
* @param timeOutInSeconds The maximum time that the server can spend processing the request, in seconds. The
* default is 30 seconds. If the value is larger than 30, the default will be used instead.".
* @param starttime The earliest time from which to include metrics. This must be at least two and
* @param startTime The earliest time from which to include metrics. This must be at least two and
* a half hours before the current time. If not specified this defaults to the
* start time of the last aggregation interval currently available.
* @param endtime The latest time from which to include metrics. This must be at least two hours
Expand All @@ -27090,14 +27090,14 @@ PagedIterable<BatchApplication> listApplicationsInternal(Integer timeOutInSecond
@Generated
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<BatchPoolUsageMetrics> listPoolUsageMetricsInternal(Integer timeOutInSeconds,
OffsetDateTime starttime, OffsetDateTime endtime, String filter) {
OffsetDateTime startTime, OffsetDateTime endtime, String filter) {
// Generated convenience method for listPoolUsageMetricsInternal
RequestOptions requestOptions = new RequestOptions();
if (timeOutInSeconds != null) {
requestOptions.addQueryParam("timeOut", String.valueOf(timeOutInSeconds), false);
}
if (starttime != null) {
requestOptions.addQueryParam("startTime", String.valueOf(starttime), false);
if (startTime != null) {
requestOptions.addQueryParam("startTime", String.valueOf(startTime), false);
}
if (endtime != null) {
requestOptions.addQueryParam("endtime", String.valueOf(endtime), false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24721,7 +24721,7 @@ public Response<Void> getTaskFilePropertiesInternalWithResponse(String jobId, St
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -24779,7 +24779,7 @@ private Mono<PagedResponse<BinaryData>> listTaskFilesInternalSinglePageAsync(Str
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -24856,7 +24856,7 @@ public PagedFlux<BinaryData> listTaskFilesInternalAsync(String jobId, String tas
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -24913,7 +24913,7 @@ private PagedResponse<BinaryData> listTaskFilesInternalSinglePage(String jobId,
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27591,7 +27591,7 @@ public Response<Void> getNodeFilePropertiesInternalWithResponse(String poolId, S
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27647,7 +27647,7 @@ private Mono<PagedResponse<BinaryData>> listNodeFilesInternalSinglePageAsync(Str
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27722,7 +27722,7 @@ public PagedFlux<BinaryData> listNodeFilesInternalAsync(String poolId, String no
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -27777,7 +27777,7 @@ private PagedResponse<BinaryData> listNodeFilesInternalSinglePage(String poolId,
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -32129,7 +32129,7 @@ private PagedResponse<BinaryData> listSubTasksInternalNextSinglePage(String next
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -32169,7 +32169,7 @@ private Mono<PagedResponse<BinaryData>> listTaskFilesInternalNextSinglePageAsync
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -32672,7 +32672,7 @@ private PagedResponse<BinaryData> listNodeExtensionsInternalNextSinglePage(Strin
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down Expand Up @@ -32712,7 +32712,7 @@ private Mono<PagedResponse<BinaryData>> listNodeFilesInternalNextSinglePageAsync
* properties (Optional): {
* creationTime: OffsetDateTime (Optional)
* lastModified: OffsetDateTime (Required)
* contentLength: long (Required)
* contentLength: String (Required)
* contentType: String (Optional)
* fileMode: String (Optional)
* }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public final class FileProperties implements JsonSerializable<FileProperties> {
* The length of the file.
*/
@Generated
private final long contentLength;
private final String contentLength;

/*
* The content type of the file.
Expand Down Expand Up @@ -76,7 +76,7 @@ public OffsetDateTime getLastModified() {
* @return the contentLength value.
*/
@Generated
public long getContentLength() {
public String getContentLength() {
return this.contentLength;
}

Expand All @@ -101,18 +101,6 @@ public String getFileMode() {
return this.fileMode;
}

/**
* Creates an instance of FileProperties class.
*
* @param lastModified the lastModified value to set.
* @param contentLength the contentLength value to set.
*/
@Generated
private FileProperties(OffsetDateTime lastModified, long contentLength) {
this.lastModified = lastModified;
this.contentLength = contentLength;
}

/**
* {@inheritDoc}
*/
Expand All @@ -122,7 +110,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("lastModified",
this.lastModified == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.lastModified));
jsonWriter.writeLongField("contentLength", this.contentLength);
jsonWriter.writeStringField("contentLength", this.contentLength);
jsonWriter.writeStringField("creationTime",
this.creationTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.creationTime));
jsonWriter.writeStringField("contentType", this.contentType);
Expand Down Expand Up @@ -182,4 +170,16 @@ public static FileProperties fromJson(JsonReader jsonReader) throws IOException
return deserializedFileProperties;
});
}

/**
* Creates an instance of FileProperties class.
*
* @param lastModified the lastModified value to set.
* @param contentLength the contentLength value to set.
*/
@Generated
private FileProperties(OffsetDateTime lastModified, String contentLength) {
this.lastModified = lastModified;
this.contentLength = contentLength;
}
}
Loading