Class: Google::Apis::BloggerV3::Post::Image

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/blogger_v3/classes.rb,
lib/google/apis/blogger_v3/representations.rb,
lib/google/apis/blogger_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Image

Returns a new instance of Image.



1026
1027
1028
# File 'lib/google/apis/blogger_v3/classes.rb', line 1026

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


1024
1025
1026
# File 'lib/google/apis/blogger_v3/classes.rb', line 1024

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1031
1032
1033
# File 'lib/google/apis/blogger_v3/classes.rb', line 1031

def update!(**args)
  @url = args[:url] if args.key?(:url)
end