# frozen_string_literal: false

# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    Type: MMv1     ***
#
# ----------------------------------------------------------------------------
#
#     This file is automatically generated by Magic Modules and manual
#     changes will be clobbered when the file is regenerated.
#
#     Please read more about how to change this file in README.md and
#     CONTRIBUTING.md located at the root of this package.
#
# ----------------------------------------------------------------------------
module GoogleInSpec
  module SQL
    module Property
      class DatabaseInstanceReplicaConfigurationMysqlReplicaConfiguration
        attr_reader :ca_certificate

        attr_reader :client_certificate

        attr_reader :client_key

        attr_reader :connect_retry_interval

        attr_reader :dump_file_path

        attr_reader :master_heartbeat_period

        attr_reader :password

        attr_reader :ssl_cipher

        attr_reader :username

        attr_reader :verify_server_certificate

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @ca_certificate = args['caCertificate']
          @client_certificate = args['clientCertificate']
          @client_key = args['clientKey']
          @connect_retry_interval = args['connectRetryInterval']
          @dump_file_path = args['dumpFilePath']
          @master_heartbeat_period = args['masterHeartbeatPeriod']
          @password = args['password']
          @ssl_cipher = args['sslCipher']
          @username = args['username']
          @verify_server_certificate = args['verifyServerCertificate']
        end

        def to_s
          "#{@parent_identifier} DatabaseInstanceReplicaConfigurationMysqlReplicaConfiguration"
        end
      end
    end
  end
end
