Sha256: af660da6f29e6b0e03efe0fe98a4f31e84dc4c6d449a3823c0c5e8836e58ff17

Contents?: true

Size: 1 KB

Versions: 24

Compression:

Stored size: 1 KB

Contents

require_relative '../model'
module Spaceship
  class ConnectAPI
    class AppInfoLocalization
      include Spaceship::ConnectAPI::Model

      attr_accessor :locale
      attr_accessor :name
      attr_accessor :subtitle
      attr_accessor :privacy_policy_url
      attr_accessor :privacy_policy_text

      attr_mapping({
        "locale" => "locale",
        "name" => "name",
        "subtitle" => "subtitle",
        "privacyPolicyUrl" => "privacy_policy_url",
        "privacyPolicyText" => "privacy_policy_text"
      })

      def self.type
        return "appInfoLocalizations"
      end

      #
      # API
      #

      def update(attributes: nil)
        attributes = reverse_attr_mapping(attributes)
        Spaceship::ConnectAPI.patch_app_info_localization(app_info_localization_id: id, attributes: attributes)
      end

      def delete!(filter: {}, includes: nil, limit: nil, sort: nil)
        Spaceship::ConnectAPI.delete_app_info_localization(app_info_localization_id: id)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
fastlane-2.167.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.166.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.165.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.164.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.163.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.162.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.161.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.160.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.159.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.158.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.157.4 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.157.3 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.157.2 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.157.1 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.157.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.156.1 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.156.0 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.155.3 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.155.2 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
fastlane-2.155.1 spaceship/lib/spaceship/connect_api/models/app_info_localization.rb