portainer/app/agent/models/agent.js

6 lines
134 B
JavaScript

function AgentViewModel(data) {
this.IPAddress = data.IPAddress;
this.NodeName = data.NodeName;
this.NodeRole = data.NodeRole;
}