Class GetFileResponse

    • Method Detail

      • commitId

        public final String commitId()

        The full commit ID of the commit that contains the content returned by GetFile.

        Returns:
        The full commit ID of the commit that contains the content returned by GetFile.
      • blobId

        public final String blobId()

        The blob ID of the object that represents the file content.

        Returns:
        The blob ID of the object that represents the file content.
      • filePath

        public final String filePath()

        The fully qualified path to the specified file. Returns the name and extension of the file.

        Returns:
        The fully qualified path to the specified file. Returns the name and extension of the file.
      • fileMode

        public final FileModeTypeEnum fileMode()

        The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

        The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

        If the service returns an enum value that is not available in the current SDK version, fileMode will return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from fileModeAsString().

        Returns:
        The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

        The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

        See Also:
        FileModeTypeEnum
      • fileModeAsString

        public final String fileModeAsString()

        The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

        The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

        If the service returns an enum value that is not available in the current SDK version, fileMode will return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from fileModeAsString().

        Returns:
        The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

        The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

        See Also:
        FileModeTypeEnum
      • fileSize

        public final Long fileSize()

        The size of the contents of the file, in bytes.

        Returns:
        The size of the contents of the file, in bytes.
      • fileContent

        public final SdkBytes fileContent()

        The base-64 encoded binary data object that represents the content of the file.

        Returns:
        The base-64 encoded binary data object that represents the content of the file.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object