public GetCoauthLockRequest(WopiRequestParam param) : base(param) { this.CoauthLockType = param.CoauthLockType; this.CoauthLockMetadata = param.CoauthLockMetadata; this.CoauthLockId = param.CoauthLockId; this.CoauthLockExpirationTimeout = param.CoauthLockExpirationTimeout; }
protected WopiRequest(WopiRequestParam param) { this.OverrideUrl = param.OverrideUrl; Validators = (param.Validators ?? Enumerable.Empty <IValidator>()).ToArray(); State = (param.StateSavers ?? Enumerable.Empty <IStateEntry>()).ToArray(); Mutators = (param.Mutators ?? Enumerable.Empty <IMutator>()).ToArray(); }
public AddActivitiesRequest(WopiRequestParam param) : base(param) { if (String.IsNullOrWhiteSpace(param.RequestBodyJson)) { throw new ArgumentOutOfRangeException("RequestBodyJson", "No RequestBodyJson specified for AddActivities operation"); } this.ActivitiesJson = param.RequestBodyJson; }
public PutUserInfoRequest(WopiRequestParam param) : base(param) { if (String.IsNullOrWhiteSpace(param.RequestBody)) { throw new ArgumentOutOfRangeException("RequestBody", "No RequestBody specified for PutUserInfo operation"); } this.UserInfo = param.RequestBody; }
public PutRelativeFileWopiRequest(WopiRequestParam param) : base(param) { this.ResourceId = param.ResourceId; if (string.IsNullOrEmpty(param.RequestedName)) { throw new ArgumentException("Requested name for a PutRelativeFile Wopi request cannot be null or empty"); } this.RequestedName = param.RequestedName; this.RequestType = param.PutRelativeFileMode; this.OverwriteRelative = param.OverwriteRelative; }
public PutChunkedFileRequest(WopiRequestParam param) : base(param) { this.SequenceNumber = param.SequenceNumber; this.SequenceNumberStateKey = param.SequenceNumberStateKey; this.Lock = param.Lock; this.CoauthLockId = param.CoauthLockId; this.Editors = param.Editors; this.ContentProperties = param.ContentProperties; this.ContentStreams = param.ContentStreams; this.UploadSessionTokenToCommit = param.UploadSessionTokenToCommit; }
public GetFromFileUrlRequest(WopiRequestParam param) { this.OverrideUrl = param.OverrideUrl; this.Validators = (param.Validators ?? Enumerable.Empty <IValidator>()).ToArray(); this.State = (param.StateSavers ?? Enumerable.Empty <IStateEntry>()).ToArray(); }
public PutFileWopiRequest(WopiRequestParam param) : base(param) { this.LockString = param.LockString; this.ResourceId = param.ResourceId; }
public ReadSecureStoreRequest(WopiRequestParam param) : base(param) { this.ApplicationId = param.ApplicationId; this.PerfTraceRequested = param.PerfTraceRequested; }
public UnlockCoauthLockRequest(WopiRequestParam param) : base(param) { this.CoauthLockId = param.CoauthLockId; }
public UnlockAndRelockWopiRequest(WopiRequestParam param) : base(param) { this.NewLockString = param.NewLockString; this.OldLockString = param.OldLockString; }
public GetShareUrlRequest(WopiRequestParam param) : base(param) { this.UrlType = param.UrlType; }
public CreateChildContainerRequest(WopiRequestParam param) : base(param) { this.FolderName = param.FolderName; this.RequestType = param.PutRelativeFileMode; }
public GetNewAccessTokenRequest(WopiRequestParam param) : base(param) { this.WopiSrc = param.WopiSrc; }
public RenameContainerRequest(WopiRequestParam param) : base(param) { this.RequestedName = param.RequestedName; }
public GetSequenceNumberRequest(WopiRequestParam param) : base(param) { }
public GetRestrictedLinkRequest(WopiRequestParam param) : base(param) { this.RestrictedLinkType = param.RestrictedLinkType; this.UsingRestrictedScenario = param.UsingRestrictedScenario; }
public EnumerateChildrenRequest(WopiRequestParam param) : base(param) { this.FileExtensionFilterList = param.FileExtensionFilterList; }
public RenameFileRequest(WopiRequestParam param) : base(param) { this.LockString = param.LockString; this.RequestedName = param.RequestedName; }
public GetChunkedFileRequest(WopiRequestParam param) : base(param) { this.WopiSrc = param.WopiSrc; this.ContentPropertiesToReturn = param.ContentPropertiesToReturn; this.ContentFilters = param.ContentFilters; }
public GetCoauthTableRequest(WopiRequestParam param) : base(param) { this.CoauthTableVersion = param.CoauthTableVersion; this.CoauthTableVersionStateKey = param.CoauthTableVersionStateKey; }
public CreateChildFileRequest(WopiRequestParam param) : base(param) { this.RequestedName = param.RequestedName; this.RequestType = param.PutRelativeFileMode; this.OverwriteRelative = param.OverwriteRelative; }
public LockWopiRequest(WopiRequestParam param) : base(param) { this.LockString = param.LockString; this.LockUserVisible = param.LockUserVisible; }
public GetFileWopiRequest(WopiRequestParam param) : base(param) { this.NewLockString = param.NewLockString; }
public LockWopiRequest(WopiRequestParam param) : base(param) { this.LockString = param.LockString; }
public RefreshCoauthLock(WopiRequestParam param) : base(param) { this.CoauthLockMetadata = param.CoauthLockMetadata; this.CoauthLockId = param.CoauthLockId; this.CoauthLockExpirationTimeout = param.CoauthLockExpirationTimeout; }