/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (https://www.swig.org).
 * Version 4.3.0
 *
 * Do not make changes to this file unless you know what you are doing - modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.chilkatsoft;

public class CkMessageSet {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

  protected CkMessageSet(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(CkMessageSet obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected static long swigRelease(CkMessageSet obj) {
    long ptr = 0;
    if (obj != null) {
      if (!obj.swigCMemOwn)
        throw new RuntimeException("Cannot release ownership as memory is not owned");
      ptr = obj.swigCPtr;
      obj.swigCMemOwn = false;
      obj.delete();
    }
    return ptr;
  }

  @SuppressWarnings({"deprecation", "removal"})
  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        chilkatJNI.delete_CkMessageSet(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public CkMessageSet() {
    this(chilkatJNI.new_CkMessageSet(), true);
  }

  public int get_Count() {
    return chilkatJNI.CkMessageSet_get_Count(swigCPtr, this);
  }

  public void get_DebugLogFilePath(CkString str) {
    chilkatJNI.CkMessageSet_get_DebugLogFilePath(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String debugLogFilePath() {
    return chilkatJNI.CkMessageSet_debugLogFilePath(swigCPtr, this);
  }

  public void put_DebugLogFilePath(String newVal) {
    chilkatJNI.CkMessageSet_put_DebugLogFilePath(swigCPtr, this, newVal);
  }

  public boolean get_HasUids() {
    return chilkatJNI.CkMessageSet_get_HasUids(swigCPtr, this);
  }

  public void put_HasUids(boolean newVal) {
    chilkatJNI.CkMessageSet_put_HasUids(swigCPtr, this, newVal);
  }

  public void get_LastErrorHtml(CkString str) {
    chilkatJNI.CkMessageSet_get_LastErrorHtml(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String lastErrorHtml() {
    return chilkatJNI.CkMessageSet_lastErrorHtml(swigCPtr, this);
  }

  public void get_LastErrorText(CkString str) {
    chilkatJNI.CkMessageSet_get_LastErrorText(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String lastErrorText() {
    return chilkatJNI.CkMessageSet_lastErrorText(swigCPtr, this);
  }

  public void get_LastErrorXml(CkString str) {
    chilkatJNI.CkMessageSet_get_LastErrorXml(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String lastErrorXml() {
    return chilkatJNI.CkMessageSet_lastErrorXml(swigCPtr, this);
  }

  public boolean get_LastMethodSuccess() {
    return chilkatJNI.CkMessageSet_get_LastMethodSuccess(swigCPtr, this);
  }

  public void put_LastMethodSuccess(boolean newVal) {
    chilkatJNI.CkMessageSet_put_LastMethodSuccess(swigCPtr, this, newVal);
  }

  public boolean get_VerboseLogging() {
    return chilkatJNI.CkMessageSet_get_VerboseLogging(swigCPtr, this);
  }

  public void put_VerboseLogging(boolean newVal) {
    chilkatJNI.CkMessageSet_put_VerboseLogging(swigCPtr, this, newVal);
  }

  public void get_Version(CkString str) {
    chilkatJNI.CkMessageSet_get_Version(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String version() {
    return chilkatJNI.CkMessageSet_version(swigCPtr, this);
  }

  public boolean ContainsId(long msgId) {
    return chilkatJNI.CkMessageSet_ContainsId(swigCPtr, this, msgId);
  }

  public boolean FromCompactString(String str) {
    return chilkatJNI.CkMessageSet_FromCompactString(swigCPtr, this, str);
  }

  public long GetId(int index) {
    return chilkatJNI.CkMessageSet_GetId(swigCPtr, this, index);
  }

  public void InsertId(long id) {
    chilkatJNI.CkMessageSet_InsertId(swigCPtr, this, id);
  }

  public boolean LoadTaskResult(CkTask task) {
    return chilkatJNI.CkMessageSet_LoadTaskResult(swigCPtr, this, CkTask.getCPtr(task), task);
  }

  public void RemoveId(long id) {
    chilkatJNI.CkMessageSet_RemoveId(swigCPtr, this, id);
  }

  public boolean ToCommaSeparatedStr(CkString outStr) {
    return chilkatJNI.CkMessageSet_ToCommaSeparatedStr(swigCPtr, this, CkString.getCPtr(outStr), outStr);
  }

  public String toCommaSeparatedStr() {
    return chilkatJNI.CkMessageSet_toCommaSeparatedStr(swigCPtr, this);
  }

  public boolean ToCompactString(CkString outStr) {
    return chilkatJNI.CkMessageSet_ToCompactString(swigCPtr, this, CkString.getCPtr(outStr), outStr);
  }

  public String toCompactString() {
    return chilkatJNI.CkMessageSet_toCompactString(swigCPtr, this);
  }

}
