Class: Google::Apis::SpectrumV1explorer::DeviceOwner
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::DeviceOwner
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spectrum_v1explorer/classes.rb,
 generated/google/apis/spectrum_v1explorer/representations.rb,
 generated/google/apis/spectrum_v1explorer/representations.rb
Overview
This parameter contains device-owner information required as part of device registration. The regulatory domains may require additional parameters. All contact information must be expressed using the structure defined by the vCard format specification. Only the contact fields of vCard are supported:
- fn: Full name of an individual
- org: Name of the organization
- adr: Address fields
- tel: Telephone numbers
- email: Email addresses Note that the vCard specification defines maximum lengths for each field.
Instance Attribute Summary collapse
- 
  
    
      #operator  ⇒ Google::Apis::SpectrumV1explorer::Vcard 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A vCard-in-JSON message that contains only the fields needed for PAWS: - fn: Full name of an individual - org: Name of the organization - adr: Address fields - tel: Telephone numbers - email: Email addresses Corresponds to the JSON property operator.
- 
  
    
      #owner  ⇒ Google::Apis::SpectrumV1explorer::Vcard 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A vCard-in-JSON message that contains only the fields needed for PAWS: - fn: Full name of an individual - org: Name of the organization - adr: Address fields - tel: Telephone numbers - email: Email addresses Corresponds to the JSON property owner.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeviceOwner 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeviceOwner. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceOwner
Returns a new instance of DeviceOwner
| 265 266 267 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 265 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#operator ⇒ Google::Apis::SpectrumV1explorer::Vcard
A vCard-in-JSON message that contains only the fields needed for PAWS:
- fn: Full name of an individual
- org: Name of the organization
- adr: Address fields
- tel: Telephone numbers
- email: Email addresses
Corresponds to the JSON property operator
| 253 254 255 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 253 def operator @operator end | 
#owner ⇒ Google::Apis::SpectrumV1explorer::Vcard
A vCard-in-JSON message that contains only the fields needed for PAWS:
- fn: Full name of an individual
- org: Name of the organization
- adr: Address fields
- tel: Telephone numbers
- email: Email addresses
Corresponds to the JSON property owner
| 263 264 265 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 263 def owner @owner end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 270 271 272 273 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 270 def update!(**args) @operator = args[:operator] if args.key?(:operator) @owner = args[:owner] if args.key?(:owner) end |