github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/lb_persistence_cookie_time.go (about)

     1  /*
     2   * NSX API
     3   *
     4   * VMware NSX REST API
     5   *
     6   * API version: 1.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package loadbalancer
    11  
    12  type LbPersistenceCookieTime struct {
    13  
    14  	// Both session cookie and persistence cookie are supported, Use LbSessionCookieTime for session cookie time setting, Use LbPersistenceCookieTime for persistence cookie time setting
    15  	Type_ string `json:"type"`
    16  
    17  	// HTTP cookie max-age to expire cookie, only available for insert mode.
    18  	CookieMaxIdle int64 `json:"cookie_max_idle"`
    19  }