src/Elastic.Apm/Api/Kubernetes/Pod.cs (13 lines of code) (raw):
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using Elastic.Apm.Api.Constraints;
using Elastic.Apm.Helpers;
namespace Elastic.Apm.Api.Kubernetes
{
public class Pod
{
[MaxLength]
public string Name { get; set; }
[MaxLength]
public string Uid { get; set; }
public override string ToString() => new ToStringBuilder(nameof(Pod)) { { nameof(Name), Name }, { nameof(Uid), Uid } }.ToString();
}
}