FileComparisonNotRenamed

github4s.domain.RepoUrlKeys$.FileComparison$.FileComparisonNotRenamed
final case class FileComparisonNotRenamed(sha: String, filename: String, status: String, additions: Int, deletions: Int, changes: Int, blob_url: String, raw_url: String, contents_url: String, patch: String) extends FileComparison

Represents a file comparison where a file was not renamed.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getPatch: Option[String]

Gets the contents of the patch field if it exists, in the case that the file was modified. To guarantee that the patch field is available, match this FileComparison value as a FileComparison.FileComparisonNotRenamed type which always has this field.

Gets the contents of the patch field if it exists, in the case that the file was modified. To guarantee that the patch field is available, match this FileComparison value as a FileComparison.FileComparisonNotRenamed type which always has this field.

Attributes

def getPreviousFilename: Option[String]

Gets the contents of the previous_filename field if it exists. This field is guaranteed to appear in the event of any rename. To guarantee that this field is available, match this FileComparison value as a FileComparison.FileComparisonRenamde type which always has this field.

Gets the contents of the previous_filename field if it exists. This field is guaranteed to appear in the event of any rename. To guarantee that this field is available, match this FileComparison value as a FileComparison.FileComparisonRenamde type which always has this field.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product