files.com 1.1.839 → 1.1.841
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/_VERSION +1 -1
- data/doc/Files/APIConnectionError.html +1 -1
- data/doc/Files/APIError.html +1 -1
- data/doc/Files/AccountAlreadyExistsError.html +1 -1
- data/doc/Files/AccountLineItem.html +1 -1
- data/doc/Files/AccountOverdueError.html +1 -1
- data/doc/Files/Action.html +1 -1
- data/doc/Files/ActionLog.html +1 -1
- data/doc/Files/ActionNotificationExport.html +1 -1
- data/doc/Files/ActionNotificationExportResult.html +1 -1
- data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
- data/doc/Files/AgentNode.html +1 -1
- data/doc/Files/AgentNodeConnection.html +1 -1
- data/doc/Files/AgentNodeInstance.html +1 -1
- data/doc/Files/AgentPushUpdate.html +1 -1
- data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
- data/doc/Files/AgentUnavailableError.html +1 -1
- data/doc/Files/AgentUpgradeRequiredError.html +1 -1
- data/doc/Files/AiAssistantPersonality.html +1 -1
- data/doc/Files/AiTask.html +422 -211
- data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AlreadyCompletedError.html +1 -1
- data/doc/Files/Api.html +1 -1
- data/doc/Files/ApiClient/RequestLogContext.html +1 -1
- data/doc/Files/ApiClient/TransferSettings.html +1 -1
- data/doc/Files/ApiClient.html +1 -1
- data/doc/Files/ApiKey.html +1 -1
- data/doc/Files/ApiKeyIsDisabledError.html +1 -1
- data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
- data/doc/Files/ApiKeyNotFoundError.html +1 -1
- data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
- data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
- data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
- data/doc/Files/ApiRequestLog.html +1 -1
- data/doc/Files/App.html +1 -1
- data/doc/Files/As2IncomingMessage.html +1 -1
- data/doc/Files/As2OutgoingMessage.html +1 -1
- data/doc/Files/As2Partner.html +1 -1
- data/doc/Files/As2Station.html +1 -1
- data/doc/Files/AttachmentTooLargeError.html +1 -1
- data/doc/Files/AuthenticationError.html +1 -1
- data/doc/Files/AuthenticationRequiredError.html +1 -1
- data/doc/Files/Auto.html +1 -1
- data/doc/Files/Automation.html +489 -278
- data/doc/Files/AutomationAuthoringSchema.html +1 -1
- data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AutomationExecutionNode.html +1 -1
- data/doc/Files/AutomationLog.html +1 -1
- data/doc/Files/AutomationRun.html +1 -1
- data/doc/Files/AutomationVersion.html +2260 -0
- data/doc/Files/AutomationsUnavailableError.html +1 -1
- data/doc/Files/BadRequestError.html +1 -1
- data/doc/Files/BandwidthSnapshot.html +1 -1
- data/doc/Files/Behavior.html +1 -1
- data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
- data/doc/Files/BillingInformationHiddenError.html +1 -1
- data/doc/Files/BillingPermissionRequiredError.html +1 -1
- data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
- data/doc/Files/Bundle.html +1 -1
- data/doc/Files/BundleAction.html +1 -1
- data/doc/Files/BundleDownload.html +1 -1
- data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
- data/doc/Files/BundleNotification.html +1 -1
- data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
- data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
- data/doc/Files/BundlePath.html +1 -1
- data/doc/Files/BundlePathNotFoundError.html +1 -1
- data/doc/Files/BundlePermissionRequiredError.html +1 -1
- data/doc/Files/BundleRecipient.html +1 -1
- data/doc/Files/BundleRegistration.html +1 -1
- data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
- data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
- data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
- data/doc/Files/CannotDownloadDirectoryError.html +1 -1
- data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
- data/doc/Files/CantActForOtherUserError.html +1 -1
- data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
- data/doc/Files/Certificate.html +1 -1
- data/doc/Files/ChatMessage.html +1 -1
- data/doc/Files/ChatSession.html +1 -1
- data/doc/Files/ChildSiteManagementPolicy.html +1 -1
- data/doc/Files/Clickwrap.html +1 -1
- data/doc/Files/CodeNotFoundError.html +1 -1
- data/doc/Files/ConfigurationLockedPathError.html +1 -1
- data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
- data/doc/Files/CouldNotCreateParentError.html +1 -1
- data/doc/Files/CustomDomain.html +1 -1
- data/doc/Files/DatetimeParseError.html +1 -1
- data/doc/Files/DesktopConfigurationProfile.html +1 -1
- data/doc/Files/DestinationExistsError.html +1 -1
- data/doc/Files/DestinationFolderLimitedError.html +1 -1
- data/doc/Files/DestinationParentConflictError.html +1 -1
- data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
- data/doc/Files/DestinationSameError.html +1 -1
- data/doc/Files/DestinationSiteMismatchError.html +1 -1
- data/doc/Files/DirectConnectionInfo.html +1 -1
- data/doc/Files/DnsRecord.html +1 -1
- data/doc/Files/DoesNotSupportSortingError.html +1 -1
- data/doc/Files/DuplicateShareRecipientError.html +1 -1
- data/doc/Files/EmailIncomingMessage.html +1 -1
- data/doc/Files/EmailLog.html +1 -1
- data/doc/Files/Error.html +1 -1
- data/doc/Files/Errors.html +1 -1
- data/doc/Files/EventChannel.html +1 -1
- data/doc/Files/EventDeliveryAttempt.html +1 -1
- data/doc/Files/EventRecord.html +1 -1
- data/doc/Files/EventSubscription.html +1 -1
- data/doc/Files/EventTarget.html +1 -1
- data/doc/Files/ExavaultApiRequestLog.html +1 -1
- data/doc/Files/ExceededRuntimeLimitError.html +1 -1
- data/doc/Files/Expectation.html +478 -267
- data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
- data/doc/Files/ExpectationEvaluation.html +1 -1
- data/doc/Files/ExpectationIncident.html +1 -1
- data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
- data/doc/Files/ExpiredPrivateKeyError.html +1 -1
- data/doc/Files/ExpiredPublicKeyError.html +1 -1
- data/doc/Files/ExportFailureError.html +1 -1
- data/doc/Files/ExportNotReadyError.html +1 -1
- data/doc/Files/ExternalEvent.html +1 -1
- data/doc/Files/FailedToChangePasswordError.html +1 -1
- data/doc/Files/File.html +1 -1
- data/doc/Files/FileAction.html +1 -1
- data/doc/Files/FileActionError.html +1 -1
- data/doc/Files/FileComment.html +1 -1
- data/doc/Files/FileCommentReaction.html +1 -1
- data/doc/Files/FileLockedError.html +1 -1
- data/doc/Files/FileMigration.html +1 -1
- data/doc/Files/FileMigrationLog.html +1 -1
- data/doc/Files/FileNotFoundError.html +1 -1
- data/doc/Files/FileNotUploadedError.html +1 -1
- data/doc/Files/FilePendingProcessingError.html +1 -1
- data/doc/Files/FileProcessingErrorError.html +1 -1
- data/doc/Files/FileTooBigToDecryptError.html +1 -1
- data/doc/Files/FileTooBigToEncryptError.html +1 -1
- data/doc/Files/FileUploadNotFoundError.html +1 -1
- data/doc/Files/FileUploadPart.html +1 -1
- data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
- data/doc/Files/FileUtils.html +1 -1
- data/doc/Files/FilenameTooLongError.html +1 -1
- data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
- data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
- data/doc/Files/Folder.html +1 -1
- data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
- data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/FolderLockedError.html +1 -1
- data/doc/Files/FolderMustNotBeAFileError.html +1 -1
- data/doc/Files/FolderNotEmptyError.html +1 -1
- data/doc/Files/FoldersNotAllowedError.html +1 -1
- data/doc/Files/FormField.html +1 -1
- data/doc/Files/FormFieldSet.html +1 -1
- data/doc/Files/FtpActionLog.html +1 -1
- data/doc/Files/FullPermissionRequiredError.html +1 -1
- data/doc/Files/GpgKey.html +1 -1
- data/doc/Files/Group.html +1 -1
- data/doc/Files/GroupNotFoundError.html +1 -1
- data/doc/Files/GroupUser.html +1 -1
- data/doc/Files/History.html +1 -1
- data/doc/Files/HistoryExport.html +1 -1
- data/doc/Files/HistoryExportResult.html +1 -1
- data/doc/Files/HistoryPermissionRequiredError.html +1 -1
- data/doc/Files/HistoryUnavailableError.html +1 -1
- data/doc/Files/HolidayCalendar.html +1 -1
- data/doc/Files/HolidayRegion.html +1 -1
- data/doc/Files/Image.html +1 -1
- data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
- data/doc/Files/InboundS3Log.html +1 -1
- data/doc/Files/InboxNotFoundError.html +1 -1
- data/doc/Files/InboxRecipient.html +1 -1
- data/doc/Files/InboxRegistration.html +1 -1
- data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
- data/doc/Files/InboxUpload.html +1 -1
- data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
- data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
- data/doc/Files/IntegrationCentricProfile.html +1 -1
- data/doc/Files/InternalGeneralErrorError.html +1 -1
- data/doc/Files/InvalidBodyError.html +1 -1
- data/doc/Files/InvalidBundleCodeError.html +1 -1
- data/doc/Files/InvalidCredentialsError.html +1 -1
- data/doc/Files/InvalidCursorError.html +1 -1
- data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
- data/doc/Files/InvalidEtagsError.html +1 -1
- data/doc/Files/InvalidFileTypeError.html +1 -1
- data/doc/Files/InvalidFilenameError.html +1 -1
- data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
- data/doc/Files/InvalidFilterFieldError.html +1 -1
- data/doc/Files/InvalidFilterParamError.html +1 -1
- data/doc/Files/InvalidFilterParamFormatError.html +1 -1
- data/doc/Files/InvalidFilterParamValueError.html +1 -1
- data/doc/Files/InvalidInputEncodingError.html +1 -1
- data/doc/Files/InvalidInterfaceError.html +1 -1
- data/doc/Files/InvalidOauthError.html +1 -1
- data/doc/Files/InvalidOauthProviderError.html +1 -1
- data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
- data/doc/Files/InvalidParameterError.html +1 -1
- data/doc/Files/InvalidPathError.html +1 -1
- data/doc/Files/InvalidPriorityColorError.html +1 -1
- data/doc/Files/InvalidRangeError.html +1 -1
- data/doc/Files/InvalidReturnToUrlError.html +1 -1
- data/doc/Files/InvalidSearchQueryError.html +1 -1
- data/doc/Files/InvalidSessionError.html +1 -1
- data/doc/Files/InvalidSiteError.html +1 -1
- data/doc/Files/InvalidSortFieldError.html +1 -1
- data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
- data/doc/Files/InvalidUploadOffsetError.html +1 -1
- data/doc/Files/InvalidUploadPartGapError.html +1 -1
- data/doc/Files/InvalidUploadPartSizeError.html +1 -1
- data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
- data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
- data/doc/Files/InvalidZipFileError.html +1 -1
- data/doc/Files/Invoice.html +1 -1
- data/doc/Files/InvoiceLineItem.html +1 -1
- data/doc/Files/IpAddress.html +1 -1
- data/doc/Files/KeyLifecycleRule.html +1 -1
- data/doc/Files/List.html +1 -1
- data/doc/Files/Lock.html +1 -1
- data/doc/Files/LockOperationBusyError.html +1 -1
- data/doc/Files/LockedOutError.html +1 -1
- data/doc/Files/LockoutRegionMismatchError.html +1 -1
- data/doc/Files/MetadataCategory.html +1 -1
- data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
- data/doc/Files/MethodNotAllowedError.html +1 -1
- data/doc/Files/MigrationInProgressError.html +1 -1
- data/doc/Files/MissingParameterError.html +1 -1
- data/doc/Files/ModelSaveErrorError.html +1 -1
- data/doc/Files/MoverAccessDeniedError.html +1 -1
- data/doc/Files/MoverPackageRequiredError.html +1 -1
- data/doc/Files/MultipleProcessingErrorsError.html +1 -1
- data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
- data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
- data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
- data/doc/Files/NestedNotFoundError.html +1 -1
- data/doc/Files/NoAccountForSiteError.html +1 -1
- data/doc/Files/NoValidInputParamsError.html +1 -1
- data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
- data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
- data/doc/Files/NotAuthenticatedError.html +1 -1
- data/doc/Files/NotAuthorizedError.html +1 -1
- data/doc/Files/NotEnqueuableSyncError.html +1 -1
- data/doc/Files/NotFoundError.html +1 -1
- data/doc/Files/NotImplementedError.html +1 -1
- data/doc/Files/Notification.html +1 -1
- data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
- data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
- data/doc/Files/OutboundConnectionLog.html +1 -1
- data/doc/Files/PartNumberTooLargeError.html +1 -1
- data/doc/Files/Partner.html +1 -1
- data/doc/Files/PartnerChannel.html +1 -1
- data/doc/Files/PartnerChannelTemplate.html +1 -1
- data/doc/Files/PartnerConnection.html +1 -1
- data/doc/Files/PartnerSite.html +1 -1
- data/doc/Files/PartnerSiteRequest.html +1 -1
- data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
- data/doc/Files/PasswordChangeRequiredError.html +1 -1
- data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
- data/doc/Files/PathTooLongError.html +1 -1
- data/doc/Files/PathUtil.html +1 -1
- data/doc/Files/Payment.html +1 -1
- data/doc/Files/PaymentLineItem.html +1 -1
- data/doc/Files/PaymentMethodErrorError.html +1 -1
- data/doc/Files/PendingWorkEvent.html +1 -1
- data/doc/Files/Permission.html +1 -1
- data/doc/Files/PlanNotFoundError.html +1 -1
- data/doc/Files/Preview.html +1 -1
- data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
- data/doc/Files/ProcessingFailureError.html +1 -1
- data/doc/Files/PublicHostingRequestLog.html +1 -1
- data/doc/Files/PublicIpAddress.html +1 -1
- data/doc/Files/PublicKey.html +1 -1
- data/doc/Files/RateLimitedError.html +1 -1
- data/doc/Files/ReadOnlySessionError.html +1 -1
- data/doc/Files/ReadPermissionRequiredError.html +1 -1
- data/doc/Files/ReauthenticationFailedError.html +1 -1
- data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
- data/doc/Files/ReauthenticationNeededActionError.html +1 -1
- data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
- data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
- data/doc/Files/RecaptchaFailedError.html +1 -1
- data/doc/Files/RecipientAlreadySharedError.html +1 -1
- data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
- data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
- data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
- data/doc/Files/RemoteMountBackend.html +1 -1
- data/doc/Files/RemoteServer.html +1 -1
- data/doc/Files/RemoteServerConfigurationFile.html +1 -1
- data/doc/Files/RemoteServerCredential.html +1 -1
- data/doc/Files/RemoteServerErrorError.html +1 -1
- data/doc/Files/Request.html +1 -1
- data/doc/Files/RequestBodyTooLargeError.html +1 -1
- data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
- data/doc/Files/RequestParamsInvalidError.html +1 -1
- data/doc/Files/RequestParamsRequiredError.html +1 -1
- data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
- data/doc/Files/ResourceLockedError.html +1 -1
- data/doc/Files/Response.html +1 -1
- data/doc/Files/Restore.html +1 -1
- data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
- data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
- data/doc/Files/Schedule.html +1 -1
- data/doc/Files/ScheduledExport.html +407 -196
- data/doc/Files/ScimLog.html +1 -1
- data/doc/Files/SearchAllOnChildPathError.html +1 -1
- data/doc/Files/SearchQueryTooShortError.html +1 -1
- data/doc/Files/SearchTimedOutError.html +1 -1
- data/doc/Files/SearchUnavailableError.html +1 -1
- data/doc/Files/Secret.html +1 -1
- data/doc/Files/SelfManagedRequiredError.html +1 -1
- data/doc/Files/ServiceUnavailableError.html +1 -1
- data/doc/Files/Session.html +1 -1
- data/doc/Files/SettingsChange.html +1 -1
- data/doc/Files/SftpActionLog.html +1 -1
- data/doc/Files/SftpHostKey.html +1 -1
- data/doc/Files/ShareGroup.html +1 -1
- data/doc/Files/ShareGroupMember.html +1 -1
- data/doc/Files/SiemHttpDestination.html +1 -1
- data/doc/Files/SiemHttpDestinationEvent.html +1 -1
- data/doc/Files/Site.html +1 -1
- data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminRequiredError.html +1 -1
- data/doc/Files/SiteConfigurationError.html +1 -1
- data/doc/Files/SiteDisabledError.html +1 -1
- data/doc/Files/SiteFilesAreImmutableError.html +1 -1
- data/doc/Files/SiteNotFoundError.html +1 -1
- data/doc/Files/SiteSubdomainRedirect.html +1 -1
- data/doc/Files/SiteWasRemovedError.html +1 -1
- data/doc/Files/SizableIO.html +1 -1
- data/doc/Files/Snapshot.html +1 -1
- data/doc/Files/SsoEvent.html +1 -1
- data/doc/Files/SsoStrategy.html +1 -1
- data/doc/Files/Status.html +1 -1
- data/doc/Files/Style.html +1 -1
- data/doc/Files/SubfolderLockedError.html +1 -1
- data/doc/Files/Sync.html +420 -209
- data/doc/Files/SyncInProgressError.html +1 -1
- data/doc/Files/SyncLog.html +1 -1
- data/doc/Files/SyncRun.html +1 -1
- data/doc/Files/SyncRunLiveTransfer.html +1 -1
- data/doc/Files/SystemProfiler.html +1 -1
- data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
- data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
- data/doc/Files/TooManyLoginAttemptsError.html +1 -1
- data/doc/Files/TooManyRequestsError.html +1 -1
- data/doc/Files/TooManySharesError.html +1 -1
- data/doc/Files/Transfer/Attempts.html +1 -1
- data/doc/Files/Transfer/BufferLimitError.html +1 -1
- data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
- data/doc/Files/Transfer/ByteBudget.html +1 -1
- data/doc/Files/Transfer/CancelledError.html +1 -1
- data/doc/Files/Transfer/Checkpoint.html +1 -1
- data/doc/Files/Transfer/CheckpointError.html +1 -1
- data/doc/Files/Transfer/ClientTransport/ClientResponse.html +1 -1
- data/doc/Files/Transfer/ClientTransport/Reader.html +1 -1
- data/doc/Files/Transfer/ClientTransport.html +1 -1
- data/doc/Files/Transfer/Clock.html +1 -1
- data/doc/Files/Transfer/Control.html +1 -1
- data/doc/Files/Transfer/Controller/Attempt.html +1 -1
- data/doc/Files/Transfer/Controller.html +1 -1
- data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
- data/doc/Files/Transfer/Coordinator.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/Piece.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator.html +1 -1
- data/doc/Files/Transfer/DownloadDate.html +1 -1
- data/doc/Files/Transfer/FileSlots.html +1 -1
- data/doc/Files/Transfer/FrontendResponseError.html +1 -1
- data/doc/Files/Transfer/Holds.html +1 -1
- data/doc/Files/Transfer/HttpTransport.html +1 -1
- data/doc/Files/Transfer/Job.html +1 -1
- data/doc/Files/Transfer/Options.html +1 -1
- data/doc/Files/Transfer/PausedError.html +1 -1
- data/doc/Files/Transfer/Policy.html +1 -1
- data/doc/Files/Transfer/RequestPermits.html +1 -1
- data/doc/Files/Transfer/SourceChangedError.html +1 -1
- data/doc/Files/Transfer/StorageResponse.html +1 -1
- data/doc/Files/Transfer/StorageRetry.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator.html +1 -1
- data/doc/Files/Transfer/UploadPlan.html +1 -1
- data/doc/Files/Transfer/UrlExpired.html +1 -1
- data/doc/Files/Transfer/VersionChangedError.html +1 -1
- data/doc/Files/Transfer.html +1 -1
- data/doc/Files/TrialExpiredError.html +1 -1
- data/doc/Files/TrialLockedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
- data/doc/Files/URI.html +1 -1
- data/doc/Files/UnrecognizedSortIndexError.html +1 -1
- data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
- data/doc/Files/UnsupportedMediaTypeError.html +1 -1
- data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
- data/doc/Files/UploadFinalization.html +1 -1
- data/doc/Files/UploadsUnavailableError.html +1 -1
- data/doc/Files/UsageByTopLevelDir.html +1 -1
- data/doc/Files/UsageDailySnapshot.html +1 -1
- data/doc/Files/UsageSnapshot.html +1 -1
- data/doc/Files/User.html +1 -1
- data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
- data/doc/Files/UserCipherUse.html +1 -1
- data/doc/Files/UserIdInvalidError.html +1 -1
- data/doc/Files/UserIdOnUserEndpointError.html +1 -1
- data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
- data/doc/Files/UserLifecycleRule.html +1 -1
- data/doc/Files/UserNotFoundError.html +1 -1
- data/doc/Files/UserRequest.html +1 -1
- data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
- data/doc/Files/UserRequiredError.html +1 -1
- data/doc/Files/UserSecurityEvent.html +1 -1
- data/doc/Files/UserSftpClientUse.html +1 -1
- data/doc/Files/Util/LogSettings.html +1 -1
- data/doc/Files/Util.html +1 -1
- data/doc/Files/WebDavActionLog.html +1 -1
- data/doc/Files/WebhookTest.html +1 -1
- data/doc/Files/Workspace.html +1 -1
- data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
- data/doc/Files/WritePermissionRequiredError.html +1 -1
- data/doc/Files/ZipListEntry.html +1 -1
- data/doc/Files.html +78 -78
- data/doc/_index.html +8 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +1650 -1426
- data/doc/top-level-namespace.html +1 -1
- data/docs/ai_task.md +8 -0
- data/docs/automation.md +12 -4
- data/docs/automation_version.md +109 -0
- data/docs/expectation.md +8 -0
- data/docs/scheduled_export.md +8 -0
- data/docs/sync.md +8 -0
- data/lib/files.com/models/ai_task.rb +19 -0
- data/lib/files.com/models/automation.rb +23 -4
- data/lib/files.com/models/automation_version.rb +168 -0
- data/lib/files.com/models/expectation.rb +19 -0
- data/lib/files.com/models/scheduled_export.rb +19 -0
- data/lib/files.com/models/sync.rb +19 -0
- data/lib/files.com.rb +1 -0
- metadata +4 -1
|
@@ -0,0 +1,2260 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Class: Files::AutomationVersion
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.45
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css">
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css">
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript">
|
|
18
|
+
pathId = "Files::AutomationVersion";
|
|
19
|
+
relpath = '../';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div id="main_progress" aria-hidden="true"></div>
|
|
31
|
+
|
|
32
|
+
<div class="nav_wrap">
|
|
33
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
|
34
|
+
<div id="resizer"></div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div id="main" tabindex="-1">
|
|
38
|
+
<div id="header">
|
|
39
|
+
<div id="menu">
|
|
40
|
+
|
|
41
|
+
<a href="../_index.html">Index (A)</a> »
|
|
42
|
+
<span class='title'><span class='object_link'><a href="../Files.html" title="Files (module)">Files</a></span></span>
|
|
43
|
+
»
|
|
44
|
+
<span class="title">AutomationVersion</span>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div id="search">
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="class_list_link"
|
|
51
|
+
href="../class_list.html">
|
|
52
|
+
|
|
53
|
+
<svg width="24" height="24">
|
|
54
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
56
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
57
|
+
</svg>
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<div id="content"><h1>Class: Files::AutomationVersion
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</h1>
|
|
69
|
+
<div class="box_info">
|
|
70
|
+
|
|
71
|
+
<dl>
|
|
72
|
+
<dt>Inherits:</dt>
|
|
73
|
+
<dd>
|
|
74
|
+
<span class="inheritName">Object</span>
|
|
75
|
+
|
|
76
|
+
<ul class="fullTree">
|
|
77
|
+
<li>Object</li>
|
|
78
|
+
|
|
79
|
+
<li class="next">Files::AutomationVersion</li>
|
|
80
|
+
|
|
81
|
+
</ul>
|
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
83
|
+
|
|
84
|
+
</dd>
|
|
85
|
+
</dl>
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<dl>
|
|
98
|
+
<dt>Defined in:</dt>
|
|
99
|
+
<dd>lib/files.com/models/automation_version.rb
|
|
100
|
+
</dd>
|
|
101
|
+
</dl>
|
|
102
|
+
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<h2>Overview</h2><div class="docstring">
|
|
106
|
+
<div class="discussion">
|
|
107
|
+
<p>Files::AutomationVersion is the Ruby SDK's representation of Files.com API AutomationVersion objects.
|
|
108
|
+
Each instance keeps its API field values in <code>attributes</code>.</p>
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="tags">
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
120
|
+
<ul class="summary">
|
|
121
|
+
|
|
122
|
+
<li class="public ">
|
|
123
|
+
<span class="summary_signature">
|
|
124
|
+
|
|
125
|
+
<a href="#attributes-instance_method" title="#attributes (instance method)">#<strong>attributes</strong> ⇒ Hash </a>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
</span>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<span class="note title readonly">readonly</span>
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<span class="summary_desc"><div class='inline'><p>API field values keyed by Symbol.</p></div></span>
|
|
145
|
+
|
|
146
|
+
</li>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<li class="public ">
|
|
150
|
+
<span class="summary_signature">
|
|
151
|
+
|
|
152
|
+
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Hash </a>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</span>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
<span class="note title readonly">readonly</span>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<span class="summary_desc"><div class='inline'><p>Request configuration retained for later operations on this record.</p></div></span>
|
|
172
|
+
|
|
173
|
+
</li>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
</ul>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<h2>
|
|
183
|
+
Class Method Summary
|
|
184
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
185
|
+
</h2>
|
|
186
|
+
|
|
187
|
+
<ul class="summary">
|
|
188
|
+
|
|
189
|
+
<li class="public ">
|
|
190
|
+
<span class="summary_signature">
|
|
191
|
+
|
|
192
|
+
<a href="#all-class_method" title="all (class method)">.<strong>all</strong>(params = {}, options = {}) ⇒ Files::List </a>
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
</span>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
<span class="summary_desc"><div class='inline'><p>List Automation Versions.</p></div></span>
|
|
207
|
+
|
|
208
|
+
</li>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<li class="public ">
|
|
212
|
+
<span class="summary_signature">
|
|
213
|
+
|
|
214
|
+
<a href="#find-class_method" title="find (class method)">.<strong>find</strong>(id, params = {}, options = {}) ⇒ Files::AutomationVersion </a>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</span>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<span class="summary_desc"><div class='inline'><p>Show Automation Version.</p></div></span>
|
|
229
|
+
|
|
230
|
+
</li>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
<li class="public ">
|
|
234
|
+
<span class="summary_signature">
|
|
235
|
+
|
|
236
|
+
<a href="#get-class_method" title="get (class method)">.<strong>get</strong>(id, params = {}, options = {}) ⇒ Files::AutomationVersion </a>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
</span>
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<span class="summary_desc"><div class='inline'><p>Show Automation Version.</p></div></span>
|
|
251
|
+
|
|
252
|
+
</li>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<li class="public ">
|
|
256
|
+
<span class="summary_signature">
|
|
257
|
+
|
|
258
|
+
<a href="#list-class_method" title="list (class method)">.<strong>list</strong>(params = {}, options = {}) ⇒ Files::List </a>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</span>
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
<span class="summary_desc"><div class='inline'><p>List Automation Versions.</p></div></span>
|
|
273
|
+
|
|
274
|
+
</li>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<li class="public ">
|
|
278
|
+
<span class="summary_signature">
|
|
279
|
+
|
|
280
|
+
<a href="#restore-class_method" title="restore (class method)">.<strong>restore</strong>(id, params = {}, options = {}) ⇒ Files::Automation </a>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
</span>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
<span class="summary_desc"><div class='inline'><p>Restore an Automation v2 definition as a new current version.</p></div></span>
|
|
295
|
+
|
|
296
|
+
</li>
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
</ul>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
<h2>
|
|
303
|
+
Instance Method Summary
|
|
304
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
305
|
+
</h2>
|
|
306
|
+
|
|
307
|
+
<ul class="summary">
|
|
308
|
+
|
|
309
|
+
<li class="public ">
|
|
310
|
+
<span class="summary_signature">
|
|
311
|
+
|
|
312
|
+
<a href="#api_key_id-instance_method" title="#api_key_id (instance method)">#<strong>api_key_id</strong> ⇒ Integer<sup>?</sup> </a>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
</span>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<span class="summary_desc"><div class='inline'><p>ID of the API key used to save the revision, when available.</p></div></span>
|
|
327
|
+
|
|
328
|
+
</li>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
<li class="public ">
|
|
332
|
+
<span class="summary_signature">
|
|
333
|
+
|
|
334
|
+
<a href="#automation_id-instance_method" title="#automation_id (instance method)">#<strong>automation_id</strong> ⇒ Integer<sup>?</sup> </a>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
</span>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
<span class="summary_desc"><div class='inline'><p>ID of the Automation that owns this revision.</p></div></span>
|
|
349
|
+
|
|
350
|
+
</li>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
<li class="public ">
|
|
354
|
+
<span class="summary_signature">
|
|
355
|
+
|
|
356
|
+
<a href="#created_at-instance_method" title="#created_at (instance method)">#<strong>created_at</strong> ⇒ String<sup>?</sup> </a>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
</span>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
<span class="summary_desc"><div class='inline'><p>Time the revision was saved.</p></div></span>
|
|
371
|
+
|
|
372
|
+
</li>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
<li class="public ">
|
|
376
|
+
<span class="summary_signature">
|
|
377
|
+
|
|
378
|
+
<a href="#definition-instance_method" title="#definition (instance method)">#<strong>definition</strong> ⇒ Hash<sup>?</sup> </a>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
</span>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
<span class="summary_desc"><div class='inline'><p>Saved Automation v2 graph definition.</p></div></span>
|
|
393
|
+
|
|
394
|
+
</li>
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<li class="public ">
|
|
398
|
+
<span class="summary_signature">
|
|
399
|
+
|
|
400
|
+
<a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> ⇒ Integer<sup>?</sup> </a>
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
</span>
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
<span class="summary_desc"><div class='inline'><p>Automation revision ID.</p></div></span>
|
|
415
|
+
|
|
416
|
+
</li>
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
<li class="public ">
|
|
420
|
+
<span class="summary_signature">
|
|
421
|
+
|
|
422
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(attributes = {}, options = {}) ⇒ AutomationVersion </a>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
</span>
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
<span class="note title constructor">constructor</span>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
<span class="summary_desc"><div class='inline'><p>Builds a local record without sending an API request.</p></div></span>
|
|
439
|
+
|
|
440
|
+
</li>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<li class="public ">
|
|
444
|
+
<span class="summary_signature">
|
|
445
|
+
|
|
446
|
+
<a href="#restore-instance_method" title="#restore (instance method)">#<strong>restore</strong>(params = {}) ⇒ Array(Files::Response, Hash) </a>
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
</span>
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
<span class="summary_desc"><div class='inline'><p>Restore an Automation v2 definition as a new current version.</p></div></span>
|
|
461
|
+
|
|
462
|
+
</li>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<li class="public ">
|
|
466
|
+
<span class="summary_signature">
|
|
467
|
+
|
|
468
|
+
<a href="#user_id-instance_method" title="#user_id (instance method)">#<strong>user_id</strong> ⇒ Integer<sup>?</sup> </a>
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
</span>
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
<span class="summary_desc"><div class='inline'><p>ID of the user who saved the revision, when available.</p></div></span>
|
|
483
|
+
|
|
484
|
+
</li>
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<li class="public ">
|
|
488
|
+
<span class="summary_signature">
|
|
489
|
+
|
|
490
|
+
<a href="#username-instance_method" title="#username (instance method)">#<strong>username</strong> ⇒ String<sup>?</sup> </a>
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
</span>
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
<span class="summary_desc"><div class='inline'><p>Username recorded when the revision was saved, when available.</p></div></span>
|
|
505
|
+
|
|
506
|
+
</li>
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
<li class="public ">
|
|
510
|
+
<span class="summary_signature">
|
|
511
|
+
|
|
512
|
+
<a href="#version-instance_method" title="#version (instance method)">#<strong>version</strong> ⇒ Integer<sup>?</sup> </a>
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
</span>
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
<span class="summary_desc"><div class='inline'><p>Revision number within the Automation.</p></div></span>
|
|
527
|
+
|
|
528
|
+
</li>
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
<li class="public ">
|
|
532
|
+
<span class="summary_signature">
|
|
533
|
+
|
|
534
|
+
<a href="#workspace_id-instance_method" title="#workspace_id (instance method)">#<strong>workspace_id</strong> ⇒ Integer<sup>?</sup> </a>
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
</span>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
<span class="summary_desc"><div class='inline'><p>Workspace that owns the Automation.</p></div></span>
|
|
549
|
+
|
|
550
|
+
</li>
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
</ul>
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<div id="constructor_details" class="method_details_list">
|
|
558
|
+
<h2>Constructor Details</h2>
|
|
559
|
+
|
|
560
|
+
<div class="method_details first">
|
|
561
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
562
|
+
|
|
563
|
+
#<strong>initialize</strong>(attributes = {}, options = {}) ⇒ <tt><span class='object_link'><a href="" title="Files::AutomationVersion (class)">AutomationVersion</a></span></tt>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
</h3><div class="docstring">
|
|
570
|
+
<div class="discussion">
|
|
571
|
+
<p>Builds a local record without sending an API request.</p>
|
|
572
|
+
|
|
573
|
+
</div>
|
|
574
|
+
</div>
|
|
575
|
+
<div class="tags">
|
|
576
|
+
<p class="tag_title">Parameters:</p>
|
|
577
|
+
<ul class="param">
|
|
578
|
+
|
|
579
|
+
<li>
|
|
580
|
+
|
|
581
|
+
<span class='name'>attributes</span>
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
—
|
|
591
|
+
<div class='inline'><p>API field values keyed by Symbol.</p></div>
|
|
592
|
+
|
|
593
|
+
</li>
|
|
594
|
+
|
|
595
|
+
<li>
|
|
596
|
+
|
|
597
|
+
<span class='name'>options</span>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
—
|
|
607
|
+
<div class='inline'><p>request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
608
|
+
|
|
609
|
+
</li>
|
|
610
|
+
|
|
611
|
+
</ul>
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
</div><table class="source_code">
|
|
615
|
+
<tr>
|
|
616
|
+
<td>
|
|
617
|
+
<pre class="lines">
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
15
|
|
621
|
+
16
|
|
622
|
+
17
|
|
623
|
+
18</pre>
|
|
624
|
+
</td>
|
|
625
|
+
<td>
|
|
626
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 15</span>
|
|
627
|
+
|
|
628
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
629
|
+
<span class='ivar'>@attributes</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
630
|
+
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
631
|
+
<span class='kw'>end</span></pre>
|
|
632
|
+
</td>
|
|
633
|
+
</tr>
|
|
634
|
+
</table>
|
|
635
|
+
</div>
|
|
636
|
+
|
|
637
|
+
</div>
|
|
638
|
+
|
|
639
|
+
<div id="instance_attr_details" class="attr_details">
|
|
640
|
+
<h2>Instance Attribute Details</h2>
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
<span id=""></span>
|
|
644
|
+
<div class="method_details first">
|
|
645
|
+
<h3 class="signature first" id="attributes-instance_method">
|
|
646
|
+
|
|
647
|
+
#<strong>attributes</strong> ⇒ <tt>Hash</tt> <span class="extras">(readonly)</span>
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
</h3><div class="docstring">
|
|
654
|
+
<div class="discussion">
|
|
655
|
+
<p>Returns API field values keyed by Symbol.</p>
|
|
656
|
+
|
|
657
|
+
</div>
|
|
658
|
+
</div>
|
|
659
|
+
<div class="tags">
|
|
660
|
+
|
|
661
|
+
<p class="tag_title">Returns:</p>
|
|
662
|
+
<ul class="return">
|
|
663
|
+
|
|
664
|
+
<li>
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
—
|
|
672
|
+
<div class='inline'><p>API field values keyed by Symbol.</p></div>
|
|
673
|
+
|
|
674
|
+
</li>
|
|
675
|
+
|
|
676
|
+
</ul>
|
|
677
|
+
|
|
678
|
+
</div><table class="source_code">
|
|
679
|
+
<tr>
|
|
680
|
+
<td>
|
|
681
|
+
<pre class="lines">
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
10
|
|
685
|
+
11
|
|
686
|
+
12</pre>
|
|
687
|
+
</td>
|
|
688
|
+
<td>
|
|
689
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 10</span>
|
|
690
|
+
|
|
691
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_attributes'>attributes</span>
|
|
692
|
+
<span class='ivar'>@attributes</span>
|
|
693
|
+
<span class='kw'>end</span></pre>
|
|
694
|
+
</td>
|
|
695
|
+
</tr>
|
|
696
|
+
</table>
|
|
697
|
+
</div>
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
<span id=""></span>
|
|
701
|
+
<div class="method_details ">
|
|
702
|
+
<h3 class="signature " id="options-instance_method">
|
|
703
|
+
|
|
704
|
+
#<strong>options</strong> ⇒ <tt>Hash</tt> <span class="extras">(readonly)</span>
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
</h3><div class="docstring">
|
|
711
|
+
<div class="discussion">
|
|
712
|
+
<p>Returns request configuration retained for later operations on this record.</p>
|
|
713
|
+
|
|
714
|
+
</div>
|
|
715
|
+
</div>
|
|
716
|
+
<div class="tags">
|
|
717
|
+
|
|
718
|
+
<p class="tag_title">Returns:</p>
|
|
719
|
+
<ul class="return">
|
|
720
|
+
|
|
721
|
+
<li>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
—
|
|
729
|
+
<div class='inline'><p>request configuration retained for later operations on this record.</p></div>
|
|
730
|
+
|
|
731
|
+
</li>
|
|
732
|
+
|
|
733
|
+
</ul>
|
|
734
|
+
|
|
735
|
+
</div><table class="source_code">
|
|
736
|
+
<tr>
|
|
737
|
+
<td>
|
|
738
|
+
<pre class="lines">
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
8
|
|
742
|
+
9
|
|
743
|
+
10</pre>
|
|
744
|
+
</td>
|
|
745
|
+
<td>
|
|
746
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 8</span>
|
|
747
|
+
|
|
748
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_options'>options</span>
|
|
749
|
+
<span class='ivar'>@options</span>
|
|
750
|
+
<span class='kw'>end</span></pre>
|
|
751
|
+
</td>
|
|
752
|
+
</tr>
|
|
753
|
+
</table>
|
|
754
|
+
</div>
|
|
755
|
+
|
|
756
|
+
</div>
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
<div id="class_method_details" class="method_details_list">
|
|
760
|
+
<h2>Class Method Details</h2>
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
<div class="method_details first">
|
|
764
|
+
<h3 class="signature first" id="all-class_method">
|
|
765
|
+
|
|
766
|
+
.<strong>all</strong>(params = {}, options = {}) ⇒ <tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
</h3><div class="docstring">
|
|
773
|
+
<div class="discussion">
|
|
774
|
+
<p>List Automation Versions</p>
|
|
775
|
+
|
|
776
|
+
</div>
|
|
777
|
+
</div>
|
|
778
|
+
<div class="tags">
|
|
779
|
+
<p class="tag_title">Parameters:</p>
|
|
780
|
+
<ul class="param">
|
|
781
|
+
|
|
782
|
+
<li>
|
|
783
|
+
|
|
784
|
+
<span class='name'>params</span>
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
—
|
|
794
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
795
|
+
|
|
796
|
+
</li>
|
|
797
|
+
|
|
798
|
+
<li>
|
|
799
|
+
|
|
800
|
+
<span class='name'>options</span>
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
—
|
|
810
|
+
<div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
811
|
+
|
|
812
|
+
</li>
|
|
813
|
+
|
|
814
|
+
</ul>
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
|
820
|
+
<ul class="option">
|
|
821
|
+
|
|
822
|
+
<li>
|
|
823
|
+
<span class="name">cursor</span>
|
|
824
|
+
<span class="type">(<tt>String</tt>)</span>
|
|
825
|
+
<span class="default">
|
|
826
|
+
|
|
827
|
+
</span>
|
|
828
|
+
|
|
829
|
+
— <div class='inline'><p>Used for pagination. When a list request has more records available, cursors are provided in the response headers <code>X-Files-Cursor-Next</code> and <code>X-Files-Cursor-Prev</code>. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.</p></div>
|
|
830
|
+
|
|
831
|
+
</li>
|
|
832
|
+
|
|
833
|
+
<li>
|
|
834
|
+
<span class="name">per_page</span>
|
|
835
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
836
|
+
<span class="default">
|
|
837
|
+
|
|
838
|
+
</span>
|
|
839
|
+
|
|
840
|
+
— <div class='inline'><p>Number of records to show per page. (Max: 10000, 1,000 or less is recommended).</p></div>
|
|
841
|
+
|
|
842
|
+
</li>
|
|
843
|
+
|
|
844
|
+
<li>
|
|
845
|
+
<span class="name">sort_by</span>
|
|
846
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
|
847
|
+
<span class="default">
|
|
848
|
+
|
|
849
|
+
</span>
|
|
850
|
+
|
|
851
|
+
— <div class='inline'><p>If set, sort records by the specified field in either <code>asc</code> or <code>desc</code> direction. Valid fields are .</p></div>
|
|
852
|
+
|
|
853
|
+
</li>
|
|
854
|
+
|
|
855
|
+
<li>
|
|
856
|
+
<span class="name">automation_id</span>
|
|
857
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
858
|
+
<span class="default">
|
|
859
|
+
|
|
860
|
+
</span>
|
|
861
|
+
|
|
862
|
+
— <div class='inline'><p>Required. ID of the Automation that owns this revision.</p></div>
|
|
863
|
+
|
|
864
|
+
</li>
|
|
865
|
+
|
|
866
|
+
</ul>
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
<p class="tag_title">Returns:</p>
|
|
872
|
+
<ul class="return">
|
|
873
|
+
|
|
874
|
+
<li>
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
<span class='type'>(<tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>)</span>
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
—
|
|
882
|
+
<div class='inline'><p>a lazy first page; use #auto_paging_each to visit every page.</p></div>
|
|
883
|
+
|
|
884
|
+
</li>
|
|
885
|
+
|
|
886
|
+
</ul>
|
|
887
|
+
<p class="tag_title">Raises:</p>
|
|
888
|
+
<ul class="raise">
|
|
889
|
+
|
|
890
|
+
<li>
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
—
|
|
898
|
+
<div class='inline'><p>if a required parameter is missing.</p></div>
|
|
899
|
+
|
|
900
|
+
</li>
|
|
901
|
+
|
|
902
|
+
<li>
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
—
|
|
910
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
911
|
+
|
|
912
|
+
</li>
|
|
913
|
+
|
|
914
|
+
<li>
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
—
|
|
922
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
923
|
+
|
|
924
|
+
</li>
|
|
925
|
+
|
|
926
|
+
</ul>
|
|
927
|
+
|
|
928
|
+
</div><table class="source_code">
|
|
929
|
+
<tr>
|
|
930
|
+
<td>
|
|
931
|
+
<pre class="lines">
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
121
|
|
935
|
+
122
|
|
936
|
+
123</pre>
|
|
937
|
+
</td>
|
|
938
|
+
<td>
|
|
939
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 121</span>
|
|
940
|
+
|
|
941
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
942
|
+
<span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
943
|
+
<span class='kw'>end</span></pre>
|
|
944
|
+
</td>
|
|
945
|
+
</tr>
|
|
946
|
+
</table>
|
|
947
|
+
</div>
|
|
948
|
+
|
|
949
|
+
<div class="method_details ">
|
|
950
|
+
<h3 class="signature " id="find-class_method">
|
|
951
|
+
|
|
952
|
+
.<strong>find</strong>(id, params = {}, options = {}) ⇒ <tt><span class='object_link'><a href="" title="Files::AutomationVersion (class)">Files::AutomationVersion</a></span></tt>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
</h3><div class="docstring">
|
|
959
|
+
<div class="discussion">
|
|
960
|
+
<p>Show Automation Version</p>
|
|
961
|
+
|
|
962
|
+
</div>
|
|
963
|
+
</div>
|
|
964
|
+
<div class="tags">
|
|
965
|
+
<p class="tag_title">Parameters:</p>
|
|
966
|
+
<ul class="param">
|
|
967
|
+
|
|
968
|
+
<li>
|
|
969
|
+
|
|
970
|
+
<span class='name'>id</span>
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
—
|
|
978
|
+
<div class='inline'><p>Automation Version ID.</p></div>
|
|
979
|
+
|
|
980
|
+
</li>
|
|
981
|
+
|
|
982
|
+
<li>
|
|
983
|
+
|
|
984
|
+
<span class='name'>params</span>
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
—
|
|
994
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
995
|
+
|
|
996
|
+
</li>
|
|
997
|
+
|
|
998
|
+
<li>
|
|
999
|
+
|
|
1000
|
+
<span class='name'>options</span>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
—
|
|
1010
|
+
<div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
1011
|
+
|
|
1012
|
+
</li>
|
|
1013
|
+
|
|
1014
|
+
</ul>
|
|
1015
|
+
|
|
1016
|
+
<p class="tag_title">Returns:</p>
|
|
1017
|
+
<ul class="return">
|
|
1018
|
+
|
|
1019
|
+
<li>
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Files::AutomationVersion (class)">Files::AutomationVersion</a></span></tt>)</span>
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
—
|
|
1027
|
+
<div class='inline'><p>the returned record.</p></div>
|
|
1028
|
+
|
|
1029
|
+
</li>
|
|
1030
|
+
|
|
1031
|
+
</ul>
|
|
1032
|
+
<p class="tag_title">Raises:</p>
|
|
1033
|
+
<ul class="raise">
|
|
1034
|
+
|
|
1035
|
+
<li>
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
—
|
|
1043
|
+
<div class='inline'><p>if a required parameter is missing.</p></div>
|
|
1044
|
+
|
|
1045
|
+
</li>
|
|
1046
|
+
|
|
1047
|
+
<li>
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
—
|
|
1055
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
1056
|
+
|
|
1057
|
+
</li>
|
|
1058
|
+
|
|
1059
|
+
<li>
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
—
|
|
1067
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
1068
|
+
|
|
1069
|
+
</li>
|
|
1070
|
+
|
|
1071
|
+
</ul>
|
|
1072
|
+
|
|
1073
|
+
</div><table class="source_code">
|
|
1074
|
+
<tr>
|
|
1075
|
+
<td>
|
|
1076
|
+
<pre class="lines">
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
134
|
|
1080
|
+
135
|
|
1081
|
+
136
|
|
1082
|
+
137
|
|
1083
|
+
138
|
|
1084
|
+
139
|
|
1085
|
+
140
|
|
1086
|
+
141
|
|
1087
|
+
142</pre>
|
|
1088
|
+
</td>
|
|
1089
|
+
<td>
|
|
1090
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 134</span>
|
|
1091
|
+
|
|
1092
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1093
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
|
1094
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
|
|
1095
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
|
|
1096
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1097
|
+
|
|
1098
|
+
<span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/automation_versions/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_reply'>reply</span><span class='op'>|</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_require_object'>require_object</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>AutomationVersion</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
1099
|
+
<span class='const'><span class='object_link'><a href="" title="Files::AutomationVersion (class)">AutomationVersion</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Files::AutomationVersion#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
1100
|
+
<span class='kw'>end</span></pre>
|
|
1101
|
+
</td>
|
|
1102
|
+
</tr>
|
|
1103
|
+
</table>
|
|
1104
|
+
</div>
|
|
1105
|
+
|
|
1106
|
+
<div class="method_details ">
|
|
1107
|
+
<h3 class="signature " id="get-class_method">
|
|
1108
|
+
|
|
1109
|
+
.<strong>get</strong>(id, params = {}, options = {}) ⇒ <tt><span class='object_link'><a href="" title="Files::AutomationVersion (class)">Files::AutomationVersion</a></span></tt>
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
</h3><div class="docstring">
|
|
1116
|
+
<div class="discussion">
|
|
1117
|
+
<p>Show Automation Version</p>
|
|
1118
|
+
|
|
1119
|
+
</div>
|
|
1120
|
+
</div>
|
|
1121
|
+
<div class="tags">
|
|
1122
|
+
<p class="tag_title">Parameters:</p>
|
|
1123
|
+
<ul class="param">
|
|
1124
|
+
|
|
1125
|
+
<li>
|
|
1126
|
+
|
|
1127
|
+
<span class='name'>id</span>
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
—
|
|
1135
|
+
<div class='inline'><p>Automation Version ID.</p></div>
|
|
1136
|
+
|
|
1137
|
+
</li>
|
|
1138
|
+
|
|
1139
|
+
<li>
|
|
1140
|
+
|
|
1141
|
+
<span class='name'>params</span>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
—
|
|
1151
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
1152
|
+
|
|
1153
|
+
</li>
|
|
1154
|
+
|
|
1155
|
+
<li>
|
|
1156
|
+
|
|
1157
|
+
<span class='name'>options</span>
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
—
|
|
1167
|
+
<div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
1168
|
+
|
|
1169
|
+
</li>
|
|
1170
|
+
|
|
1171
|
+
</ul>
|
|
1172
|
+
|
|
1173
|
+
<p class="tag_title">Returns:</p>
|
|
1174
|
+
<ul class="return">
|
|
1175
|
+
|
|
1176
|
+
<li>
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Files::AutomationVersion (class)">Files::AutomationVersion</a></span></tt>)</span>
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
—
|
|
1184
|
+
<div class='inline'><p>the returned record.</p></div>
|
|
1185
|
+
|
|
1186
|
+
</li>
|
|
1187
|
+
|
|
1188
|
+
</ul>
|
|
1189
|
+
<p class="tag_title">Raises:</p>
|
|
1190
|
+
<ul class="raise">
|
|
1191
|
+
|
|
1192
|
+
<li>
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
—
|
|
1200
|
+
<div class='inline'><p>if a required parameter is missing.</p></div>
|
|
1201
|
+
|
|
1202
|
+
</li>
|
|
1203
|
+
|
|
1204
|
+
<li>
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
—
|
|
1212
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
1213
|
+
|
|
1214
|
+
</li>
|
|
1215
|
+
|
|
1216
|
+
<li>
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
—
|
|
1224
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
1225
|
+
|
|
1226
|
+
</li>
|
|
1227
|
+
|
|
1228
|
+
</ul>
|
|
1229
|
+
|
|
1230
|
+
</div><table class="source_code">
|
|
1231
|
+
<tr>
|
|
1232
|
+
<td>
|
|
1233
|
+
<pre class="lines">
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
145
|
|
1237
|
+
146
|
|
1238
|
+
147</pre>
|
|
1239
|
+
</td>
|
|
1240
|
+
<td>
|
|
1241
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 145</span>
|
|
1242
|
+
|
|
1243
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1244
|
+
<span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
1245
|
+
<span class='kw'>end</span></pre>
|
|
1246
|
+
</td>
|
|
1247
|
+
</tr>
|
|
1248
|
+
</table>
|
|
1249
|
+
</div>
|
|
1250
|
+
|
|
1251
|
+
<div class="method_details ">
|
|
1252
|
+
<h3 class="signature " id="list-class_method">
|
|
1253
|
+
|
|
1254
|
+
.<strong>list</strong>(params = {}, options = {}) ⇒ <tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
</h3><div class="docstring">
|
|
1261
|
+
<div class="discussion">
|
|
1262
|
+
<p>List Automation Versions</p>
|
|
1263
|
+
|
|
1264
|
+
</div>
|
|
1265
|
+
</div>
|
|
1266
|
+
<div class="tags">
|
|
1267
|
+
<p class="tag_title">Parameters:</p>
|
|
1268
|
+
<ul class="param">
|
|
1269
|
+
|
|
1270
|
+
<li>
|
|
1271
|
+
|
|
1272
|
+
<span class='name'>params</span>
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
—
|
|
1282
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
1283
|
+
|
|
1284
|
+
</li>
|
|
1285
|
+
|
|
1286
|
+
<li>
|
|
1287
|
+
|
|
1288
|
+
<span class='name'>options</span>
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
—
|
|
1298
|
+
<div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
1299
|
+
|
|
1300
|
+
</li>
|
|
1301
|
+
|
|
1302
|
+
</ul>
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
|
1308
|
+
<ul class="option">
|
|
1309
|
+
|
|
1310
|
+
<li>
|
|
1311
|
+
<span class="name">cursor</span>
|
|
1312
|
+
<span class="type">(<tt>String</tt>)</span>
|
|
1313
|
+
<span class="default">
|
|
1314
|
+
|
|
1315
|
+
</span>
|
|
1316
|
+
|
|
1317
|
+
— <div class='inline'><p>Used for pagination. When a list request has more records available, cursors are provided in the response headers <code>X-Files-Cursor-Next</code> and <code>X-Files-Cursor-Prev</code>. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.</p></div>
|
|
1318
|
+
|
|
1319
|
+
</li>
|
|
1320
|
+
|
|
1321
|
+
<li>
|
|
1322
|
+
<span class="name">per_page</span>
|
|
1323
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
1324
|
+
<span class="default">
|
|
1325
|
+
|
|
1326
|
+
</span>
|
|
1327
|
+
|
|
1328
|
+
— <div class='inline'><p>Number of records to show per page. (Max: 10000, 1,000 or less is recommended).</p></div>
|
|
1329
|
+
|
|
1330
|
+
</li>
|
|
1331
|
+
|
|
1332
|
+
<li>
|
|
1333
|
+
<span class="name">sort_by</span>
|
|
1334
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
|
1335
|
+
<span class="default">
|
|
1336
|
+
|
|
1337
|
+
</span>
|
|
1338
|
+
|
|
1339
|
+
— <div class='inline'><p>If set, sort records by the specified field in either <code>asc</code> or <code>desc</code> direction. Valid fields are .</p></div>
|
|
1340
|
+
|
|
1341
|
+
</li>
|
|
1342
|
+
|
|
1343
|
+
<li>
|
|
1344
|
+
<span class="name">automation_id</span>
|
|
1345
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
1346
|
+
<span class="default">
|
|
1347
|
+
|
|
1348
|
+
</span>
|
|
1349
|
+
|
|
1350
|
+
— <div class='inline'><p>Required. ID of the Automation that owns this revision.</p></div>
|
|
1351
|
+
|
|
1352
|
+
</li>
|
|
1353
|
+
|
|
1354
|
+
</ul>
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
<p class="tag_title">Returns:</p>
|
|
1360
|
+
<ul class="return">
|
|
1361
|
+
|
|
1362
|
+
<li>
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
<span class='type'>(<tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>)</span>
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
—
|
|
1370
|
+
<div class='inline'><p>a lazy first page; use #auto_paging_each to visit every page.</p></div>
|
|
1371
|
+
|
|
1372
|
+
</li>
|
|
1373
|
+
|
|
1374
|
+
</ul>
|
|
1375
|
+
<p class="tag_title">Raises:</p>
|
|
1376
|
+
<ul class="raise">
|
|
1377
|
+
|
|
1378
|
+
<li>
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
—
|
|
1386
|
+
<div class='inline'><p>if a required parameter is missing.</p></div>
|
|
1387
|
+
|
|
1388
|
+
</li>
|
|
1389
|
+
|
|
1390
|
+
<li>
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
—
|
|
1398
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
1399
|
+
|
|
1400
|
+
</li>
|
|
1401
|
+
|
|
1402
|
+
<li>
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
—
|
|
1410
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
1411
|
+
|
|
1412
|
+
</li>
|
|
1413
|
+
|
|
1414
|
+
</ul>
|
|
1415
|
+
|
|
1416
|
+
</div><table class="source_code">
|
|
1417
|
+
<tr>
|
|
1418
|
+
<td>
|
|
1419
|
+
<pre class="lines">
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
105
|
|
1423
|
+
106
|
|
1424
|
+
107
|
|
1425
|
+
108
|
|
1426
|
+
109
|
|
1427
|
+
110
|
|
1428
|
+
111
|
|
1429
|
+
112
|
|
1430
|
+
113
|
|
1431
|
+
114
|
|
1432
|
+
115
|
|
1433
|
+
116
|
|
1434
|
+
117
|
|
1435
|
+
118</pre>
|
|
1436
|
+
</td>
|
|
1437
|
+
<td>
|
|
1438
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 105</span>
|
|
1439
|
+
|
|
1440
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1441
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: cursor must be an String</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:cursor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:cursor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
|
|
1442
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: per_page must be an Integer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:per_page</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:per_page</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
|
|
1443
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: sort_by must be an Hash</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:sort_by</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:sort_by</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
|
|
1444
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: automation_id must be an Integer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:automation_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:automation_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
|
|
1445
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Parameter missing: automation_id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:automation_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1446
|
+
|
|
1447
|
+
<span class='id identifier rubyid_list_options'>list_options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
|
1448
|
+
<span class='const'><span class='object_link'><a href="List.html" title="Files::List (class)">List</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="List.html#initialize-instance_method" title="Files::List#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="" title="Files::AutomationVersion (class)">AutomationVersion</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_page_params'>page_params</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_check_page'>check_page</span><span class='op'>|</span>
|
|
1449
|
+
<span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_page_options'>page_options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/automation_versions</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_page_params'>page_params</span><span class='comma'>,</span> <span class='id identifier rubyid_list_options'>list_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_check_page'>check_page</span><span class='rparen'>)</span>
|
|
1450
|
+
<span class='id identifier rubyid_list_options'>list_options</span> <span class='op'>=</span> <span class='id identifier rubyid_list_options'>list_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_page_options'>page_options</span><span class='rparen'>)</span>
|
|
1451
|
+
<span class='lbracket'>[</span> <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_page_options'>page_options</span> <span class='rbracket'>]</span>
|
|
1452
|
+
<span class='kw'>end</span>
|
|
1453
|
+
<span class='kw'>end</span></pre>
|
|
1454
|
+
</td>
|
|
1455
|
+
</tr>
|
|
1456
|
+
</table>
|
|
1457
|
+
</div>
|
|
1458
|
+
|
|
1459
|
+
<div class="method_details ">
|
|
1460
|
+
<h3 class="signature " id="restore-class_method">
|
|
1461
|
+
|
|
1462
|
+
.<strong>restore</strong>(id, params = {}, options = {}) ⇒ <tt><span class='object_link'><a href="Automation.html" title="Files::Automation (class)">Files::Automation</a></span></tt>
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
</h3><div class="docstring">
|
|
1469
|
+
<div class="discussion">
|
|
1470
|
+
<p>Restore an Automation v2 definition as a new current version</p>
|
|
1471
|
+
|
|
1472
|
+
</div>
|
|
1473
|
+
</div>
|
|
1474
|
+
<div class="tags">
|
|
1475
|
+
<p class="tag_title">Parameters:</p>
|
|
1476
|
+
<ul class="param">
|
|
1477
|
+
|
|
1478
|
+
<li>
|
|
1479
|
+
|
|
1480
|
+
<span class='name'>id</span>
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
—
|
|
1488
|
+
<div class='inline'><p>Automation Version ID.</p></div>
|
|
1489
|
+
|
|
1490
|
+
</li>
|
|
1491
|
+
|
|
1492
|
+
<li>
|
|
1493
|
+
|
|
1494
|
+
<span class='name'>params</span>
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
—
|
|
1504
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
1505
|
+
|
|
1506
|
+
</li>
|
|
1507
|
+
|
|
1508
|
+
<li>
|
|
1509
|
+
|
|
1510
|
+
<span class='name'>options</span>
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
—
|
|
1520
|
+
<div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Files::Api.send_request</a></span>.</p></div>
|
|
1521
|
+
|
|
1522
|
+
</li>
|
|
1523
|
+
|
|
1524
|
+
</ul>
|
|
1525
|
+
|
|
1526
|
+
<p class="tag_title">Returns:</p>
|
|
1527
|
+
<ul class="return">
|
|
1528
|
+
|
|
1529
|
+
<li>
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
<span class='type'>(<tt><span class='object_link'><a href="Automation.html" title="Files::Automation (class)">Files::Automation</a></span></tt>)</span>
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
—
|
|
1537
|
+
<div class='inline'><p>the returned record.</p></div>
|
|
1538
|
+
|
|
1539
|
+
</li>
|
|
1540
|
+
|
|
1541
|
+
</ul>
|
|
1542
|
+
<p class="tag_title">Raises:</p>
|
|
1543
|
+
<ul class="raise">
|
|
1544
|
+
|
|
1545
|
+
<li>
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
—
|
|
1553
|
+
<div class='inline'><p>if a required parameter is missing.</p></div>
|
|
1554
|
+
|
|
1555
|
+
</li>
|
|
1556
|
+
|
|
1557
|
+
<li>
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
1561
|
+
|
|
1562
|
+
|
|
1563
|
+
|
|
1564
|
+
—
|
|
1565
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
1566
|
+
|
|
1567
|
+
</li>
|
|
1568
|
+
|
|
1569
|
+
<li>
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
—
|
|
1577
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
1578
|
+
|
|
1579
|
+
</li>
|
|
1580
|
+
|
|
1581
|
+
</ul>
|
|
1582
|
+
|
|
1583
|
+
</div><table class="source_code">
|
|
1584
|
+
<tr>
|
|
1585
|
+
<td>
|
|
1586
|
+
<pre class="lines">
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
158
|
|
1590
|
+
159
|
|
1591
|
+
160
|
|
1592
|
+
161
|
|
1593
|
+
162
|
|
1594
|
+
163
|
|
1595
|
+
164
|
|
1596
|
+
165
|
|
1597
|
+
166</pre>
|
|
1598
|
+
</td>
|
|
1599
|
+
<td>
|
|
1600
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 158</span>
|
|
1601
|
+
|
|
1602
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_restore'>restore</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1603
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
|
1604
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
|
|
1605
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
|
|
1606
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
1607
|
+
|
|
1608
|
+
<span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/automation_versions/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/restore</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:post</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_reply'>reply</span><span class='op'>|</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_require_object'>require_object</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Automation</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
1609
|
+
<span class='const'><span class='object_link'><a href="Automation.html" title="Files::Automation (class)">Automation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Automation.html#initialize-instance_method" title="Files::Automation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
1610
|
+
<span class='kw'>end</span></pre>
|
|
1611
|
+
</td>
|
|
1612
|
+
</tr>
|
|
1613
|
+
</table>
|
|
1614
|
+
</div>
|
|
1615
|
+
|
|
1616
|
+
</div>
|
|
1617
|
+
|
|
1618
|
+
<div id="instance_method_details" class="method_details_list">
|
|
1619
|
+
<h2>Instance Method Details</h2>
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
<div class="method_details first">
|
|
1623
|
+
<h3 class="signature first" id="api_key_id-instance_method">
|
|
1624
|
+
|
|
1625
|
+
#<strong>api_key_id</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
</h3><div class="docstring">
|
|
1632
|
+
<div class="discussion">
|
|
1633
|
+
<p>ID of the API key used to save the revision, when available.</p>
|
|
1634
|
+
|
|
1635
|
+
</div>
|
|
1636
|
+
</div>
|
|
1637
|
+
<div class="tags">
|
|
1638
|
+
|
|
1639
|
+
<p class="tag_title">Returns:</p>
|
|
1640
|
+
<ul class="return">
|
|
1641
|
+
|
|
1642
|
+
<li>
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
—
|
|
1650
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
1651
|
+
|
|
1652
|
+
</li>
|
|
1653
|
+
|
|
1654
|
+
</ul>
|
|
1655
|
+
|
|
1656
|
+
</div><table class="source_code">
|
|
1657
|
+
<tr>
|
|
1658
|
+
<td>
|
|
1659
|
+
<pre class="lines">
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
64
|
|
1663
|
+
65
|
|
1664
|
+
66</pre>
|
|
1665
|
+
</td>
|
|
1666
|
+
<td>
|
|
1667
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 64</span>
|
|
1668
|
+
|
|
1669
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_api_key_id'>api_key_id</span>
|
|
1670
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:api_key_id</span><span class='rbracket'>]</span>
|
|
1671
|
+
<span class='kw'>end</span></pre>
|
|
1672
|
+
</td>
|
|
1673
|
+
</tr>
|
|
1674
|
+
</table>
|
|
1675
|
+
</div>
|
|
1676
|
+
|
|
1677
|
+
<div class="method_details ">
|
|
1678
|
+
<h3 class="signature " id="automation_id-instance_method">
|
|
1679
|
+
|
|
1680
|
+
#<strong>automation_id</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
</h3><div class="docstring">
|
|
1687
|
+
<div class="discussion">
|
|
1688
|
+
<p>ID of the Automation that owns this revision.</p>
|
|
1689
|
+
|
|
1690
|
+
</div>
|
|
1691
|
+
</div>
|
|
1692
|
+
<div class="tags">
|
|
1693
|
+
|
|
1694
|
+
<p class="tag_title">Returns:</p>
|
|
1695
|
+
<ul class="return">
|
|
1696
|
+
|
|
1697
|
+
<li>
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
—
|
|
1705
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
1706
|
+
|
|
1707
|
+
</li>
|
|
1708
|
+
|
|
1709
|
+
</ul>
|
|
1710
|
+
|
|
1711
|
+
</div><table class="source_code">
|
|
1712
|
+
<tr>
|
|
1713
|
+
<td>
|
|
1714
|
+
<pre class="lines">
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
28
|
|
1718
|
+
29
|
|
1719
|
+
30</pre>
|
|
1720
|
+
</td>
|
|
1721
|
+
<td>
|
|
1722
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 28</span>
|
|
1723
|
+
|
|
1724
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_automation_id'>automation_id</span>
|
|
1725
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:automation_id</span><span class='rbracket'>]</span>
|
|
1726
|
+
<span class='kw'>end</span></pre>
|
|
1727
|
+
</td>
|
|
1728
|
+
</tr>
|
|
1729
|
+
</table>
|
|
1730
|
+
</div>
|
|
1731
|
+
|
|
1732
|
+
<div class="method_details ">
|
|
1733
|
+
<h3 class="signature " id="created_at-instance_method">
|
|
1734
|
+
|
|
1735
|
+
#<strong>created_at</strong> ⇒ <tt>String</tt><sup>?</sup>
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
</h3><div class="docstring">
|
|
1742
|
+
<div class="discussion">
|
|
1743
|
+
<p>Time the revision was saved.</p>
|
|
1744
|
+
|
|
1745
|
+
</div>
|
|
1746
|
+
</div>
|
|
1747
|
+
<div class="tags">
|
|
1748
|
+
|
|
1749
|
+
<p class="tag_title">Returns:</p>
|
|
1750
|
+
<ul class="return">
|
|
1751
|
+
|
|
1752
|
+
<li>
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
<span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
—
|
|
1760
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
1761
|
+
|
|
1762
|
+
</li>
|
|
1763
|
+
|
|
1764
|
+
</ul>
|
|
1765
|
+
|
|
1766
|
+
</div><table class="source_code">
|
|
1767
|
+
<tr>
|
|
1768
|
+
<td>
|
|
1769
|
+
<pre class="lines">
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
46
|
|
1773
|
+
47
|
|
1774
|
+
48</pre>
|
|
1775
|
+
</td>
|
|
1776
|
+
<td>
|
|
1777
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 46</span>
|
|
1778
|
+
|
|
1779
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_created_at'>created_at</span>
|
|
1780
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:created_at</span><span class='rbracket'>]</span>
|
|
1781
|
+
<span class='kw'>end</span></pre>
|
|
1782
|
+
</td>
|
|
1783
|
+
</tr>
|
|
1784
|
+
</table>
|
|
1785
|
+
</div>
|
|
1786
|
+
|
|
1787
|
+
<div class="method_details ">
|
|
1788
|
+
<h3 class="signature " id="definition-instance_method">
|
|
1789
|
+
|
|
1790
|
+
#<strong>definition</strong> ⇒ <tt>Hash</tt><sup>?</sup>
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
</h3><div class="docstring">
|
|
1797
|
+
<div class="discussion">
|
|
1798
|
+
<p>Saved Automation v2 graph definition. Included when retrieving a single revision.</p>
|
|
1799
|
+
|
|
1800
|
+
</div>
|
|
1801
|
+
</div>
|
|
1802
|
+
<div class="tags">
|
|
1803
|
+
|
|
1804
|
+
<p class="tag_title">Returns:</p>
|
|
1805
|
+
<ul class="return">
|
|
1806
|
+
|
|
1807
|
+
<li>
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
<span class='type'>(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
—
|
|
1815
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
1816
|
+
|
|
1817
|
+
</li>
|
|
1818
|
+
|
|
1819
|
+
</ul>
|
|
1820
|
+
|
|
1821
|
+
</div><table class="source_code">
|
|
1822
|
+
<tr>
|
|
1823
|
+
<td>
|
|
1824
|
+
<pre class="lines">
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
70
|
|
1828
|
+
71
|
|
1829
|
+
72</pre>
|
|
1830
|
+
</td>
|
|
1831
|
+
<td>
|
|
1832
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 70</span>
|
|
1833
|
+
|
|
1834
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_definition'>definition</span>
|
|
1835
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:definition</span><span class='rbracket'>]</span>
|
|
1836
|
+
<span class='kw'>end</span></pre>
|
|
1837
|
+
</td>
|
|
1838
|
+
</tr>
|
|
1839
|
+
</table>
|
|
1840
|
+
</div>
|
|
1841
|
+
|
|
1842
|
+
<div class="method_details ">
|
|
1843
|
+
<h3 class="signature " id="id-instance_method">
|
|
1844
|
+
|
|
1845
|
+
#<strong>id</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
</h3><div class="docstring">
|
|
1852
|
+
<div class="discussion">
|
|
1853
|
+
<p>Automation revision ID.</p>
|
|
1854
|
+
|
|
1855
|
+
</div>
|
|
1856
|
+
</div>
|
|
1857
|
+
<div class="tags">
|
|
1858
|
+
|
|
1859
|
+
<p class="tag_title">Returns:</p>
|
|
1860
|
+
<ul class="return">
|
|
1861
|
+
|
|
1862
|
+
<li>
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
—
|
|
1870
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
1871
|
+
|
|
1872
|
+
</li>
|
|
1873
|
+
|
|
1874
|
+
</ul>
|
|
1875
|
+
|
|
1876
|
+
</div><table class="source_code">
|
|
1877
|
+
<tr>
|
|
1878
|
+
<td>
|
|
1879
|
+
<pre class="lines">
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
22
|
|
1883
|
+
23
|
|
1884
|
+
24</pre>
|
|
1885
|
+
</td>
|
|
1886
|
+
<td>
|
|
1887
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 22</span>
|
|
1888
|
+
|
|
1889
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
|
1890
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
|
|
1891
|
+
<span class='kw'>end</span></pre>
|
|
1892
|
+
</td>
|
|
1893
|
+
</tr>
|
|
1894
|
+
</table>
|
|
1895
|
+
</div>
|
|
1896
|
+
|
|
1897
|
+
<div class="method_details ">
|
|
1898
|
+
<h3 class="signature " id="restore-instance_method">
|
|
1899
|
+
|
|
1900
|
+
#<strong>restore</strong>(params = {}) ⇒ <tt>Array(<span class='object_link'><a href="Response.html" title="Files::Response (class)">Files::Response</a></span>, Hash)</tt>
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
</h3><div class="docstring">
|
|
1907
|
+
<div class="discussion">
|
|
1908
|
+
<p>Restore an Automation v2 definition as a new current version</p>
|
|
1909
|
+
|
|
1910
|
+
</div>
|
|
1911
|
+
</div>
|
|
1912
|
+
<div class="tags">
|
|
1913
|
+
<p class="tag_title">Parameters:</p>
|
|
1914
|
+
<ul class="param">
|
|
1915
|
+
|
|
1916
|
+
<li>
|
|
1917
|
+
|
|
1918
|
+
<span class='name'>params</span>
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
—
|
|
1928
|
+
<div class='inline'><p>API parameters, keyed by Symbol.</p></div>
|
|
1929
|
+
|
|
1930
|
+
</li>
|
|
1931
|
+
|
|
1932
|
+
</ul>
|
|
1933
|
+
|
|
1934
|
+
<p class="tag_title">Returns:</p>
|
|
1935
|
+
<ul class="return">
|
|
1936
|
+
|
|
1937
|
+
<li>
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
<span class='type'>(<tt>Array(<span class='object_link'><a href="Response.html" title="Files::Response (class)">Files::Response</a></span>, Hash)</tt>)</span>
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
|
|
1944
|
+
—
|
|
1945
|
+
<div class='inline'><p>the response and persisted request options.</p></div>
|
|
1946
|
+
|
|
1947
|
+
</li>
|
|
1948
|
+
|
|
1949
|
+
</ul>
|
|
1950
|
+
<p class="tag_title">Raises:</p>
|
|
1951
|
+
<ul class="raise">
|
|
1952
|
+
|
|
1953
|
+
<li>
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
<span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
—
|
|
1961
|
+
<div class='inline'><p>if a required parameter or the current object primary key is missing.</p></div>
|
|
1962
|
+
|
|
1963
|
+
</li>
|
|
1964
|
+
|
|
1965
|
+
<li>
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
<span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
—
|
|
1973
|
+
<div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
|
|
1974
|
+
|
|
1975
|
+
</li>
|
|
1976
|
+
|
|
1977
|
+
<li>
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
<span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
|
+
—
|
|
1985
|
+
<div class='inline'><p>if the API request fails.</p></div>
|
|
1986
|
+
|
|
1987
|
+
</li>
|
|
1988
|
+
|
|
1989
|
+
</ul>
|
|
1990
|
+
|
|
1991
|
+
</div><table class="source_code">
|
|
1992
|
+
<tr>
|
|
1993
|
+
<td>
|
|
1994
|
+
<pre class="lines">
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
81
|
|
1998
|
+
82
|
|
1999
|
+
83
|
|
2000
|
+
84
|
|
2001
|
+
85
|
|
2002
|
+
86
|
|
2003
|
+
87
|
|
2004
|
+
88
|
|
2005
|
+
89
|
|
2006
|
+
90
|
|
2007
|
+
91</pre>
|
|
2008
|
+
</td>
|
|
2009
|
+
<td>
|
|
2010
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 81</span>
|
|
2011
|
+
|
|
2012
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_restore'>restore</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
2013
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
|
2014
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
|
|
2015
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Current object doesn't have a id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
|
|
2016
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
|
|
2017
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
2018
|
+
|
|
2019
|
+
<span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/automation_versions/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/restore</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:post</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='ivar'>@options</span><span class='rparen'>)</span>
|
|
2020
|
+
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
2021
|
+
<span class='lbracket'>[</span> <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rbracket'>]</span>
|
|
2022
|
+
<span class='kw'>end</span></pre>
|
|
2023
|
+
</td>
|
|
2024
|
+
</tr>
|
|
2025
|
+
</table>
|
|
2026
|
+
</div>
|
|
2027
|
+
|
|
2028
|
+
<div class="method_details ">
|
|
2029
|
+
<h3 class="signature " id="user_id-instance_method">
|
|
2030
|
+
|
|
2031
|
+
#<strong>user_id</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
2032
|
+
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
</h3><div class="docstring">
|
|
2038
|
+
<div class="discussion">
|
|
2039
|
+
<p>ID of the user who saved the revision, when available.</p>
|
|
2040
|
+
|
|
2041
|
+
</div>
|
|
2042
|
+
</div>
|
|
2043
|
+
<div class="tags">
|
|
2044
|
+
|
|
2045
|
+
<p class="tag_title">Returns:</p>
|
|
2046
|
+
<ul class="return">
|
|
2047
|
+
|
|
2048
|
+
<li>
|
|
2049
|
+
|
|
2050
|
+
|
|
2051
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
—
|
|
2056
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
2057
|
+
|
|
2058
|
+
</li>
|
|
2059
|
+
|
|
2060
|
+
</ul>
|
|
2061
|
+
|
|
2062
|
+
</div><table class="source_code">
|
|
2063
|
+
<tr>
|
|
2064
|
+
<td>
|
|
2065
|
+
<pre class="lines">
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
52
|
|
2069
|
+
53
|
|
2070
|
+
54</pre>
|
|
2071
|
+
</td>
|
|
2072
|
+
<td>
|
|
2073
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 52</span>
|
|
2074
|
+
|
|
2075
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_user_id'>user_id</span>
|
|
2076
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:user_id</span><span class='rbracket'>]</span>
|
|
2077
|
+
<span class='kw'>end</span></pre>
|
|
2078
|
+
</td>
|
|
2079
|
+
</tr>
|
|
2080
|
+
</table>
|
|
2081
|
+
</div>
|
|
2082
|
+
|
|
2083
|
+
<div class="method_details ">
|
|
2084
|
+
<h3 class="signature " id="username-instance_method">
|
|
2085
|
+
|
|
2086
|
+
#<strong>username</strong> ⇒ <tt>String</tt><sup>?</sup>
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
</h3><div class="docstring">
|
|
2093
|
+
<div class="discussion">
|
|
2094
|
+
<p>Username recorded when the revision was saved, when available.</p>
|
|
2095
|
+
|
|
2096
|
+
</div>
|
|
2097
|
+
</div>
|
|
2098
|
+
<div class="tags">
|
|
2099
|
+
|
|
2100
|
+
<p class="tag_title">Returns:</p>
|
|
2101
|
+
<ul class="return">
|
|
2102
|
+
|
|
2103
|
+
<li>
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
<span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
—
|
|
2111
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
2112
|
+
|
|
2113
|
+
</li>
|
|
2114
|
+
|
|
2115
|
+
</ul>
|
|
2116
|
+
|
|
2117
|
+
</div><table class="source_code">
|
|
2118
|
+
<tr>
|
|
2119
|
+
<td>
|
|
2120
|
+
<pre class="lines">
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
58
|
|
2124
|
+
59
|
|
2125
|
+
60</pre>
|
|
2126
|
+
</td>
|
|
2127
|
+
<td>
|
|
2128
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 58</span>
|
|
2129
|
+
|
|
2130
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_username'>username</span>
|
|
2131
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:username</span><span class='rbracket'>]</span>
|
|
2132
|
+
<span class='kw'>end</span></pre>
|
|
2133
|
+
</td>
|
|
2134
|
+
</tr>
|
|
2135
|
+
</table>
|
|
2136
|
+
</div>
|
|
2137
|
+
|
|
2138
|
+
<div class="method_details ">
|
|
2139
|
+
<h3 class="signature " id="version-instance_method">
|
|
2140
|
+
|
|
2141
|
+
#<strong>version</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
</h3><div class="docstring">
|
|
2148
|
+
<div class="discussion">
|
|
2149
|
+
<p>Revision number within the Automation.</p>
|
|
2150
|
+
|
|
2151
|
+
</div>
|
|
2152
|
+
</div>
|
|
2153
|
+
<div class="tags">
|
|
2154
|
+
|
|
2155
|
+
<p class="tag_title">Returns:</p>
|
|
2156
|
+
<ul class="return">
|
|
2157
|
+
|
|
2158
|
+
<li>
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
—
|
|
2166
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
2167
|
+
|
|
2168
|
+
</li>
|
|
2169
|
+
|
|
2170
|
+
</ul>
|
|
2171
|
+
|
|
2172
|
+
</div><table class="source_code">
|
|
2173
|
+
<tr>
|
|
2174
|
+
<td>
|
|
2175
|
+
<pre class="lines">
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
40
|
|
2179
|
+
41
|
|
2180
|
+
42</pre>
|
|
2181
|
+
</td>
|
|
2182
|
+
<td>
|
|
2183
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 40</span>
|
|
2184
|
+
|
|
2185
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
|
|
2186
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:version</span><span class='rbracket'>]</span>
|
|
2187
|
+
<span class='kw'>end</span></pre>
|
|
2188
|
+
</td>
|
|
2189
|
+
</tr>
|
|
2190
|
+
</table>
|
|
2191
|
+
</div>
|
|
2192
|
+
|
|
2193
|
+
<div class="method_details ">
|
|
2194
|
+
<h3 class="signature " id="workspace_id-instance_method">
|
|
2195
|
+
|
|
2196
|
+
#<strong>workspace_id</strong> ⇒ <tt>Integer</tt><sup>?</sup>
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
</h3><div class="docstring">
|
|
2203
|
+
<div class="discussion">
|
|
2204
|
+
<p>Workspace that owns the Automation. Zero is the Default Workspace.</p>
|
|
2205
|
+
|
|
2206
|
+
</div>
|
|
2207
|
+
</div>
|
|
2208
|
+
<div class="tags">
|
|
2209
|
+
|
|
2210
|
+
<p class="tag_title">Returns:</p>
|
|
2211
|
+
<ul class="return">
|
|
2212
|
+
|
|
2213
|
+
<li>
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
<span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
—
|
|
2221
|
+
<div class='inline'><p>the field value, or nil when absent.</p></div>
|
|
2222
|
+
|
|
2223
|
+
</li>
|
|
2224
|
+
|
|
2225
|
+
</ul>
|
|
2226
|
+
|
|
2227
|
+
</div><table class="source_code">
|
|
2228
|
+
<tr>
|
|
2229
|
+
<td>
|
|
2230
|
+
<pre class="lines">
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
34
|
|
2234
|
+
35
|
|
2235
|
+
36</pre>
|
|
2236
|
+
</td>
|
|
2237
|
+
<td>
|
|
2238
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/models/automation_version.rb', line 34</span>
|
|
2239
|
+
|
|
2240
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_workspace_id'>workspace_id</span>
|
|
2241
|
+
<span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:workspace_id</span><span class='rbracket'>]</span>
|
|
2242
|
+
<span class='kw'>end</span></pre>
|
|
2243
|
+
</td>
|
|
2244
|
+
</tr>
|
|
2245
|
+
</table>
|
|
2246
|
+
</div>
|
|
2247
|
+
|
|
2248
|
+
</div>
|
|
2249
|
+
|
|
2250
|
+
</div>
|
|
2251
|
+
|
|
2252
|
+
<div id="footer">
|
|
2253
|
+
Generated on Tue Nov 24 12:37:46 2026 by
|
|
2254
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2255
|
+
0.9.45 (ruby-4.0.10).
|
|
2256
|
+
</div>
|
|
2257
|
+
|
|
2258
|
+
</div>
|
|
2259
|
+
</body>
|
|
2260
|
+
</html>
|