Class: Google::Apis::SlidesV1::TableBorderProperties

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

Overview

The border styling properties of the TableBorderCell.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TableBorderProperties

Returns a new instance of TableBorderProperties



3773
3774
3775
# File 'generated/google/apis/slides_v1/classes.rb', line 3773

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

Instance Attribute Details

#dash_styleString

The dash style of the border. Corresponds to the JSON property dashStyle

Returns:

  • (String)


3761
3762
3763
# File 'generated/google/apis/slides_v1/classes.rb', line 3761

def dash_style
  @dash_style
end

#table_border_fillGoogle::Apis::SlidesV1::TableBorderFill

The fill of the border. Corresponds to the JSON property tableBorderFill



3766
3767
3768
# File 'generated/google/apis/slides_v1/classes.rb', line 3766

def table_border_fill
  @table_border_fill
end

#weightGoogle::Apis::SlidesV1::Dimension

A magnitude in a single direction in the specified units. Corresponds to the JSON property weight



3771
3772
3773
# File 'generated/google/apis/slides_v1/classes.rb', line 3771

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3778
3779
3780
3781
3782
# File 'generated/google/apis/slides_v1/classes.rb', line 3778

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