import * as thrift from "@creditkarma/thrift-server-core" ; export interface IConnectionOptions { } export interface IConnectionOptionsArgs { } export const ConnectionOptionsCodec = { encode ( args , output ) { output . writeStructBegin ( "ConnectionOptions" ) ; output . writeFieldStop ( ) ; output . writeStructEnd ( ) ; return ; } , decode ( input ) { input . readStructBegin ( ) ; while ( true ) { const ret = input . readFieldBegin ( ) ; const fieldType = ret . fieldType ; const fieldId = ret . fieldId ; if ( fieldType === thrift . TType . STOP ) { break ; } switch ( fieldId ) { default : { input . skip ( fieldType ) ; } } input . readFieldEnd ( ) ; } input . readStructEnd ( ) ; return { } ; } } ; export class ConnectionOptions extends thrift . StructLike implements IConnectionOptions { public readonly _annotations : thrift . IThriftAnnotations = { } ; public readonly _fieldAnnotations : thrift . IFieldAnnotations = { } ; constructor ( args = { } ) { super ( ) ; } public static read ( input ) { return new ConnectionOptions ( ConnectionOptionsCodec . decode ( input ) ) ; } public static write ( args , output ) { return ConnectionOptionsCodec . encode ( args , output ) ; } public write ( output ) { return ConnectionOptionsCodec . encode ( this , output ) ; } }