// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel.DataAnnotations;
// The goal of this class is to just mock out the Microsoft.VariantAssignment close source objects
namespace Microsoft.VariantAssignment.Contract
{
///
/// Configuration for variant assignment service client.
///
public class VariantAssignmentClientSettings
{
///
/// Gets or sets the variant assignment service endpoint URL.
///
[Required]
public Uri? Endpoint { get; set; }
///
/// Gets or sets a value indicating whether gets or sets a value whether client side request caching should be enabled.
///
public bool EnableCaching { get; set; }
///
/// Gets or sets the maximum time a cached variant assignment response may be used without re-validating.
///
public TimeSpan ResponseCacheTime { get; set; }
}
}