/* Options: Date: 2024-11-24 16:19:05 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryGitHubRepos.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* open class QueryGitHubRepos : QueryData(), IReturn> { var userName:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryGitHubRepos.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) var offset:Int? = null @DataMember(Order=2) var total:Int? = null @DataMember(Order=3) var results:ArrayList = ArrayList() @DataMember(Order=4) var meta:HashMap = HashMap() @DataMember(Order=5) var responseStatus:ResponseStatus? = null } open class QueryData : QueryBase() { } open class GithubRepo { var id:Int? = null var name:String? = null var description:String? = null var homepage:String? = null var language:String? = null var watchers_Count:Int? = null var stargazes_Count:Int? = null var forks_Count:Int? = null var open_Issues_Count:Int? = null var size:Int? = null var full_Name:String? = null var created_at:Date? = null var pushed_At:Date? = null var updated_At:Date? = null var has_issues:Boolean? = null var has_Downloads:Boolean? = null var has_Wiki:Boolean? = null var has_Pages:Boolean? = null var fork:Boolean? = null var owner:GithubUser? = null var svn_Url:String? = null var mirror_Url:String? = null var url:String? = null var ssh_Url:String? = null var html_Url:String? = null var clone_Url:String? = null var git_Url:String? = null @SerializedName("private") var Private:Boolean? = null } @DataContract open class QueryBase { @DataMember(Order=1) var skip:Int? = null @DataMember(Order=2) var take:Int? = null @DataMember(Order=3) var orderBy:String? = null @DataMember(Order=4) var orderByDesc:String? = null @DataMember(Order=5) var include:String? = null @DataMember(Order=6) var fields:String? = null @DataMember(Order=7) var meta:HashMap = HashMap() } open class GithubUser { var id:Int? = null var login:String? = null var avatar_Url:String? = null var url:String? = null var followers:Int? = null var following:Int? = null @SerializedName("type") var Type:String? = null var public_Gists:Int? = null var location:String? = null var company:String? = null var html_Url:String? = null var public_Repos:Int? = null var created_At:Date? = null var blog:String? = null var email:String? = null var name:String? = null var hireable:Boolean? = null var gravatar_Id:String? = null var bio:String? = null }