add queueing_method to waiting room struct
MODIFY
waiting_room.go
waiting_room.go
@@ -17,6 +17,7 @@ type WaitingRoom struct {
Path string `json:"path"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
+ QueueingMethod string `json:"queueing_method,omitempty"`
CustomPageHTML string `json:"custom_page_html,omitempty"`
DefaultTemplateLanguage string `json:"default_template_language,omitempty"`
Host string `json:"host"`

MODIFY
waiting_room_test.go
waiting_room_test.go
@@ -25,6 +25,7 @@ var waitingRoomJSON = fmt.Sprintf(`
"modified_on": "%s",
"name": "production_webinar",
"description": "Production - DO NOT MODIFY",
+ "queueing_method": "random",
"suspended": false,
"host": "shop.example.com",
"path": "/shop/checkout",
@@ -89,6 +90,7 @@ var waitingRoom = WaitingRoom{
ModifiedOn: testTimestampWaitingRoom,
Name: "production_webinar",
Description: "Production - DO NOT MODIFY",
+ QueueingMethod: "random",
Suspended: false,
Host: "shop.example.com",
Path: "/shop/checkout",

add queueing_method to waiting room struct