// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_SET_UP_LIST_SET_UP_LIST_ITEM_VIEW_DATA_H_
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_SET_UP_LIST_SET_UP_LIST_ITEM_VIEW_DATA_H_
#import <UIKit/UIKit.h>
namespace segmentation_platform {
enum class DefaultBrowserUserSegment;
} // namespace segmentation_platform
enum class SetUpListItemType;
// A view to display an individual item in the SetUpListView.
@interface SetUpListItemViewData : NSObject
// Indicates the type of item.
@property(nonatomic, readonly) SetUpListItemType type;
// Indicates whether this item is complete.
@property(nonatomic, readonly) BOOL complete;
// YES if this view should configure itself with a compacted layout.
@property(nonatomic, assign) BOOL compactLayout;
// YES if this view should configure itself for a hero cell layout in the Magic
// Stack.
@property(nonatomic, assign) BOOL heroCellMagicStackLayout;
// User classification retrieved by the Segmentation Platform. Used to
// personalize Set Up List item messaging.
@property(nonatomic, assign)
segmentation_platform::DefaultBrowserUserSegment userSegment;
// Initialize a SetUpListItemView with the given `type` and `complete` state.
- (instancetype)initWithType:(SetUpListItemType)type complete:(BOOL)complete;
@end
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_SET_UP_LIST_SET_UP_LIST_ITEM_VIEW_DATA_H_