class Google::Apis::MybusinessqandaV1::Author

Represents the author of a question or answer

Attributes

display_name[RW]

The display name of the user Corresponds to the JSON property ‘displayName` @return [String]

profile_photo_uri[RW]

The profile photo URI of the user. Corresponds to the JSON property ‘profilePhotoUri` @return [String]

type[RW]

The type of user the author is. Corresponds to the JSON property ‘type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinessqanda_v1/classes.rb, line 100
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @profile_photo_uri = args[:profile_photo_uri] if args.key?(:profile_photo_uri)
  @type = args[:type] if args.key?(:type)
end