Class: Google::Apis::PlusV1::Person::Organization
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PlusV1::Person::Organization
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #department  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The department within the organization.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A short description of the person's role in this organization.
 - 
  
    
      #end_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The date that the person left this organization.
 - 
  
    
      #location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The location of this organization.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the organization.
 - 
  
    
      #primary  ⇒ Boolean 
    
    
      (also: #primary?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one.
 - 
  
    
      #start_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The date that the person joined this organization.
 - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The person's job title or role within the organization.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of organization.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Organization 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Organization.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Organization
Returns a new instance of Organization
      1885 1886 1887  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1885 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#department ⇒ String
The department within the organization. Deprecated.
Corresponds to the JSON property department
      1838 1839 1840  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1838 def department @department end  | 
  
#description ⇒ String
A short description of the person's role in this organization. Deprecated.
Corresponds to the JSON property description
      1843 1844 1845  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1843 def description @description end  | 
  
#end_date ⇒ String
The date that the person left this organization.
Corresponds to the JSON property endDate
      1848 1849 1850  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1848 def end_date @end_date end  | 
  
#location ⇒ String
The location of this organization. Deprecated.
Corresponds to the JSON property location
      1853 1854 1855  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1853 def location @location end  | 
  
#name ⇒ String
The name of the organization.
Corresponds to the JSON property name
      1858 1859 1860  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1858 def name @name end  | 
  
#primary ⇒ Boolean Also known as: primary?
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
      1864 1865 1866  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1864 def primary @primary end  | 
  
#start_date ⇒ String
The date that the person joined this organization.
Corresponds to the JSON property startDate
      1870 1871 1872  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1870 def start_date @start_date end  | 
  
#title ⇒ String
The person's job title or role within the organization.
Corresponds to the JSON property title
      1875 1876 1877  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1875 def title @title end  | 
  
#type ⇒ String
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 
      1883 1884 1885  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1883 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900  | 
    
      # File 'generated/google/apis/plus_v1/classes.rb', line 1890 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  |