Class: Spaceship::ConnectAPI::AppInfoLocalization

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/app_info_localization.rb

Instance Attribute Summary collapse

Attributes included from Model

#id

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #to_json, #update_attributes

Instance Attribute Details

#localeObject

Returns the value of attribute locale


7
8
9
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 7

def locale
  @locale
end

#nameObject

Returns the value of attribute name


8
9
10
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 8

def name
  @name
end

#privacy_policy_textObject

Returns the value of attribute privacy_policy_text


11
12
13
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 11

def privacy_policy_text
  @privacy_policy_text
end

#privacy_policy_urlObject

Returns the value of attribute privacy_policy_url


10
11
12
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 10

def privacy_policy_url
  @privacy_policy_url
end

#subtitleObject

Returns the value of attribute subtitle


9
10
11
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 9

def subtitle
  @subtitle
end

Class Method Details

.typeObject


21
22
23
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 21

def self.type
  return "appInfoLocalizations"
end

Instance Method Details

#delete!(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object


33
34
35
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 33

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

#update(attributes: nil) ⇒ Object

API


29
30
31
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 29

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