Class: Google::Apis::PlusV1::Person::PlacesLived
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusV1::Person::PlacesLived
 
- 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
- 
  
    
      #primary  ⇒ Boolean 
    
    
      (also: #primary?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If "true", this place of residence is this person's primary residence. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A place where this person has lived. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PlacesLived 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PlacesLived. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlacesLived
Returns a new instance of PlacesLived
| 1919 1920 1921 | # File 'generated/google/apis/plus_v1/classes.rb', line 1919 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#primary ⇒ Boolean Also known as: primary?
If "true", this place of residence is this person's primary residence.
Corresponds to the JSON property primary
| 1910 1911 1912 | # File 'generated/google/apis/plus_v1/classes.rb', line 1910 def primary @primary end | 
#value ⇒ String
A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
.
Corresponds to the JSON property value
| 1917 1918 1919 | # File 'generated/google/apis/plus_v1/classes.rb', line 1917 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1924 1925 1926 1927 | # File 'generated/google/apis/plus_v1/classes.rb', line 1924 def update!(**args) @primary = args[:primary] if args.key?(:primary) @value = args[:value] if args.key?(:value) end |