All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kaltura.client.services.BeaconService Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

There is a newer version: 19.3.0
Show newest version
// ===================================================================================================
//                           _  __     _ _
//                          | |/ /__ _| | |_ _  _ _ _ __ _
//                          | ' .
//
// @ignore
// ===================================================================================================
package com.kaltura.client.services;

import com.kaltura.client.types.Beacon;
import com.kaltura.client.types.BeaconEnhanceFilter;
import com.kaltura.client.types.BeaconFilter;
import com.kaltura.client.types.BeaconSearchParams;
import com.kaltura.client.types.FilterPager;
import com.kaltura.client.types.Pager;
import com.kaltura.client.utils.request.ListResponseRequestBuilder;
import com.kaltura.client.utils.request.RequestBuilder;

/**
 * This class was generated using generate.php
 * against an XML schema provided by Kaltura.
 * 
 * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
 */

/**
 * Sending beacons on objects
 * 
 * @param beacon 
 * @param shouldLog 
 * @param filter 
 * @param pager 
 * @param filter 
 * @param pager 
 * @param searchParams 
 * @param pager 
 */
public class BeaconService {
	
	public static class AddBeaconBuilder extends RequestBuilder {
		
		public AddBeaconBuilder(Beacon beacon, Boolean shouldLog) {
			super(Boolean.class, "beacon_beacon", "add");
			params.add("beacon", beacon);
			params.add("shouldLog", shouldLog);
		}
		
		public void shouldLog(String multirequestToken) {
			params.add("shouldLog", multirequestToken);
		}
	}

	public static AddBeaconBuilder add(Beacon beacon)  {
		return add(beacon, false);
	}

    public static AddBeaconBuilder add(Beacon beacon, Boolean shouldLog)  {
		return new AddBeaconBuilder(beacon, shouldLog);
	}
	
	public static class EnhanceSearchBeaconBuilder extends ListResponseRequestBuilder {
		
		public EnhanceSearchBeaconBuilder(BeaconEnhanceFilter filter, FilterPager pager) {
			super(Beacon.class, "beacon_beacon", "enhanceSearch");
			params.add("filter", filter);
			params.add("pager", pager);
		}
	}

	public static EnhanceSearchBeaconBuilder enhanceSearch()  {
		return enhanceSearch(null);
	}

	public static EnhanceSearchBeaconBuilder enhanceSearch(BeaconEnhanceFilter filter)  {
		return enhanceSearch(filter, null);
	}

    public static EnhanceSearchBeaconBuilder enhanceSearch(BeaconEnhanceFilter filter, FilterPager pager)  {
		return new EnhanceSearchBeaconBuilder(filter, pager);
	}
	
	public static class ListBeaconBuilder extends ListResponseRequestBuilder {
		
		public ListBeaconBuilder(BeaconFilter filter, FilterPager pager) {
			super(Beacon.class, "beacon_beacon", "list");
			params.add("filter", filter);
			params.add("pager", pager);
		}
	}

	public static ListBeaconBuilder list()  {
		return list(null);
	}

	public static ListBeaconBuilder list(BeaconFilter filter)  {
		return list(filter, null);
	}

    public static ListBeaconBuilder list(BeaconFilter filter, FilterPager pager)  {
		return new ListBeaconBuilder(filter, pager);
	}
	
	public static class SearchScheduledResourceBeaconBuilder extends ListResponseRequestBuilder {
		
		public SearchScheduledResourceBeaconBuilder(BeaconSearchParams searchParams, Pager pager) {
			super(Beacon.class, "beacon_beacon", "searchScheduledResource");
			params.add("searchParams", searchParams);
			params.add("pager", pager);
		}
	}

	public static SearchScheduledResourceBeaconBuilder searchScheduledResource(BeaconSearchParams searchParams)  {
		return searchScheduledResource(searchParams, null);
	}

    public static SearchScheduledResourceBeaconBuilder searchScheduledResource(BeaconSearchParams searchParams, Pager pager)  {
		return new SearchScheduledResourceBeaconBuilder(searchParams, pager);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy