public static base_responses add ( nitro_service client , tmsessionaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { tmsessionaction addresources [ ] = new tmsessionaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new tmsessionaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . sesstimeout = resources [ i ] . sesstimeout ; addresources [ i ] . defaultauthorizationaction = resources [ i ] . defaultauthorizationaction ; addresources [ i ] . sso = resources [ i ] . sso ; addresources [ i ] . ssocredential = resources [ i ] . ssocredential ; addresources [ i ] . ssodomain = resources [ i ] . ssodomain ; addresources [ i ] . httponlycookie = resources [ i ] . httponlycookie ; addresources [ i ] . kcdaccount = resources [ i ] . kcdaccount ; addresources [ i ] . persistentcookie = resources [ i ] . persistentcookie ; addresources [ i ] . persistentcookievalidity = resources [ i ] . persistentcookievalidity ; addresources [ i ] . homepage = resources [ i ] . homepage ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add tmsessionaction resources .