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.



11732
11733
11734
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11732

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)


11723
11724
11725
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11723

def flagged
  @flagged
end

#seenBoolean Also known as: seen?

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

Returns:

  • (Boolean)


11729
11730
11731
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11729

def seen
  @seen
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11737
11738
11739
11740
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11737

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