Class: Spaceship::ConnectAPI::ResetRatingsRequest
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::ResetRatingsRequest
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb
Instance Attribute Summary collapse
-
#reset_date ⇒ Object
Returns the value of attribute reset_date.
Attributes included from Model
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#reset_date ⇒ Object
Returns the value of attribute reset_date.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 7 def reset_date @reset_date end |
Class Method Details
.type ⇒ Object
13 14 15 |
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 13 def self.type return "resetRatingsRequests" end |
Instance Method Details
#delete!(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
API
21 22 23 24 |
# File 'spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb', line 21 def delete!(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) client ||= Spaceship::ConnectAPI client.(reset_ratings_request_id: id) end |