Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmCardsTabularData

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

Overview

The generic data format returned from all connectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmCardsTabularData

Returns a new instance of EnterpriseCrmCardsTabularData.



125
126
127
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 125

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

Instance Attribute Details

#headersArray<String>

Ordered list of column headers. Corresponds to the JSON property headers

Returns:

  • (Array<String>)


118
119
120
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 118

def headers
  @headers
end

#rowsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmCardsRow>

Ordered list of table rows. Corresponds to the JSON property rows



123
124
125
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 123

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



130
131
132
133
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 130

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