Class: Google::Apis::DfareportingV3_4::Recipient

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/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.



10129
10130
10131
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10129

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)


10117
10118
10119
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10117

def delivery_type
  @delivery_type
end

#emailString

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

Returns:

  • (String)


10122
10123
10124
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10122

def email
  @email
end

#kindString

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

Returns:

  • (String)


10127
10128
10129
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10127

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10134
10135
10136
10137
10138
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10134

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