// Copyright Epic Games, Inc. All Rights Reserved.
using System.Collections.Generic;
using System.Diagnostics;
#pragma warning disable CA2227 // Collection properties should be read only
namespace EpicGames.Horde.Secrets
{
///
/// Response listing all the secrets available to the current user
///
public class GetSecretsResponse
{
///
/// List of secret ids
///
public List Ids { get; set; }
///
/// Constructor
///
public GetSecretsResponse(List ids) => Ids = ids;
}
///
/// Gets data for a particular secret
///
[DebuggerDisplay("{Id}")]
public class GetSecretResponse
{
///
/// Id of the secret
///
public SecretId Id { get; }
///
/// Key value pairs for the secret
///
public Dictionary Data { get; set; }
///
/// Constructor
///
public GetSecretResponse(SecretId id, Dictionary data)
{
Id = id;
Data = data;
}
}
}