// Path: github-api/src/main/java/com/dmitrymalkovich/android/githubapi/core/data/ReferringSite.java
// @SuppressWarnings("all")
// public class ReferringSite {
// 
//     @SerializedName("referrer")
//     private String mReferrer;
// 
//     @SerializedName("count")
//     private int mCount;
// 
//     @SerializedName("uniques")
//     private int mUniques;
// 
//     public String getReferrer() {
//         return mReferrer;
//     }
// 
//     public int getCount() {
//         return mCount;
//     }
// 
//     public int getUniques() {
//         return mUniques;
//     }
// }


import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.net.Uri;
import android.provider.BaseColumns;
import com.dmitrymalkovich.android.githubapi.core.data.ReferringSite;
/*
 * Copyright 2017.  Dmitry Malkovich
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.dmitrymalkovich.android.githubanalytics.data.source.local.contract;



/**
 * https://developer.github.com/v3/repos/traffic/
 */
public class ReferrerContract {
    public static final String CONTENT_AUTHORITY = "com.dmitrymalkovich.android.githubanalytics.data";
    public static final String PATH_REFERRERS = "traffic.paths";
    private static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);

    public static final class ReferrerEntry implements BaseColumns {

        public static final Uri CONTENT_URI =
// Path: github-api/src/main/java/com/dmitrymalkovich/android/githubapi/core/data/ReferringSite.java
// @SuppressWarnings("all")
// public class ReferringSite {
// 
//     @SerializedName("referrer")
//     private String mReferrer;
// 
//     @SerializedName("count")
//     private int mCount;
// 
//     @SerializedName("uniques")
//     private int mUniques;
// 
//     public String getReferrer() {
//         return mReferrer;
//     }
// 
//     public int getCount() {
//         return mCount;
//     }
// 
//     public int getUniques() {
//         return mUniques;
//     }
// }


// Path: app/src/main/java/com/dmitrymalkovich/android/githubanalytics/data/source/local/contract/ReferrerContract.java
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.net.Uri;
import android.provider.BaseColumns;
import com.dmitrymalkovich.android.githubapi.core.data.ReferringSite;

/*
 * Copyright 2017.  Dmitry Malkovich
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.dmitrymalkovich.android.githubanalytics.data.source.local.contract;



/**
 * https://developer.github.com/v3/repos/traffic/
 */
public class ReferrerContract {
    public static final String CONTENT_AUTHORITY = "com.dmitrymalkovich.android.githubanalytics.data";
    public static final String PATH_REFERRERS = "traffic.paths";
    private static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);

    public static final class ReferrerEntry implements BaseColumns {

        public static final Uri CONTENT_URI =
                BASE_CONTENT_URI.buildUpon().appendPath(PATH_REFERRERS).build();