Esempio n. 1
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(CreateFunctionRequestBody input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.FuncName == input.FuncName ||
                     (this.FuncName != null &&
                      this.FuncName.Equals(input.FuncName))
                     ) &&
                 (
                     this.Package == input.Package ||
                     (this.Package != null &&
                      this.Package.Equals(input.Package))
                 ) &&
                 (
                     this.Runtime == input.Runtime ||
                     (this.Runtime != null &&
                      this.Runtime.Equals(input.Runtime))
                 ) &&
                 (
                     this.Timeout == input.Timeout ||
                     (this.Timeout != null &&
                      this.Timeout.Equals(input.Timeout))
                 ) &&
                 (
                     this.Handler == input.Handler ||
                     (this.Handler != null &&
                      this.Handler.Equals(input.Handler))
                 ) &&
                 (
                     this.MemorySize == input.MemorySize ||
                     (this.MemorySize != null &&
                      this.MemorySize.Equals(input.MemorySize))
                 ) &&
                 (
                     this.CodeType == input.CodeType ||
                     (this.CodeType != null &&
                      this.CodeType.Equals(input.CodeType))
                 ) &&
                 (
                     this.CodeUrl == input.CodeUrl ||
                     (this.CodeUrl != null &&
                      this.CodeUrl.Equals(input.CodeUrl))
                 ) &&
                 (
                     this.CodeFilename == input.CodeFilename ||
                     (this.CodeFilename != null &&
                      this.CodeFilename.Equals(input.CodeFilename))
                 ) &&
                 (
                     this.UserData == input.UserData ||
                     (this.UserData != null &&
                      this.UserData.Equals(input.UserData))
                 ) &&
                 (
                     this.Xrole == input.Xrole ||
                     (this.Xrole != null &&
                      this.Xrole.Equals(input.Xrole))
                 ) &&
                 (
                     this.AppXrole == input.AppXrole ||
                     (this.AppXrole != null &&
                      this.AppXrole.Equals(input.AppXrole))
                 ) &&
                 (
                     this.Description == input.Description ||
                     (this.Description != null &&
                      this.Description.Equals(input.Description))
                 ) &&
                 (
                     this.FuncCode == input.FuncCode ||
                     (this.FuncCode != null &&
                      this.FuncCode.Equals(input.FuncCode))
                 ) &&
                 (
                     this.InitializerHandler == input.InitializerHandler ||
                     (this.InitializerHandler != null &&
                      this.InitializerHandler.Equals(input.InitializerHandler))
                 ) &&
                 (
                     this.InitializerTimeout == input.InitializerTimeout ||
                     (this.InitializerTimeout != null &&
                      this.InitializerTimeout.Equals(input.InitializerTimeout))
                 ) &&
                 (
                     this.EnterpriseProjectId == input.EnterpriseProjectId ||
                     (this.EnterpriseProjectId != null &&
                      this.EnterpriseProjectId.Equals(input.EnterpriseProjectId))
                 ));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(CreateFunctionRequestBody input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.FuncUrn == input.FuncUrn ||
                     (this.FuncUrn != null &&
                      this.FuncUrn.Equals(input.FuncUrn))
                     ) &&
                 (
                     this.FuncName == input.FuncName ||
                     (this.FuncName != null &&
                      this.FuncName.Equals(input.FuncName))
                 ) &&
                 (
                     this.DomainId == input.DomainId ||
                     (this.DomainId != null &&
                      this.DomainId.Equals(input.DomainId))
                 ) &&
                 (
                     this.Namespace == input.Namespace ||
                     (this.Namespace != null &&
                      this.Namespace.Equals(input.Namespace))
                 ) &&
                 (
                     this.ProjectName == input.ProjectName ||
                     (this.ProjectName != null &&
                      this.ProjectName.Equals(input.ProjectName))
                 ) &&
                 (
                     this.Package == input.Package ||
                     (this.Package != null &&
                      this.Package.Equals(input.Package))
                 ) &&
                 (
                     this.Runtime == input.Runtime ||
                     (this.Runtime != null &&
                      this.Runtime.Equals(input.Runtime))
                 ) &&
                 (
                     this.Timeout == input.Timeout ||
                     (this.Timeout != null &&
                      this.Timeout.Equals(input.Timeout))
                 ) &&
                 (
                     this.Handler == input.Handler ||
                     (this.Handler != null &&
                      this.Handler.Equals(input.Handler))
                 ) &&
                 (
                     this.MemorySize == input.MemorySize ||
                     (this.MemorySize != null &&
                      this.MemorySize.Equals(input.MemorySize))
                 ) &&
                 (
                     this.Cpu == input.Cpu ||
                     (this.Cpu != null &&
                      this.Cpu.Equals(input.Cpu))
                 ) &&
                 (
                     this.CodeType == input.CodeType ||
                     (this.CodeType != null &&
                      this.CodeType.Equals(input.CodeType))
                 ) &&
                 (
                     this.CodeUrl == input.CodeUrl ||
                     (this.CodeUrl != null &&
                      this.CodeUrl.Equals(input.CodeUrl))
                 ) &&
                 (
                     this.CodeFilename == input.CodeFilename ||
                     (this.CodeFilename != null &&
                      this.CodeFilename.Equals(input.CodeFilename))
                 ) &&
                 (
                     this.CodeSize == input.CodeSize ||
                     (this.CodeSize != null &&
                      this.CodeSize.Equals(input.CodeSize))
                 ) &&
                 (
                     this.UserData == input.UserData ||
                     (this.UserData != null &&
                      this.UserData.Equals(input.UserData))
                 ) &&
                 (
                     this.Digest == input.Digest ||
                     (this.Digest != null &&
                      this.Digest.Equals(input.Digest))
                 ) &&
                 (
                     this.Version == input.Version ||
                     (this.Version != null &&
                      this.Version.Equals(input.Version))
                 ) &&
                 (
                     this.ImageName == input.ImageName ||
                     (this.ImageName != null &&
                      this.ImageName.Equals(input.ImageName))
                 ) &&
                 (
                     this.Xrole == input.Xrole ||
                     (this.Xrole != null &&
                      this.Xrole.Equals(input.Xrole))
                 ) &&
                 (
                     this.AppXrole == input.AppXrole ||
                     (this.AppXrole != null &&
                      this.AppXrole.Equals(input.AppXrole))
                 ) &&
                 (
                     this.Description == input.Description ||
                     (this.Description != null &&
                      this.Description.Equals(input.Description))
                 ) &&
                 (
                     this.VersionDescription == input.VersionDescription ||
                     (this.VersionDescription != null &&
                      this.VersionDescription.Equals(input.VersionDescription))
                 ) &&
                 (
                     this.LastModified == input.LastModified ||
                     (this.LastModified != null &&
                      this.LastModified.Equals(input.LastModified))
                 ) &&
                 (
                     this.LastModifiedUtc == input.LastModifiedUtc ||
                     (this.LastModifiedUtc != null &&
                      this.LastModifiedUtc.Equals(input.LastModifiedUtc))
                 ) &&
                 (
                     this.FuncCode == input.FuncCode ||
                     (this.FuncCode != null &&
                      this.FuncCode.Equals(input.FuncCode))
                 ) &&
                 (
                     this.FuncVpc == input.FuncVpc ||
                     (this.FuncVpc != null &&
                      this.FuncVpc.Equals(input.FuncVpc))
                 ) &&
                 (
                     this.MountConfig == input.MountConfig ||
                     (this.MountConfig != null &&
                      this.MountConfig.Equals(input.MountConfig))
                 ) &&
                 (
                     this.Concurrency == input.Concurrency ||
                     (this.Concurrency != null &&
                      this.Concurrency.Equals(input.Concurrency))
                 ) &&
                 (
                     this.DependList == input.DependList ||
                     this.DependList != null &&
                     input.DependList != null &&
                     this.DependList.SequenceEqual(input.DependList)
                 ) &&
                 (
                     this.StrategyConfig == input.StrategyConfig ||
                     (this.StrategyConfig != null &&
                      this.StrategyConfig.Equals(input.StrategyConfig))
                 ) &&
                 (
                     this.ExtendConfig == input.ExtendConfig ||
                     (this.ExtendConfig != null &&
                      this.ExtendConfig.Equals(input.ExtendConfig))
                 ) &&
                 (
                     this.Dependencies == input.Dependencies ||
                     this.Dependencies != null &&
                     input.Dependencies != null &&
                     this.Dependencies.SequenceEqual(input.Dependencies)
                 ) &&
                 (
                     this.InitializerHandler == input.InitializerHandler ||
                     (this.InitializerHandler != null &&
                      this.InitializerHandler.Equals(input.InitializerHandler))
                 ) &&
                 (
                     this.InitializerTimeout == input.InitializerTimeout ||
                     (this.InitializerTimeout != null &&
                      this.InitializerTimeout.Equals(input.InitializerTimeout))
                 ) &&
                 (
                     this.EnterpriseProjectId == input.EnterpriseProjectId ||
                     (this.EnterpriseProjectId != null &&
                      this.EnterpriseProjectId.Equals(input.EnterpriseProjectId))
                 ));
        }