public override int GetHashCode()
 {
     return(string.Format("{0}_{1}_{2}_{3}_{4}",
                          SourceConfig.GetHashCode(), JobConfig.GetHashCode(), FunctionParameter.GetHashCode(), LogConfig.GetHashCode(), Enable.GetHashCode()).GetHashCode());
 }
 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;
 }
 public LogTriggerConfig(SouceConfig sourceConfig, JobConfig jobConfig, Dictionary <string, object> functionParameter, LogConfig logConfig, bool enable)
 {
     this.SourceConfig      = sourceConfig;
     this.JobConfig         = jobConfig;
     this.FunctionParameter = functionParameter;
     this.LogConfig         = logConfig;
     this.Enable            = enable;
 }
 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;
 }