class Google::Apis::PlusDomainsV1::Person::Organization

Attributes

department[RW]

The department within the organization. Deprecated. Corresponds to the JSON property `department` @return [String]

description[RW]

A short description of the person's role in this organization. Deprecated. Corresponds to the JSON property `description` @return [String]

end_date[RW]

The date that the person left this organization. Corresponds to the JSON property `endDate` @return [String]

location[RW]

The location of this organization. Deprecated. Corresponds to the JSON property `location` @return [String]

name[RW]

The name of the organization. Corresponds to the JSON property `name` @return [String]

primary[RW]

If “true”, indicates this organization is the person's primary one, which is typically interpreted as the current one. Corresponds to the JSON property `primary` @return [Boolean]

primary?[RW]

If “true”, indicates this organization is the person's primary one, which is typically interpreted as the current one. Corresponds to the JSON property `primary` @return [Boolean]

start_date[RW]

The date that the person joined this organization. Corresponds to the JSON property `startDate` @return [String]

title[RW]

The person's job title or role within the organization. Corresponds to the JSON property `title` @return [String]

type[RW]

The type of organization. Possible values include, but are not limited to, the following values:

  • “work” - Work.

  • “school” - School.

Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_domains_v1/classes.rb, line 2368
def update!(**args)
  @department = args[:department] if args.key?(:department)
  @description = args[:description] if args.key?(:description)
  @end_date = args[:end_date] if args.key?(:end_date)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @primary = args[:primary] if args.key?(:primary)
  @start_date = args[:start_date] if args.key?(:start_date)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
end