code: public Input withAttachedChannels(String... attachedChannels) {
          if (this.attachedChannels == null) {
              setAttachedChannels(new java.util.ArrayList<String>(attachedChannels.length));
          }
          for (String ele : attachedChannels) {
              this.attachedChannels.add(ele);
          }
          return this;
      }
docs: A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAttachedChannels(java.util.Collection)} or {@link #withAttachedChannels(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param attachedChannels
  A list of channel IDs that that input is attached to (currently an input can only be attached to one
  channel).
  @return Returns a reference to this object so that method calls can be chained together.