Class: Spaceship::ConnectAPI::ResetRatingsRequest

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

Instance Attribute Summary collapse

Attributes included from Model

#id, #reverse_attr_map

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_dateObject

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

.typeObject



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.delete_reset_ratings_request(reset_ratings_request_id: id)
end