/* ----------------------------------------------------------------------------
 * 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 CkSFtpFile {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

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

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

  protected static long swigRelease(CkSFtpFile 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_CkSFtpFile(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public CkSFtpFile() {
    this(chilkatJNI.new_CkSFtpFile(), true);
  }

  public void get_CreateTimeStr(CkString str) {
    chilkatJNI.CkSFtpFile_get_CreateTimeStr(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String createTimeStr() {
    return chilkatJNI.CkSFtpFile_createTimeStr(swigCPtr, this);
  }

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

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

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

  public void get_Filename(CkString str) {
    chilkatJNI.CkSFtpFile_get_Filename(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String filename() {
    return chilkatJNI.CkSFtpFile_filename(swigCPtr, this);
  }

  public void get_FileType(CkString str) {
    chilkatJNI.CkSFtpFile_get_FileType(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String fileType() {
    return chilkatJNI.CkSFtpFile_fileType(swigCPtr, this);
  }

  public int get_Gid() {
    return chilkatJNI.CkSFtpFile_get_Gid(swigCPtr, this);
  }

  public void get_Group(CkString str) {
    chilkatJNI.CkSFtpFile_get_Group(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String group() {
    return chilkatJNI.CkSFtpFile_group(swigCPtr, this);
  }

  public boolean get_IsAppendOnly() {
    return chilkatJNI.CkSFtpFile_get_IsAppendOnly(swigCPtr, this);
  }

  public boolean get_IsArchive() {
    return chilkatJNI.CkSFtpFile_get_IsArchive(swigCPtr, this);
  }

  public boolean get_IsCaseInsensitive() {
    return chilkatJNI.CkSFtpFile_get_IsCaseInsensitive(swigCPtr, this);
  }

  public boolean get_IsCompressed() {
    return chilkatJNI.CkSFtpFile_get_IsCompressed(swigCPtr, this);
  }

  public boolean get_IsDirectory() {
    return chilkatJNI.CkSFtpFile_get_IsDirectory(swigCPtr, this);
  }

  public boolean get_IsEncrypted() {
    return chilkatJNI.CkSFtpFile_get_IsEncrypted(swigCPtr, this);
  }

  public boolean get_IsHidden() {
    return chilkatJNI.CkSFtpFile_get_IsHidden(swigCPtr, this);
  }

  public boolean get_IsImmutable() {
    return chilkatJNI.CkSFtpFile_get_IsImmutable(swigCPtr, this);
  }

  public boolean get_IsReadOnly() {
    return chilkatJNI.CkSFtpFile_get_IsReadOnly(swigCPtr, this);
  }

  public boolean get_IsRegular() {
    return chilkatJNI.CkSFtpFile_get_IsRegular(swigCPtr, this);
  }

  public boolean get_IsSparse() {
    return chilkatJNI.CkSFtpFile_get_IsSparse(swigCPtr, this);
  }

  public boolean get_IsSymLink() {
    return chilkatJNI.CkSFtpFile_get_IsSymLink(swigCPtr, this);
  }

  public boolean get_IsSync() {
    return chilkatJNI.CkSFtpFile_get_IsSync(swigCPtr, this);
  }

  public boolean get_IsSystem() {
    return chilkatJNI.CkSFtpFile_get_IsSystem(swigCPtr, this);
  }

  public void get_LastAccessTimeStr(CkString str) {
    chilkatJNI.CkSFtpFile_get_LastAccessTimeStr(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String lastAccessTimeStr() {
    return chilkatJNI.CkSFtpFile_lastAccessTimeStr(swigCPtr, this);
  }

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

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

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

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

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

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

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

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

  public void get_LastModifiedTimeStr(CkString str) {
    chilkatJNI.CkSFtpFile_get_LastModifiedTimeStr(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String lastModifiedTimeStr() {
    return chilkatJNI.CkSFtpFile_lastModifiedTimeStr(swigCPtr, this);
  }

  public void get_Owner(CkString str) {
    chilkatJNI.CkSFtpFile_get_Owner(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String owner() {
    return chilkatJNI.CkSFtpFile_owner(swigCPtr, this);
  }

  public int get_Permissions() {
    return chilkatJNI.CkSFtpFile_get_Permissions(swigCPtr, this);
  }

  public int get_Size32() {
    return chilkatJNI.CkSFtpFile_get_Size32(swigCPtr, this);
  }

  public long get_Size64() {
    return chilkatJNI.CkSFtpFile_get_Size64(swigCPtr, this);
  }

  public void get_SizeStr(CkString str) {
    chilkatJNI.CkSFtpFile_get_SizeStr(swigCPtr, this, CkString.getCPtr(str), str);
  }

  public String sizeStr() {
    return chilkatJNI.CkSFtpFile_sizeStr(swigCPtr, this);
  }

  public int get_Uid() {
    return chilkatJNI.CkSFtpFile_get_Uid(swigCPtr, this);
  }

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

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

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

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

  public CkDateTime GetCreateDt() {
    long cPtr = chilkatJNI.CkSFtpFile_GetCreateDt(swigCPtr, this);
    return (cPtr == 0) ? null : new CkDateTime(cPtr, true);
  }

  public CkDateTime GetLastAccessDt() {
    long cPtr = chilkatJNI.CkSFtpFile_GetLastAccessDt(swigCPtr, this);
    return (cPtr == 0) ? null : new CkDateTime(cPtr, true);
  }

  public CkDateTime GetLastModifiedDt() {
    long cPtr = chilkatJNI.CkSFtpFile_GetLastModifiedDt(swigCPtr, this);
    return (cPtr == 0) ? null : new CkDateTime(cPtr, true);
  }

}
