// Code generated by go-swagger; DO NOT EDIT.

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// ActiveUserStats active user stats
//
// swagger:model ActiveUserStats
type ActiveUserStats struct {

	// active admins and editors
	ActiveAdminsAndEditors int64 `json:"active_admins_and_editors,omitempty"`

	// active anonymous devices
	ActiveAnonymousDevices int64 `json:"active_anonymous_devices,omitempty"`

	// active users
	ActiveUsers int64 `json:"active_users,omitempty"`

	// active viewers
	ActiveViewers int64 `json:"active_viewers,omitempty"`
}

// Validate validates this active user stats
func (m *ActiveUserStats) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this active user stats based on context it is used
func (m *ActiveUserStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *ActiveUserStats) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *ActiveUserStats) UnmarshalBinary(b []byte) error {
	var res ActiveUserStats
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
