public UpdateServiceMeta(string description = "", string role = null, LogConfig logConfig = null, bool internetAccess = true, VpcConfig vpcConfig = null, NasConfig nasConfig = null) { this.Description = description; this.Role = role; this.LogConfig = logConfig; this.VpcConfig = vpcConfig; this.NasConfig = nasConfig; this.InternetAccess = internetAccess; }
public override bool Equals(object obj) { //Check for null and compare run-time types. if ((obj == null) || !this.GetType().Equals(obj.GetType())) { return(false); } else { VpcConfig p = (VpcConfig)obj; return((VpcId == p.VpcId) && (SecurityGroupId == p.SecurityGroupId) && Enumerable.SequenceEqual(VSwitchIds, p.VSwitchIds)); } }
public CreateServiceMeta(string serviceName, string description = "", string role = null, LogConfig logConfig = null, bool internetAccess = true, VpcConfig vpcConfig = null, NasConfig nasConfig = null) : base(description, role, logConfig, internetAccess, vpcConfig, nasConfig) { this.ServiceName = serviceName; }