@@ -44,6 +44,8 @@ struct ICEBERG_REST_EXPORT CatalogConfig {
4444
4545 // / \brief Validates the CatalogConfig.
4646 Status Validate () const { return {}; }
47+
48+ bool operator ==(const CatalogConfig&) const = default ;
4749};
4850
4951// / \brief JSON error payload returned in a response with further details on the error.
@@ -66,6 +68,8 @@ struct ICEBERG_REST_EXPORT ErrorResponse {
6668 // stack is optional, no validation needed
6769 return {};
6870 }
71+
72+ bool operator ==(const ErrorResponse&) const = default ;
6973};
7074
7175// / \brief Request to create a namespace.
@@ -75,6 +79,8 @@ struct ICEBERG_REST_EXPORT CreateNamespaceRequest {
7579
7680 // / \brief Validates the CreateNamespaceRequest.
7781 Status Validate () const { return {}; }
82+
83+ bool operator ==(const CreateNamespaceRequest&) const = default ;
7884};
7985
8086// / \brief Update or delete namespace properties request.
@@ -91,6 +97,8 @@ struct ICEBERG_REST_EXPORT UpdateNamespacePropertiesRequest {
9197 }
9298 return {};
9399 }
100+
101+ bool operator ==(const UpdateNamespacePropertiesRequest&) const = default ;
94102};
95103
96104// / \brief Request to register a table.
@@ -111,6 +119,8 @@ struct ICEBERG_REST_EXPORT RegisterTableRequest {
111119
112120 return {};
113121 }
122+
123+ bool operator ==(const RegisterTableRequest&) const = default ;
114124};
115125
116126// / \brief Request to rename a table.
@@ -124,6 +134,8 @@ struct ICEBERG_REST_EXPORT RenameTableRequest {
124134 ICEBERG_RETURN_UNEXPECTED (destination.Validate ());
125135 return {};
126136 }
137+
138+ bool operator ==(const RenameTableRequest&) const = default ;
127139};
128140
129141// / \brief An opaque token that allows clients to make use of pagination for list APIs.
@@ -143,6 +155,8 @@ struct ICEBERG_REST_EXPORT LoadTableResult {
143155 }
144156 return {};
145157 }
158+
159+ bool operator ==(const LoadTableResult&) const = default ;
146160};
147161
148162// / \brief Alias of LoadTableResult used as the body of CreateTableResponse
@@ -158,6 +172,8 @@ struct ICEBERG_REST_EXPORT ListNamespacesResponse {
158172
159173 // / \brief Validates the ListNamespacesResponse.
160174 Status Validate () const { return {}; }
175+
176+ bool operator ==(const ListNamespacesResponse&) const = default ;
161177};
162178
163179// / \brief Response body after creating a namespace.
@@ -167,6 +183,8 @@ struct ICEBERG_REST_EXPORT CreateNamespaceResponse {
167183
168184 // / \brief Validates the CreateNamespaceResponse.
169185 Status Validate () const { return {}; }
186+
187+ bool operator ==(const CreateNamespaceResponse&) const = default ;
170188};
171189
172190// / \brief Response body for loading namespace properties.
@@ -176,6 +194,8 @@ struct ICEBERG_REST_EXPORT GetNamespaceResponse {
176194
177195 // / \brief Validates the GetNamespaceResponse.
178196 Status Validate () const { return {}; }
197+
198+ bool operator ==(const GetNamespaceResponse&) const = default ;
179199};
180200
181201// / \brief Response body after updating namespace properties.
@@ -186,6 +206,8 @@ struct ICEBERG_REST_EXPORT UpdateNamespacePropertiesResponse {
186206
187207 // / \brief Validates the UpdateNamespacePropertiesResponse.
188208 Status Validate () const { return {}; }
209+
210+ bool operator ==(const UpdateNamespacePropertiesResponse&) const = default ;
189211};
190212
191213// / \brief Response body for listing tables in a namespace.
@@ -195,6 +217,8 @@ struct ICEBERG_REST_EXPORT ListTablesResponse {
195217
196218 // / \brief Validates the ListTablesResponse.
197219 Status Validate () const { return {}; }
220+
221+ bool operator ==(const ListTablesResponse&) const = default ;
198222};
199223
200224} // namespace iceberg::rest
0 commit comments