mirror of https://github.com/pulumi/pulumi.git
46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
// Copyright 2016-2021, Pulumi Corporation
|
|
|
|
using System;
|
|
|
|
namespace Pulumi.Automation
|
|
{
|
|
public class PluginInfo
|
|
{
|
|
public string Name { get; }
|
|
|
|
public string? Path { get; }
|
|
|
|
public PluginKind Kind { get; }
|
|
|
|
public string? Version { get; }
|
|
|
|
public long Size { get; }
|
|
|
|
public DateTimeOffset InstallTime { get; }
|
|
|
|
public DateTimeOffset LastUsedTime { get; }
|
|
|
|
public string? ServerUrl { get; }
|
|
|
|
internal PluginInfo(
|
|
string name,
|
|
string? path,
|
|
PluginKind kind,
|
|
string? version,
|
|
long size,
|
|
DateTimeOffset installTime,
|
|
DateTimeOffset lastUsedTime,
|
|
string? serverUrl)
|
|
{
|
|
this.Name = name;
|
|
this.Path = path;
|
|
this.Kind = kind;
|
|
this.Version = version;
|
|
this.Size = size;
|
|
this.InstallTime = installTime;
|
|
this.LastUsedTime = lastUsedTime;
|
|
this.ServerUrl = serverUrl;
|
|
}
|
|
}
|
|
}
|