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

azfile: Readme and code generator update #22181

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/azfile/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure File Storage SDK for Go

> Service Version: 2022-11-02
> Service Version: 2023-11-03

Azure File Shares offers fully managed file shares in the cloud that are accessible via the industry standard
[Server Message Block (SMB) protocol](https://docs.microsoft.com/windows/desktop/FileIO/microsoft-smb-protocol-and-cifs-protocol-overview).
Expand Down
3 changes: 2 additions & 1 deletion sdk/storage/azfile/internal/generated/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ modelerfour:
seal-single-value-enum-by-default: true
lenient-model-deduplication: true
export-clients: true
use: "@autorest/[email protected].49"
use: "@autorest/[email protected].61"
```

### Updating service version to 2023-11-03
Expand Down Expand Up @@ -160,6 +160,7 @@ directive:
- zz_directory_client.go
- zz_file_client.go
- zz_models.go
- zz_options.go
where: $
transform: >-
return $.
Expand Down
14 changes: 7 additions & 7 deletions sdk/storage/azfile/internal/generated/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ func (h Handle) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
type alias Handle
aux := &struct {
*alias
LastReconnectTime *timeRFC1123 `xml:"LastReconnectTime"`
OpenTime *timeRFC1123 `xml:"OpenTime"`
LastReconnectTime *dateTimeRFC1123 `xml:"LastReconnectTime"`
OpenTime *dateTimeRFC1123 `xml:"OpenTime"`
}{
alias: (*alias)(&h),
LastReconnectTime: (*timeRFC1123)(h.LastReconnectTime),
OpenTime: (*timeRFC1123)(h.OpenTime),
LastReconnectTime: (*dateTimeRFC1123)(h.LastReconnectTime),
OpenTime: (*dateTimeRFC1123)(h.OpenTime),
}
return enc.EncodeElement(aux, start)
}
Expand All @@ -53,9 +53,9 @@ func (h *Handle) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
type alias Handle
aux := &struct {
*alias
Path *StringEncoded `xml:"Path"`
LastReconnectTime *timeRFC1123 `xml:"LastReconnectTime"`
OpenTime *timeRFC1123 `xml:"OpenTime"`
Path *StringEncoded `xml:"Path"`
LastReconnectTime *dateTimeRFC1123 `xml:"LastReconnectTime"`
OpenTime *dateTimeRFC1123 `xml:"OpenTime"`
}{
alias: (*alias)(h),
}
Expand Down
3 changes: 1 addition & 2 deletions sdk/storage/azfile/internal/generated/zz_constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading