Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 960 Bytes

Loopcount.md

File metadata and controls

37 lines (28 loc) · 960 Bytes

Loopcount

oneOf schemas

Example

// Import classes:
import com.telnyx.sdk.model.Loopcount;
import com.telnyx.sdk.model.Integer;
import com.telnyx.sdk.model.String;

public class Example {
    public static void main(String[] args) {
        Loopcount exampleLoopcount = new Loopcount();

        // create a new Integer
        Integer exampleInteger = new Integer();
        // set Loopcount to Integer
        exampleLoopcount.setActualInstance(exampleInteger);
        // to get back the Integer set earlier
        Integer testInteger = (Integer) exampleLoopcount.getActualInstance();

        // create a new String
        String exampleString = new String();
        // set Loopcount to String
        exampleLoopcount.setActualInstance(exampleString);
        // to get back the String set earlier
        String testString = (String) exampleLoopcount.getActualInstance();
    }
}