Class: Google::Apis::ContentV2_1::AccountStatusStatistics
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountStatusStatistics
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#active ⇒ Fixnum
Number of active offers.
-
#disapproved ⇒ Fixnum
Number of disapproved offers.
-
#expiring ⇒ Fixnum
Number of expiring offers.
-
#pending ⇒ Fixnum
Number of pending offers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatusStatistics
constructor
A new instance of AccountStatusStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountStatusStatistics
Returns a new instance of AccountStatusStatistics.
1231 1232 1233 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active ⇒ Fixnum
Number of active offers.
Corresponds to the JSON property active
1214 1215 1216 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1214 def active @active end |
#disapproved ⇒ Fixnum
Number of disapproved offers.
Corresponds to the JSON property disapproved
1219 1220 1221 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1219 def disapproved @disapproved end |
#expiring ⇒ Fixnum
Number of expiring offers.
Corresponds to the JSON property expiring
1224 1225 1226 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1224 def expiring @expiring end |
#pending ⇒ Fixnum
Number of pending offers.
Corresponds to the JSON property pending
1229 1230 1231 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1229 def pending @pending end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1236 1237 1238 1239 1240 1241 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1236 def update!(**args) @active = args[:active] if args.key?(:active) @disapproved = args[:disapproved] if args.key?(:disapproved) @expiring = args[:expiring] if args.key?(:expiring) @pending = args[:pending] if args.key?(:pending) end |