func (a *AtomicAssets) GetOfferIDLogs(offerID int, options *GetOfferIDLogsQuery) (*OfferIDLogsProps, error) {
	var opts = &GetOfferIDLogsQuery{
		Limit: 100,
		Page:  1,
		Order: "desc",
	}

	if options != nil {
		opts = &GetOfferIDLogsQuery{
			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, OFFERS_API, strconv.Itoa(offerID), "logs", fmt.Sprintf("?%s", v.Encode()))

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

	return result, nil
}
// GetOfferIDLogs gets the offer id's logs.
GetOfferIDLogs gets the offer id's logs.
// GetOfferIDLogs gets the offer id ' s logs .
func (a *AtomicAssets) GetOfferIDLogs(offerID int, options *GetOfferIDLogsQuery) (*OfferIDLogsProps, error) {
	var opts = &GetOfferIDLogsQuery{
		Limit: 100,
		Page:  1,
		Order: "desc",
	}
	if options != nil {
		opts = &GetOfferIDLogsQuery{
			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, OFFERS_API, strconv.Itoa(offerID), "logs", fmt.Sprintf("?%s", v.Encode()))
	var result = &OfferIDLogsProps{}
	if err := a._requester(u, result); err != nil {
		return nil, err
	}
	return result, nil
}
func ( a * AtomicAssets ) GetOfferIDLogs ( offerID int , options * GetOfferIDLogsQuery ) ( * OfferIDLogsProps , error ) { var opts = & GetOfferIDLogsQuery { Limit : 100 , Page : 1 , Order : " " , } if options != nil { opts = & GetOfferIDLogsQuery { 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 , OFFERS_API , strconv . Itoa ( offerID ) , " " , fmt . Sprintf ( " " , v . Encode ( ) ) ) var result = & OfferIDLogsProps { } if err := a . _requester ( u , result ) ; err != nil { return nil , err } return result , nil }
GetOfferIDLogs gets the offer id's logs.
GetOfferIDLogs gets the offer id ' s logs .
// default to `desc`