Class: Spaceship::ConnectAPI::BetaFeedback

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/beta_feedback.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

#app_up_time_millisObject

Returns the value of attribute app_up_time_millis.



19
20
21
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 19

def app_up_time_millis
  @app_up_time_millis
end

#architectureObject

Returns the value of attribute architecture.



16
17
18
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 16

def architecture
  @architecture
end

#available_disk_bytesObject

Returns the value of attribute available_disk_bytes.



20
21
22
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 20

def available_disk_bytes
  @available_disk_bytes
end

#battery_percentageObject

Returns the value of attribute battery_percentage.



23
24
25
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 23

def battery_percentage
  @battery_percentage
end

#bookmarkedObject

Returns the value of attribute bookmarked.



12
13
14
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 12

def bookmarked
  @bookmarked
end

#buildObject

Returns the value of attribute build.



27
28
29
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 27

def build
  @build
end

#carrierObject

Returns the value of attribute carrier.



14
15
16
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 14

def carrier
  @carrier
end

#commentObject

Returns the value of attribute comment.



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

def comment
  @comment
end

#connection_statusObject

Returns the value of attribute connection_status.



17
18
19
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 17

def connection_status
  @connection_status
end

#device_modelObject

Returns the value of attribute device_model.



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

def device_model
  @device_model
end

#email_addressObject

Returns the value of attribute email_address.



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

def email_address
  @email_address
end

#localeObject

Returns the value of attribute locale.



13
14
15
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 13

def locale
  @locale
end

#network_typeObject

Returns the value of attribute network_type.



22
23
24
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 22

def network_type
  @network_type
end

#os_versionObject

Returns the value of attribute os_version.



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

def os_version
  @os_version
end

#paired_apple_watchObject

Returns the value of attribute paired_apple_watch.



18
19
20
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 18

def paired_apple_watch
  @paired_apple_watch
end

#screen_heightObject

Returns the value of attribute screen_height.



25
26
27
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 25

def screen_height
  @screen_height
end

#screen_widthObject

Returns the value of attribute screen_width.



24
25
26
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 24

def screen_width
  @screen_width
end

#screenshotsObject

Returns the value of attribute screenshots.



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

def screenshots
  @screenshots
end

#testerObject

Returns the value of attribute tester.



28
29
30
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 28

def tester
  @tester
end

#timestampObject

Returns the value of attribute timestamp.



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

def timestamp
  @timestamp
end

#timezoneObject

Returns the value of attribute timezone.



15
16
17
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 15

def timezone
  @timezone
end

#total_disk_bytesObject

Returns the value of attribute total_disk_bytes.



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

def total_disk_bytes
  @total_disk_bytes
end

Class Method Details

.all(filter: {}, includes: "tester,build,screenshots", limit: nil, sort: nil) ⇒ Object

API



66
67
68
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 66

def self.all(filter: {}, includes: "tester,build,screenshots", limit: nil, sort: nil)
  return Spaceship::ConnectAPI.get_beta_feedback(filter: filter, includes: includes, limit: limit, sort: sort)
end

.typeObject



58
59
60
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 58

def self.type
  return "betaFeedbacks"
end

Instance Method Details

#delete!Object



70
71
72
# File 'spaceship/lib/spaceship/connect_api/models/beta_feedback.rb', line 70

def delete!
  return Spaceship::ConnectAPI.delete_beta_feedback(feedback_id: self.id)
end