Example #1
0
  public void validate() throws org.apache.thrift.TException {
    // check for required fields
    if (!is_set_initial_status()) {
      throw new org.apache.thrift.protocol.TProtocolException(
          "Required field 'initial_status' is unset! Struct:" + toString());
    }

    // check for sub-struct validity
    if (creds != null) {
      creds.validate();
    }
  }