///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///

#import "DBSHARINGAppAuthRoutes.h"
#import "DBASYNCLaunchEmptyResult.h"
#import "DBASYNCLaunchResultBase.h"
#import "DBASYNCPollArg.h"
#import "DBASYNCPollError.h"
#import "DBASYNCPollResultBase.h"
#import "DBFILESLookupError.h"
#import "DBRequestErrors.h"
#import "DBSHARINGAccessInheritance.h"
#import "DBSHARINGAccessLevel.h"
#import "DBSHARINGAclUpdatePolicy.h"
#import "DBSHARINGAddFileMemberArgs.h"
#import "DBSHARINGAddFileMemberError.h"
#import "DBSHARINGAddFolderMemberArg.h"
#import "DBSHARINGAddFolderMemberError.h"
#import "DBSHARINGAddMember.h"
#import "DBSHARINGAddMemberSelectorError.h"
#import "DBSHARINGCreateSharedLinkArg.h"
#import "DBSHARINGCreateSharedLinkError.h"
#import "DBSHARINGCreateSharedLinkWithSettingsArg.h"
#import "DBSHARINGCreateSharedLinkWithSettingsError.h"
#import "DBSHARINGExpectedSharedContentLinkMetadata.h"
#import "DBSHARINGFileAction.h"
#import "DBSHARINGFileLinkMetadata.h"
#import "DBSHARINGFileMemberActionError.h"
#import "DBSHARINGFileMemberActionIndividualResult.h"
#import "DBSHARINGFileMemberActionResult.h"
#import "DBSHARINGFileMemberRemoveActionResult.h"
#import "DBSHARINGFilePermission.h"
#import "DBSHARINGFolderAction.h"
#import "DBSHARINGFolderLinkMetadata.h"
#import "DBSHARINGFolderPermission.h"
#import "DBSHARINGFolderPolicy.h"
#import "DBSHARINGGetFileMetadataArg.h"
#import "DBSHARINGGetFileMetadataBatchArg.h"
#import "DBSHARINGGetFileMetadataBatchResult.h"
#import "DBSHARINGGetFileMetadataError.h"
#import "DBSHARINGGetFileMetadataIndividualResult.h"
#import "DBSHARINGGetMetadataArgs.h"
#import "DBSHARINGGetSharedLinkFileError.h"
#import "DBSHARINGGetSharedLinkMetadataArg.h"
#import "DBSHARINGGetSharedLinksArg.h"
#import "DBSHARINGGetSharedLinksError.h"
#import "DBSHARINGGetSharedLinksResult.h"
#import "DBSHARINGGroupMembershipInfo.h"
#import "DBSHARINGInsufficientQuotaAmounts.h"
#import "DBSHARINGInviteeMembershipInfo.h"
#import "DBSHARINGJobError.h"
#import "DBSHARINGJobStatus.h"
#import "DBSHARINGLinkMetadata.h"
#import "DBSHARINGLinkPermissions.h"
#import "DBSHARINGLinkSettings.h"
#import "DBSHARINGListFileMembersArg.h"
#import "DBSHARINGListFileMembersBatchArg.h"
#import "DBSHARINGListFileMembersBatchResult.h"
#import "DBSHARINGListFileMembersContinueArg.h"
#import "DBSHARINGListFileMembersContinueError.h"
#import "DBSHARINGListFileMembersError.h"
#import "DBSHARINGListFileMembersIndividualResult.h"
#import "DBSHARINGListFilesArg.h"
#import "DBSHARINGListFilesContinueArg.h"
#import "DBSHARINGListFilesContinueError.h"
#import "DBSHARINGListFilesResult.h"
#import "DBSHARINGListFolderMembersArgs.h"
#import "DBSHARINGListFolderMembersContinueArg.h"
#import "DBSHARINGListFolderMembersContinueError.h"
#import "DBSHARINGListFolderMembersCursorArg.h"
#import "DBSHARINGListFoldersArgs.h"
#import "DBSHARINGListFoldersContinueArg.h"
#import "DBSHARINGListFoldersContinueError.h"
#import "DBSHARINGListFoldersResult.h"
#import "DBSHARINGListSharedLinksArg.h"
#import "DBSHARINGListSharedLinksError.h"
#import "DBSHARINGListSharedLinksResult.h"
#import "DBSHARINGMemberAccessLevelResult.h"
#import "DBSHARINGMemberAction.h"
#import "DBSHARINGMemberPolicy.h"
#import "DBSHARINGMemberSelector.h"
#import "DBSHARINGModifySharedLinkSettingsArgs.h"
#import "DBSHARINGModifySharedLinkSettingsError.h"
#import "DBSHARINGMountFolderArg.h"
#import "DBSHARINGMountFolderError.h"
#import "DBSHARINGParentFolderAccessInfo.h"
#import "DBSHARINGPathLinkMetadata.h"
#import "DBSHARINGPendingUploadMode.h"
#import "DBSHARINGRelinquishFileMembershipArg.h"
#import "DBSHARINGRelinquishFileMembershipError.h"
#import "DBSHARINGRelinquishFolderMembershipArg.h"
#import "DBSHARINGRelinquishFolderMembershipError.h"
#import "DBSHARINGRemoveFileMemberArg.h"
#import "DBSHARINGRemoveFileMemberError.h"
#import "DBSHARINGRemoveFolderMemberArg.h"
#import "DBSHARINGRemoveFolderMemberError.h"
#import "DBSHARINGRemoveMemberJobStatus.h"
#import "DBSHARINGRevokeSharedLinkArg.h"
#import "DBSHARINGRevokeSharedLinkError.h"
#import "DBSHARINGRouteObjects.h"
#import "DBSHARINGSetAccessInheritanceArg.h"
#import "DBSHARINGSetAccessInheritanceError.h"
#import "DBSHARINGShareFolderArg.h"
#import "DBSHARINGShareFolderArgBase.h"
#import "DBSHARINGShareFolderError.h"
#import "DBSHARINGShareFolderErrorBase.h"
#import "DBSHARINGShareFolderJobStatus.h"
#import "DBSHARINGShareFolderLaunch.h"
#import "DBSHARINGSharePathError.h"
#import "DBSHARINGSharedContentLinkMetadata.h"
#import "DBSHARINGSharedFileMembers.h"
#import "DBSHARINGSharedFileMetadata.h"
#import "DBSHARINGSharedFolderAccessError.h"
#import "DBSHARINGSharedFolderMemberError.h"
#import "DBSHARINGSharedFolderMembers.h"
#import "DBSHARINGSharedFolderMetadata.h"
#import "DBSHARINGSharedFolderMetadataBase.h"
#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h"
#import "DBSHARINGSharedLinkError.h"
#import "DBSHARINGSharedLinkMetadata.h"
#import "DBSHARINGSharedLinkPolicy.h"
#import "DBSHARINGSharedLinkSettings.h"
#import "DBSHARINGSharedLinkSettingsError.h"
#import "DBSHARINGSharingFileAccessError.h"
#import "DBSHARINGSharingUserError.h"
#import "DBSHARINGTeamMemberInfo.h"
#import "DBSHARINGTransferFolderArg.h"
#import "DBSHARINGTransferFolderError.h"
#import "DBSHARINGUnmountFolderArg.h"
#import "DBSHARINGUnmountFolderError.h"
#import "DBSHARINGUnshareFileArg.h"
#import "DBSHARINGUnshareFileError.h"
#import "DBSHARINGUnshareFolderArg.h"
#import "DBSHARINGUnshareFolderError.h"
#import "DBSHARINGUpdateFileMemberArgs.h"
#import "DBSHARINGUpdateFolderMemberArg.h"
#import "DBSHARINGUpdateFolderMemberError.h"
#import "DBSHARINGUpdateFolderPolicyArg.h"
#import "DBSHARINGUpdateFolderPolicyError.h"
#import "DBSHARINGUserFileMembershipInfo.h"
#import "DBSHARINGUserMembershipInfo.h"
#import "DBSHARINGViewerInfoPolicy.h"
#import "DBSHARINGVisibility.h"
#import "DBStoneBase.h"
#import "DBTransportClientProtocol.h"
#import "DBUSERSTeam.h"

@implementation DBSHARINGAppAuthRoutes

- (instancetype)init:(id<DBTransportClient>)client {
  self = [super init];
  if (self) {
    _client = client;
  }
  return self;
}

- (DBRpcTask *)getSharedLinkMetadata:(NSString *)url {
  DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkMetadata;
  DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url];
  return [self.client requestRpc:route arg:arg];
}

- (DBRpcTask *)getSharedLinkMetadata:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword {
  DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkMetadata;
  DBSHARINGGetSharedLinkMetadataArg *arg =
      [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword];
  return [self.client requestRpc:route arg:arg];
}

@end
