Skip to content

Commit d7691b2

Browse files
algolia-botsbellone
andcommitted
fix(specs): ingestion small fix + added source input descriptions (generated)
algolia/api-clients-automation#5515 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
1 parent 2106f5a commit d7691b2

11 files changed

+12
-13
lines changed

lib/algolia/models/ingestion/authentication_update.rb

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ class AuthenticationUpdate
1414
# Descriptive name for the resource.
1515
attr_accessor :name
1616

17-
attr_accessor :platform
18-
1917
attr_accessor :input
2018

2119
# Attribute mapping from ruby-style variable name to JSON key.
2220
def self.attribute_map
2321
{
2422
:type => :type,
2523
:name => :name,
26-
:platform => :platform,
2724
:input => :input
2825
}
2926
end
@@ -33,17 +30,14 @@ def self.types_mapping
3330
{
3431
:type => :"AuthenticationType",
3532
:name => :"String",
36-
:platform => :"Platform",
3733
:input => :"AuthInputPartial"
3834
}
3935
end
4036

4137
# List of attributes with nullable: true
4238
def self.openapi_nullable
4339
Set.new(
44-
[
45-
:platform
46-
]
40+
[]
4741
)
4842
end
4943

@@ -78,10 +72,6 @@ def initialize(attributes = {})
7872
self.name = attributes[:name]
7973
end
8074

81-
if attributes.key?(:platform)
82-
self.platform = attributes[:platform]
83-
end
84-
8575
if attributes.key?(:input)
8676
self.input = attributes[:input]
8777
end
@@ -94,7 +84,6 @@ def ==(other)
9484
self.class == other.class &&
9585
type == other.type &&
9686
name == other.name &&
97-
platform == other.platform &&
9887
input == other.input
9988
end
10089

@@ -107,7 +96,7 @@ def eql?(other)
10796
# Calculates hash code according to all attributes.
10897
# @return [Integer] Hash code
10998
def hash
110-
[type, name, platform, input].hash
99+
[type, name, input].hash
111100
end
112101

113102
# Builds the object from hash

lib/algolia/models/ingestion/source_big_commerce.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `bigcommerce` source.
1011
class SourceBigCommerce
1112
# Store hash identifying your BigCommerce store.
1213
attr_accessor :store_hash

lib/algolia/models/ingestion/source_big_query.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `bigquery` source.
1011
class SourceBigQuery
1112
# Project ID of the BigQuery source.
1213
attr_accessor :project_id

lib/algolia/models/ingestion/source_commercetools.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `commercetools` source.
1011
class SourceCommercetools
1112
attr_accessor :store_keys
1213

lib/algolia/models/ingestion/source_csv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `csv` source.
1011
class SourceCSV
1112
# URL of the file.
1213
attr_accessor :url

lib/algolia/models/ingestion/source_docker.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `docker` source.
1011
class SourceDocker
1112
# Name of the connector.
1213
attr_accessor :image

lib/algolia/models/ingestion/source_ga4_big_query_export.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `ga4BigqueryExport` source.
1011
class SourceGA4BigQueryExport
1112
# GCP project ID that the BigQuery export writes to.
1213
attr_accessor :project_id

lib/algolia/models/ingestion/source_json.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `json` source.
1011
class SourceJSON
1112
# URL of the file.
1213
attr_accessor :url

lib/algolia/models/ingestion/source_update_commercetools.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `commercetools` source.
1011
class SourceUpdateCommercetools
1112
attr_accessor :store_keys
1213

lib/algolia/models/ingestion/source_update_docker.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
module Algolia
99
module Ingestion
10+
# Specific configuration attributes of a `docker` source.
1011
class SourceUpdateDocker
1112
# Configuration of the spec.
1213
attr_accessor :configuration

0 commit comments

Comments
 (0)