Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Welcome to the Stark Infra Java SDK! This tool is made for Java developers who want to easily integrate with our API. This SDK version is compatible with the Stark Infra API v2.
package com.starkinfra;
import com.starkinfra.utils.Rest;
import com.starkinfra.utils.Resource;
import com.starkinfra.utils.Generator;
import com.starkinfra.utils.SubResource;
import java.util.Map;
import java.util.List;
import java.util.HashMap;
import java.util.ArrayList;
public final class IssuingEmbossingKit extends Resource {
/**
* IssuingEmbossingKit object
*
* The IssuingEmbossingKit object displays the information of embossing requests in your Workspace.
*
* Parameters:
* id [string]: unique id returned when IssuingEmbossingKit is created. ex: "5656565656565656"
* name [string]: embossing kit name. ex: "stark-plastic-dark-001"
* designs [list of IssuingDesign objects]: list of IssuingDesign objects.
* updated [string]: latest update datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
* created [string]: creation datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
*/
static ClassData data = new ClassData(IssuingEmbossingKit.class, "IssuingEmbossingKit");
public String name;
public List designs;
public String updated;
public String created;
/**
* IssuingEmbossingKit object
*
* The IssuingEmbossingKit objects display information on the card embossing requests made in your Workspace.
*
* Parameters:
* @param id [string]: unique id returned when IssuingEmbossingKit is created. ex: "5656565656565656"
* @param name [string]: embossing kit name. ex: "stark-plastic-dark-001"
* @param designs [list of IssuingDesign objects]: list of IssuingDesign objects.
* @param updated [string]: latest update datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
* @param created [string]: creation datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
*/
public IssuingEmbossingKit(
String id, String name, List designs, String updated, String created
) {
super(id);
this.name = name;
this.designs = designs;
this.updated = updated;
this.created = created;
}
/**
* IssuingEmbossingKit object
*
* The IssuingEmbossingKit object displays the information of the request orders created in your Workspace.
*
* When you initialize a IssuingEmbossingKit, the entity will not be automatically
* created in the Stark Infra API. The 'create' function sends the objects
* to the Stark Infra API and returns the created object.
*
* Attributes (return-only):
* id [string]: unique id returned when IssuingEmbossingKit is created. ex: "5656565656565656"
* name [string]: embossing kit name. ex: "stark-plastic-dark-001"
* designs [list of IssuingDesign objects]: list of IssuingDesign objects.
* updated [string]: latest update datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
* created [string]: creation datetime for the IssuingEmbossingKit. ex: "2020-03-10 10:30:00.000000+00:00"
* @throws Exception error in the request
*/
public IssuingEmbossingKit(Map data) throws Exception {
super(null);
HashMap dataCopy = new HashMap<>(data);
this.name = (String) dataCopy.remove("name");
this.designs = parseDesigns((List