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



3910
3911
3912
# File 'generated/google/apis/slides_v1/classes.rb', line 3910

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)


3898
3899
3900
# File 'generated/google/apis/slides_v1/classes.rb', line 3898

def dash_style
  @dash_style
end

#table_border_fillGoogle::Apis::SlidesV1::TableBorderFill

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



3903
3904
3905
# File 'generated/google/apis/slides_v1/classes.rb', line 3903

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



3908
3909
3910
# File 'generated/google/apis/slides_v1/classes.rb', line 3908

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3915
3916
3917
3918
3919
# File 'generated/google/apis/slides_v1/classes.rb', line 3915

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