Skip to content
Merged
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
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-blob/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/storage/azure-storage-blob",
"Tag": "java/storage/azure-storage-blob_494b72fca7"
"Tag": "java/storage/azure-storage-blob_802f7f8947"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.storage.blob.implementation.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Generated;
import com.azure.core.http.HttpHeaderName;
import com.azure.core.http.HttpHeaders;
import com.azure.core.util.DateTimeRfc1123;
import java.time.OffsetDateTime;

/**
* The ContainersListBlobFlatSegmentApacheArrowHeaders model.
*/
@Fluent
public final class ContainersListBlobFlatSegmentApacheArrowHeaders {
/*
* The Content-Type property.
*/
@Generated
private String contentType;

/*
* The x-ms-client-request-id property.
*/
@Generated
private String xMsClientRequestId;

/*
* The x-ms-request-id property.
*/
@Generated
private String xMsRequestId;

/*
* The x-ms-version property.
*/
@Generated
private String xMsVersion;

/*
* The Date property.
*/
@Generated
private DateTimeRfc1123 date;

private static final HttpHeaderName X_MS_VERSION = HttpHeaderName.fromString("x-ms-version");

// HttpHeaders containing the raw property values.
/**
* Creates an instance of ContainersListBlobFlatSegmentApacheArrowHeaders class.
*
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
*/
public ContainersListBlobFlatSegmentApacheArrowHeaders(HttpHeaders rawHeaders) {
this.contentType = rawHeaders.getValue(HttpHeaderName.CONTENT_TYPE);
this.xMsClientRequestId = rawHeaders.getValue(HttpHeaderName.X_MS_CLIENT_REQUEST_ID);
this.xMsRequestId = rawHeaders.getValue(HttpHeaderName.X_MS_REQUEST_ID);
this.xMsVersion = rawHeaders.getValue(X_MS_VERSION);
String date = rawHeaders.getValue(HttpHeaderName.DATE);
if (date != null) {
this.date = new DateTimeRfc1123(date);
} else {
this.date = null;
}
}

/**
* Get the contentType property: The Content-Type property.
*
* @return the contentType value.
*/
@Generated
public String getContentType() {
return this.contentType;
}

/**
* Set the contentType property: The Content-Type property.
*
* @param contentType the contentType value to set.
* @return the ContainersListBlobFlatSegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobFlatSegmentApacheArrowHeaders setContentType(String contentType) {
this.contentType = contentType;
return this;
}

/**
* Get the xMsClientRequestId property: The x-ms-client-request-id property.
*
* @return the xMsClientRequestId value.
*/
@Generated
public String getXMsClientRequestId() {
return this.xMsClientRequestId;
}

/**
* Set the xMsClientRequestId property: The x-ms-client-request-id property.
*
* @param xMsClientRequestId the xMsClientRequestId value to set.
* @return the ContainersListBlobFlatSegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobFlatSegmentApacheArrowHeaders setXMsClientRequestId(String xMsClientRequestId) {
this.xMsClientRequestId = xMsClientRequestId;
return this;
}

/**
* Get the xMsRequestId property: The x-ms-request-id property.
*
* @return the xMsRequestId value.
*/
@Generated
public String getXMsRequestId() {
return this.xMsRequestId;
}

/**
* Set the xMsRequestId property: The x-ms-request-id property.
*
* @param xMsRequestId the xMsRequestId value to set.
* @return the ContainersListBlobFlatSegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobFlatSegmentApacheArrowHeaders setXMsRequestId(String xMsRequestId) {
this.xMsRequestId = xMsRequestId;
return this;
}

/**
* Get the xMsVersion property: The x-ms-version property.
*
* @return the xMsVersion value.
*/
@Generated
public String getXMsVersion() {
return this.xMsVersion;
}

/**
* Set the xMsVersion property: The x-ms-version property.
*
* @param xMsVersion the xMsVersion value to set.
* @return the ContainersListBlobFlatSegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobFlatSegmentApacheArrowHeaders setXMsVersion(String xMsVersion) {
this.xMsVersion = xMsVersion;
return this;
}

/**
* Get the date property: The Date property.
*
* @return the date value.
*/
@Generated
public OffsetDateTime getDate() {
if (this.date == null) {
return null;
}
return this.date.getDateTime();
}

/**
* Set the date property: The Date property.
*
* @param date the date value to set.
* @return the ContainersListBlobFlatSegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobFlatSegmentApacheArrowHeaders setDate(OffsetDateTime date) {
if (date == null) {
this.date = null;
} else {
this.date = new DateTimeRfc1123(date);
}
return this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.storage.blob.implementation.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Generated;
import com.azure.core.http.HttpHeaderName;
import com.azure.core.http.HttpHeaders;
import com.azure.core.util.DateTimeRfc1123;
import java.time.OffsetDateTime;

/**
* The ContainersListBlobHierarchySegmentApacheArrowHeaders model.
*/
@Fluent
public final class ContainersListBlobHierarchySegmentApacheArrowHeaders {
/*
* The Content-Type property.
*/
@Generated
private String contentType;

/*
* The x-ms-client-request-id property.
*/
@Generated
private String xMsClientRequestId;

/*
* The x-ms-request-id property.
*/
@Generated
private String xMsRequestId;

/*
* The x-ms-version property.
*/
@Generated
private String xMsVersion;

/*
* The Date property.
*/
@Generated
private DateTimeRfc1123 date;

private static final HttpHeaderName X_MS_VERSION = HttpHeaderName.fromString("x-ms-version");

// HttpHeaders containing the raw property values.
/**
* Creates an instance of ContainersListBlobHierarchySegmentApacheArrowHeaders class.
*
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
*/
public ContainersListBlobHierarchySegmentApacheArrowHeaders(HttpHeaders rawHeaders) {
this.contentType = rawHeaders.getValue(HttpHeaderName.CONTENT_TYPE);
this.xMsClientRequestId = rawHeaders.getValue(HttpHeaderName.X_MS_CLIENT_REQUEST_ID);
this.xMsRequestId = rawHeaders.getValue(HttpHeaderName.X_MS_REQUEST_ID);
this.xMsVersion = rawHeaders.getValue(X_MS_VERSION);
String date = rawHeaders.getValue(HttpHeaderName.DATE);
if (date != null) {
this.date = new DateTimeRfc1123(date);
} else {
this.date = null;
}
}

/**
* Get the contentType property: The Content-Type property.
*
* @return the contentType value.
*/
@Generated
public String getContentType() {
return this.contentType;
}

/**
* Set the contentType property: The Content-Type property.
*
* @param contentType the contentType value to set.
* @return the ContainersListBlobHierarchySegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobHierarchySegmentApacheArrowHeaders setContentType(String contentType) {
this.contentType = contentType;
return this;
}

/**
* Get the xMsClientRequestId property: The x-ms-client-request-id property.
*
* @return the xMsClientRequestId value.
*/
@Generated
public String getXMsClientRequestId() {
return this.xMsClientRequestId;
}

/**
* Set the xMsClientRequestId property: The x-ms-client-request-id property.
*
* @param xMsClientRequestId the xMsClientRequestId value to set.
* @return the ContainersListBlobHierarchySegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobHierarchySegmentApacheArrowHeaders setXMsClientRequestId(String xMsClientRequestId) {
this.xMsClientRequestId = xMsClientRequestId;
return this;
}

/**
* Get the xMsRequestId property: The x-ms-request-id property.
*
* @return the xMsRequestId value.
*/
@Generated
public String getXMsRequestId() {
return this.xMsRequestId;
}

/**
* Set the xMsRequestId property: The x-ms-request-id property.
*
* @param xMsRequestId the xMsRequestId value to set.
* @return the ContainersListBlobHierarchySegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobHierarchySegmentApacheArrowHeaders setXMsRequestId(String xMsRequestId) {
this.xMsRequestId = xMsRequestId;
return this;
}

/**
* Get the xMsVersion property: The x-ms-version property.
*
* @return the xMsVersion value.
*/
@Generated
public String getXMsVersion() {
return this.xMsVersion;
}

/**
* Set the xMsVersion property: The x-ms-version property.
*
* @param xMsVersion the xMsVersion value to set.
* @return the ContainersListBlobHierarchySegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobHierarchySegmentApacheArrowHeaders setXMsVersion(String xMsVersion) {
this.xMsVersion = xMsVersion;
return this;
}

/**
* Get the date property: The Date property.
*
* @return the date value.
*/
@Generated
public OffsetDateTime getDate() {
if (this.date == null) {
return null;
}
return this.date.getDateTime();
}

/**
* Set the date property: The Date property.
*
* @param date the date value to set.
* @return the ContainersListBlobHierarchySegmentApacheArrowHeaders object itself.
*/
@Generated
public ContainersListBlobHierarchySegmentApacheArrowHeaders setDate(OffsetDateTime date) {
if (date == null) {
this.date = null;
} else {
this.date = new DateTimeRfc1123(date);
}
return this;
}
}
Loading