Files
Twain/src/OAP/Oap.Api.v1/GetApplicationResponseDto.g.cs

49 lines
1.2 KiB
C#

// <auto-generated>
// DO NOT EDIT: generated by fsdgencsharp
// </auto-generated>
using System;
using System.Collections.Generic;
using Facility.Core;
namespace Oap.Api.v1
{
/// <summary>
/// Response for GetApplication.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("fsdgencsharp", "")]
public sealed partial class GetApplicationResponseDto : ServiceDto<GetApplicationResponseDto>
{
/// <summary>
/// Creates an instance.
/// </summary>
public GetApplicationResponseDto()
{
}
/// <summary>
/// The requested widget.
/// </summary>
public ApplicationDto Application { get; set; }
public string ETag { get; set; }
public bool? NotModified { 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(GetApplicationResponseDto other)
{
return other != null &&
ServiceDataUtility.AreEquivalentDtos(Application, other.Application) &&
ETag == other.ETag &&
NotModified == other.NotModified;
}
}
}