// <auto-generated>
// DO NOT EDIT: generated by fsdgencsharp
// </auto-generated>
using System;
using System.Collections.Generic;
using Facility.Core;

namespace OapApi.v1.Client
{
	/// <summary>
	/// Request for GetApplication.
	/// </summary>
	[System.CodeDom.Compiler.GeneratedCode("fsdgencsharp", "")]
	public sealed partial class GetApplicationRequestDto : ServiceDto<GetApplicationRequestDto>
	{
		/// <summary>
		/// Creates an instance.
		/// </summary>
		public GetApplicationRequestDto()
		{
		}

		/// <summary>
		/// The widget ID.
		/// </summary>
		public string Id { get; set; }

		/// <summary>
		/// The JSON serializer.
		/// </summary>
		protected override JsonServiceSerializer JsonSerializer => SystemTextJsonServiceSerializer.Instance;

		/// <summary>
		/// Determines if two DTOs are equivalent.
		/// </summary>
		public override bool IsEquivalentTo(GetApplicationRequestDto other)
		{
			return other != null &&
				Id == other.Id;
		}
	}
}
