code: public void marshall(WorkspaceConnectionStatus workspaceConnectionStatus, ProtocolMarshaller protocolMarshaller) {
  
          if (workspaceConnectionStatus == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(workspaceConnectionStatus.getWorkspaceId(), WORKSPACEID_BINDING);
              protocolMarshaller.marshall(workspaceConnectionStatus.getConnectionState(), CONNECTIONSTATE_BINDING);
              protocolMarshaller.marshall(workspaceConnectionStatus.getConnectionStateCheckTimestamp(), CONNECTIONSTATECHECKTIMESTAMP_BINDING);
              protocolMarshaller.marshall(workspaceConnectionStatus.getLastKnownUserConnectionTimestamp(), LASTKNOWNUSERCONNECTIONTIMESTAMP_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.