Class: Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessage

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) ⇒ ImapsyncFolderAttributeFolderMessage

Returns a new instance of ImapsyncFolderAttributeFolderMessage.



11705
11706
11707
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11705

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

Instance Attribute Details

#flagsGoogle::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessageFlags

Flags of the message. Represents unseen and flagged state. Corresponds to the JSON property flags



11698
11699
11700
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11698

def flags
  @flags
end

#uidFixnum

UID of the message. Corresponds to the JSON property uid

Returns:

  • (Fixnum)


11703
11704
11705
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11703

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11710
11711
11712
11713
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11710

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