Skip to content

Commit

Permalink
Merge pull request #408 from vimeo/YT-No-Channel-Blocker
Browse files Browse the repository at this point in the history
Added YouTube no channel blocker to both models
  • Loading branch information
WhosNickDoglio authored Jan 24, 2020
2 parents 310f4b3 + 5bd8bd7 commit 6792934
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@ enum class BlockerType(override val value: String?) : StringValue {
*/
LI_NO_ORGANIZATIONS("li_no_organizations"),

/**
* The user has no YouTube channel associated with their connected google account.
*/
YT_NO_CHANNEL("yt_no_channel"),

UNKNOWN(null)
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class PublishJobBlockers implements Serializable {
private static final String S_DURATION = "duration";
private static final String S_FB_NO_PAGES = "fb_no_pages";
private static final String S_LI_NO_ORGANIZATIONS = "li_no_organizations";
private static final String S_YT_NO_CHANNEL = "yt_no_channel";
private static final long serialVersionUID = -112432222471334867L;

/**
Expand All @@ -35,7 +36,10 @@ public enum Blocker {
@SerializedName(S_FB_NO_PAGES)
FB_NO_PAGES(S_FB_NO_PAGES), // The user has no pages connected to their account. (Facebook only)
@SerializedName(S_LI_NO_ORGANIZATIONS)
LI_NO_ORGANIZATIONS(S_LI_NO_ORGANIZATIONS); // The user has no organization pages connected to their account. (LinkedIn only)
LI_NO_ORGANIZATIONS(S_LI_NO_ORGANIZATIONS), // The user has no organization pages connected to their account. (LinkedIn only)
@SerializedName(S_YT_NO_CHANNEL)
YT_NO_CHANNEL(S_YT_NO_CHANNEL); // The user has no YouTube channel associated with their connected google account.


@NotNull
private final String mType;
Expand Down

0 comments on commit 6792934

Please sign in to comment.