R/youtubeAnalytics_objects.R

#' YouTube Analytics API Objects 
#' Retrieves your YouTube Analytics data.
#' 
#' Auto-generated code by googleAuthR::gar_create_api_objects
#'  at 2016-09-03 23:51:26
#' filename: /Users/mark/dev/R/autoGoogleAPI/googleyoutubeAnalyticsv1.auto/R/youtubeAnalytics_objects.R
#' api_json: api_json
#' 
#' Objects for use by the functions created by googleAuthR::gar_create_api_skeleton

#' BatchReport Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' Contains single batchReport resource.
#' 
#' @param BatchReport.outputs The \link{BatchReport.outputs} object or list of objects
#' @param BatchReport.timeSpan The \link{BatchReport.timeSpan} object or list of objects
#' @param id The ID that YouTube assigns and uses to uniquely identify the report
#' @param outputs Report outputs
#' @param reportId The ID of the the report definition
#' @param timeSpan Period included in the report
#' @param timeUpdated The time when the report was updated
#' 
#' @return BatchReport object
#' 
#' @family BatchReport functions
#' @export
BatchReport <- function(BatchReport.outputs = NULL, BatchReport.timeSpan = NULL, 
    id = NULL, outputs = NULL, reportId = NULL, timeSpan = NULL, timeUpdated = NULL) {
    structure(list(BatchReport.outputs = BatchReport.outputs, BatchReport.timeSpan = BatchReport.timeSpan, 
        id = id, kind = `youtubeAnalytics#batchReport`, outputs = outputs, reportId = reportId, 
        timeSpan = timeSpan, timeUpdated = timeUpdated), class = "gar_BatchReport")
}

#' BatchReport.outputs Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' 
#' 
#' @return BatchReport.outputs object
#' 
#' @family BatchReport functions
#' @export
BatchReport.outputs <- function() {
    list()
}

#' BatchReport.timeSpan Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' Period included in the report. For reports containing all entities endTime is not set. Both startTime and endTime are inclusive.
#' 
#' @param endTime End of the period included in the report
#' @param startTime Start of the period included in the report
#' 
#' @return BatchReport.timeSpan object
#' 
#' @family BatchReport functions
#' @export
BatchReport.timeSpan <- function(endTime = NULL, startTime = NULL) {
    structure(list(endTime = endTime, startTime = startTime), class = "gar_BatchReport.timeSpan")
}

#' BatchReportDefinition Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' Contains single batchReportDefinition resource.
#' 
#' @param id The ID that YouTube assigns and uses to uniquely identify the report definition
#' @param name Name of the report definition
#' @param status Status of the report definition
#' @param type Type of the report definition
#' 
#' @return BatchReportDefinition object
#' 
#' @family BatchReportDefinition functions
#' @export
BatchReportDefinition <- function(id = NULL, name = NULL, status = NULL, type = NULL) {
    structure(list(id = id, kind = `youtubeAnalytics#batchReportDefinition`, name = name, 
        status = status, type = type), class = "gar_BatchReportDefinition")
}

#' BatchReportDefinitionList Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' A paginated list of batchReportDefinition resources returned in response to a youtubeAnalytics.batchReportDefinitions.list request.
#' 
#' @param items A list of batchReportDefinition resources that match the request criteria
#' 
#' @return BatchReportDefinitionList object
#' 
#' @family BatchReportDefinitionList functions
#' @export
BatchReportDefinitionList <- function(items = NULL) {
    structure(list(items = items, kind = `youtubeAnalytics#batchReportDefinitionList`), 
        class = "gar_BatchReportDefinitionList")
}

#' BatchReportList Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' A paginated list of batchReport resources returned in response to a youtubeAnalytics.batchReport.list request.
#' 
#' @param items A list of batchReport resources that match the request criteria
#' 
#' @return BatchReportList object
#' 
#' @family BatchReportList functions
#' @export
BatchReportList <- function(items = NULL) {
    structure(list(items = items, kind = `youtubeAnalytics#batchReportList`), class = "gar_BatchReportList")
}

#' Group Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' @param Group.contentDetails The \link{Group.contentDetails} object or list of objects
#' @param Group.snippet The \link{Group.snippet} object or list of objects
#' @param contentDetails No description
#' @param etag No description
#' @param id No description
#' @param snippet No description
#' 
#' @return Group object
#' 
#' @family Group functions
#' @export
Group <- function(Group.contentDetails = NULL, Group.snippet = NULL, contentDetails = NULL, 
    etag = NULL, id = NULL, snippet = NULL) {
    structure(list(Group.contentDetails = Group.contentDetails, Group.snippet = Group.snippet, 
        contentDetails = contentDetails, etag = etag, id = id, kind = `youtube#group`, 
        snippet = snippet), class = "gar_Group")
}

#' Group.contentDetails Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' @param itemCount No description
#' @param itemType No description
#' 
#' @return Group.contentDetails object
#' 
#' @family Group functions
#' @export
Group.contentDetails <- function(itemCount = NULL, itemType = NULL) {
    structure(list(itemCount = itemCount, itemType = itemType), class = "gar_Group.contentDetails")
}

#' Group.snippet Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' @param publishedAt No description
#' @param title No description
#' 
#' @return Group.snippet object
#' 
#' @family Group functions
#' @export
Group.snippet <- function(publishedAt = NULL, title = NULL) {
    structure(list(publishedAt = publishedAt, title = title), class = "gar_Group.snippet")
}

#' GroupItem Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' @param GroupItem.resource The \link{GroupItem.resource} object or list of objects
#' @param etag No description
#' @param groupId No description
#' @param id No description
#' @param resource No description
#' 
#' @return GroupItem object
#' 
#' @family GroupItem functions
#' @export
GroupItem <- function(GroupItem.resource = NULL, etag = NULL, groupId = NULL, id = NULL, 
    resource = NULL) {
    structure(list(GroupItem.resource = GroupItem.resource, etag = etag, groupId = groupId, 
        id = id, kind = `youtube#groupItem`, resource = resource), class = "gar_GroupItem")
}

#' GroupItem.resource Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' @param id No description
#' 
#' @return GroupItem.resource object
#' 
#' @family GroupItem functions
#' @export
GroupItem.resource <- function(id = NULL) {
    structure(list(id = id, kind = kind), class = "gar_GroupItem.resource")
}

#' GroupItemListResponse Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' A paginated list of grouList resources returned in response to a youtubeAnalytics.groupApi.list request.
#' 
#' @param etag No description
#' @param items No description
#' 
#' @return GroupItemListResponse object
#' 
#' @family GroupItemListResponse functions
#' @export
GroupItemListResponse <- function(etag = NULL, items = NULL) {
    structure(list(etag = etag, items = items, kind = `youtube#groupItemListResponse`), 
        class = "gar_GroupItemListResponse")
}

#' GroupListResponse Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' A paginated list of grouList resources returned in response to a youtubeAnalytics.groupApi.list request.
#' 
#' @param etag No description
#' @param items No description
#' @param nextPageToken No description
#' 
#' @return GroupListResponse object
#' 
#' @family GroupListResponse functions
#' @export
GroupListResponse <- function(etag = NULL, items = NULL, nextPageToken = NULL) {
    structure(list(etag = etag, items = items, kind = `youtube#groupListResponse`, 
        nextPageToken = nextPageToken), class = "gar_GroupListResponse")
}

#' ResultTable Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' Contains a single result table. The table is returned as an array of rows that contain the values for the cells of the table. Depending on the metric or dimension, the cell can contain a string (video ID, country code) or a number (number of views or number of likes).
#' 
#' @param ResultTable.columnHeaders The \link{ResultTable.columnHeaders} object or list of objects
#' @param columnHeaders This value specifies information about the data returned in the rows fields
#' @param rows The list contains all rows of the result table
#' 
#' @return ResultTable object
#' 
#' @family ResultTable functions
#' @export
ResultTable <- function(ResultTable.columnHeaders = NULL, columnHeaders = NULL, rows = NULL) {
    structure(list(ResultTable.columnHeaders = ResultTable.columnHeaders, columnHeaders = columnHeaders, 
        kind = `youtubeAnalytics#resultTable`, rows = rows), class = "gar_ResultTable")
}


#' ResultTable.columnHeaders Object
#' 
#' @details 
#' Autogenerated via \code{\link[googleAuthR]{gar_create_api_objects}}
#' No description
#' 
#' 
#' 
#' @return ResultTable.columnHeaders object
#' 
#' @family ResultTable functions
#' @export


ResultTable.columnHeaders <- function() {
    
    
    list()
    
}
MarkEdmondson1234/youtubeAnalyticsR documentation built on May 7, 2019, 3:34 p.m.