package com.rollbar.payload.data;

import com.rollbar.payload.utilities.Properties;

public class Notifier {
    public static final String defaultName = "rollbar";
    public static final String defaultVersion = Properties.getAssemblyVersion();

    private final String name;
    private final String version;

    public Notifier() {
        this.name = defaultName;
        this.version = defaultVersion;
    }

    public Notifier(String name, String version) {
        this.name = name;
        this.version = version;
    }

    public String name() {
        return this.name;
    }

    public Notifier name(String name) {
        return new Notifier(name, version);
    }

    public String version() {
        return this.version;
    }

    public Notifier version(String version) {
        return new Notifier(name, version);
    }
}

@@ -78,16 +78,85 @@
 rties;%0A%0A
+/**%0A * Information about this notifier, or one based off of this%0A */%0A
 public c
@@ -383,106 +383,354 @@
     
-public Notifier() %7B%0A        this.name = defaultName;%0A        this.version = defaultVersion;%0A    %7D%0A
+/**%0A     * Constructor, with %22rollbar%22 and the maven assembly version for %7B@code name%7D and %7B@code version%7D%0A     */%0A    public Notifier() %7B%0A        this.name = defaultName;%0A        this.version = defaultVersion;%0A    %7D%0A%0A    /**%0A     * Constructor%0A     * @param name the name of the notifier%0A     * @param version the version of the notifier%0A     */
 %0A   
@@ -834,32 +834,72 @@
 version;%0A    %7D%0A%0A
+    /**%0A     * @return the name%0A     */%0A
     public Strin
@@ -934,32 +934,167 @@
 is.name;%0A    %7D%0A%0A
+    /**%0A     * Set the name on a copy of this notifier%0A     * @param name the new name%0A     * @return the name of the notifier%0A     */%0A
     public Notif
@@ -1160,32 +1160,91 @@
 ersion);%0A    %7D%0A%0A
+    /**%0A     * @return the version of the notifier%0A     */%0A
     public Strin
@@ -1289,24 +1289,188 @@
 ion;%0A    %7D%0A%0A
+    /**%0A     * Set the version on a copy of this notifier%0A     * @param version the new version%0A     * @return a copy of this notifier with the new version%0A     */%0A
     public N

Update Notifier docs