func (a *AtomicAssets) GetCollectionNameLogs(name string, options *GetCollectionNameLogs) (*CollectionNameLogsProps, error) {
	var opts = &GetAssetLogsQuery{
		Limit: 100,
		Page:  1,
		Order: "desc",
	}

	if options != nil {
		opts = &GetAssetLogsQuery{
			ActionWhitelist: options.ActionWhitelist,
			ActionBlacklist: options.ActionBlacklist,
		}

		if options.Limit < 1 {
			opts.Limit = 100
		}
		if options.Page < 1 {
			opts.Page = 1
		}
		if options.Order == "desc" || options.Order == "asc" {
			opts.Order = options.Order
		} else {
			// default to `desc`
			opts.Order = "desc"
		}
	}

	v, _ := query.Values(opts)
	u, _ := urljoin.UrlJoin(a.apiUrl, COLLECTIONS_API, name, "logs", fmt.Sprintf("?%s", v.Encode()))

	var result = &CollectionNameLogsProps{}
	if err := a._requester(u, result); err != nil {
		return nil, err
	}

	return result, nil
}
// GetCollectionNameStats gets the collection's logs.
GetCollectionNameStats gets the collection's logs.
// GetCollectionNameStats gets the collection ' s logs .
func (a *AtomicAssets) GetCollectionNameLogs(name string, options *GetCollectionNameLogs) (*CollectionNameLogsProps, error) {
	var opts = &GetAssetLogsQuery{
		Limit: 100,
		Page:  1,
		Order: "desc",
	}
	if options != nil {
		opts = &GetAssetLogsQuery{
			ActionWhitelist: options.ActionWhitelist,
			ActionBlacklist: options.ActionBlacklist,
		}
		if options.Limit < 1 {
			opts.Limit = 100
		}
		if options.Page < 1 {
			opts.Page = 1
		}
		if options.Order == "desc" || options.Order == "asc" {
			opts.Order = options.Order
		} else {
			opts.Order = "desc"
		}
	}
	v, _ := query.Values(opts)
	u, _ := urljoin.UrlJoin(a.apiUrl, COLLECTIONS_API, name, "logs", fmt.Sprintf("?%s", v.Encode()))
	var result = &CollectionNameLogsProps{}
	if err := a._requester(u, result); err != nil {
		return nil, err
	}
	return result, nil
}
func ( a * AtomicAssets ) GetCollectionNameLogs ( name string , options * GetCollectionNameLogs ) ( * CollectionNameLogsProps , error ) { var opts = & GetAssetLogsQuery { Limit : 100 , Page : 1 , Order : " " , } if options != nil { opts = & GetAssetLogsQuery { ActionWhitelist : options . ActionWhitelist , ActionBlacklist : options . ActionBlacklist , } if options . Limit < 1 { opts . Limit = 100 } if options . Page < 1 { opts . Page = 1 } if options . Order == " " || options . Order == " " { opts . Order = options . Order } else { opts . Order = " " } } v , _ := query . Values ( opts ) u , _ := urljoin . UrlJoin ( a . apiUrl , COLLECTIONS_API , name , " " , fmt . Sprintf ( " " , v . Encode ( ) ) ) var result = & CollectionNameLogsProps { } if err := a . _requester ( u , result ) ; err != nil { return nil , err } return result , nil }
GetCollectionNameStats gets the collection's logs.
GetCollectionNameStats gets the collection ' s logs .
// default to `desc`