// <auto-generated/>

#nullable disable

using System;
using System.ClientModel.Primitives;
using System.Text.Json;

namespace UnbrandedTypeSpec.Models
{
    public partial class ModelWithFormat : System.ClientModel.Primitives.IJsonModel<ModelWithFormat>
    {
        void System.ClientModel.Primitives.IJsonModel<ModelWithFormat>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options)
        {
        }

        ModelWithFormat System.ClientModel.Primitives.IJsonModel<ModelWithFormat>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options)
        {
            return new ModelWithFormat();
        }

        System.BinaryData System.ClientModel.Primitives.IPersistableModel<ModelWithFormat>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options)
        {
            return new System.BinaryData("IPersistableModel");
        }

        ModelWithFormat System.ClientModel.Primitives.IPersistableModel<ModelWithFormat>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options)
        {
            return new ModelWithFormat();
        }

        string System.ClientModel.Primitives.IPersistableModel<ModelWithFormat>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) => "J";

        // Add Nested Type
    }
}
