Class: Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessageFlags

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImapsyncFolderAttributeFolderMessageFlags

Returns a new instance of ImapsyncFolderAttributeFolderMessageFlags.



11655
11656
11657
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11655

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#flaggedBoolean Also known as: flagged?

Flagged state of the message. Corresponds to the JSON property flagged

Returns:

  • (Boolean)


11646
11647
11648
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11646

def flagged
  @flagged
end

#seenBoolean Also known as: seen?

Seen state of the message. Corresponds to the JSON property seen

Returns:

  • (Boolean)


11652
11653
11654
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11652

def seen
  @seen
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11660
11661
11662
11663
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11660

def update!(**args)
  @flagged = args[:flagged] if args.key?(:flagged)
  @seen = args[:seen] if args.key?(:seen)
end