class Google::Apis::GmailV1::MessagePartHeader

Attributes

name[RW]

The name of the header before the : separator. For example, To. Corresponds to the JSON property `name` @return [String]

value[RW]

The value of the header after the : separator. For example, someuser@example. com. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/gmail_v1/classes.rb, line 612
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/gmail_v1/classes.rb, line 617
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end