<commit_before>// Copyright (c) 2015 TeamSnap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TSDKCollectionObject.h"
#import "TSDKObjectsRequest.h"

@interface TSDKAssignment : TSDKCollectionObject

@property (nonatomic, strong, nullable) NSString * assignmentDescription; //Example: Scorekeeper
@property (nonatomic, strong, nullable) NSString * logoUrl; //Example: https://pod-gatorade.teamsnap.com/images/assignment_sponsorships/scorekeeper.png
@property (nonatomic, assign) NSInteger position; //Example: 3
@property (nonatomic, assign) BOOL isEditable; //Example: 1
@property (nonatomic, strong, nullable) NSDate * createdAt; //Example: 2019-12-02T21:26:07Z
@property (nonatomic, strong, nullable) NSString * adUnitId; //Example: <null>
@property (nonatomic, assign) BOOL isSponsored; //Example: 0
@property (nonatomic, strong, nullable) NSDate * updatedAt; //Example: 2019-12-02T21:26:07Z
@property (nonatomic, assign) NSInteger managerCreated; //Example: 1
@property (nonatomic, strong, nullable) NSString * teamId; //Example: 3
@property (nonatomic, strong, nullable) NSString * eventId; //Example: 206
@property (nonatomic, strong, nullable) NSString * memberId; //Example: <null>
@property (nonatomic, strong, nullable) NSURL * linkMember;
@property (nonatomic, strong, nullable) NSURL * linkMemberAssignment;
@property (nonatomic, strong, nullable) NSURL * linkMemberAssignments;
@property (nonatomic, strong, nullable) NSURL * linkEvent;
@property (nonatomic, strong, nullable) NSURL * linkTeam;

//Notifies all members on the team via email regarding upcoming event assignments.
//+(void)actionSendAssignmentEmailsEventids:(NSString *_Nonnull)eventIds message:(NSString *_Nonnull)message sendingMemberId:(NSString *_Nonnull)sendingMemberId teamId:(NSString *_Nonnull)teamId WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//reorder the assignments based on the sorted_ids provided
//+(void)actionReorderAssignmentsEventid:(NSString *_Nonnull)eventId sortedIds:(NSString *_Nonnull)sortedIds WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//aaa
//+(void)actionCreateBulkAssignmentsEventset:(NSString *_Nonnull)eventSet memberId:(NSString *_Nonnull)memberId description:(NSString *_Nonnull)description teamId:(NSString *_Nonnull)teamId createAsMemberId:(NSString *_Nonnull)createAsMemberId WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//+(void)querySearchPagesize:(NSString *_Nonnull)pageSize pageNumber:(NSString *_Nonnull)pageNumber startedBefore:(NSString *_Nonnull)startedBefore id:(NSString *_Nonnull)id teamsnapPlus:(NSString *_Nonnull)teamsnapPlus memberId:(NSString *_Nonnull)memberId teamId:(NSString *_Nonnull)teamId eventId:(NSString *_Nonnull)eventId startedAfter:(NSString *_Nonnull)startedAfter WithCompletion:(TSDKCompletionBlock _Nullable)completion;


@end
<commit_msg>change managerCreated property from NSInt to BOOL so it will behave properly<commit_after>// Copyright (c) 2015 TeamSnap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TSDKCollectionObject.h"
#import "TSDKObjectsRequest.h"

@interface TSDKAssignment : TSDKCollectionObject

@property (nonatomic, strong, nullable) NSString * assignmentDescription; //Example: Scorekeeper
@property (nonatomic, strong, nullable) NSString * logoUrl; //Example: https://pod-gatorade.teamsnap.com/images/assignment_sponsorships/scorekeeper.png
@property (nonatomic, assign) NSInteger position; //Example: 3
@property (nonatomic, assign) BOOL isEditable; //Example: 1
@property (nonatomic, strong, nullable) NSDate * createdAt; //Example: 2019-12-02T21:26:07Z
@property (nonatomic, strong, nullable) NSString * adUnitId; //Example: <null>
@property (nonatomic, assign) BOOL isSponsored; //Example: 0
@property (nonatomic, strong, nullable) NSDate * updatedAt; //Example: 2019-12-02T21:26:07Z
@property (nonatomic, assign) BOOL managerCreated; //Example: 1
@property (nonatomic, strong, nullable) NSString * teamId; //Example: 3
@property (nonatomic, strong, nullable) NSString * eventId; //Example: 206
@property (nonatomic, strong, nullable) NSString * memberId; //Example: <null>
@property (nonatomic, strong, nullable) NSURL * linkMember;
@property (nonatomic, strong, nullable) NSURL * linkMemberAssignment;
@property (nonatomic, strong, nullable) NSURL * linkMemberAssignments;
@property (nonatomic, strong, nullable) NSURL * linkEvent;
@property (nonatomic, strong, nullable) NSURL * linkTeam;

//Notifies all members on the team via email regarding upcoming event assignments.
//+(void)actionSendAssignmentEmailsEventids:(NSString *_Nonnull)eventIds message:(NSString *_Nonnull)message sendingMemberId:(NSString *_Nonnull)sendingMemberId teamId:(NSString *_Nonnull)teamId WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//reorder the assignments based on the sorted_ids provided
//+(void)actionReorderAssignmentsEventid:(NSString *_Nonnull)eventId sortedIds:(NSString *_Nonnull)sortedIds WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//aaa
//+(void)actionCreateBulkAssignmentsEventset:(NSString *_Nonnull)eventSet memberId:(NSString *_Nonnull)memberId description:(NSString *_Nonnull)description teamId:(NSString *_Nonnull)teamId createAsMemberId:(NSString *_Nonnull)createAsMemberId WithCompletion:(TSDKCompletionBlock _Nullable)completion;

//+(void)querySearchPagesize:(NSString *_Nonnull)pageSize pageNumber:(NSString *_Nonnull)pageNumber startedBefore:(NSString *_Nonnull)startedBefore id:(NSString *_Nonnull)id teamsnapPlus:(NSString *_Nonnull)teamsnapPlus memberId:(NSString *_Nonnull)memberId teamId:(NSString *_Nonnull)teamId eventId:(NSString *_Nonnull)eventId startedAfter:(NSString *_Nonnull)startedAfter WithCompletion:(TSDKCompletionBlock _Nullable)completion;


@end

{'fraction_non_alphanumeric': 0.11064862989941034, 'fraction_numerical': 0.01387443635102324, 'mean_word_length': 8.611666666666666, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2222852', 'n_tokens_mistral': 1837, 'n_tokens_neox': 1568, 'n_words': 429}