mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
22 lines
647 B
C#
22 lines
647 B
C#
using System;
|
|
|
|
namespace Octokit.Internal
|
|
{
|
|
/// <summary>
|
|
/// Indicate to the serializer that this property or value
|
|
/// has a different representation when being serialized to JSON
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
|
public sealed class ParameterAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// The key to use in place of the property's name
|
|
/// </summary>
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// The name to use in place of the enum's value
|
|
/// </summary>
|
|
public string Value { get; set; }
|
|
}
|
|
} |