public CopyRequest(string targetResourceId, string targetResourceRegion, CopyAuthorizationResult copyAuthorization) { if (targetResourceId == null) { throw new ArgumentNullException(nameof(targetResourceId)); } if (targetResourceRegion == null) { throw new ArgumentNullException(nameof(targetResourceRegion)); } if (copyAuthorization == null) { throw new ArgumentNullException(nameof(copyAuthorization)); } TargetResourceId = targetResourceId; TargetResourceRegion = targetResourceRegion; CopyAuthorization = copyAuthorization; }
internal CopyAuthorization(CopyAuthorizationResult copyAuth, string resourceId, string region) : this(copyAuth.ModelId, copyAuth.AccessToken, copyAuth.ExpirationDateTimeTicks, resourceId, region) { }