com.citrix.sharefile.api.models.SFFileLock Maven / Gradle / Ivy
// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// Copyright (c) 2017 Citrix ShareFile. All rights reserved.
//
// ------------------------------------------------------------------------------
package com.citrix.sharefile.api.models;
import java.io.InputStream;
import java.util.ArrayList;
import java.net.URI;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import com.google.gson.annotations.SerializedName;
import com.citrix.sharefile.api.*;
import com.citrix.sharefile.api.enumerations.*;
import com.citrix.sharefile.api.models.*;
public class SFFileLock extends SFODataObject {
@SerializedName("LockId")
private String LockId;
@SerializedName("LockType")
private SFSafeEnum LockType;
@SerializedName("Owner")
private SFPrincipal Owner;
@SerializedName("ExpirationTimeInMinutes")
private Integer ExpirationTimeInMinutes;
@SerializedName("ExpirationDate")
private Date ExpirationDate;
/**
* Lock Id
*/
public String getLockId() {
return this.LockId;
}
/**
* Lock Id
*/
public void setLockId(String lockid) {
this.LockId = lockid;
}
public SFSafeEnum getLockType() {
return this.LockType;
}
public void setLockType(SFSafeEnum locktype) {
this.LockType = locktype;
}
/**
* User who owns the Lock
*/
public SFPrincipal getOwner() {
return this.Owner;
}
/**
* User who owns the Lock
*/
public void setOwner(SFPrincipal owner) {
this.Owner = owner;
}
/**
* Expiration time in minutes.
*/
public Integer getExpirationTimeInMinutes() {
return this.ExpirationTimeInMinutes;
}
/**
* Expiration time in minutes.
*/
public void setExpirationTimeInMinutes(Integer expirationtimeinminutes) {
this.ExpirationTimeInMinutes = expirationtimeinminutes;
}
/**
* Expiration date. Takes precedence over ExpirationTimeInMinutes if both are provided
*/
public Date getExpirationDate() {
return this.ExpirationDate;
}
/**
* Expiration date. Takes precedence over ExpirationTimeInMinutes if both are provided
*/
public void setExpirationDate(Date expirationdate) {
this.ExpirationDate = expirationdate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy