Class: Google::Apis::DfareportingV3_3::Recipient

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

Represents a recipient.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Recipient

Returns a new instance of Recipient.



9317
9318
9319
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9317

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

Instance Attribute Details

#delivery_typeString

The delivery type for the recipient. Corresponds to the JSON property deliveryType

Returns:

  • (String)


9305
9306
9307
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9305

def delivery_type
  @delivery_type
end

#emailString

The email address of the recipient. Corresponds to the JSON property email

Returns:

  • (String)


9310
9311
9312
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9310

def email
  @email
end

#kindString

The kind of resource this is, in this case dfareporting#recipient. Corresponds to the JSON property kind

Returns:

  • (String)


9315
9316
9317
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9315

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9322
9323
9324
9325
9326
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9322

def update!(**args)
  @delivery_type = args[:delivery_type] if args.key?(:delivery_type)
  @email = args[:email] if args.key?(:email)
  @kind = args[:kind] if args.key?(:kind)
end