# Encoding: utf-8
#
# This is auto-generated code, changes will be overwritten.
#
# Copyright:: Copyright 2019, Google Inc. All Rights Reserved.
# License:: Licensed under the Apache License, Version 2.0.
#
# Code generated by AdsCommon library 1.0.2 on 2019-02-07 14:54:56.

require 'ads_common/savon_service'
require 'ad_manager_api/v201902/cms_metadata_service_registry'

module AdManagerApi; module V201902; module CmsMetadataService
  class CmsMetadataService < AdsCommon::SavonService
    def initialize(config, endpoint)
      namespace = 'https://www.google.com/apis/ads/publisher/v201902'
      super(config, endpoint, namespace, :v201902)
    end

    def get_cms_metadata_keys_by_statement(*args, &block)
      return execute_action('get_cms_metadata_keys_by_statement', args, &block)
    end

    def get_cms_metadata_keys_by_statement_to_xml(*args)
      return get_soap_xml('get_cms_metadata_keys_by_statement', args)
    end

    def get_cms_metadata_values_by_statement(*args, &block)
      return execute_action('get_cms_metadata_values_by_statement', args, &block)
    end

    def get_cms_metadata_values_by_statement_to_xml(*args)
      return get_soap_xml('get_cms_metadata_values_by_statement', args)
    end

    private

    def get_service_registry()
      return CmsMetadataServiceRegistry
    end

    def get_module()
      return AdManagerApi::V201902::CmsMetadataService
    end
  end
end; end; end
