Package io.gitea.model
Class FileResponse
java.lang.Object
io.gitea.model.FileResponse
public class FileResponse
extends java.lang.Object
FileResponse contains information about a repo's file
-
Constructor Summary
Constructors Constructor Description FileResponse() -
Method Summary
Modifier and Type Method Description FileResponsecommit(FileCommitResponse commit)FileResponsecontent(ContentsResponse content)booleanequals(java.lang.Object o)FileCommitResponsegetCommit()Get commitContentsResponsegetContent()Get contentPayloadCommitVerificationgetVerification()Get verificationinthashCode()voidsetCommit(FileCommitResponse commit)voidsetContent(ContentsResponse content)voidsetVerification(PayloadCommitVerification verification)java.lang.StringtoString()FileResponseverification(PayloadCommitVerification verification)
-
Constructor Details
-
FileResponse
public FileResponse()
-
-
Method Details
-
commit
-
getCommit
Get commit- Returns:
- commit
-
setCommit
-
content
-
getContent
Get content- Returns:
- content
-
setContent
-
verification
-
getVerification
Get verification- Returns:
- verification
-
setVerification
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-