<commit_before>package au.com.noojee.acceloapi.entities;

import java.time.Duration;
import java.time.LocalDateTime;
import java.util.List;

import javax.swing.text.html.HTML.Tag;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.joda.money.Money;

import com.google.gson.annotations.SerializedName;

import au.com.noojee.acceloapi.dao.ActivityOwnerType;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.BasicFilterField;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.DateFilterField;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.MetaBasicFilterFields;
import au.com.noojee.acceloapi.entities.types.AgainstType;
import au.com.noojee.acceloapi.util.Conversions;

public class Activity extends AcceloEntity<Activity>
{

	@SuppressWarnings("unused")
	static private Logger logger = LogManager.getLogger(Activity.class);

	public enum Medium
	{
		note, meeting, report, email, call, postal, fax, sms
	};

	public enum Visibility
	{
		all("all"), confidential("confidential"), _private("private");

		String name;

		Visibility(String name)
		{
			this.name = name;
		}

		@Override
		public String toString()
		{
			return this.name;

		}
	};

	public enum Standing
	{
		unapproved, approved, invoiced, locked, empty;
	}
	

	private Medium medium = Medium.note; // The type of activity.

	private String subject;

	@BasicFilterField
	private String parent; // the parent entity of the form "activities/0"

	private String thread;

	@BasicFilterField
	private AgainstType against_type;

	@BasicFilterField<commit_msg>set default activity to call.<commit_after>package au.com.noojee.acceloapi.entities;

import java.time.Duration;
import java.time.LocalDateTime;
import java.util.List;

import javax.swing.text.html.HTML.Tag;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.joda.money.Money;

import com.google.gson.annotations.SerializedName;

import au.com.noojee.acceloapi.dao.ActivityOwnerType;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.BasicFilterField;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.DateFilterField;
import au.com.noojee.acceloapi.entities.meta.fieldTypes.MetaBasicFilterFields;
import au.com.noojee.acceloapi.entities.types.AgainstType;
import au.com.noojee.acceloapi.util.Conversions;

public class Activity extends AcceloEntity<Activity>
{

	@SuppressWarnings("unused")
	static private Logger logger = LogManager.getLogger(Activity.class);

	public enum Medium
	{
		note, meeting, report, email, call, postal, fax, sms
	};

	public enum Visibility
	{
		all("all"), confidential("confidential"), _private("private");

		String name;

		Visibility(String name)
		{
			this.name = name;
		}

		@Override
		public String toString()
		{
			return this.name;

		}
	};

	public enum Standing
	{
		unapproved, approved, invoiced, locked, empty;
	}
	

	private Medium medium = Medium.call; // The type of activity.

	private String subject;

	@BasicFilterField
	private String parent; // the parent entity of the form "activities/0"

	private String thread;

	@BasicFilterField
	private AgainstType against_type;

	@BasicFilterField
{'fraction_non_alphanumeric': 0.10508155583437892, 'fraction_numerical': 0.0018820577164366374, 'mean_word_length': 4.84065934065934, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1086088', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1032, 'n_words': 219}