Apache.Cassandra.Cassandra.describe_cluster_name_result.Write C# (CSharp) Method

Write() public method

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
return void
      public void Write(TProtocol oprot) {
        TStruct struc = new TStruct("describe_cluster_name_result");
        oprot.WriteStructBegin(struc);
        TField field = new TField();

        if (this.__isset.success) {
          if (Success != null) {
            field.Name = "Success";
            field.Type = TType.String;
            field.ID = 0;
            oprot.WriteFieldBegin(field);
            oprot.WriteString(Success);
            oprot.WriteFieldEnd();
          }
        }
        oprot.WriteFieldStop();
        oprot.WriteStructEnd();
      }
Cassandra.describe_cluster_name_result