Ejemplo n.º 1
0
        /// <summary>
        /// Returns true if ComAdobeGraniteAuthOauthImplGithubProviderImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteAuthOauthImplGithubProviderImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteAuthOauthImplGithubProviderImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OauthProviderId == other.OauthProviderId ||
                     OauthProviderId != null &&
                     OauthProviderId.Equals(other.OauthProviderId)
                     ) &&
                 (
                     OauthProviderGithubAuthorizationUrl == other.OauthProviderGithubAuthorizationUrl ||
                     OauthProviderGithubAuthorizationUrl != null &&
                     OauthProviderGithubAuthorizationUrl.Equals(other.OauthProviderGithubAuthorizationUrl)
                 ) &&
                 (
                     OauthProviderGithubTokenUrl == other.OauthProviderGithubTokenUrl ||
                     OauthProviderGithubTokenUrl != null &&
                     OauthProviderGithubTokenUrl.Equals(other.OauthProviderGithubTokenUrl)
                 ) &&
                 (
                     OauthProviderGithubProfileUrl == other.OauthProviderGithubProfileUrl ||
                     OauthProviderGithubProfileUrl != null &&
                     OauthProviderGithubProfileUrl.Equals(other.OauthProviderGithubProfileUrl)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if ComAdobeCqSocialConnectOauthImplFacebookProviderImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqSocialConnectOauthImplFacebookProviderImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqSocialConnectOauthImplFacebookProviderImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OauthProviderId == other.OauthProviderId ||
                     OauthProviderId != null &&
                     OauthProviderId.Equals(other.OauthProviderId)
                     ) &&
                 (
                     OauthCloudConfigRoot == other.OauthCloudConfigRoot ||
                     OauthCloudConfigRoot != null &&
                     OauthCloudConfigRoot.Equals(other.OauthCloudConfigRoot)
                 ) &&
                 (
                     ProviderConfigRoot == other.ProviderConfigRoot ||
                     ProviderConfigRoot != null &&
                     ProviderConfigRoot.Equals(other.ProviderConfigRoot)
                 ) &&
                 (
                     ProviderConfigCreateTagsEnabled == other.ProviderConfigCreateTagsEnabled ||
                     ProviderConfigCreateTagsEnabled != null &&
                     ProviderConfigCreateTagsEnabled.Equals(other.ProviderConfigCreateTagsEnabled)
                 ) &&
                 (
                     ProviderConfigUserFolder == other.ProviderConfigUserFolder ||
                     ProviderConfigUserFolder != null &&
                     ProviderConfigUserFolder.Equals(other.ProviderConfigUserFolder)
                 ) &&
                 (
                     ProviderConfigFacebookFetchFields == other.ProviderConfigFacebookFetchFields ||
                     ProviderConfigFacebookFetchFields != null &&
                     ProviderConfigFacebookFetchFields.Equals(other.ProviderConfigFacebookFetchFields)
                 ) &&
                 (
                     ProviderConfigFacebookFields == other.ProviderConfigFacebookFields ||
                     ProviderConfigFacebookFields != null &&
                     ProviderConfigFacebookFields.Equals(other.ProviderConfigFacebookFields)
                 ) &&
                 (
                     ProviderConfigRefreshUserdataEnabled == other.ProviderConfigRefreshUserdataEnabled ||
                     ProviderConfigRefreshUserdataEnabled != null &&
                     ProviderConfigRefreshUserdataEnabled.Equals(other.ProviderConfigRefreshUserdataEnabled)
                 ));
        }
        /// <summary>
        /// Returns true if ComAdobeCqSocialConnectOauthImplTwitterProviderImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqSocialConnectOauthImplTwitterProviderImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqSocialConnectOauthImplTwitterProviderImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OauthProviderId == other.OauthProviderId ||
                     OauthProviderId != null &&
                     OauthProviderId.Equals(other.OauthProviderId)
                     ) &&
                 (
                     OauthCloudConfigRoot == other.OauthCloudConfigRoot ||
                     OauthCloudConfigRoot != null &&
                     OauthCloudConfigRoot.Equals(other.OauthCloudConfigRoot)
                 ) &&
                 (
                     ProviderConfigRoot == other.ProviderConfigRoot ||
                     ProviderConfigRoot != null &&
                     ProviderConfigRoot.Equals(other.ProviderConfigRoot)
                 ) &&
                 (
                     ProviderConfigUserFolder == other.ProviderConfigUserFolder ||
                     ProviderConfigUserFolder != null &&
                     ProviderConfigUserFolder.Equals(other.ProviderConfigUserFolder)
                 ) &&
                 (
                     ProviderConfigTwitterEnableParams == other.ProviderConfigTwitterEnableParams ||
                     ProviderConfigTwitterEnableParams != null &&
                     ProviderConfigTwitterEnableParams.Equals(other.ProviderConfigTwitterEnableParams)
                 ) &&
                 (
                     ProviderConfigTwitterParams == other.ProviderConfigTwitterParams ||
                     ProviderConfigTwitterParams != null &&
                     ProviderConfigTwitterParams.Equals(other.ProviderConfigTwitterParams)
                 ) &&
                 (
                     ProviderConfigRefreshUserdataEnabled == other.ProviderConfigRefreshUserdataEnabled ||
                     ProviderConfigRefreshUserdataEnabled != null &&
                     ProviderConfigRefreshUserdataEnabled.Equals(other.ProviderConfigRefreshUserdataEnabled)
                 ));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Returns true if ComAdobeGraniteAuthOauthImplGraniteProviderProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteAuthOauthImplGraniteProviderProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteAuthOauthImplGraniteProviderProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OauthProviderId == other.OauthProviderId ||
                     OauthProviderId != null &&
                     OauthProviderId.Equals(other.OauthProviderId)
                     ) &&
                 (
                     OauthProviderGraniteAuthorizationUrl == other.OauthProviderGraniteAuthorizationUrl ||
                     OauthProviderGraniteAuthorizationUrl != null &&
                     OauthProviderGraniteAuthorizationUrl.Equals(other.OauthProviderGraniteAuthorizationUrl)
                 ) &&
                 (
                     OauthProviderGraniteTokenUrl == other.OauthProviderGraniteTokenUrl ||
                     OauthProviderGraniteTokenUrl != null &&
                     OauthProviderGraniteTokenUrl.Equals(other.OauthProviderGraniteTokenUrl)
                 ) &&
                 (
                     OauthProviderGraniteProfileUrl == other.OauthProviderGraniteProfileUrl ||
                     OauthProviderGraniteProfileUrl != null &&
                     OauthProviderGraniteProfileUrl.Equals(other.OauthProviderGraniteProfileUrl)
                 ) &&
                 (
                     OauthProviderGraniteExtendedDetailsUrls == other.OauthProviderGraniteExtendedDetailsUrls ||
                     OauthProviderGraniteExtendedDetailsUrls != null &&
                     OauthProviderGraniteExtendedDetailsUrls.Equals(other.OauthProviderGraniteExtendedDetailsUrls)
                 ));
        }
        /// <summary>
        /// Returns true if ComAdobeGraniteAuthImsImplIMSProviderImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteAuthImsImplIMSProviderImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteAuthImsImplIMSProviderImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OauthProviderId == other.OauthProviderId ||
                     OauthProviderId != null &&
                     OauthProviderId.Equals(other.OauthProviderId)
                     ) &&
                 (
                     OauthProviderImsAuthorizationUrl == other.OauthProviderImsAuthorizationUrl ||
                     OauthProviderImsAuthorizationUrl != null &&
                     OauthProviderImsAuthorizationUrl.Equals(other.OauthProviderImsAuthorizationUrl)
                 ) &&
                 (
                     OauthProviderImsTokenUrl == other.OauthProviderImsTokenUrl ||
                     OauthProviderImsTokenUrl != null &&
                     OauthProviderImsTokenUrl.Equals(other.OauthProviderImsTokenUrl)
                 ) &&
                 (
                     OauthProviderImsProfileUrl == other.OauthProviderImsProfileUrl ||
                     OauthProviderImsProfileUrl != null &&
                     OauthProviderImsProfileUrl.Equals(other.OauthProviderImsProfileUrl)
                 ) &&
                 (
                     OauthProviderImsExtendedDetailsUrls == other.OauthProviderImsExtendedDetailsUrls ||
                     OauthProviderImsExtendedDetailsUrls != null &&
                     OauthProviderImsExtendedDetailsUrls.Equals(other.OauthProviderImsExtendedDetailsUrls)
                 ) &&
                 (
                     OauthProviderImsValidateTokenUrl == other.OauthProviderImsValidateTokenUrl ||
                     OauthProviderImsValidateTokenUrl != null &&
                     OauthProviderImsValidateTokenUrl.Equals(other.OauthProviderImsValidateTokenUrl)
                 ) &&
                 (
                     OauthProviderImsSessionProperty == other.OauthProviderImsSessionProperty ||
                     OauthProviderImsSessionProperty != null &&
                     OauthProviderImsSessionProperty.Equals(other.OauthProviderImsSessionProperty)
                 ) &&
                 (
                     OauthProviderImsServiceTokenClientId == other.OauthProviderImsServiceTokenClientId ||
                     OauthProviderImsServiceTokenClientId != null &&
                     OauthProviderImsServiceTokenClientId.Equals(other.OauthProviderImsServiceTokenClientId)
                 ) &&
                 (
                     OauthProviderImsServiceTokenClientSecret == other.OauthProviderImsServiceTokenClientSecret ||
                     OauthProviderImsServiceTokenClientSecret != null &&
                     OauthProviderImsServiceTokenClientSecret.Equals(other.OauthProviderImsServiceTokenClientSecret)
                 ) &&
                 (
                     OauthProviderImsServiceToken == other.OauthProviderImsServiceToken ||
                     OauthProviderImsServiceToken != null &&
                     OauthProviderImsServiceToken.Equals(other.OauthProviderImsServiceToken)
                 ) &&
                 (
                     ImsOrgRef == other.ImsOrgRef ||
                     ImsOrgRef != null &&
                     ImsOrgRef.Equals(other.ImsOrgRef)
                 ) &&
                 (
                     ImsGroupMapping == other.ImsGroupMapping ||
                     ImsGroupMapping != null &&
                     ImsGroupMapping.Equals(other.ImsGroupMapping)
                 ) &&
                 (
                     OauthProviderImsOnlyLicenseGroup == other.OauthProviderImsOnlyLicenseGroup ||
                     OauthProviderImsOnlyLicenseGroup != null &&
                     OauthProviderImsOnlyLicenseGroup.Equals(other.OauthProviderImsOnlyLicenseGroup)
                 ));
        }