package Ġcom . cj bo oms . fab ri kt . generators . client Ċ Ċ import Ġcom . cj bo oms . fab ri kt . cli . Client CodeGen Option Type Ċ import Ġcom . cj bo oms . fab ri kt . configurations . Packages Ċ import Ġcom . cj bo oms . fab ri kt . model . Clients Ċ import Ġcom . cj bo oms . fab ri kt . model . Generated File Ċ import Ġcom . cj bo oms . fab ri kt . model . Source Api Ċ import Ġjava . nio . file . Path Ċ Ċ class ĠOk HttpClient Generator ( ĊĠĠĠ Ġpackages : ĠPackages , ĊĠĠĠ Ġapi : ĠSource Api , ĊĠĠĠ Ġsrc Path : ĠPath , Ċ ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġsimple Client Generator Ġ= ĠOk Http Simple Client Generator ( packages , Ġapi , Ġsrc Path ) ĊĠĠĠ Ġprivate Ġval Ġenhanced Client Generator Ġ= ĠOk Http Enhanced Client Generator ( packages , Ġapi , Ġsrc Path ) ĊĊĠĠĠ Ġfun Ġgenerate ( options : ĠSet < Client CodeGen Option Type >): ĠClients Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsimple Client Ġ= Ġsimple Client Generator . generate Dynamic Client Code () ĊĠĠĠĠĠĠĠ Ġval Ġenhanced Client Ġ= Ġenhanced Client Generator . generate Dynamic Client Code ( options ) ĊĊĠĠĠĠĠĠĠ Ġreturn ĠClients ( en hanced Client . plus ( simple Client ). toSet ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġgenerate Library ( options : ĠSet < Client CodeGen Option Type >): ĠCollection < Generated File > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsimple Client Library Ġ= Ġsimple Client Generator . generate Library () ĊĠĠĠĠĠĠĠ Ġval Ġenhanced Client Library Ġ= Ġenhanced Client Generator . generate Library ( options ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġsimple Client Library . plus ( en hanced Client Library ) ĊĠĠĠ Ġ} Ċ } Ċ