-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CommunityGalleryResource.Serialization.cs
26 lines (18 loc) · 1.23 KB
/
CommunityGalleryResource.Serialization.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ClientModel.Primitives;
using System.Text.Json;
namespace Azure.ResourceManager.Compute
{
public partial class CommunityGalleryResource : IJsonModel<CommunityGalleryData>
{
void IJsonModel<CommunityGalleryData>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel<CommunityGalleryData>)Data).Write(writer, options);
CommunityGalleryData IJsonModel<CommunityGalleryData>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => ((IJsonModel<CommunityGalleryData>)Data).Create(ref reader, options);
BinaryData IPersistableModel<CommunityGalleryData>.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options);
CommunityGalleryData IPersistableModel<CommunityGalleryData>.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read<CommunityGalleryData>(data, options);
string IPersistableModel<CommunityGalleryData>.GetFormatFromOptions(ModelReaderWriterOptions options) => ((IPersistableModel<CommunityGalleryData>)Data).GetFormatFromOptions(options);
}
}