<commit_before>
// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//  
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
//     
//	   Copyright (c) 2014 Citrix ShareFile. All rights reserved.
// </auto-generated>
// ------------------------------------------------------------------------------

package com.sharefile.api.entities;

import com.sharefile.api.entities.*;
import com.sharefile.api.models.*;
import com.sharefile.api.models.internal.*;
import com.sharefile.api.SFApiQuery;
import com.sharefile.api.interfaces.ISFQuery;


import java.io.InputStream;
import java.util.ArrayList;
import java.net.URI;
import java.util.Date;
 
import com.google.gson.annotations.SerializedName;
import com.sharefile.api.enumerations.SFSafeEnum;

public class SFSharesEntity extends SFODataEntityBase
{
    /**
	* Get List of Shares
	* Retrieve all outstanding Shares of the authenticated user
	* @return List of Shares created by the authenticated user
    */
	public ISFQuery<SFODataFeed<SFShare>> get()
	{
		SFApiQuery<SFODataFeed<SFShare>> sfApiQuery = new SFApiQuery<SFODataFeed<SFShare>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Share
	* Retrieve a single Share entity. If the Share allows anonymous access, then this method will not
	* require authentication.
	* @param url 	
	* @return A single Share
    */
	public ISFQuery<SFShare> get(URI url)
	{
		SFApiQuery<SFShare> sfApiQuery = new SFApiQuery<SFShare>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.addIds(url);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Recipients of a Share
	* Retrieve the list of Recipients in the share. Recipients represent the target users of the Share, containing
	* access information, such as number of times that user downloaded files from the share. Each Recipient is
	* identified by an Alias, which is an unique ID given to each user - allowing tracking of downloads for
	* non-authenticated users.
	* @param url 	
	* @return A feed of Share Aliases representing recipients of the Share
    */
	public ISFQuery<SFODataFeed<SFShareAlias>> getRecipients(URI url)
	{
		SFApiQuery<SFODataFeed<SFShareAlias>> sfApiQuery = new SFApiQuery<SFODataFeed<SFShareAlias>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(url);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Recipient of a Share
	* Retrieve a single Share Recipient identified by the alias id.
	* @param parentUrl 	
	* @param id 	
	* @return A Share Alias representing a single recipient of the Share
    */
	public ISFQuery<SFShareAlias> getRecipients(URI parentUrl, String id)
	{
		SFApiQuery<SFShareAlias> sfApiQuery = new SFApiQuery<SFShareAlias>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(parentUrl);
		sfApiQuery.addActionIds(id);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Create Recipient for a Share
	* To create a Recipient for Shares that require user informaion ( Email, First Name, Last Name and Company), make sure
	* pass those parameters
	* @param parentUrl 	
	* @param Email 	
	* @param FirstName 	
	* @param LastName 	
	* @param Company 	
	* @return A Share Alias representing a single recipient of the Share
    */
	public ISFQuery<SFShareAlias> createRecipients(URI parentUrl, String Email, String FirstName, String LastName, String Company)
	{
		SFApiQuery<SFShareAlias> sfApiQuery = new SFApiQuery<SFShareAlias>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(parentUrl);
		sfApiQuery.addQueryString("Email", Email);
		sfApiQuery.addQueryString("FirstName", FirstName);
		sfApiQuery.addQueryString("LastName", LastName);
		sfApiQuery.addQueryString("Company", Company);
		sfApiQuery.setHttpMethod("POST");
		return sfApiQuery;
	}

    /**
	* Get Items of a Share
	* Retrieve the list of Items (files and folders) in the Send Share.
	* @param url 	
	* @return A feed of Items of the Share
    */
	public ISFQuery<SFODataFeed<SFItem>> getItems(URI url)
	{
		SFApiQuery<SFODataFeed<SFItem>> sfApiQuery = new SFApiQuery<SFODataFeed<SFItem>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Items");
		sfApiQuery.addIds(url);<commit_msg>Updating generated files: 2c09c4f3fe643388de3c81f38c5d91f2e1036de3<commit_after>
// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//  
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
//     
//	   Copyright (c) 2014 Citrix ShareFile. All rights reserved.
// </auto-generated>
// ------------------------------------------------------------------------------

package com.sharefile.api.entities;

import com.sharefile.api.entities.*;
import com.sharefile.api.models.*;
import com.sharefile.api.models.internal.*;
import com.sharefile.api.SFApiQuery;
import com.sharefile.api.interfaces.ISFQuery;


import java.io.InputStream;
import java.util.ArrayList;
import java.net.URI;
import java.util.Date;
 
import com.google.gson.annotations.SerializedName;
import com.sharefile.api.enumerations.SFSafeEnum;

public class SFSharesEntity extends SFODataEntityBase
{
    /**
	* Get List of Shares
	* Retrieve all outstanding Shares of the authenticated user
	* @return List of Shares created by the authenticated user
    */
	public ISFQuery<SFODataFeed<SFShare>> get()
	{
		SFApiQuery<SFODataFeed<SFShare>> sfApiQuery = new SFApiQuery<SFODataFeed<SFShare>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Share
	* Retrieve a single Share entity. If the Share allows anonymous access, then this method will not
	* require authentication.
	* @param url 	
	* @return A single Share
    */
	public ISFQuery<SFShare> get(URI url)
	{
		SFApiQuery<SFShare> sfApiQuery = new SFApiQuery<SFShare>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.addIds(url);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Recipients of a Share
	* Retrieve the list of Recipients in the share. Recipients represent the target users of the Share, containing
	* access information, such as number of times that user downloaded files from the share. Each Recipient is
	* identified by an Alias, which is an unique ID given to each user - allowing tracking of downloads for
	* non-authenticated users.
	* @param url 	
	* @return A feed of Share Aliases representing recipients of the Share
    */
	public ISFQuery<SFODataFeed<SFShareAlias>> getRecipients(URI url)
	{
		SFApiQuery<SFODataFeed<SFShareAlias>> sfApiQuery = new SFApiQuery<SFODataFeed<SFShareAlias>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(url);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

    /**
	* Get Recipient of a Share
	* Retrieve a single Share Recipient identified by the alias id.
	* @param parentUrl 	
	* @param id 	
	* @return A Share Alias representing a single recipient of the Share
    */
	public ISFQuery<SFShareAlias> getRecipients(URI parentUrl, String id)
	{
		SFApiQuery<SFShareAlias> sfApiQuery = new SFApiQuery<SFShareAlias>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(parentUrl);
		sfApiQuery.addActionIds(id);
		sfApiQuery.setHttpMethod("GET");
		return sfApiQuery;
	}

	public ISFQuery<SFShareAlias> createRecipients(URI url, String Email, String FirstName, String LastName, String Company)
	{
		SFApiQuery<SFShareAlias> sfApiQuery = new SFApiQuery<SFShareAlias>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Recipients");
		sfApiQuery.addIds(url);
		sfApiQuery.addQueryString("Email", Email);
		sfApiQuery.addQueryString("FirstName", FirstName);
		sfApiQuery.addQueryString("LastName", LastName);
		sfApiQuery.addQueryString("Company", Company);
		sfApiQuery.setHttpMethod("POST");
		return sfApiQuery;
	}

    /**
	* Get Items of a Share
	* Retrieve the list of Items (files and folders) in the Send Share.
	* @param url 	
	* @return A feed of Items of the Share
    */
	public ISFQuery<SFODataFeed<SFItem>> getItems(URI url)
	{
		SFApiQuery<SFODataFeed<SFItem>> sfApiQuery = new SFApiQuery<SFODataFeed<SFItem>>();
		sfApiQuery.setFrom("Shares");
		sfApiQuery.setAction("Items");
		sfApiQuery.addIds(url);
{'fraction_non_alphanumeric': 0.1367342184952248, 'fraction_numerical': 0.003843466107617051, 'mean_word_length': 3.7207256734469487, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1086658', 'n_tokens_mistral': 2829, 'n_tokens_neox': 2679, 'n_words': 722}